| OLD | NEW |
| 1 # generated automatically by aclocal 1.14.1 -*- Autoconf -*- | 1 # generated automatically by aclocal 1.15 -*- Autoconf -*- |
| 2 | 2 |
| 3 # Copyright (C) 1996-2013 Free Software Foundation, Inc. | 3 # Copyright (C) 1996-2014 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 # This file is free software; the Free Software Foundation | 5 # This file is free software; the Free Software Foundation |
| 6 # gives unlimited permission to copy and/or distribute it, | 6 # gives unlimited permission to copy and/or distribute it, |
| 7 # with or without modifications, as long as this notice is preserved. | 7 # with or without modifications, as long as this notice is preserved. |
| 8 | 8 |
| 9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 12 # PARTICULAR PURPOSE. | 12 # PARTICULAR PURPOSE. |
| 13 | 13 |
| 14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun
([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | 14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun
([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) |
| 15 m4_ifndef([AC_AUTOCONF_VERSION], | 15 m4_ifndef([AC_AUTOCONF_VERSION], |
| 16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | 17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, |
| 18 [m4_warning([this file was generated for autoconf 2.69. | 18 [m4_warning([this file was generated for autoconf 2.69. |
| 19 You have another version of autoconf. It may work, but is not guaranteed to. | 19 You have another version of autoconf. It may work, but is not guaranteed to. |
| 20 If you have problems, you may need to regenerate the build system entirely. | 20 If you have problems, you may need to regenerate the build system entirely. |
| 21 To do so, use the procedure documented by the package, typically 'autoreconf'.])
]) | 21 To do so, use the procedure documented by the package, typically 'autoreconf'.])
]) |
| 22 | 22 |
| 23 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- | 23 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
| 24 # | 24 # |
| 25 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | 25 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. |
| 26 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
| 27 # Foundation, Inc. | |
| 28 # Written by Gordon Matzigkeit, 1996 | 26 # Written by Gordon Matzigkeit, 1996 |
| 29 # | 27 # |
| 30 # This file is free software; the Free Software Foundation gives | 28 # This file is free software; the Free Software Foundation gives |
| 31 # unlimited permission to copy and/or distribute it, with or without | 29 # unlimited permission to copy and/or distribute it, with or without |
| 32 # modifications, as long as this notice is preserved. | 30 # modifications, as long as this notice is preserved. |
| 33 | 31 |
| 34 m4_define([_LT_COPYING], [dnl | 32 m4_define([_LT_COPYING], [dnl |
| 35 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | 33 # Copyright (C) 2014 Free Software Foundation, Inc. |
| 36 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | 34 # This is free software; see the source for copying conditions. There is NO |
| 37 # Foundation, Inc. | 35 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 38 # Written by Gordon Matzigkeit, 1996 | 36 |
| 37 # GNU Libtool is free software; you can redistribute it and/or modify |
| 38 # it under the terms of the GNU General Public License as published by |
| 39 # the Free Software Foundation; either version 2 of of the License, or |
| 40 # (at your option) any later version. |
| 39 # | 41 # |
| 40 # This file is part of GNU Libtool. | 42 # As a special exception to the GNU General Public License, if you |
| 43 # distribute this file as part of a program or library that is built |
| 44 # using GNU Libtool, you may include this file under the same |
| 45 # distribution terms that you use for the rest of that program. |
| 41 # | 46 # |
| 42 # GNU Libtool is free software; you can redistribute it and/or | 47 # GNU Libtool is distributed in the hope that it will be useful, but |
| 43 # modify it under the terms of the GNU General Public License as | 48 # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 44 # published by the Free Software Foundation; either version 2 of | |
| 45 # the License, or (at your option) any later version. | |
| 46 # | |
| 47 # As a special exception to the GNU General Public License, | |
| 48 # if you distribute this file as part of a program or library that | |
| 49 # is built using GNU Libtool, you may include this file under the | |
| 50 # same distribution terms that you use for the rest of that program. | |
| 51 # | |
| 52 # GNU Libtool is distributed in the hope that it will be useful, | |
| 53 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 54 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 49 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 55 # GNU General Public License for more details. | 50 # GNU General Public License for more details. |
| 56 # | 51 # |
| 57 # You should have received a copy of the GNU General Public License | 52 # You should have received a copy of the GNU General Public License |
| 58 # along with GNU Libtool; see the file COPYING. If not, a copy | 53 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 59 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or | |
| 60 # obtained by writing to the Free Software Foundation, Inc., | |
| 61 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| 62 ]) | 54 ]) |
| 63 | 55 |
| 64 # serial 57 LT_INIT | 56 # serial 58 LT_INIT |
| 65 | 57 |
| 66 | 58 |
| 67 # LT_PREREQ(VERSION) | 59 # LT_PREREQ(VERSION) |
| 68 # ------------------ | 60 # ------------------ |
| 69 # Complain and exit if this libtool version is less that VERSION. | 61 # Complain and exit if this libtool version is less that VERSION. |
| 70 m4_defun([LT_PREREQ], | 62 m4_defun([LT_PREREQ], |
| 71 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, | 63 [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, |
| 72 [m4_default([$3], | 64 [m4_default([$3], |
| 73 [m4_fatal([Libtool version $1 or higher is required], | 65 [m4_fatal([Libtool version $1 or higher is required], |
| 74 63)])], | 66 63)])], |
| 75 [$2])]) | 67 [$2])]) |
| 76 | 68 |
| 77 | 69 |
| 78 # _LT_CHECK_BUILDDIR | 70 # _LT_CHECK_BUILDDIR |
| 79 # ------------------ | 71 # ------------------ |
| 80 # Complain if the absolute build directory name contains unusual characters | 72 # Complain if the absolute build directory name contains unusual characters |
| 81 m4_defun([_LT_CHECK_BUILDDIR], | 73 m4_defun([_LT_CHECK_BUILDDIR], |
| 82 [case `pwd` in | 74 [case `pwd` in |
| 83 *\ * | *\ *) | 75 *\ * | *\ *) |
| 84 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; | 76 AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; |
| 85 esac | 77 esac |
| 86 ]) | 78 ]) |
| 87 | 79 |
| 88 | 80 |
| 89 # LT_INIT([OPTIONS]) | 81 # LT_INIT([OPTIONS]) |
| 90 # ------------------ | 82 # ------------------ |
| 91 AC_DEFUN([LT_INIT], | 83 AC_DEFUN([LT_INIT], |
| 92 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT | 84 [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK |
| 93 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | 85 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
| 94 AC_BEFORE([$0], [LT_LANG])dnl | 86 AC_BEFORE([$0], [LT_LANG])dnl |
| 95 AC_BEFORE([$0], [LT_OUTPUT])dnl | 87 AC_BEFORE([$0], [LT_OUTPUT])dnl |
| 96 AC_BEFORE([$0], [LTDL_INIT])dnl | 88 AC_BEFORE([$0], [LTDL_INIT])dnl |
| 97 m4_require([_LT_CHECK_BUILDDIR])dnl | 89 m4_require([_LT_CHECK_BUILDDIR])dnl |
| 98 | 90 |
| 99 dnl Autoconf doesn't catch unexpanded LT_ macros by default: | 91 dnl Autoconf doesn't catch unexpanded LT_ macros by default: |
| 100 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl | 92 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl |
| 101 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl | 93 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl |
| 102 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 | 94 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 |
| 103 dnl unless we require an AC_DEFUNed macro: | 95 dnl unless we require an AC_DEFUNed macro: |
| 104 AC_REQUIRE([LTOPTIONS_VERSION])dnl | 96 AC_REQUIRE([LTOPTIONS_VERSION])dnl |
| 105 AC_REQUIRE([LTSUGAR_VERSION])dnl | 97 AC_REQUIRE([LTSUGAR_VERSION])dnl |
| 106 AC_REQUIRE([LTVERSION_VERSION])dnl | 98 AC_REQUIRE([LTVERSION_VERSION])dnl |
| 107 AC_REQUIRE([LTOBSOLETE_VERSION])dnl | 99 AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
| 108 m4_require([_LT_PROG_LTMAIN])dnl | 100 m4_require([_LT_PROG_LTMAIN])dnl |
| 109 | 101 |
| 110 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) | 102 _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) |
| 111 | 103 |
| 112 dnl Parse OPTIONS | 104 dnl Parse OPTIONS |
| 113 _LT_SET_OPTIONS([$0], [$1]) | 105 _LT_SET_OPTIONS([$0], [$1]) |
| 114 | 106 |
| 115 # This can be used to rebuild libtool when needed | 107 # This can be used to rebuild libtool when needed |
| 116 LIBTOOL_DEPS="$ltmain" | 108 LIBTOOL_DEPS=$ltmain |
| 117 | 109 |
| 118 # Always use our own libtool. | 110 # Always use our own libtool. |
| 119 LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 111 LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 120 AC_SUBST(LIBTOOL)dnl | 112 AC_SUBST(LIBTOOL)dnl |
| 121 | 113 |
| 122 _LT_SETUP | 114 _LT_SETUP |
| 123 | 115 |
| 124 # Only expand once: | 116 # Only expand once: |
| 125 m4_define([LT_INIT]) | 117 m4_define([LT_INIT]) |
| 126 ])# LT_INIT | 118 ])# LT_INIT |
| 127 | 119 |
| 128 # Old names: | 120 # Old names: |
| 129 AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) | 121 AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) |
| 130 AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) | 122 AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) |
| 131 dnl aclocal-1.4 backwards compatibility: | 123 dnl aclocal-1.4 backwards compatibility: |
| 132 dnl AC_DEFUN([AC_PROG_LIBTOOL], []) | 124 dnl AC_DEFUN([AC_PROG_LIBTOOL], []) |
| 133 dnl AC_DEFUN([AM_PROG_LIBTOOL], []) | 125 dnl AC_DEFUN([AM_PROG_LIBTOOL], []) |
| 134 | 126 |
| 135 | 127 |
| 128 # _LT_PREPARE_CC_BASENAME |
| 129 # ----------------------- |
| 130 m4_defun([_LT_PREPARE_CC_BASENAME], [ |
| 131 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
| 132 func_cc_basename () |
| 133 { |
| 134 for cc_temp in @S|@*""; do |
| 135 case $cc_temp in |
| 136 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; |
| 137 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; |
| 138 \-*) ;; |
| 139 *) break;; |
| 140 esac |
| 141 done |
| 142 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%
"` |
| 143 } |
| 144 ])# _LT_PREPARE_CC_BASENAME |
| 145 |
| 146 |
| 136 # _LT_CC_BASENAME(CC) | 147 # _LT_CC_BASENAME(CC) |
| 137 # ------------------- | 148 # ------------------- |
| 138 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. | 149 # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, |
| 150 # but that macro is also expanded into generated libtool script, which |
| 151 # arranges for $SED and $ECHO to be set by different means. |
| 139 m4_defun([_LT_CC_BASENAME], | 152 m4_defun([_LT_CC_BASENAME], |
| 140 [for cc_temp in $1""; do | 153 [m4_require([_LT_PREPARE_CC_BASENAME])dnl |
| 141 case $cc_temp in | 154 AC_REQUIRE([_LT_DECL_SED])dnl |
| 142 compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; | 155 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl |
| 143 distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; | 156 func_cc_basename $1 |
| 144 \-*) ;; | 157 cc_basename=$func_cc_basename_result |
| 145 *) break;; | |
| 146 esac | |
| 147 done | |
| 148 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | |
| 149 ]) | 158 ]) |
| 150 | 159 |
| 151 | 160 |
| 152 # _LT_FILEUTILS_DEFAULTS | 161 # _LT_FILEUTILS_DEFAULTS |
| 153 # ---------------------- | 162 # ---------------------- |
| 154 # It is okay to use these file commands and assume they have been set | 163 # It is okay to use these file commands and assume they have been set |
| 155 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. | 164 # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. |
| 156 m4_defun([_LT_FILEUTILS_DEFAULTS], | 165 m4_defun([_LT_FILEUTILS_DEFAULTS], |
| 157 [: ${CP="cp -f"} | 166 [: ${CP="cp -f"} |
| 158 : ${MV="mv -f"} | 167 : ${MV="mv -f"} |
| 159 : ${RM="rm -f"} | 168 : ${RM="rm -f"} |
| 160 ])# _LT_FILEUTILS_DEFAULTS | 169 ])# _LT_FILEUTILS_DEFAULTS |
| 161 | 170 |
| 162 | 171 |
| 163 # _LT_SETUP | 172 # _LT_SETUP |
| 164 # --------- | 173 # --------- |
| 165 m4_defun([_LT_SETUP], | 174 m4_defun([_LT_SETUP], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 192 dnl | 201 dnl |
| 193 m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 202 m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 194 m4_require([_LT_CHECK_SHELL_FEATURES])dnl | 203 m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
| 195 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl | 204 m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl |
| 196 m4_require([_LT_CMD_RELOAD])dnl | 205 m4_require([_LT_CMD_RELOAD])dnl |
| 197 m4_require([_LT_CHECK_MAGIC_METHOD])dnl | 206 m4_require([_LT_CHECK_MAGIC_METHOD])dnl |
| 198 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl | 207 m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl |
| 199 m4_require([_LT_CMD_OLD_ARCHIVE])dnl | 208 m4_require([_LT_CMD_OLD_ARCHIVE])dnl |
| 200 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl | 209 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl |
| 201 m4_require([_LT_WITH_SYSROOT])dnl | 210 m4_require([_LT_WITH_SYSROOT])dnl |
| 211 m4_require([_LT_CMD_TRUNCATE])dnl |
| 202 | 212 |
| 203 _LT_CONFIG_LIBTOOL_INIT([ | 213 _LT_CONFIG_LIBTOOL_INIT([ |
| 204 # See if we are running on zsh, and set the options which allow our | 214 # See if we are running on zsh, and set the options that allow our |
| 205 # commands through without removal of \ escapes INIT. | 215 # commands through without removal of \ escapes INIT. |
| 206 if test -n "\${ZSH_VERSION+set}" ; then | 216 if test -n "\${ZSH_VERSION+set}"; then |
| 207 setopt NO_GLOB_SUBST | 217 setopt NO_GLOB_SUBST |
| 208 fi | 218 fi |
| 209 ]) | 219 ]) |
| 210 if test -n "${ZSH_VERSION+set}" ; then | 220 if test -n "${ZSH_VERSION+set}"; then |
| 211 setopt NO_GLOB_SUBST | 221 setopt NO_GLOB_SUBST |
| 212 fi | 222 fi |
| 213 | 223 |
| 214 _LT_CHECK_OBJDIR | 224 _LT_CHECK_OBJDIR |
| 215 | 225 |
| 216 m4_require([_LT_TAG_COMPILER])dnl | 226 m4_require([_LT_TAG_COMPILER])dnl |
| 217 | 227 |
| 218 case $host_os in | 228 case $host_os in |
| 219 aix3*) | 229 aix3*) |
| 220 # AIX sometimes has problems with the GCC collect2 program. For some | 230 # AIX sometimes has problems with the GCC collect2 program. For some |
| 221 # reason, if we set the COLLECT_NAMES environment variable, the problems | 231 # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 222 # vanish in a puff of smoke. | 232 # vanish in a puff of smoke. |
| 223 if test "X${COLLECT_NAMES+set}" != Xset; then | 233 if test set != "${COLLECT_NAMES+set}"; then |
| 224 COLLECT_NAMES= | 234 COLLECT_NAMES= |
| 225 export COLLECT_NAMES | 235 export COLLECT_NAMES |
| 226 fi | 236 fi |
| 227 ;; | 237 ;; |
| 228 esac | 238 esac |
| 229 | 239 |
| 230 # Global variables: | 240 # Global variables: |
| 231 ofile=libtool | 241 ofile=libtool |
| 232 can_build_shared=yes | 242 can_build_shared=yes |
| 233 | 243 |
| 234 # All known linkers require a `.a' archive for static linking (except MSVC, | 244 # All known linkers require a '.a' archive for static linking (except MSVC, |
| 235 # which needs '.lib'). | 245 # which needs '.lib'). |
| 236 libext=a | 246 libext=a |
| 237 | 247 |
| 238 with_gnu_ld="$lt_cv_prog_gnu_ld" | 248 with_gnu_ld=$lt_cv_prog_gnu_ld |
| 239 | 249 |
| 240 old_CC="$CC" | 250 old_CC=$CC |
| 241 old_CFLAGS="$CFLAGS" | 251 old_CFLAGS=$CFLAGS |
| 242 | 252 |
| 243 # Set sane defaults for various variables | 253 # Set sane defaults for various variables |
| 244 test -z "$CC" && CC=cc | 254 test -z "$CC" && CC=cc |
| 245 test -z "$LTCC" && LTCC=$CC | 255 test -z "$LTCC" && LTCC=$CC |
| 246 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | 256 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
| 247 test -z "$LD" && LD=ld | 257 test -z "$LD" && LD=ld |
| 248 test -z "$ac_objext" && ac_objext=o | 258 test -z "$ac_objext" && ac_objext=o |
| 249 | 259 |
| 250 _LT_CC_BASENAME([$compiler]) | 260 _LT_CC_BASENAME([$compiler]) |
| 251 | 261 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 294 |
| 285 # Sed substitution to delay expansion of an escaped single quote. | 295 # Sed substitution to delay expansion of an escaped single quote. |
| 286 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | 296 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 287 | 297 |
| 288 # Sed substitution to avoid accidental globbing in evaled expressions | 298 # Sed substitution to avoid accidental globbing in evaled expressions |
| 289 no_glob_subst='s/\*/\\\*/g' | 299 no_glob_subst='s/\*/\\\*/g' |
| 290 ]) | 300 ]) |
| 291 | 301 |
| 292 # _LT_PROG_LTMAIN | 302 # _LT_PROG_LTMAIN |
| 293 # --------------- | 303 # --------------- |
| 294 # Note that this code is called both from `configure', and `config.status' | 304 # Note that this code is called both from 'configure', and 'config.status' |
| 295 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, | 305 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, |
| 296 # `config.status' has no value for ac_aux_dir unless we are using Automake, | 306 # 'config.status' has no value for ac_aux_dir unless we are using Automake, |
| 297 # so we pass a copy along to make sure it has a sensible value anyway. | 307 # so we pass a copy along to make sure it has a sensible value anyway. |
| 298 m4_defun([_LT_PROG_LTMAIN], | 308 m4_defun([_LT_PROG_LTMAIN], |
| 299 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl | 309 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl |
| 300 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) | 310 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) |
| 301 ltmain="$ac_aux_dir/ltmain.sh" | 311 ltmain=$ac_aux_dir/ltmain.sh |
| 302 ])# _LT_PROG_LTMAIN | 312 ])# _LT_PROG_LTMAIN |
| 303 | 313 |
| 304 | 314 |
| 305 | 315 |
| 306 # So that we can recreate a full libtool script including additional | 316 # So that we can recreate a full libtool script including additional |
| 307 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS | 317 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS |
| 308 # in macros and then make a single call at the end using the `libtool' | 318 # in macros and then make a single call at the end using the 'libtool' |
| 309 # label. | 319 # label. |
| 310 | 320 |
| 311 | 321 |
| 312 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) | 322 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) |
| 313 # ---------------------------------------- | 323 # ---------------------------------------- |
| 314 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. | 324 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. |
| 315 m4_define([_LT_CONFIG_LIBTOOL_INIT], | 325 m4_define([_LT_CONFIG_LIBTOOL_INIT], |
| 316 [m4_ifval([$1], | 326 [m4_ifval([$1], |
| 317 [m4_append([_LT_OUTPUT_LIBTOOL_INIT], | 327 [m4_append([_LT_OUTPUT_LIBTOOL_INIT], |
| 318 [$1 | 328 [$1 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 m4_quote(m4_shift($@))))[]dnl | 440 m4_quote(m4_shift($@))))[]dnl |
| 431 ]) | 441 ]) |
| 432 m4_define([_lt_decl_all_varnames], | 442 m4_define([_lt_decl_all_varnames], |
| 433 [lt_join($@, lt_decl_varnames_tagged([$1], | 443 [lt_join($@, lt_decl_varnames_tagged([$1], |
| 434 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl | 444 lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl |
| 435 ]) | 445 ]) |
| 436 | 446 |
| 437 | 447 |
| 438 # _LT_CONFIG_STATUS_DECLARE([VARNAME]) | 448 # _LT_CONFIG_STATUS_DECLARE([VARNAME]) |
| 439 # ------------------------------------ | 449 # ------------------------------------ |
| 440 # Quote a variable value, and forward it to `config.status' so that its | 450 # Quote a variable value, and forward it to 'config.status' so that its |
| 441 # declaration there will have the same value as in `configure'. VARNAME | 451 # declaration there will have the same value as in 'configure'. VARNAME |
| 442 # must have a single quote delimited value for this to work. | 452 # must have a single quote delimited value for this to work. |
| 443 m4_define([_LT_CONFIG_STATUS_DECLARE], | 453 m4_define([_LT_CONFIG_STATUS_DECLARE], |
| 444 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) | 454 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) |
| 445 | 455 |
| 446 | 456 |
| 447 # _LT_CONFIG_STATUS_DECLARATIONS | 457 # _LT_CONFIG_STATUS_DECLARATIONS |
| 448 # ------------------------------ | 458 # ------------------------------ |
| 449 # We delimit libtool config variables with single quotes, so when | 459 # We delimit libtool config variables with single quotes, so when |
| 450 # we write them to config.status, we have to be sure to quote all | 460 # we write them to config.status, we have to be sure to quote all |
| 451 # embedded single quotes properly. In configure, this macro expands | 461 # embedded single quotes properly. In configure, this macro expands |
| 452 # each variable declared with _LT_DECL (and _LT_TAGDECL) into: | 462 # each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
| 453 # | 463 # |
| 454 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' | 464 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' |
| 455 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], | 465 m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
| 456 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), | 466 [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
| 457 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) | 467 [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
| 458 | 468 |
| 459 | 469 |
| 460 # _LT_LIBTOOL_TAGS | 470 # _LT_LIBTOOL_TAGS |
| 461 # ---------------- | 471 # ---------------- |
| 462 # Output comment and list of tags supported by the script | 472 # Output comment and list of tags supported by the script |
| 463 m4_defun([_LT_LIBTOOL_TAGS], | 473 m4_defun([_LT_LIBTOOL_TAGS], |
| 464 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this sc
ript])dnl | 474 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this sc
ript])dnl |
| 465 available_tags="_LT_TAGS"dnl | 475 available_tags='_LT_TAGS'dnl |
| 466 ]) | 476 ]) |
| 467 | 477 |
| 468 | 478 |
| 469 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) | 479 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) |
| 470 # ----------------------------------- | 480 # ----------------------------------- |
| 471 # Extract the dictionary values for VARNAME (optionally with TAG) and | 481 # Extract the dictionary values for VARNAME (optionally with TAG) and |
| 472 # expand to a commented shell variable setting: | 482 # expand to a commented shell variable setting: |
| 473 # | 483 # |
| 474 # # Some comment about what VAR is for. | 484 # # Some comment about what VAR is for. |
| 475 # visible_name=$lt_internal_name | 485 # visible_name=$lt_internal_name |
| 476 m4_define([_LT_LIBTOOL_DECLARE], | 486 m4_define([_LT_LIBTOOL_DECLARE], |
| 477 [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], | 487 [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], |
| 478 [description])))[]dnl | 488 [description])))[]dnl |
| 479 m4_pushdef([_libtool_name], | 489 m4_pushdef([_libtool_name], |
| 480 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl | 490 m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl |
| 481 m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), | 491 m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), |
| 482 [0], [_libtool_name=[$]$1], | 492 [0], [_libtool_name=[$]$1], |
| 483 [1], [_libtool_name=$lt_[]$1], | 493 [1], [_libtool_name=$lt_[]$1], |
| 484 [2], [_libtool_name=$lt_[]$1], | 494 [2], [_libtool_name=$lt_[]$1], |
| 485 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl | 495 [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl |
| 486 m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl | 496 m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl |
| 487 ]) | 497 ]) |
| 488 | 498 |
| 489 | 499 |
| 490 # _LT_LIBTOOL_CONFIG_VARS | 500 # _LT_LIBTOOL_CONFIG_VARS |
| 491 # ----------------------- | 501 # ----------------------- |
| 492 # Produce commented declarations of non-tagged libtool config variables | 502 # Produce commented declarations of non-tagged libtool config variables |
| 493 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool' | 503 # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' |
| 494 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG | 504 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG |
| 495 # section) are produced by _LT_LIBTOOL_TAG_VARS. | 505 # section) are produced by _LT_LIBTOOL_TAG_VARS. |
| 496 m4_defun([_LT_LIBTOOL_CONFIG_VARS], | 506 m4_defun([_LT_LIBTOOL_CONFIG_VARS], |
| 497 [m4_foreach([_lt_var], | 507 [m4_foreach([_lt_var], |
| 498 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), | 508 m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), |
| 499 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) | 509 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) |
| 500 | 510 |
| 501 | 511 |
| 502 # _LT_LIBTOOL_TAG_VARS(TAG) | 512 # _LT_LIBTOOL_TAG_VARS(TAG) |
| 503 # ------------------------- | 513 # ------------------------- |
| 504 m4_define([_LT_LIBTOOL_TAG_VARS], | 514 m4_define([_LT_LIBTOOL_TAG_VARS], |
| 505 [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), | 515 [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), |
| 506 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) | 516 [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) |
| 507 | 517 |
| 508 | 518 |
| 509 # _LT_TAGVAR(VARNAME, [TAGNAME]) | 519 # _LT_TAGVAR(VARNAME, [TAGNAME]) |
| 510 # ------------------------------ | 520 # ------------------------------ |
| 511 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) | 521 m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) |
| 512 | 522 |
| 513 | 523 |
| 514 # _LT_CONFIG_COMMANDS | 524 # _LT_CONFIG_COMMANDS |
| 515 # ------------------- | 525 # ------------------- |
| 516 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of | 526 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of |
| 517 # variables for single and double quote escaping we saved from calls | 527 # variables for single and double quote escaping we saved from calls |
| 518 # to _LT_DECL, we can put quote escaped variables declarations | 528 # to _LT_DECL, we can put quote escaped variables declarations |
| 519 # into `config.status', and then the shell code to quote escape them in | 529 # into 'config.status', and then the shell code to quote escape them in |
| 520 # for loops in `config.status'. Finally, any additional code accumulated | 530 # for loops in 'config.status'. Finally, any additional code accumulated |
| 521 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. | 531 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. |
| 522 m4_defun([_LT_CONFIG_COMMANDS], | 532 m4_defun([_LT_CONFIG_COMMANDS], |
| 523 [AC_PROVIDE_IFELSE([LT_OUTPUT], | 533 [AC_PROVIDE_IFELSE([LT_OUTPUT], |
| 524 dnl If the libtool generation code has been placed in $CONFIG_LT, | 534 dnl If the libtool generation code has been placed in $CONFIG_LT, |
| 525 dnl instead of duplicating it all over again into config.status, | 535 dnl instead of duplicating it all over again into config.status, |
| 526 dnl then we will have config.status run $CONFIG_LT later, so it | 536 dnl then we will have config.status run $CONFIG_LT later, so it |
| 527 dnl needs to know what name is stored there: | 537 dnl needs to know what name is stored there: |
| 528 [AC_CONFIG_COMMANDS([libtool], | 538 [AC_CONFIG_COMMANDS([libtool], |
| 529 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], | 539 [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], |
| 530 dnl If the libtool generation code is destined for config.status, | 540 dnl If the libtool generation code is destined for config.status, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 556 eval 'cat <<_LTECHO_EOF | 566 eval 'cat <<_LTECHO_EOF |
| 557 \$[]1 | 567 \$[]1 |
| 558 _LTECHO_EOF' | 568 _LTECHO_EOF' |
| 559 } | 569 } |
| 560 | 570 |
| 561 # Quote evaled strings. | 571 # Quote evaled strings. |
| 562 for var in lt_decl_all_varnames([[ \ | 572 for var in lt_decl_all_varnames([[ \ |
| 563 ]], lt_decl_quote_varnames); do | 573 ]], lt_decl_quote_varnames); do |
| 564 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 574 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 565 *[[\\\\\\\`\\"\\\$]]*) | 575 *[[\\\\\\\`\\"\\\$]]*) |
| 566 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" | 576 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_qu
ote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 567 ;; | 577 ;; |
| 568 *) | 578 *) |
| 569 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 579 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 570 ;; | 580 ;; |
| 571 esac | 581 esac |
| 572 done | 582 done |
| 573 | 583 |
| 574 # Double-quote double-evaled strings. | 584 # Double-quote double-evaled strings. |
| 575 for var in lt_decl_all_varnames([[ \ | 585 for var in lt_decl_all_varnames([[ \ |
| 576 ]], lt_decl_dquote_varnames); do | 586 ]], lt_decl_dquote_varnames); do |
| 577 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 587 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 578 *[[\\\\\\\`\\"\\\$]]*) | 588 *[[\\\\\\\`\\"\\\$]]*) |
| 579 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou
ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\
"\\\`\\\\\\"" | 589 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$dou
ble_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\
"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes |
| 580 ;; | 590 ;; |
| 581 *) | 591 *) |
| 582 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 592 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 583 ;; | 593 ;; |
| 584 esac | 594 esac |
| 585 done | 595 done |
| 586 | 596 |
| 587 _LT_OUTPUT_LIBTOOL_INIT | 597 _LT_OUTPUT_LIBTOOL_INIT |
| 588 ]) | 598 ]) |
| 589 | 599 |
| 590 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) | 600 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) |
| 591 # ------------------------------------ | 601 # ------------------------------------ |
| 592 # Generate a child script FILE with all initialization necessary to | 602 # Generate a child script FILE with all initialization necessary to |
| 593 # reuse the environment learned by the parent script, and make the | 603 # reuse the environment learned by the parent script, and make the |
| 594 # file executable. If COMMENT is supplied, it is inserted after the | 604 # file executable. If COMMENT is supplied, it is inserted after the |
| 595 # `#!' sequence but before initialization text begins. After this | 605 # '#!' sequence but before initialization text begins. After this |
| 596 # macro, additional text can be appended to FILE to form the body of | 606 # macro, additional text can be appended to FILE to form the body of |
| 597 # the child script. The macro ends with non-zero status if the | 607 # the child script. The macro ends with non-zero status if the |
| 598 # file could not be fully written (such as if the disk is full). | 608 # file could not be fully written (such as if the disk is full). |
| 599 m4_ifdef([AS_INIT_GENERATED], | 609 m4_ifdef([AS_INIT_GENERATED], |
| 600 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], | 610 [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], |
| 601 [m4_defun([_LT_GENERATED_FILE_INIT], | 611 [m4_defun([_LT_GENERATED_FILE_INIT], |
| 602 [m4_require([AS_PREPARE])]dnl | 612 [m4_require([AS_PREPARE])]dnl |
| 603 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl | 613 [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl |
| 604 [lt_write_fail=0 | 614 [lt_write_fail=0 |
| 605 cat >$1 <<_ASEOF || lt_write_fail=1 | 615 cat >$1 <<_ASEOF || lt_write_fail=1 |
| 606 #! $SHELL | 616 #! $SHELL |
| 607 # Generated by $as_me. | 617 # Generated by $as_me. |
| 608 $2 | 618 $2 |
| 609 SHELL=\${CONFIG_SHELL-$SHELL} | 619 SHELL=\${CONFIG_SHELL-$SHELL} |
| 610 export SHELL | 620 export SHELL |
| 611 _ASEOF | 621 _ASEOF |
| 612 cat >>$1 <<\_ASEOF || lt_write_fail=1 | 622 cat >>$1 <<\_ASEOF || lt_write_fail=1 |
| 613 AS_SHELL_SANITIZE | 623 AS_SHELL_SANITIZE |
| 614 _AS_PREPARE | 624 _AS_PREPARE |
| 615 exec AS_MESSAGE_FD>&1 | 625 exec AS_MESSAGE_FD>&1 |
| 616 _ASEOF | 626 _ASEOF |
| 617 test $lt_write_fail = 0 && chmod +x $1[]dnl | 627 test 0 = "$lt_write_fail" && chmod +x $1[]dnl |
| 618 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT | 628 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT |
| 619 | 629 |
| 620 # LT_OUTPUT | 630 # LT_OUTPUT |
| 621 # --------- | 631 # --------- |
| 622 # This macro allows early generation of the libtool script (before | 632 # This macro allows early generation of the libtool script (before |
| 623 # AC_OUTPUT is called), incase it is used in configure for compilation | 633 # AC_OUTPUT is called), incase it is used in configure for compilation |
| 624 # tests. | 634 # tests. |
| 625 AC_DEFUN([LT_OUTPUT], | 635 AC_DEFUN([LT_OUTPUT], |
| 626 [: ${CONFIG_LT=./config.lt} | 636 [: ${CONFIG_LT=./config.lt} |
| 627 AC_MSG_NOTICE([creating $CONFIG_LT]) | 637 AC_MSG_NOTICE([creating $CONFIG_LT]) |
| 628 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], | 638 _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], |
| 629 [# Run this file to recreate a libtool stub with the current configuration.]) | 639 [# Run this file to recreate a libtool stub with the current configuration.]) |
| 630 | 640 |
| 631 cat >>"$CONFIG_LT" <<\_LTEOF | 641 cat >>"$CONFIG_LT" <<\_LTEOF |
| 632 lt_cl_silent=false | 642 lt_cl_silent=false |
| 633 exec AS_MESSAGE_LOG_FD>>config.log | 643 exec AS_MESSAGE_LOG_FD>>config.log |
| 634 { | 644 { |
| 635 echo | 645 echo |
| 636 AS_BOX([Running $as_me.]) | 646 AS_BOX([Running $as_me.]) |
| 637 } >&AS_MESSAGE_LOG_FD | 647 } >&AS_MESSAGE_LOG_FD |
| 638 | 648 |
| 639 lt_cl_help="\ | 649 lt_cl_help="\ |
| 640 \`$as_me' creates a local libtool stub from the current configuration, | 650 '$as_me' creates a local libtool stub from the current configuration, |
| 641 for use in further configure time tests before the real libtool is | 651 for use in further configure time tests before the real libtool is |
| 642 generated. | 652 generated. |
| 643 | 653 |
| 644 Usage: $[0] [[OPTIONS]] | 654 Usage: $[0] [[OPTIONS]] |
| 645 | 655 |
| 646 -h, --help print this help, then exit | 656 -h, --help print this help, then exit |
| 647 -V, --version print version number, then exit | 657 -V, --version print version number, then exit |
| 648 -q, --quiet do not print progress messages | 658 -q, --quiet do not print progress messages |
| 649 -d, --debug don't remove temporary files | 659 -d, --debug don't remove temporary files |
| 650 | 660 |
| 651 Report bugs to <bug-libtool@gnu.org>." | 661 Report bugs to <bug-libtool@gnu.org>." |
| 652 | 662 |
| 653 lt_cl_version="\ | 663 lt_cl_version="\ |
| 654 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl | 664 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl |
| 655 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) | 665 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
| 656 configured by $[0], generated by m4_PACKAGE_STRING. | 666 configured by $[0], generated by m4_PACKAGE_STRING. |
| 657 | 667 |
| 658 Copyright (C) 2011 Free Software Foundation, Inc. | 668 Copyright (C) 2011 Free Software Foundation, Inc. |
| 659 This config.lt script is free software; the Free Software Foundation | 669 This config.lt script is free software; the Free Software Foundation |
| 660 gives unlimited permision to copy, distribute and modify it." | 670 gives unlimited permision to copy, distribute and modify it." |
| 661 | 671 |
| 662 while test $[#] != 0 | 672 while test 0 != $[#] |
| 663 do | 673 do |
| 664 case $[1] in | 674 case $[1] in |
| 665 --version | --v* | -V ) | 675 --version | --v* | -V ) |
| 666 echo "$lt_cl_version"; exit 0 ;; | 676 echo "$lt_cl_version"; exit 0 ;; |
| 667 --help | --h* | -h ) | 677 --help | --h* | -h ) |
| 668 echo "$lt_cl_help"; exit 0 ;; | 678 echo "$lt_cl_help"; exit 0 ;; |
| 669 --debug | --d* | -d ) | 679 --debug | --d* | -d ) |
| 670 debug=: ;; | 680 debug=: ;; |
| 671 --quiet | --q* | --silent | --s* | -q ) | 681 --quiet | --q* | --silent | --s* | -q ) |
| 672 lt_cl_silent=: ;; | 682 lt_cl_silent=: ;; |
| 673 | 683 |
| 674 -*) AC_MSG_ERROR([unrecognized option: $[1] | 684 -*) AC_MSG_ERROR([unrecognized option: $[1] |
| 675 Try \`$[0] --help' for more information.]) ;; | 685 Try '$[0] --help' for more information.]) ;; |
| 676 | 686 |
| 677 *) AC_MSG_ERROR([unrecognized argument: $[1] | 687 *) AC_MSG_ERROR([unrecognized argument: $[1] |
| 678 Try \`$[0] --help' for more information.]) ;; | 688 Try '$[0] --help' for more information.]) ;; |
| 679 esac | 689 esac |
| 680 shift | 690 shift |
| 681 done | 691 done |
| 682 | 692 |
| 683 if $lt_cl_silent; then | 693 if $lt_cl_silent; then |
| 684 exec AS_MESSAGE_FD>/dev/null | 694 exec AS_MESSAGE_FD>/dev/null |
| 685 fi | 695 fi |
| 686 _LTEOF | 696 _LTEOF |
| 687 | 697 |
| 688 cat >>"$CONFIG_LT" <<_LTEOF | 698 cat >>"$CONFIG_LT" <<_LTEOF |
| 689 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT | 699 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT |
| 690 _LTEOF | 700 _LTEOF |
| 691 | 701 |
| 692 cat >>"$CONFIG_LT" <<\_LTEOF | 702 cat >>"$CONFIG_LT" <<\_LTEOF |
| 693 AC_MSG_NOTICE([creating $ofile]) | 703 AC_MSG_NOTICE([creating $ofile]) |
| 694 _LT_OUTPUT_LIBTOOL_COMMANDS | 704 _LT_OUTPUT_LIBTOOL_COMMANDS |
| 695 AS_EXIT(0) | 705 AS_EXIT(0) |
| 696 _LTEOF | 706 _LTEOF |
| 697 chmod +x "$CONFIG_LT" | 707 chmod +x "$CONFIG_LT" |
| 698 | 708 |
| 699 # configure is writing to config.log, but config.lt does its own redirection, | 709 # configure is writing to config.log, but config.lt does its own redirection, |
| 700 # appending to config.log, which fails on DOS, as config.log is still kept | 710 # appending to config.log, which fails on DOS, as config.log is still kept |
| 701 # open by configure. Here we exec the FD to /dev/null, effectively closing | 711 # open by configure. Here we exec the FD to /dev/null, effectively closing |
| 702 # config.log, so it can be properly (re)opened and appended to by config.lt. | 712 # config.log, so it can be properly (re)opened and appended to by config.lt. |
| 703 lt_cl_success=: | 713 lt_cl_success=: |
| 704 test "$silent" = yes && | 714 test yes = "$silent" && |
| 705 lt_config_lt_args="$lt_config_lt_args --quiet" | 715 lt_config_lt_args="$lt_config_lt_args --quiet" |
| 706 exec AS_MESSAGE_LOG_FD>/dev/null | 716 exec AS_MESSAGE_LOG_FD>/dev/null |
| 707 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false | 717 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
| 708 exec AS_MESSAGE_LOG_FD>>config.log | 718 exec AS_MESSAGE_LOG_FD>>config.log |
| 709 $lt_cl_success || AS_EXIT(1) | 719 $lt_cl_success || AS_EXIT(1) |
| 710 ])# LT_OUTPUT | 720 ])# LT_OUTPUT |
| 711 | 721 |
| 712 | 722 |
| 713 # _LT_CONFIG(TAG) | 723 # _LT_CONFIG(TAG) |
| 714 # --------------- | 724 # --------------- |
| 715 # If TAG is the built-in tag, create an initial libtool script with a | 725 # If TAG is the built-in tag, create an initial libtool script with a |
| 716 # default configuration from the untagged config vars. Otherwise add code | 726 # default configuration from the untagged config vars. Otherwise add code |
| 717 # to config.status for appending the configuration named by TAG from the | 727 # to config.status for appending the configuration named by TAG from the |
| 718 # matching tagged config vars. | 728 # matching tagged config vars. |
| 719 m4_defun([_LT_CONFIG], | 729 m4_defun([_LT_CONFIG], |
| 720 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 730 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 721 _LT_CONFIG_SAVE_COMMANDS([ | 731 _LT_CONFIG_SAVE_COMMANDS([ |
| 722 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl | 732 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl |
| 723 m4_if(_LT_TAG, [C], [ | 733 m4_if(_LT_TAG, [C], [ |
| 724 # See if we are running on zsh, and set the options which allow our | 734 # See if we are running on zsh, and set the options that allow our |
| 725 # commands through without removal of \ escapes. | 735 # commands through without removal of \ escapes. |
| 726 if test -n "${ZSH_VERSION+set}" ; then | 736 if test -n "${ZSH_VERSION+set}"; then |
| 727 setopt NO_GLOB_SUBST | 737 setopt NO_GLOB_SUBST |
| 728 fi | 738 fi |
| 729 | 739 |
| 730 cfgfile="${ofile}T" | 740 cfgfile=${ofile}T |
| 731 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | 741 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
| 732 $RM "$cfgfile" | 742 $RM "$cfgfile" |
| 733 | 743 |
| 734 cat <<_LT_EOF >> "$cfgfile" | 744 cat <<_LT_EOF >> "$cfgfile" |
| 735 #! $SHELL | 745 #! $SHELL |
| 736 | 746 # Generated automatically by $as_me ($PACKAGE) $VERSION |
| 737 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building suppo
rt services. | |
| 738 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | |
| 739 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 740 # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 748 # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
| 741 # | 749 |
| 750 # Provide generalized library-building support services. |
| 751 # Written by Gordon Matzigkeit, 1996 |
| 752 |
| 742 _LT_COPYING | 753 _LT_COPYING |
| 743 _LT_LIBTOOL_TAGS | 754 _LT_LIBTOOL_TAGS |
| 744 | 755 |
| 756 # Configured defaults for sys_lib_dlsearch_path munging. |
| 757 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} |
| 758 |
| 745 # ### BEGIN LIBTOOL CONFIG | 759 # ### BEGIN LIBTOOL CONFIG |
| 746 _LT_LIBTOOL_CONFIG_VARS | 760 _LT_LIBTOOL_CONFIG_VARS |
| 747 _LT_LIBTOOL_TAG_VARS | 761 _LT_LIBTOOL_TAG_VARS |
| 748 # ### END LIBTOOL CONFIG | 762 # ### END LIBTOOL CONFIG |
| 749 | 763 |
| 750 _LT_EOF | 764 _LT_EOF |
| 751 | 765 |
| 766 cat <<'_LT_EOF' >> "$cfgfile" |
| 767 |
| 768 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE |
| 769 |
| 770 _LT_PREPARE_MUNGE_PATH_LIST |
| 771 _LT_PREPARE_CC_BASENAME |
| 772 |
| 773 # ### END FUNCTIONS SHARED WITH CONFIGURE |
| 774 |
| 775 _LT_EOF |
| 776 |
| 752 case $host_os in | 777 case $host_os in |
| 753 aix3*) | 778 aix3*) |
| 754 cat <<\_LT_EOF >> "$cfgfile" | 779 cat <<\_LT_EOF >> "$cfgfile" |
| 755 # AIX sometimes has problems with the GCC collect2 program. For some | 780 # AIX sometimes has problems with the GCC collect2 program. For some |
| 756 # reason, if we set the COLLECT_NAMES environment variable, the problems | 781 # reason, if we set the COLLECT_NAMES environment variable, the problems |
| 757 # vanish in a puff of smoke. | 782 # vanish in a puff of smoke. |
| 758 if test "X${COLLECT_NAMES+set}" != Xset; then | 783 if test set != "${COLLECT_NAMES+set}"; then |
| 759 COLLECT_NAMES= | 784 COLLECT_NAMES= |
| 760 export COLLECT_NAMES | 785 export COLLECT_NAMES |
| 761 fi | 786 fi |
| 762 _LT_EOF | 787 _LT_EOF |
| 763 ;; | 788 ;; |
| 764 esac | 789 esac |
| 765 | 790 |
| 766 _LT_PROG_LTMAIN | 791 _LT_PROG_LTMAIN |
| 767 | 792 |
| 768 # We use sed instead of cat because bash on DJGPP gets confused if | 793 # We use sed instead of cat because bash on DJGPP gets confused if |
| 769 # if finds mixed CR/LF and LF-only lines. Since sed operates in | 794 # if finds mixed CR/LF and LF-only lines. Since sed operates in |
| 770 # text mode, it properly converts lines to CR/LF. This bash problem | 795 # text mode, it properly converts lines to CR/LF. This bash problem |
| 771 # is reportedly fixed, but why not run on old versions too? | 796 # is reportedly fixed, but why not run on old versions too? |
| 772 sed '$q' "$ltmain" >> "$cfgfile" \ | 797 sed '$q' "$ltmain" >> "$cfgfile" \ |
| 773 || (rm -f "$cfgfile"; exit 1) | 798 || (rm -f "$cfgfile"; exit 1) |
| 774 | 799 |
| 775 _LT_PROG_REPLACE_SHELLFNS | |
| 776 | |
| 777 mv -f "$cfgfile" "$ofile" || | 800 mv -f "$cfgfile" "$ofile" || |
| 778 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 801 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
| 779 chmod +x "$ofile" | 802 chmod +x "$ofile" |
| 780 ], | 803 ], |
| 781 [cat <<_LT_EOF >> "$ofile" | 804 [cat <<_LT_EOF >> "$ofile" |
| 782 | 805 |
| 783 dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded | 806 dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded |
| 784 dnl in a comment (ie after a #). | 807 dnl in a comment (ie after a #). |
| 785 # ### BEGIN LIBTOOL TAG CONFIG: $1 | 808 # ### BEGIN LIBTOOL TAG CONFIG: $1 |
| 786 _LT_LIBTOOL_TAG_VARS(_LT_TAG) | 809 _LT_LIBTOOL_TAG_VARS(_LT_TAG) |
| 787 # ### END LIBTOOL TAG CONFIG: $1 | 810 # ### END LIBTOOL TAG CONFIG: $1 |
| 788 _LT_EOF | 811 _LT_EOF |
| 789 ])dnl /m4_if | 812 ])dnl /m4_if |
| 790 ], | 813 ], |
| 791 [m4_if([$1], [], [ | 814 [m4_if([$1], [], [ |
| 792 PACKAGE='$PACKAGE' | 815 PACKAGE='$PACKAGE' |
| 793 VERSION='$VERSION' | 816 VERSION='$VERSION' |
| 794 TIMESTAMP='$TIMESTAMP' | |
| 795 RM='$RM' | 817 RM='$RM' |
| 796 ofile='$ofile'], []) | 818 ofile='$ofile'], []) |
| 797 ])dnl /_LT_CONFIG_SAVE_COMMANDS | 819 ])dnl /_LT_CONFIG_SAVE_COMMANDS |
| 798 ])# _LT_CONFIG | 820 ])# _LT_CONFIG |
| 799 | 821 |
| 800 | 822 |
| 801 # LT_SUPPORTED_TAG(TAG) | 823 # LT_SUPPORTED_TAG(TAG) |
| 802 # --------------------- | 824 # --------------------- |
| 803 # Trace this macro to discover what tags are supported by the libtool | 825 # Trace this macro to discover what tags are supported by the libtool |
| 804 # --tag option, using: | 826 # --tag option, using: |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 [Tool to change global to local symbols on Mac OS X]) | 1003 [Tool to change global to local symbols on Mac OS X]) |
| 982 _LT_DECL([], [LIPO], [1], | 1004 _LT_DECL([], [LIPO], [1], |
| 983 [Tool to manipulate fat objects and archives on Mac OS X]) | 1005 [Tool to manipulate fat objects and archives on Mac OS X]) |
| 984 _LT_DECL([], [OTOOL], [1], | 1006 _LT_DECL([], [OTOOL], [1], |
| 985 [ldd/readelf like tool for Mach-O binaries on Mac OS X]) | 1007 [ldd/readelf like tool for Mach-O binaries on Mac OS X]) |
| 986 _LT_DECL([], [OTOOL64], [1], | 1008 _LT_DECL([], [OTOOL64], [1], |
| 987 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) | 1009 [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) |
| 988 | 1010 |
| 989 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], | 1011 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], |
| 990 [lt_cv_apple_cc_single_mod=no | 1012 [lt_cv_apple_cc_single_mod=no |
| 991 if test -z "${LT_MULTI_MODULE}"; then | 1013 if test -z "$LT_MULTI_MODULE"; then |
| 992 # By default we will add the -single_module flag. You can override | 1014 # By default we will add the -single_module flag. You can override |
| 993 # by either setting the environment variable LT_MULTI_MODULE | 1015 # by either setting the environment variable LT_MULTI_MODULE |
| 994 # non-empty at configure time, or by adding -multi_module to the | 1016 # non-empty at configure time, or by adding -multi_module to the |
| 995 # link flags. | 1017 # link flags. |
| 996 rm -rf libconftest.dylib* | 1018 rm -rf libconftest.dylib* |
| 997 echo "int foo(void){return 1;}" > conftest.c | 1019 echo "int foo(void){return 1;}" > conftest.c |
| 998 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 1020 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 999 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD | 1021 -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD |
| 1000 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 1022 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 1001 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | 1023 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
| 1002 _lt_result=$? | 1024 _lt_result=$? |
| 1003 # If there is a non-empty error log, and "single_module" | 1025 # If there is a non-empty error log, and "single_module" |
| 1004 # appears in it, assume the flag caused a linker warning | 1026 # appears in it, assume the flag caused a linker warning |
| 1005 if test -s conftest.err && $GREP single_module conftest.err; then | 1027 if test -s conftest.err && $GREP single_module conftest.err; then |
| 1006 cat conftest.err >&AS_MESSAGE_LOG_FD | 1028 cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1007 # Otherwise, if the output was created with a 0 exit code from | 1029 # Otherwise, if the output was created with a 0 exit code from |
| 1008 # the compiler, it worked. | 1030 # the compiler, it worked. |
| 1009 » elif test -f libconftest.dylib && test $_lt_result -eq 0; then | 1031 » elif test -f libconftest.dylib && test 0 = "$_lt_result"; then |
| 1010 lt_cv_apple_cc_single_mod=yes | 1032 lt_cv_apple_cc_single_mod=yes |
| 1011 else | 1033 else |
| 1012 cat conftest.err >&AS_MESSAGE_LOG_FD | 1034 cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1013 fi | 1035 fi |
| 1014 rm -rf libconftest.dylib* | 1036 rm -rf libconftest.dylib* |
| 1015 rm -f conftest.* | 1037 rm -f conftest.* |
| 1016 fi]) | 1038 fi]) |
| 1017 | 1039 |
| 1018 AC_CACHE_CHECK([for -exported_symbols_list linker flag], | 1040 AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
| 1019 [lt_cv_ld_exported_symbols_list], | 1041 [lt_cv_ld_exported_symbols_list], |
| 1020 [lt_cv_ld_exported_symbols_list=no | 1042 [lt_cv_ld_exported_symbols_list=no |
| 1021 save_LDFLAGS=$LDFLAGS | 1043 save_LDFLAGS=$LDFLAGS |
| 1022 echo "_main" > conftest.sym | 1044 echo "_main" > conftest.sym |
| 1023 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | 1045 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 1024 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], | 1046 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
| 1025 [lt_cv_ld_exported_symbols_list=yes], | 1047 [lt_cv_ld_exported_symbols_list=yes], |
| 1026 [lt_cv_ld_exported_symbols_list=no]) | 1048 [lt_cv_ld_exported_symbols_list=no]) |
| 1027 » LDFLAGS="$save_LDFLAGS" | 1049 » LDFLAGS=$save_LDFLAGS |
| 1028 ]) | 1050 ]) |
| 1029 | 1051 |
| 1030 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], | 1052 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], |
| 1031 [lt_cv_ld_force_load=no | 1053 [lt_cv_ld_force_load=no |
| 1032 cat > conftest.c << _LT_EOF | 1054 cat > conftest.c << _LT_EOF |
| 1033 int forced_loaded() { return 2;} | 1055 int forced_loaded() { return 2;} |
| 1034 _LT_EOF | 1056 _LT_EOF |
| 1035 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD | 1057 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
| 1036 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD | 1058 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD |
| 1037 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD | 1059 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD |
| 1038 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD | 1060 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD |
| 1039 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD | 1061 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
| 1040 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD | 1062 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
| 1041 cat > conftest.c << _LT_EOF | 1063 cat > conftest.c << _LT_EOF |
| 1042 int main() { return 0;} | 1064 int main() { return 0;} |
| 1043 _LT_EOF | 1065 _LT_EOF |
| 1044 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li
bconftest.a" >&AS_MESSAGE_LOG_FD | 1066 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./li
bconftest.a" >&AS_MESSAGE_LOG_FD |
| 1045 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft
est.a 2>conftest.err | 1067 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconft
est.a 2>conftest.err |
| 1046 _lt_result=$? | 1068 _lt_result=$? |
| 1047 if test -s conftest.err && $GREP force_load conftest.err; then | 1069 if test -s conftest.err && $GREP force_load conftest.err; then |
| 1048 cat conftest.err >&AS_MESSAGE_LOG_FD | 1070 cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1049 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conft
est >/dev/null 2>&1 ; then | 1071 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conft
est >/dev/null 2>&1; then |
| 1050 lt_cv_ld_force_load=yes | 1072 lt_cv_ld_force_load=yes |
| 1051 else | 1073 else |
| 1052 cat conftest.err >&AS_MESSAGE_LOG_FD | 1074 cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1053 fi | 1075 fi |
| 1054 rm -f conftest.err libconftest.a conftest conftest.c | 1076 rm -f conftest.err libconftest.a conftest conftest.c |
| 1055 rm -rf conftest.dSYM | 1077 rm -rf conftest.dSYM |
| 1056 ]) | 1078 ]) |
| 1057 case $host_os in | 1079 case $host_os in |
| 1058 rhapsody* | darwin1.[[012]]) | 1080 rhapsody* | darwin1.[[012]]) |
| 1059 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | 1081 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
| 1060 darwin1.*) | 1082 darwin1.*) |
| 1061 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppres
s' ;; | 1083 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;
; |
| 1062 darwin*) # darwin 5.x on | 1084 darwin*) # darwin 5.x on |
| 1063 # if running on 10.5 or later, the deployment target defaults | 1085 # if running on 10.5 or later, the deployment target defaults |
| 1064 # to the OS version, if on x86, and 10.4, the deployment | 1086 # to the OS version, if on x86, and 10.4, the deployment |
| 1065 # target defaults to 10.4. Don't you love it? | 1087 # target defaults to 10.4. Don't you love it? |
| 1066 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | 1088 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 1067 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) | 1089 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
| 1068 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 1090 » _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
| 1069 » 10.[[012]]*) | 1091 » 10.[[012]][[,.]]*) |
| 1070 » _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}sup
press' ;; | 1092 » _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppres
s' ;; |
| 1071 10.*) | 1093 10.*) |
| 1072 » _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 1094 » _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
| 1073 esac | 1095 esac |
| 1074 ;; | 1096 ;; |
| 1075 esac | 1097 esac |
| 1076 if test "$lt_cv_apple_cc_single_mod" = "yes"; then | 1098 if test yes = "$lt_cv_apple_cc_single_mod"; then |
| 1077 _lt_dar_single_mod='$single_module' | 1099 _lt_dar_single_mod='$single_module' |
| 1078 fi | 1100 fi |
| 1079 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then | 1101 if test yes = "$lt_cv_ld_exported_symbols_list"; then |
| 1080 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname
}-symbols.expsym' | 1102 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-sy
mbols.expsym' |
| 1081 else | 1103 else |
| 1082 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym
${lib}' | 1104 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $l
ib' |
| 1083 fi | 1105 fi |
| 1084 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | 1106 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then |
| 1085 _lt_dsymutil='~$DSYMUTIL $lib || :' | 1107 _lt_dsymutil='~$DSYMUTIL $lib || :' |
| 1086 else | 1108 else |
| 1087 _lt_dsymutil= | 1109 _lt_dsymutil= |
| 1088 fi | 1110 fi |
| 1089 ;; | 1111 ;; |
| 1090 esac | 1112 esac |
| 1091 ]) | 1113 ]) |
| 1092 | 1114 |
| 1093 | 1115 |
| 1094 # _LT_DARWIN_LINKER_FEATURES([TAG]) | 1116 # _LT_DARWIN_LINKER_FEATURES([TAG]) |
| 1095 # --------------------------------- | 1117 # --------------------------------- |
| 1096 # Checks for linker and compiler features on darwin | 1118 # Checks for linker and compiler features on darwin |
| 1097 m4_defun([_LT_DARWIN_LINKER_FEATURES], | 1119 m4_defun([_LT_DARWIN_LINKER_FEATURES], |
| 1098 [ | 1120 [ |
| 1099 m4_require([_LT_REQUIRED_DARWIN_CHECKS]) | 1121 m4_require([_LT_REQUIRED_DARWIN_CHECKS]) |
| 1100 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 1122 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 1101 _LT_TAGVAR(hardcode_direct, $1)=no | 1123 _LT_TAGVAR(hardcode_direct, $1)=no |
| 1102 _LT_TAGVAR(hardcode_automatic, $1)=yes | 1124 _LT_TAGVAR(hardcode_automatic, $1)=yes |
| 1103 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported | 1125 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 1104 if test "$lt_cv_ld_force_load" = "yes"; then | 1126 if test yes = "$lt_cv_ld_force_load"; then |
| 1105 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do t
est -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"
; done; func_echo_all \"$new_convenience\"`' | 1127 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do t
est -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\";
done; func_echo_all \"$new_convenience\"`' |
| 1106 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], | 1128 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], |
| 1107 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) | 1129 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) |
| 1108 else | 1130 else |
| 1109 _LT_TAGVAR(whole_archive_flag_spec, $1)='' | 1131 _LT_TAGVAR(whole_archive_flag_spec, $1)='' |
| 1110 fi | 1132 fi |
| 1111 _LT_TAGVAR(link_all_deplibs, $1)=yes | 1133 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 1112 _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" | 1134 _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined |
| 1113 case $cc_basename in | 1135 case $cc_basename in |
| 1114 ifort*) _lt_dar_can_shared=yes ;; | 1136 ifort*|nagfor*) _lt_dar_can_shared=yes ;; |
| 1115 *) _lt_dar_can_shared=$GCC ;; | 1137 *) _lt_dar_can_shared=$GCC ;; |
| 1116 esac | 1138 esac |
| 1117 if test "$_lt_dar_can_shared" = "yes"; then | 1139 if test yes = "$_lt_dar_can_shared"; then |
| 1118 output_verbose_link_cmd=func_echo_all | 1140 output_verbose_link_cmd=func_echo_all |
| 1119 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$l
ib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstri
ng $_lt_dar_single_mod${_lt_dsymutil}" | 1141 _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$l
ib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstri
ng $_lt_dar_single_mod$_lt_dsymutil" |
| 1120 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$
libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" | 1142 _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$
libobjs \$deplibs \$compiler_flags$_lt_dsymutil" |
| 1121 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$out
put_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o
\$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$ver
string ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" | 1143 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$out
put_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \
$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verst
ring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" |
| 1122 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$o
utput_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bu
ndle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" | 1144 _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$o
utput_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bund
le \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" |
| 1123 m4_if([$1], [CXX], | 1145 m4_if([$1], [CXX], |
| 1124 [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then | 1146 [ if test yes != "$lt_cv_apple_cc_single_mod"; then |
| 1125 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \
${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${li
b}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstrin
g${_lt_dsymutil}" | 1147 _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \
$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-m
aster.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_l
t_dsymutil" |
| 1126 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$o
utput_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib
-o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \
${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$vers
tring${_lt_dar_export_syms}${_lt_dsymutil}" | 1148 _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$o
utput_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o
\$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib
-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$
_lt_dar_export_syms$_lt_dsymutil" |
| 1127 fi | 1149 fi |
| 1128 ],[]) | 1150 ],[]) |
| 1129 else | 1151 else |
| 1130 _LT_TAGVAR(ld_shlibs, $1)=no | 1152 _LT_TAGVAR(ld_shlibs, $1)=no |
| 1131 fi | 1153 fi |
| 1132 ]) | 1154 ]) |
| 1133 | 1155 |
| 1134 # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) | 1156 # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) |
| 1135 # ---------------------------------- | 1157 # ---------------------------------- |
| 1136 # Links a minimal program and checks the executable | 1158 # Links a minimal program and checks the executable |
| 1137 # for the system default hardcoded library path. In most cases, | 1159 # for the system default hardcoded library path. In most cases, |
| 1138 # this is /usr/lib:/lib, but when the MPI compilers are used | 1160 # this is /usr/lib:/lib, but when the MPI compilers are used |
| 1139 # the location of the communication and MPI libs are included too. | 1161 # the location of the communication and MPI libs are included too. |
| 1140 # If we don't find anything, use the default library path according | 1162 # If we don't find anything, use the default library path according |
| 1141 # to the aix ld manual. | 1163 # to the aix ld manual. |
| 1142 # Store the results from the different compilers for each TAGNAME. | 1164 # Store the results from the different compilers for each TAGNAME. |
| 1143 # Allow to override them for all tags through lt_cv_aix_libpath. | 1165 # Allow to override them for all tags through lt_cv_aix_libpath. |
| 1144 m4_defun([_LT_SYS_MODULE_PATH_AIX], | 1166 m4_defun([_LT_SYS_MODULE_PATH_AIX], |
| 1145 [m4_require([_LT_DECL_SED])dnl | 1167 [m4_require([_LT_DECL_SED])dnl |
| 1146 if test "${lt_cv_aix_libpath+set}" = set; then | 1168 if test set = "${lt_cv_aix_libpath+set}"; then |
| 1147 aix_libpath=$lt_cv_aix_libpath | 1169 aix_libpath=$lt_cv_aix_libpath |
| 1148 else | 1170 else |
| 1149 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], | 1171 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], |
| 1150 [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ | 1172 [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ |
| 1151 lt_aix_libpath_sed='[ | 1173 lt_aix_libpath_sed='[ |
| 1152 /Import File Strings/,/^$/ { | 1174 /Import File Strings/,/^$/ { |
| 1153 /^0/ { | 1175 /^0/ { |
| 1154 s/^0 *\([^ ]*\) *$/\1/ | 1176 s/^0 *\([^ ]*\) *$/\1/ |
| 1155 p | 1177 p |
| 1156 } | 1178 } |
| 1157 }]' | 1179 }]' |
| 1158 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null
| $SED -n -e "$lt_aix_libpath_sed"` | 1180 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null
| $SED -n -e "$lt_aix_libpath_sed"` |
| 1159 # Check for a 64-bit object if we didn't find anything. | 1181 # Check for a 64-bit object if we didn't find anything. |
| 1160 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then | 1182 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then |
| 1161 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev
/null | $SED -n -e "$lt_aix_libpath_sed"` | 1183 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev
/null | $SED -n -e "$lt_aix_libpath_sed"` |
| 1162 fi],[]) | 1184 fi],[]) |
| 1163 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then | 1185 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then |
| 1164 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" | 1186 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib |
| 1165 fi | 1187 fi |
| 1166 ]) | 1188 ]) |
| 1167 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) | 1189 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) |
| 1168 fi | 1190 fi |
| 1169 ])# _LT_SYS_MODULE_PATH_AIX | 1191 ])# _LT_SYS_MODULE_PATH_AIX |
| 1170 | 1192 |
| 1171 | 1193 |
| 1172 # _LT_SHELL_INIT(ARG) | 1194 # _LT_SHELL_INIT(ARG) |
| 1173 # ------------------- | 1195 # ------------------- |
| 1174 m4_define([_LT_SHELL_INIT], | 1196 m4_define([_LT_SHELL_INIT], |
| 1175 [m4_divert_text([M4SH-INIT], [$1 | 1197 [m4_divert_text([M4SH-INIT], [$1 |
| 1176 ])])# _LT_SHELL_INIT | 1198 ])])# _LT_SHELL_INIT |
| 1177 | 1199 |
| 1178 | 1200 |
| 1179 | 1201 |
| 1180 # _LT_PROG_ECHO_BACKSLASH | 1202 # _LT_PROG_ECHO_BACKSLASH |
| 1181 # ----------------------- | 1203 # ----------------------- |
| 1182 # Find how we can fake an echo command that does not interpret backslash. | 1204 # Find how we can fake an echo command that does not interpret backslash. |
| 1183 # In particular, with Autoconf 2.60 or later we add some code to the start | 1205 # In particular, with Autoconf 2.60 or later we add some code to the start |
| 1184 # of the generated configure script which will find a shell with a builtin | 1206 # of the generated configure script that will find a shell with a builtin |
| 1185 # printf (which we can use as an echo command). | 1207 # printf (that we can use as an echo command). |
| 1186 m4_defun([_LT_PROG_ECHO_BACKSLASH], | 1208 m4_defun([_LT_PROG_ECHO_BACKSLASH], |
| 1187 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 1209 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 1188 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | 1210 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1189 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | 1211 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1190 | 1212 |
| 1191 AC_MSG_CHECKING([how to print strings]) | 1213 AC_MSG_CHECKING([how to print strings]) |
| 1192 # Test print first, because it will be a builtin if present. | 1214 # Test print first, because it will be a builtin if present. |
| 1193 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ | 1215 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| 1194 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then | 1216 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 1195 ECHO='print -r --' | 1217 ECHO='print -r --' |
| 1196 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then | 1218 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 1197 ECHO='printf %s\n' | 1219 ECHO='printf %s\n' |
| 1198 else | 1220 else |
| 1199 # Use this function as a fallback that always works. | 1221 # Use this function as a fallback that always works. |
| 1200 func_fallback_echo () | 1222 func_fallback_echo () |
| 1201 { | 1223 { |
| 1202 eval 'cat <<_LTECHO_EOF | 1224 eval 'cat <<_LTECHO_EOF |
| 1203 $[]1 | 1225 $[]1 |
| 1204 _LTECHO_EOF' | 1226 _LTECHO_EOF' |
| 1205 } | 1227 } |
| 1206 ECHO='func_fallback_echo' | 1228 ECHO='func_fallback_echo' |
| 1207 fi | 1229 fi |
| 1208 | 1230 |
| 1209 # func_echo_all arg... | 1231 # func_echo_all arg... |
| 1210 # Invoke $ECHO with all args, space-separated. | 1232 # Invoke $ECHO with all args, space-separated. |
| 1211 func_echo_all () | 1233 func_echo_all () |
| 1212 { | 1234 { |
| 1213 $ECHO "$*" | 1235 $ECHO "$*" |
| 1214 } | 1236 } |
| 1215 | 1237 |
| 1216 case "$ECHO" in | 1238 case $ECHO in |
| 1217 printf*) AC_MSG_RESULT([printf]) ;; | 1239 printf*) AC_MSG_RESULT([printf]) ;; |
| 1218 print*) AC_MSG_RESULT([print -r]) ;; | 1240 print*) AC_MSG_RESULT([print -r]) ;; |
| 1219 *) AC_MSG_RESULT([cat]) ;; | 1241 *) AC_MSG_RESULT([cat]) ;; |
| 1220 esac | 1242 esac |
| 1221 | 1243 |
| 1222 m4_ifdef([_AS_DETECT_SUGGESTED], | 1244 m4_ifdef([_AS_DETECT_SUGGESTED], |
| 1223 [_AS_DETECT_SUGGESTED([ | 1245 [_AS_DETECT_SUGGESTED([ |
| 1224 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( | 1246 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( |
| 1225 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 1247 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 1226 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | 1248 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1227 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | 1249 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1228 PATH=/empty FPATH=/empty; export PATH FPATH | 1250 PATH=/empty FPATH=/empty; export PATH FPATH |
| 1229 test "X`printf %s $ECHO`" = "X$ECHO" \ | 1251 test "X`printf %s $ECHO`" = "X$ECHO" \ |
| 1230 || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) | 1252 || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) |
| 1231 | 1253 |
| 1232 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) | 1254 _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
| 1233 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) | 1255 _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) |
| 1234 ])# _LT_PROG_ECHO_BACKSLASH | 1256 ])# _LT_PROG_ECHO_BACKSLASH |
| 1235 | 1257 |
| 1236 | 1258 |
| 1237 # _LT_WITH_SYSROOT | 1259 # _LT_WITH_SYSROOT |
| 1238 # ---------------- | 1260 # ---------------- |
| 1239 AC_DEFUN([_LT_WITH_SYSROOT], | 1261 AC_DEFUN([_LT_WITH_SYSROOT], |
| 1240 [AC_MSG_CHECKING([for sysroot]) | 1262 [AC_MSG_CHECKING([for sysroot]) |
| 1241 AC_ARG_WITH([sysroot], | 1263 AC_ARG_WITH([sysroot], |
| 1242 [ --with-sysroot[=DIR] Search for dependent libraries within DIR | 1264 [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], |
| 1243 (or the compiler's sysroot if not specified).], | 1265 [Search for dependent libraries within DIR (or the compiler's sysroot |
| 1266 if not specified).])], |
| 1244 [], [with_sysroot=no]) | 1267 [], [with_sysroot=no]) |
| 1245 | 1268 |
| 1246 dnl lt_sysroot will always be passed unquoted. We quote it here | 1269 dnl lt_sysroot will always be passed unquoted. We quote it here |
| 1247 dnl in case the user passed a directory name. | 1270 dnl in case the user passed a directory name. |
| 1248 lt_sysroot= | 1271 lt_sysroot= |
| 1249 case ${with_sysroot} in #( | 1272 case $with_sysroot in #( |
| 1250 yes) | 1273 yes) |
| 1251 if test "$GCC" = yes; then | 1274 if test yes = "$GCC"; then |
| 1252 lt_sysroot=`$CC --print-sysroot 2>/dev/null` | 1275 lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
| 1253 fi | 1276 fi |
| 1254 ;; #( | 1277 ;; #( |
| 1255 /*) | 1278 /*) |
| 1256 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` | 1279 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
| 1257 ;; #( | 1280 ;; #( |
| 1258 no|'') | 1281 no|'') |
| 1259 ;; #( | 1282 ;; #( |
| 1260 *) | 1283 *) |
| 1261 AC_MSG_RESULT([${with_sysroot}]) | 1284 AC_MSG_RESULT([$with_sysroot]) |
| 1262 AC_MSG_ERROR([The sysroot must be an absolute path.]) | 1285 AC_MSG_ERROR([The sysroot must be an absolute path.]) |
| 1263 ;; | 1286 ;; |
| 1264 esac | 1287 esac |
| 1265 | 1288 |
| 1266 AC_MSG_RESULT([${lt_sysroot:-no}]) | 1289 AC_MSG_RESULT([${lt_sysroot:-no}]) |
| 1267 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl | 1290 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl |
| 1268 [dependent libraries, and in which our libraries should be installed.])]) | 1291 [dependent libraries, and where our libraries should be installed.])]) |
| 1269 | 1292 |
| 1270 # _LT_ENABLE_LOCK | 1293 # _LT_ENABLE_LOCK |
| 1271 # --------------- | 1294 # --------------- |
| 1272 m4_defun([_LT_ENABLE_LOCK], | 1295 m4_defun([_LT_ENABLE_LOCK], |
| 1273 [AC_ARG_ENABLE([libtool-lock], | 1296 [AC_ARG_ENABLE([libtool-lock], |
| 1274 [AS_HELP_STRING([--disable-libtool-lock], | 1297 [AS_HELP_STRING([--disable-libtool-lock], |
| 1275 [avoid locking (might break parallel builds)])]) | 1298 [avoid locking (might break parallel builds)])]) |
| 1276 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 1299 test no = "$enable_libtool_lock" || enable_libtool_lock=yes |
| 1277 | 1300 |
| 1278 # Some flags need to be propagated to the compiler or linker for good | 1301 # Some flags need to be propagated to the compiler or linker for good |
| 1279 # libtool support. | 1302 # libtool support. |
| 1280 case $host in | 1303 case $host in |
| 1281 ia64-*-hpux*) | 1304 ia64-*-hpux*) |
| 1282 # Find out which ABI we are using. | 1305 # Find out what ABI is being produced by ac_compile, and set mode |
| 1306 # options accordingly. |
| 1283 echo 'int i;' > conftest.$ac_ext | 1307 echo 'int i;' > conftest.$ac_ext |
| 1284 if AC_TRY_EVAL(ac_compile); then | 1308 if AC_TRY_EVAL(ac_compile); then |
| 1285 case `/usr/bin/file conftest.$ac_objext` in | 1309 case `/usr/bin/file conftest.$ac_objext` in |
| 1286 *ELF-32*) | 1310 *ELF-32*) |
| 1287 » HPUX_IA64_MODE="32" | 1311 » HPUX_IA64_MODE=32 |
| 1288 ;; | 1312 ;; |
| 1289 *ELF-64*) | 1313 *ELF-64*) |
| 1290 » HPUX_IA64_MODE="64" | 1314 » HPUX_IA64_MODE=64 |
| 1291 ;; | 1315 ;; |
| 1292 esac | 1316 esac |
| 1293 fi | 1317 fi |
| 1294 rm -rf conftest* | 1318 rm -rf conftest* |
| 1295 ;; | 1319 ;; |
| 1296 *-*-irix6*) | 1320 *-*-irix6*) |
| 1297 # Find out which ABI we are using. | 1321 # Find out what ABI is being produced by ac_compile, and set linker |
| 1322 # options accordingly. |
| 1298 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext | 1323 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
| 1299 if AC_TRY_EVAL(ac_compile); then | 1324 if AC_TRY_EVAL(ac_compile); then |
| 1300 if test "$lt_cv_prog_gnu_ld" = yes; then | 1325 if test yes = "$lt_cv_prog_gnu_ld"; then |
| 1301 case `/usr/bin/file conftest.$ac_objext` in | 1326 case `/usr/bin/file conftest.$ac_objext` in |
| 1302 *32-bit*) | 1327 *32-bit*) |
| 1303 LD="${LD-ld} -melf32bsmip" | 1328 LD="${LD-ld} -melf32bsmip" |
| 1304 ;; | 1329 ;; |
| 1305 *N32*) | 1330 *N32*) |
| 1306 LD="${LD-ld} -melf32bmipn32" | 1331 LD="${LD-ld} -melf32bmipn32" |
| 1307 ;; | 1332 ;; |
| 1308 *64-bit*) | 1333 *64-bit*) |
| 1309 LD="${LD-ld} -melf64bmip" | 1334 LD="${LD-ld} -melf64bmip" |
| 1310 ;; | 1335 ;; |
| 1311 esac | 1336 esac |
| 1312 else | 1337 else |
| 1313 case `/usr/bin/file conftest.$ac_objext` in | 1338 case `/usr/bin/file conftest.$ac_objext` in |
| 1314 *32-bit*) | 1339 *32-bit*) |
| 1315 LD="${LD-ld} -32" | 1340 LD="${LD-ld} -32" |
| 1316 ;; | 1341 ;; |
| 1317 *N32*) | 1342 *N32*) |
| 1318 LD="${LD-ld} -n32" | 1343 LD="${LD-ld} -n32" |
| 1319 ;; | 1344 ;; |
| 1320 *64-bit*) | 1345 *64-bit*) |
| 1321 LD="${LD-ld} -64" | 1346 LD="${LD-ld} -64" |
| 1322 ;; | 1347 ;; |
| 1323 esac | 1348 esac |
| 1324 fi | 1349 fi |
| 1325 fi | 1350 fi |
| 1326 rm -rf conftest* | 1351 rm -rf conftest* |
| 1327 ;; | 1352 ;; |
| 1328 | 1353 |
| 1354 mips64*-*linux*) |
| 1355 # Find out what ABI is being produced by ac_compile, and set linker |
| 1356 # options accordingly. |
| 1357 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
| 1358 if AC_TRY_EVAL(ac_compile); then |
| 1359 emul=elf |
| 1360 case `/usr/bin/file conftest.$ac_objext` in |
| 1361 *32-bit*) |
| 1362 emul="${emul}32" |
| 1363 ;; |
| 1364 *64-bit*) |
| 1365 emul="${emul}64" |
| 1366 ;; |
| 1367 esac |
| 1368 case `/usr/bin/file conftest.$ac_objext` in |
| 1369 *MSB*) |
| 1370 emul="${emul}btsmip" |
| 1371 ;; |
| 1372 *LSB*) |
| 1373 emul="${emul}ltsmip" |
| 1374 ;; |
| 1375 esac |
| 1376 case `/usr/bin/file conftest.$ac_objext` in |
| 1377 *N32*) |
| 1378 emul="${emul}n32" |
| 1379 ;; |
| 1380 esac |
| 1381 LD="${LD-ld} -m $emul" |
| 1382 fi |
| 1383 rm -rf conftest* |
| 1384 ;; |
| 1385 |
| 1329 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ | 1386 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
| 1330 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 1387 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
| 1331 # Find out which ABI we are using. | 1388 # Find out what ABI is being produced by ac_compile, and set linker |
| 1389 # options accordingly. Note that the listed cases only cover the |
| 1390 # situations where additional linker options are needed (such as when |
| 1391 # doing 32-bit compilation for a host where ld defaults to 64-bit, or |
| 1392 # vice versa); the common cases where no linker options are needed do |
| 1393 # not appear in the list. |
| 1332 echo 'int i;' > conftest.$ac_ext | 1394 echo 'int i;' > conftest.$ac_ext |
| 1333 if AC_TRY_EVAL(ac_compile); then | 1395 if AC_TRY_EVAL(ac_compile); then |
| 1334 case `/usr/bin/file conftest.o` in | 1396 case `/usr/bin/file conftest.o` in |
| 1335 *32-bit*) | 1397 *32-bit*) |
| 1336 case $host in | 1398 case $host in |
| 1337 x86_64-*kfreebsd*-gnu) | 1399 x86_64-*kfreebsd*-gnu) |
| 1338 LD="${LD-ld} -m elf_i386_fbsd" | 1400 LD="${LD-ld} -m elf_i386_fbsd" |
| 1339 ;; | 1401 ;; |
| 1340 x86_64-*linux*) | 1402 x86_64-*linux*) |
| 1341 case `/usr/bin/file conftest.o` in | 1403 case `/usr/bin/file conftest.o` in |
| 1342 *x86-64*) | 1404 *x86-64*) |
| 1343 LD="${LD-ld} -m elf32_x86_64" | 1405 LD="${LD-ld} -m elf32_x86_64" |
| 1344 ;; | 1406 ;; |
| 1345 *) | 1407 *) |
| 1346 LD="${LD-ld} -m elf_i386" | 1408 LD="${LD-ld} -m elf_i386" |
| 1347 ;; | 1409 ;; |
| 1348 esac | 1410 esac |
| 1349 ;; | 1411 ;; |
| 1350 » powerpc64le-*) | 1412 » powerpc64le-*linux*) |
| 1351 LD="${LD-ld} -m elf32lppclinux" | 1413 LD="${LD-ld} -m elf32lppclinux" |
| 1352 ;; | 1414 ;; |
| 1353 » powerpc64-*) | 1415 » powerpc64-*linux*) |
| 1354 LD="${LD-ld} -m elf32ppclinux" | 1416 LD="${LD-ld} -m elf32ppclinux" |
| 1355 ;; | 1417 ;; |
| 1356 s390x-*linux*) | 1418 s390x-*linux*) |
| 1357 LD="${LD-ld} -m elf_s390" | 1419 LD="${LD-ld} -m elf_s390" |
| 1358 ;; | 1420 ;; |
| 1359 sparc64-*linux*) | 1421 sparc64-*linux*) |
| 1360 LD="${LD-ld} -m elf32_sparc" | 1422 LD="${LD-ld} -m elf32_sparc" |
| 1361 ;; | 1423 ;; |
| 1362 esac | 1424 esac |
| 1363 ;; | 1425 ;; |
| 1364 *64-bit*) | 1426 *64-bit*) |
| 1365 case $host in | 1427 case $host in |
| 1366 x86_64-*kfreebsd*-gnu) | 1428 x86_64-*kfreebsd*-gnu) |
| 1367 LD="${LD-ld} -m elf_x86_64_fbsd" | 1429 LD="${LD-ld} -m elf_x86_64_fbsd" |
| 1368 ;; | 1430 ;; |
| 1369 x86_64-*linux*) | 1431 x86_64-*linux*) |
| 1370 LD="${LD-ld} -m elf_x86_64" | 1432 LD="${LD-ld} -m elf_x86_64" |
| 1371 ;; | 1433 ;; |
| 1372 » powerpcle-*) | 1434 » powerpcle-*linux*) |
| 1373 LD="${LD-ld} -m elf64lppc" | 1435 LD="${LD-ld} -m elf64lppc" |
| 1374 ;; | 1436 ;; |
| 1375 » powerpc-*) | 1437 » powerpc-*linux*) |
| 1376 LD="${LD-ld} -m elf64ppc" | 1438 LD="${LD-ld} -m elf64ppc" |
| 1377 ;; | 1439 ;; |
| 1378 s390*-*linux*|s390*-*tpf*) | 1440 s390*-*linux*|s390*-*tpf*) |
| 1379 LD="${LD-ld} -m elf64_s390" | 1441 LD="${LD-ld} -m elf64_s390" |
| 1380 ;; | 1442 ;; |
| 1381 sparc*-*linux*) | 1443 sparc*-*linux*) |
| 1382 LD="${LD-ld} -m elf64_sparc" | 1444 LD="${LD-ld} -m elf64_sparc" |
| 1383 ;; | 1445 ;; |
| 1384 esac | 1446 esac |
| 1385 ;; | 1447 ;; |
| 1386 esac | 1448 esac |
| 1387 fi | 1449 fi |
| 1388 rm -rf conftest* | 1450 rm -rf conftest* |
| 1389 ;; | 1451 ;; |
| 1390 | 1452 |
| 1391 *-*-sco3.2v5*) | 1453 *-*-sco3.2v5*) |
| 1392 # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 1454 # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 1393 SAVE_CFLAGS="$CFLAGS" | 1455 SAVE_CFLAGS=$CFLAGS |
| 1394 CFLAGS="$CFLAGS -belf" | 1456 CFLAGS="$CFLAGS -belf" |
| 1395 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, | 1457 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, |
| 1396 [AC_LANG_PUSH(C) | 1458 [AC_LANG_PUSH(C) |
| 1397 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_c
v_cc_needs_belf=no]) | 1459 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_c
v_cc_needs_belf=no]) |
| 1398 AC_LANG_POP]) | 1460 AC_LANG_POP]) |
| 1399 if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 1461 if test yes != "$lt_cv_cc_needs_belf"; then |
| 1400 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 1462 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 1401 CFLAGS="$SAVE_CFLAGS" | 1463 CFLAGS=$SAVE_CFLAGS |
| 1402 fi | 1464 fi |
| 1403 ;; | 1465 ;; |
| 1404 *-*solaris*) | 1466 *-*solaris*) |
| 1405 # Find out which ABI we are using. | 1467 # Find out what ABI is being produced by ac_compile, and set linker |
| 1468 # options accordingly. |
| 1406 echo 'int i;' > conftest.$ac_ext | 1469 echo 'int i;' > conftest.$ac_ext |
| 1407 if AC_TRY_EVAL(ac_compile); then | 1470 if AC_TRY_EVAL(ac_compile); then |
| 1408 case `/usr/bin/file conftest.o` in | 1471 case `/usr/bin/file conftest.o` in |
| 1409 *64-bit*) | 1472 *64-bit*) |
| 1410 case $lt_cv_prog_gnu_ld in | 1473 case $lt_cv_prog_gnu_ld in |
| 1411 yes*) | 1474 yes*) |
| 1412 case $host in | 1475 case $host in |
| 1413 i?86-*-solaris*) | 1476 i?86-*-solaris*|x86_64-*-solaris*) |
| 1414 LD="${LD-ld} -m elf_x86_64" | 1477 LD="${LD-ld} -m elf_x86_64" |
| 1415 ;; | 1478 ;; |
| 1416 sparc*-*-solaris*) | 1479 sparc*-*-solaris*) |
| 1417 LD="${LD-ld} -m elf64_sparc" | 1480 LD="${LD-ld} -m elf64_sparc" |
| 1418 ;; | 1481 ;; |
| 1419 esac | 1482 esac |
| 1420 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. | 1483 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| 1421 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | 1484 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| 1422 LD="${LD-ld}_sol2" | 1485 LD=${LD-ld}_sol2 |
| 1423 fi | 1486 fi |
| 1424 ;; | 1487 ;; |
| 1425 *) | 1488 *) |
| 1426 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | 1489 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 1427 LD="${LD-ld} -64" | 1490 LD="${LD-ld} -64" |
| 1428 fi | 1491 fi |
| 1429 ;; | 1492 ;; |
| 1430 esac | 1493 esac |
| 1431 ;; | 1494 ;; |
| 1432 esac | 1495 esac |
| 1433 fi | 1496 fi |
| 1434 rm -rf conftest* | 1497 rm -rf conftest* |
| 1435 ;; | 1498 ;; |
| 1436 esac | 1499 esac |
| 1437 | 1500 |
| 1438 need_locks="$enable_libtool_lock" | 1501 need_locks=$enable_libtool_lock |
| 1439 ])# _LT_ENABLE_LOCK | 1502 ])# _LT_ENABLE_LOCK |
| 1440 | 1503 |
| 1441 | 1504 |
| 1442 # _LT_PROG_AR | 1505 # _LT_PROG_AR |
| 1443 # ----------- | 1506 # ----------- |
| 1444 m4_defun([_LT_PROG_AR], | 1507 m4_defun([_LT_PROG_AR], |
| 1445 [AC_CHECK_TOOLS(AR, [ar], false) | 1508 [AC_CHECK_TOOLS(AR, [ar], false) |
| 1446 : ${AR=ar} | 1509 : ${AR=ar} |
| 1447 : ${AR_FLAGS=cru} | 1510 : ${AR_FLAGS=cru} |
| 1448 _LT_DECL([], [AR], [1], [The archiver]) | 1511 _LT_DECL([], [AR], [1], [The archiver]) |
| 1449 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) | 1512 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) |
| 1450 | 1513 |
| 1451 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], | 1514 AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], |
| 1452 [lt_cv_ar_at_file=no | 1515 [lt_cv_ar_at_file=no |
| 1453 AC_COMPILE_IFELSE([AC_LANG_PROGRAM], | 1516 AC_COMPILE_IFELSE([AC_LANG_PROGRAM], |
| 1454 [echo conftest.$ac_objext > conftest.lst | 1517 [echo conftest.$ac_objext > conftest.lst |
| 1455 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' | 1518 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' |
| 1456 AC_TRY_EVAL([lt_ar_try]) | 1519 AC_TRY_EVAL([lt_ar_try]) |
| 1457 if test "$ac_status" -eq 0; then | 1520 if test 0 -eq "$ac_status"; then |
| 1458 # Ensure the archiver fails upon bogus file names. | 1521 # Ensure the archiver fails upon bogus file names. |
| 1459 rm -f conftest.$ac_objext libconftest.a | 1522 rm -f conftest.$ac_objext libconftest.a |
| 1460 AC_TRY_EVAL([lt_ar_try]) | 1523 AC_TRY_EVAL([lt_ar_try]) |
| 1461 » if test "$ac_status" -ne 0; then | 1524 » if test 0 -ne "$ac_status"; then |
| 1462 lt_cv_ar_at_file=@ | 1525 lt_cv_ar_at_file=@ |
| 1463 fi | 1526 fi |
| 1464 fi | 1527 fi |
| 1465 rm -f conftest.* libconftest.a | 1528 rm -f conftest.* libconftest.a |
| 1466 ]) | 1529 ]) |
| 1467 ]) | 1530 ]) |
| 1468 | 1531 |
| 1469 if test "x$lt_cv_ar_at_file" = xno; then | 1532 if test no = "$lt_cv_ar_at_file"; then |
| 1470 archiver_list_spec= | 1533 archiver_list_spec= |
| 1471 else | 1534 else |
| 1472 archiver_list_spec=$lt_cv_ar_at_file | 1535 archiver_list_spec=$lt_cv_ar_at_file |
| 1473 fi | 1536 fi |
| 1474 _LT_DECL([], [archiver_list_spec], [1], | 1537 _LT_DECL([], [archiver_list_spec], [1], |
| 1475 [How to feed a file listing to the archiver]) | 1538 [How to feed a file listing to the archiver]) |
| 1476 ])# _LT_PROG_AR | 1539 ])# _LT_PROG_AR |
| 1477 | 1540 |
| 1478 | 1541 |
| 1479 # _LT_CMD_OLD_ARCHIVE | 1542 # _LT_CMD_OLD_ARCHIVE |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1490 _LT_DECL([], [RANLIB], [1], | 1553 _LT_DECL([], [RANLIB], [1], |
| 1491 [Commands used to install an old-style archive]) | 1554 [Commands used to install an old-style archive]) |
| 1492 | 1555 |
| 1493 # Determine commands to create old-style static archives. | 1556 # Determine commands to create old-style static archives. |
| 1494 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | 1557 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
| 1495 old_postinstall_cmds='chmod 644 $oldlib' | 1558 old_postinstall_cmds='chmod 644 $oldlib' |
| 1496 old_postuninstall_cmds= | 1559 old_postuninstall_cmds= |
| 1497 | 1560 |
| 1498 if test -n "$RANLIB"; then | 1561 if test -n "$RANLIB"; then |
| 1499 case $host_os in | 1562 case $host_os in |
| 1500 openbsd*) | 1563 bitrig* | openbsd*) |
| 1501 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" | 1564 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
| 1502 ;; | 1565 ;; |
| 1503 *) | 1566 *) |
| 1504 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" | 1567 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
| 1505 ;; | 1568 ;; |
| 1506 esac | 1569 esac |
| 1507 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" | 1570 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
| 1508 fi | 1571 fi |
| 1509 | 1572 |
| 1510 case $host_os in | 1573 case $host_os in |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1526 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) | 1589 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) |
| 1527 # ---------------------------------------------------------------- | 1590 # ---------------------------------------------------------------- |
| 1528 # Check whether the given compiler option works | 1591 # Check whether the given compiler option works |
| 1529 AC_DEFUN([_LT_COMPILER_OPTION], | 1592 AC_DEFUN([_LT_COMPILER_OPTION], |
| 1530 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 1593 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 1531 m4_require([_LT_DECL_SED])dnl | 1594 m4_require([_LT_DECL_SED])dnl |
| 1532 AC_CACHE_CHECK([$1], [$2], | 1595 AC_CACHE_CHECK([$1], [$2], |
| 1533 [$2=no | 1596 [$2=no |
| 1534 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) | 1597 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) |
| 1535 echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 1598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 1536 lt_compiler_flag="$3" | 1599 lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment |
| 1537 # Insert the option either (1) after the last *FLAGS variable, or | 1600 # Insert the option either (1) after the last *FLAGS variable, or |
| 1538 # (2) before a word containing "conftest.", or (3) at the end. | 1601 # (2) before a word containing "conftest.", or (3) at the end. |
| 1539 # Note that $ac_compile itself does not contain backslashes and begins | 1602 # Note that $ac_compile itself does not contain backslashes and begins |
| 1540 # with a dollar sign (not a hyphen), so the echo should work correctly. | 1603 # with a dollar sign (not a hyphen), so the echo should work correctly. |
| 1541 # The option is referenced via a variable to avoid confusing sed. | 1604 # The option is referenced via a variable to avoid confusing sed. |
| 1542 lt_compile=`echo "$ac_compile" | $SED \ | 1605 lt_compile=`echo "$ac_compile" | $SED \ |
| 1543 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 1606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 1544 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ | 1607 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
| 1545 -e 's:$: $lt_compiler_flag:'` | 1608 -e 's:$: $lt_compiler_flag:'` |
| 1546 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) | 1609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
| 1547 (eval "$lt_compile" 2>conftest.err) | 1610 (eval "$lt_compile" 2>conftest.err) |
| 1548 ac_status=$? | 1611 ac_status=$? |
| 1549 cat conftest.err >&AS_MESSAGE_LOG_FD | 1612 cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1550 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | 1613 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 1551 if (exit $ac_status) && test -s "$ac_outfile"; then | 1614 if (exit $ac_status) && test -s "$ac_outfile"; then |
| 1552 # The compiler can only warn and ignore the option if not recognized | 1615 # The compiler can only warn and ignore the option if not recognized |
| 1553 # So say no if there are warnings other than the usual output. | 1616 # So say no if there are warnings other than the usual output. |
| 1554 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 1617 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 1555 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 1618 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 1556 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n | 1619 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; the
n |
| 1557 $2=yes | 1620 $2=yes |
| 1558 fi | 1621 fi |
| 1559 fi | 1622 fi |
| 1560 $RM conftest* | 1623 $RM conftest* |
| 1561 ]) | 1624 ]) |
| 1562 | 1625 |
| 1563 if test x"[$]$2" = xyes; then | 1626 if test yes = "[$]$2"; then |
| 1564 m4_if([$5], , :, [$5]) | 1627 m4_if([$5], , :, [$5]) |
| 1565 else | 1628 else |
| 1566 m4_if([$6], , :, [$6]) | 1629 m4_if([$6], , :, [$6]) |
| 1567 fi | 1630 fi |
| 1568 ])# _LT_COMPILER_OPTION | 1631 ])# _LT_COMPILER_OPTION |
| 1569 | 1632 |
| 1570 # Old name: | 1633 # Old name: |
| 1571 AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) | 1634 AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) |
| 1572 dnl aclocal-1.4 backwards compatibility: | 1635 dnl aclocal-1.4 backwards compatibility: |
| 1573 dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) | 1636 dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) |
| 1574 | 1637 |
| 1575 | 1638 |
| 1576 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, | 1639 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, |
| 1577 # [ACTION-SUCCESS], [ACTION-FAILURE]) | 1640 # [ACTION-SUCCESS], [ACTION-FAILURE]) |
| 1578 # ---------------------------------------------------- | 1641 # ---------------------------------------------------- |
| 1579 # Check whether the given linker option works | 1642 # Check whether the given linker option works |
| 1580 AC_DEFUN([_LT_LINKER_OPTION], | 1643 AC_DEFUN([_LT_LINKER_OPTION], |
| 1581 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 1644 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 1582 m4_require([_LT_DECL_SED])dnl | 1645 m4_require([_LT_DECL_SED])dnl |
| 1583 AC_CACHE_CHECK([$1], [$2], | 1646 AC_CACHE_CHECK([$1], [$2], |
| 1584 [$2=no | 1647 [$2=no |
| 1585 save_LDFLAGS="$LDFLAGS" | 1648 save_LDFLAGS=$LDFLAGS |
| 1586 LDFLAGS="$LDFLAGS $3" | 1649 LDFLAGS="$LDFLAGS $3" |
| 1587 echo "$lt_simple_link_test_code" > conftest.$ac_ext | 1650 echo "$lt_simple_link_test_code" > conftest.$ac_ext |
| 1588 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 1651 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
| 1589 # The linker can only warn and ignore the option if not recognized | 1652 # The linker can only warn and ignore the option if not recognized |
| 1590 # So say no if there are warnings | 1653 # So say no if there are warnings |
| 1591 if test -s conftest.err; then | 1654 if test -s conftest.err; then |
| 1592 # Append any errors to the config.log. | 1655 # Append any errors to the config.log. |
| 1593 cat conftest.err 1>&AS_MESSAGE_LOG_FD | 1656 cat conftest.err 1>&AS_MESSAGE_LOG_FD |
| 1594 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 1657 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 1595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 1658 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 1596 if diff conftest.exp conftest.er2 >/dev/null; then | 1659 if diff conftest.exp conftest.er2 >/dev/null; then |
| 1597 $2=yes | 1660 $2=yes |
| 1598 fi | 1661 fi |
| 1599 else | 1662 else |
| 1600 $2=yes | 1663 $2=yes |
| 1601 fi | 1664 fi |
| 1602 fi | 1665 fi |
| 1603 $RM -r conftest* | 1666 $RM -r conftest* |
| 1604 LDFLAGS="$save_LDFLAGS" | 1667 LDFLAGS=$save_LDFLAGS |
| 1605 ]) | 1668 ]) |
| 1606 | 1669 |
| 1607 if test x"[$]$2" = xyes; then | 1670 if test yes = "[$]$2"; then |
| 1608 m4_if([$4], , :, [$4]) | 1671 m4_if([$4], , :, [$4]) |
| 1609 else | 1672 else |
| 1610 m4_if([$5], , :, [$5]) | 1673 m4_if([$5], , :, [$5]) |
| 1611 fi | 1674 fi |
| 1612 ])# _LT_LINKER_OPTION | 1675 ])# _LT_LINKER_OPTION |
| 1613 | 1676 |
| 1614 # Old name: | 1677 # Old name: |
| 1615 AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) | 1678 AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) |
| 1616 dnl aclocal-1.4 backwards compatibility: | 1679 dnl aclocal-1.4 backwards compatibility: |
| 1617 dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) | 1680 dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) |
| 1618 | 1681 |
| 1619 | 1682 |
| 1620 # LT_CMD_MAX_LEN | 1683 # LT_CMD_MAX_LEN |
| 1621 #--------------- | 1684 #--------------- |
| 1622 AC_DEFUN([LT_CMD_MAX_LEN], | 1685 AC_DEFUN([LT_CMD_MAX_LEN], |
| 1623 [AC_REQUIRE([AC_CANONICAL_HOST])dnl | 1686 [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 1624 # find the maximum length of command line arguments | 1687 # find the maximum length of command line arguments |
| 1625 AC_MSG_CHECKING([the maximum length of command line arguments]) | 1688 AC_MSG_CHECKING([the maximum length of command line arguments]) |
| 1626 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl | 1689 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl |
| 1627 i=0 | 1690 i=0 |
| 1628 teststring="ABCD" | 1691 teststring=ABCD |
| 1629 | 1692 |
| 1630 case $build_os in | 1693 case $build_os in |
| 1631 msdosdjgpp*) | 1694 msdosdjgpp*) |
| 1632 # On DJGPP, this test can blow up pretty badly due to problems in libc | 1695 # On DJGPP, this test can blow up pretty badly due to problems in libc |
| 1633 # (any single argument exceeding 2000 bytes causes a buffer overrun | 1696 # (any single argument exceeding 2000 bytes causes a buffer overrun |
| 1634 # during glob expansion). Even if it were fixed, the result of this | 1697 # during glob expansion). Even if it were fixed, the result of this |
| 1635 # check would be larger than it should be. | 1698 # check would be larger than it should be. |
| 1636 lt_cv_sys_max_cmd_len=12288; # 12K is about right | 1699 lt_cv_sys_max_cmd_len=12288; # 12K is about right |
| 1637 ;; | 1700 ;; |
| 1638 | 1701 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1658 # On MiNT this can take a long time and run out of memory. | 1721 # On MiNT this can take a long time and run out of memory. |
| 1659 lt_cv_sys_max_cmd_len=8192; | 1722 lt_cv_sys_max_cmd_len=8192; |
| 1660 ;; | 1723 ;; |
| 1661 | 1724 |
| 1662 amigaos*) | 1725 amigaos*) |
| 1663 # On AmigaOS with pdksh, this test takes hours, literally. | 1726 # On AmigaOS with pdksh, this test takes hours, literally. |
| 1664 # So we just punt and use a minimum line length of 8192. | 1727 # So we just punt and use a minimum line length of 8192. |
| 1665 lt_cv_sys_max_cmd_len=8192; | 1728 lt_cv_sys_max_cmd_len=8192; |
| 1666 ;; | 1729 ;; |
| 1667 | 1730 |
| 1668 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | 1731 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) |
| 1669 # This has been around since 386BSD, at least. Likely further. | 1732 # This has been around since 386BSD, at least. Likely further. |
| 1670 if test -x /sbin/sysctl; then | 1733 if test -x /sbin/sysctl; then |
| 1671 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | 1734 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
| 1672 elif test -x /usr/sbin/sysctl; then | 1735 elif test -x /usr/sbin/sysctl; then |
| 1673 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | 1736 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
| 1674 else | 1737 else |
| 1675 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | 1738 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
| 1676 fi | 1739 fi |
| 1677 # And add a safety zone | 1740 # And add a safety zone |
| 1678 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 1741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1709 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | 1772 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
| 1710 if test -n "$kargmax"; then | 1773 if test -n "$kargmax"; then |
| 1711 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` | 1774 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` |
| 1712 else | 1775 else |
| 1713 lt_cv_sys_max_cmd_len=32768 | 1776 lt_cv_sys_max_cmd_len=32768 |
| 1714 fi | 1777 fi |
| 1715 ;; | 1778 ;; |
| 1716 *) | 1779 *) |
| 1717 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | 1780 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
| 1718 if test -n "$lt_cv_sys_max_cmd_len" && \ | 1781 if test -n "$lt_cv_sys_max_cmd_len" && \ |
| 1719 » test undefined != "$lt_cv_sys_max_cmd_len"; then | 1782 test undefined != "$lt_cv_sys_max_cmd_len"; then |
| 1720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 1783 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
| 1721 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | 1784 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
| 1722 else | 1785 else |
| 1723 # Make teststring a little bigger before we do anything with it. | 1786 # Make teststring a little bigger before we do anything with it. |
| 1724 # a 1K string should be a reasonable start. | 1787 # a 1K string should be a reasonable start. |
| 1725 for i in 1 2 3 4 5 6 7 8 ; do | 1788 for i in 1 2 3 4 5 6 7 8; do |
| 1726 teststring=$teststring$teststring | 1789 teststring=$teststring$teststring |
| 1727 done | 1790 done |
| 1728 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | 1791 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
| 1729 # If test is not a shell built-in, we'll probably end up computing a | 1792 # If test is not a shell built-in, we'll probably end up computing a |
| 1730 # maximum length that is only half of the actual maximum length, but | 1793 # maximum length that is only half of the actual maximum length, but |
| 1731 # we can't tell. | 1794 # we can't tell. |
| 1732 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ | 1795 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ |
| 1733 = "X$teststring$teststring"; } >/dev/null 2>&1 && | 1796 = "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 1734 » test $i != 17 # 1/2 MB should be enough | 1797 » test 17 != "$i" # 1/2 MB should be enough |
| 1735 do | 1798 do |
| 1736 i=`expr $i + 1` | 1799 i=`expr $i + 1` |
| 1737 teststring=$teststring$teststring | 1800 teststring=$teststring$teststring |
| 1738 done | 1801 done |
| 1739 # Only check the string length outside the loop. | 1802 # Only check the string length outside the loop. |
| 1740 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | 1803 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
| 1741 teststring= | 1804 teststring= |
| 1742 # Add a significant safety factor because C++ compilers can tack on | 1805 # Add a significant safety factor because C++ compilers can tack on |
| 1743 # massive amounts of additional arguments before passing them to the | 1806 # massive amounts of additional arguments before passing them to the |
| 1744 # linker. It appears as though 1/2 is a usable value. | 1807 # linker. It appears as though 1/2 is a usable value. |
| 1745 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 1808 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
| 1746 fi | 1809 fi |
| 1747 ;; | 1810 ;; |
| 1748 esac | 1811 esac |
| 1749 ]) | 1812 ]) |
| 1750 if test -n $lt_cv_sys_max_cmd_len ; then | 1813 if test -n "$lt_cv_sys_max_cmd_len"; then |
| 1751 AC_MSG_RESULT($lt_cv_sys_max_cmd_len) | 1814 AC_MSG_RESULT($lt_cv_sys_max_cmd_len) |
| 1752 else | 1815 else |
| 1753 AC_MSG_RESULT(none) | 1816 AC_MSG_RESULT(none) |
| 1754 fi | 1817 fi |
| 1755 max_cmd_len=$lt_cv_sys_max_cmd_len | 1818 max_cmd_len=$lt_cv_sys_max_cmd_len |
| 1756 _LT_DECL([], [max_cmd_len], [0], | 1819 _LT_DECL([], [max_cmd_len], [0], |
| 1757 [What is the maximum length of a command?]) | 1820 [What is the maximum length of a command?]) |
| 1758 ])# LT_CMD_MAX_LEN | 1821 ])# LT_CMD_MAX_LEN |
| 1759 | 1822 |
| 1760 # Old name: | 1823 # Old name: |
| 1761 AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) | 1824 AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) |
| 1762 dnl aclocal-1.4 backwards compatibility: | 1825 dnl aclocal-1.4 backwards compatibility: |
| 1763 dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) | 1826 dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) |
| 1764 | 1827 |
| 1765 | 1828 |
| 1766 # _LT_HEADER_DLFCN | 1829 # _LT_HEADER_DLFCN |
| 1767 # ---------------- | 1830 # ---------------- |
| 1768 m4_defun([_LT_HEADER_DLFCN], | 1831 m4_defun([_LT_HEADER_DLFCN], |
| 1769 [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl | 1832 [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl |
| 1770 ])# _LT_HEADER_DLFCN | 1833 ])# _LT_HEADER_DLFCN |
| 1771 | 1834 |
| 1772 | 1835 |
| 1773 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, | 1836 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, |
| 1774 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) | 1837 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) |
| 1775 # ---------------------------------------------------------------- | 1838 # ---------------------------------------------------------------- |
| 1776 m4_defun([_LT_TRY_DLOPEN_SELF], | 1839 m4_defun([_LT_TRY_DLOPEN_SELF], |
| 1777 [m4_require([_LT_HEADER_DLFCN])dnl | 1840 [m4_require([_LT_HEADER_DLFCN])dnl |
| 1778 if test "$cross_compiling" = yes; then : | 1841 if test yes = "$cross_compiling"; then : |
| 1779 [$4] | 1842 [$4] |
| 1780 else | 1843 else |
| 1781 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 1844 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 1782 lt_status=$lt_dlunknown | 1845 lt_status=$lt_dlunknown |
| 1783 cat > conftest.$ac_ext <<_LT_EOF | 1846 cat > conftest.$ac_ext <<_LT_EOF |
| 1784 [#line $LINENO "configure" | 1847 [#line $LINENO "configure" |
| 1785 #include "confdefs.h" | 1848 #include "confdefs.h" |
| 1786 | 1849 |
| 1787 #if HAVE_DLFCN_H | 1850 #if HAVE_DLFCN_H |
| 1788 #include <dlfcn.h> | 1851 #include <dlfcn.h> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1815 # ifdef DL_NOW | 1878 # ifdef DL_NOW |
| 1816 # define LT_DLLAZY_OR_NOW DL_NOW | 1879 # define LT_DLLAZY_OR_NOW DL_NOW |
| 1817 # else | 1880 # else |
| 1818 # define LT_DLLAZY_OR_NOW 0 | 1881 # define LT_DLLAZY_OR_NOW 0 |
| 1819 # endif | 1882 # endif |
| 1820 # endif | 1883 # endif |
| 1821 # endif | 1884 # endif |
| 1822 # endif | 1885 # endif |
| 1823 #endif | 1886 #endif |
| 1824 | 1887 |
| 1825 /* When -fvisbility=hidden is used, assume the code has been annotated | 1888 /* When -fvisibility=hidden is used, assume the code has been annotated |
| 1826 correspondingly for the symbols needed. */ | 1889 correspondingly for the symbols needed. */ |
| 1827 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC_
_ > 3)) | 1890 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__
> 3)) |
| 1828 int fnord () __attribute__((visibility("default"))); | 1891 int fnord () __attribute__((visibility("default"))); |
| 1829 #endif | 1892 #endif |
| 1830 | 1893 |
| 1831 int fnord () { return 42; } | 1894 int fnord () { return 42; } |
| 1832 int main () | 1895 int main () |
| 1833 { | 1896 { |
| 1834 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 1897 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 1835 int status = $lt_dlunknown; | 1898 int status = $lt_dlunknown; |
| 1836 | 1899 |
| 1837 if (self) | 1900 if (self) |
| 1838 { | 1901 { |
| 1839 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | 1902 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 1840 else | 1903 else |
| 1841 { | 1904 { |
| 1842 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 1905 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 1843 else puts (dlerror ()); | 1906 else puts (dlerror ()); |
| 1844 } | 1907 } |
| 1845 /* dlclose (self); */ | 1908 /* dlclose (self); */ |
| 1846 } | 1909 } |
| 1847 else | 1910 else |
| 1848 puts (dlerror ()); | 1911 puts (dlerror ()); |
| 1849 | 1912 |
| 1850 return status; | 1913 return status; |
| 1851 }] | 1914 }] |
| 1852 _LT_EOF | 1915 _LT_EOF |
| 1853 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then | 1916 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then |
| 1854 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null | 1917 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null |
| 1855 lt_status=$? | 1918 lt_status=$? |
| 1856 case x$lt_status in | 1919 case x$lt_status in |
| 1857 x$lt_dlno_uscore) $1 ;; | 1920 x$lt_dlno_uscore) $1 ;; |
| 1858 x$lt_dlneed_uscore) $2 ;; | 1921 x$lt_dlneed_uscore) $2 ;; |
| 1859 x$lt_dlunknown|x*) $3 ;; | 1922 x$lt_dlunknown|x*) $3 ;; |
| 1860 esac | 1923 esac |
| 1861 else : | 1924 else : |
| 1862 # compilation failed | 1925 # compilation failed |
| 1863 $3 | 1926 $3 |
| 1864 fi | 1927 fi |
| 1865 fi | 1928 fi |
| 1866 rm -fr conftest* | 1929 rm -fr conftest* |
| 1867 ])# _LT_TRY_DLOPEN_SELF | 1930 ])# _LT_TRY_DLOPEN_SELF |
| 1868 | 1931 |
| 1869 | 1932 |
| 1870 # LT_SYS_DLOPEN_SELF | 1933 # LT_SYS_DLOPEN_SELF |
| 1871 # ------------------ | 1934 # ------------------ |
| 1872 AC_DEFUN([LT_SYS_DLOPEN_SELF], | 1935 AC_DEFUN([LT_SYS_DLOPEN_SELF], |
| 1873 [m4_require([_LT_HEADER_DLFCN])dnl | 1936 [m4_require([_LT_HEADER_DLFCN])dnl |
| 1874 if test "x$enable_dlopen" != xyes; then | 1937 if test yes != "$enable_dlopen"; then |
| 1875 enable_dlopen=unknown | 1938 enable_dlopen=unknown |
| 1876 enable_dlopen_self=unknown | 1939 enable_dlopen_self=unknown |
| 1877 enable_dlopen_self_static=unknown | 1940 enable_dlopen_self_static=unknown |
| 1878 else | 1941 else |
| 1879 lt_cv_dlopen=no | 1942 lt_cv_dlopen=no |
| 1880 lt_cv_dlopen_libs= | 1943 lt_cv_dlopen_libs= |
| 1881 | 1944 |
| 1882 case $host_os in | 1945 case $host_os in |
| 1883 beos*) | 1946 beos*) |
| 1884 lt_cv_dlopen="load_add_on" | 1947 lt_cv_dlopen=load_add_on |
| 1885 lt_cv_dlopen_libs= | 1948 lt_cv_dlopen_libs= |
| 1886 lt_cv_dlopen_self=yes | 1949 lt_cv_dlopen_self=yes |
| 1887 ;; | 1950 ;; |
| 1888 | 1951 |
| 1889 mingw* | pw32* | cegcc*) | 1952 mingw* | pw32* | cegcc*) |
| 1890 lt_cv_dlopen="LoadLibrary" | 1953 lt_cv_dlopen=LoadLibrary |
| 1891 lt_cv_dlopen_libs= | 1954 lt_cv_dlopen_libs= |
| 1892 ;; | 1955 ;; |
| 1893 | 1956 |
| 1894 cygwin*) | 1957 cygwin*) |
| 1895 lt_cv_dlopen="dlopen" | 1958 lt_cv_dlopen=dlopen |
| 1896 lt_cv_dlopen_libs= | 1959 lt_cv_dlopen_libs= |
| 1897 ;; | 1960 ;; |
| 1898 | 1961 |
| 1899 darwin*) | 1962 darwin*) |
| 1900 # if libdl is installed we need to link against it | 1963 # if libdl is installed we need to link against it |
| 1901 AC_CHECK_LIB([dl], [dlopen], | 1964 AC_CHECK_LIB([dl], [dlopen], |
| 1902 » » [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ | 1965 » » [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ |
| 1903 lt_cv_dlopen="dyld" | 1966 lt_cv_dlopen=dyld |
| 1904 lt_cv_dlopen_libs= | 1967 lt_cv_dlopen_libs= |
| 1905 lt_cv_dlopen_self=yes | 1968 lt_cv_dlopen_self=yes |
| 1906 ]) | 1969 ]) |
| 1907 ;; | 1970 ;; |
| 1908 | 1971 |
| 1972 tpf*) |
| 1973 # Don't try to run any link tests for TPF. We know it's impossible |
| 1974 # because TPF is a cross-compiler, and we know how we open DSOs. |
| 1975 lt_cv_dlopen=dlopen |
| 1976 lt_cv_dlopen_libs= |
| 1977 lt_cv_dlopen_self=no |
| 1978 ;; |
| 1979 |
| 1909 *) | 1980 *) |
| 1910 AC_CHECK_FUNC([shl_load], | 1981 AC_CHECK_FUNC([shl_load], |
| 1911 » [lt_cv_dlopen="shl_load"], | 1982 » [lt_cv_dlopen=shl_load], |
| 1912 [AC_CHECK_LIB([dld], [shl_load], | 1983 [AC_CHECK_LIB([dld], [shl_load], |
| 1913 » [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], | 1984 » [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], |
| 1914 [AC_CHECK_FUNC([dlopen], | 1985 [AC_CHECK_FUNC([dlopen], |
| 1915 » [lt_cv_dlopen="dlopen"], | 1986 » [lt_cv_dlopen=dlopen], |
| 1916 [AC_CHECK_LIB([dl], [dlopen], | 1987 [AC_CHECK_LIB([dl], [dlopen], |
| 1917 » » [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], | 1988 » » [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], |
| 1918 [AC_CHECK_LIB([svld], [dlopen], | 1989 [AC_CHECK_LIB([svld], [dlopen], |
| 1919 » » [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], | 1990 » » [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], |
| 1920 [AC_CHECK_LIB([dld], [dld_link], | 1991 [AC_CHECK_LIB([dld], [dld_link], |
| 1921 » » [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) | 1992 » » [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) |
| 1922 ]) | 1993 ]) |
| 1923 ]) | 1994 ]) |
| 1924 ]) | 1995 ]) |
| 1925 ]) | 1996 ]) |
| 1926 ]) | 1997 ]) |
| 1927 ;; | 1998 ;; |
| 1928 esac | 1999 esac |
| 1929 | 2000 |
| 1930 if test "x$lt_cv_dlopen" != xno; then | 2001 if test no = "$lt_cv_dlopen"; then |
| 2002 enable_dlopen=no |
| 2003 else |
| 1931 enable_dlopen=yes | 2004 enable_dlopen=yes |
| 1932 else | |
| 1933 enable_dlopen=no | |
| 1934 fi | 2005 fi |
| 1935 | 2006 |
| 1936 case $lt_cv_dlopen in | 2007 case $lt_cv_dlopen in |
| 1937 dlopen) | 2008 dlopen) |
| 1938 save_CPPFLAGS="$CPPFLAGS" | 2009 save_CPPFLAGS=$CPPFLAGS |
| 1939 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 2010 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
| 1940 | 2011 |
| 1941 save_LDFLAGS="$LDFLAGS" | 2012 save_LDFLAGS=$LDFLAGS |
| 1942 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 2013 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
| 1943 | 2014 |
| 1944 save_LIBS="$LIBS" | 2015 save_LIBS=$LIBS |
| 1945 LIBS="$lt_cv_dlopen_libs $LIBS" | 2016 LIBS="$lt_cv_dlopen_libs $LIBS" |
| 1946 | 2017 |
| 1947 AC_CACHE_CHECK([whether a program can dlopen itself], | 2018 AC_CACHE_CHECK([whether a program can dlopen itself], |
| 1948 lt_cv_dlopen_self, [dnl | 2019 lt_cv_dlopen_self, [dnl |
| 1949 _LT_TRY_DLOPEN_SELF( | 2020 _LT_TRY_DLOPEN_SELF( |
| 1950 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, | 2021 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, |
| 1951 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) | 2022 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) |
| 1952 ]) | 2023 ]) |
| 1953 | 2024 |
| 1954 if test "x$lt_cv_dlopen_self" = xyes; then | 2025 if test yes = "$lt_cv_dlopen_self"; then |
| 1955 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
" | 2026 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\
" |
| 1956 AC_CACHE_CHECK([whether a statically linked program can dlopen itself], | 2027 AC_CACHE_CHECK([whether a statically linked program can dlopen itself], |
| 1957 lt_cv_dlopen_self_static, [dnl | 2028 lt_cv_dlopen_self_static, [dnl |
| 1958 _LT_TRY_DLOPEN_SELF( | 2029 _LT_TRY_DLOPEN_SELF( |
| 1959 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, | 2030 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, |
| 1960 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) | 2031 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) |
| 1961 ]) | 2032 ]) |
| 1962 fi | 2033 fi |
| 1963 | 2034 |
| 1964 CPPFLAGS="$save_CPPFLAGS" | 2035 CPPFLAGS=$save_CPPFLAGS |
| 1965 LDFLAGS="$save_LDFLAGS" | 2036 LDFLAGS=$save_LDFLAGS |
| 1966 LIBS="$save_LIBS" | 2037 LIBS=$save_LIBS |
| 1967 ;; | 2038 ;; |
| 1968 esac | 2039 esac |
| 1969 | 2040 |
| 1970 case $lt_cv_dlopen_self in | 2041 case $lt_cv_dlopen_self in |
| 1971 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 2042 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
| 1972 *) enable_dlopen_self=unknown ;; | 2043 *) enable_dlopen_self=unknown ;; |
| 1973 esac | 2044 esac |
| 1974 | 2045 |
| 1975 case $lt_cv_dlopen_self_static in | 2046 case $lt_cv_dlopen_self_static in |
| 1976 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 2047 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2048 | 2119 |
| 2049 | 2120 |
| 2050 # _LT_COMPILER_FILE_LOCKS([TAGNAME]) | 2121 # _LT_COMPILER_FILE_LOCKS([TAGNAME]) |
| 2051 # ---------------------------------- | 2122 # ---------------------------------- |
| 2052 # Check to see if we can do hard links to lock some files if needed | 2123 # Check to see if we can do hard links to lock some files if needed |
| 2053 m4_defun([_LT_COMPILER_FILE_LOCKS], | 2124 m4_defun([_LT_COMPILER_FILE_LOCKS], |
| 2054 [m4_require([_LT_ENABLE_LOCK])dnl | 2125 [m4_require([_LT_ENABLE_LOCK])dnl |
| 2055 m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 2126 m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 2056 _LT_COMPILER_C_O([$1]) | 2127 _LT_COMPILER_C_O([$1]) |
| 2057 | 2128 |
| 2058 hard_links="nottested" | 2129 hard_links=nottested |
| 2059 if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" !=
no; then | 2130 if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_loc
ks"; then |
| 2060 # do not overwrite the value of need_locks provided by the user | 2131 # do not overwrite the value of need_locks provided by the user |
| 2061 AC_MSG_CHECKING([if we can lock with hard links]) | 2132 AC_MSG_CHECKING([if we can lock with hard links]) |
| 2062 hard_links=yes | 2133 hard_links=yes |
| 2063 $RM conftest* | 2134 $RM conftest* |
| 2064 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 2135 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 2065 touch conftest.a | 2136 touch conftest.a |
| 2066 ln conftest.a conftest.b 2>&5 || hard_links=no | 2137 ln conftest.a conftest.b 2>&5 || hard_links=no |
| 2067 ln conftest.a conftest.b 2>/dev/null && hard_links=no | 2138 ln conftest.a conftest.b 2>/dev/null && hard_links=no |
| 2068 AC_MSG_RESULT([$hard_links]) | 2139 AC_MSG_RESULT([$hard_links]) |
| 2069 if test "$hard_links" = no; then | 2140 if test no = "$hard_links"; then |
| 2070 AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) | 2141 AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) |
| 2071 need_locks=warn | 2142 need_locks=warn |
| 2072 fi | 2143 fi |
| 2073 else | 2144 else |
| 2074 need_locks=no | 2145 need_locks=no |
| 2075 fi | 2146 fi |
| 2076 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) | 2147 _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) |
| 2077 ])# _LT_COMPILER_FILE_LOCKS | 2148 ])# _LT_COMPILER_FILE_LOCKS |
| 2078 | 2149 |
| 2079 | 2150 |
| 2080 # _LT_CHECK_OBJDIR | 2151 # _LT_CHECK_OBJDIR |
| 2081 # ---------------- | 2152 # ---------------- |
| 2082 m4_defun([_LT_CHECK_OBJDIR], | 2153 m4_defun([_LT_CHECK_OBJDIR], |
| 2083 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], | 2154 [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], |
| 2084 [rm -f .libs 2>/dev/null | 2155 [rm -f .libs 2>/dev/null |
| 2085 mkdir .libs 2>/dev/null | 2156 mkdir .libs 2>/dev/null |
| 2086 if test -d .libs; then | 2157 if test -d .libs; then |
| 2087 lt_cv_objdir=.libs | 2158 lt_cv_objdir=.libs |
| 2088 else | 2159 else |
| 2089 # MS-DOS does not allow filenames that begin with a dot. | 2160 # MS-DOS does not allow filenames that begin with a dot. |
| 2090 lt_cv_objdir=_libs | 2161 lt_cv_objdir=_libs |
| 2091 fi | 2162 fi |
| 2092 rmdir .libs 2>/dev/null]) | 2163 rmdir .libs 2>/dev/null]) |
| 2093 objdir=$lt_cv_objdir | 2164 objdir=$lt_cv_objdir |
| 2094 _LT_DECL([], [objdir], [0], | 2165 _LT_DECL([], [objdir], [0], |
| 2095 [The name of the directory that contains temporary libtool files])dnl | 2166 [The name of the directory that contains temporary libtool files])dnl |
| 2096 m4_pattern_allow([LT_OBJDIR])dnl | 2167 m4_pattern_allow([LT_OBJDIR])dnl |
| 2097 AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", | 2168 AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", |
| 2098 [Define to the sub-directory in which libtool stores uninstalled libraries.]) | 2169 [Define to the sub-directory where libtool stores uninstalled libraries.]) |
| 2099 ])# _LT_CHECK_OBJDIR | 2170 ])# _LT_CHECK_OBJDIR |
| 2100 | 2171 |
| 2101 | 2172 |
| 2102 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) | 2173 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) |
| 2103 # -------------------------------------- | 2174 # -------------------------------------- |
| 2104 # Check hardcoding attributes. | 2175 # Check hardcoding attributes. |
| 2105 m4_defun([_LT_LINKER_HARDCODE_LIBPATH], | 2176 m4_defun([_LT_LINKER_HARDCODE_LIBPATH], |
| 2106 [AC_MSG_CHECKING([how to hardcode library paths into programs]) | 2177 [AC_MSG_CHECKING([how to hardcode library paths into programs]) |
| 2107 _LT_TAGVAR(hardcode_action, $1)= | 2178 _LT_TAGVAR(hardcode_action, $1)= |
| 2108 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || | 2179 if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || |
| 2109 test -n "$_LT_TAGVAR(runpath_var, $1)" || | 2180 test -n "$_LT_TAGVAR(runpath_var, $1)" || |
| 2110 test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then | 2181 test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then |
| 2111 | 2182 |
| 2112 # We can hardcode non-existent directories. | 2183 # We can hardcode non-existent directories. |
| 2113 if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && | 2184 if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && |
| 2114 # If the only mechanism to avoid hardcoding is shlibpath_var, we | 2185 # If the only mechanism to avoid hardcoding is shlibpath_var, we |
| 2115 # have to relink, otherwise we might link with an installed library | 2186 # have to relink, otherwise we might link with an installed library |
| 2116 # when we should be linking with a yet-to-be-installed one | 2187 # when we should be linking with a yet-to-be-installed one |
| 2117 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && | 2188 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && |
| 2118 test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then | 2189 test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then |
| 2119 # Linking always hardcodes the temporary library directory. | 2190 # Linking always hardcodes the temporary library directory. |
| 2120 _LT_TAGVAR(hardcode_action, $1)=relink | 2191 _LT_TAGVAR(hardcode_action, $1)=relink |
| 2121 else | 2192 else |
| 2122 # We can link without hardcoding, and we can hardcode nonexisting dirs. | 2193 # We can link without hardcoding, and we can hardcode nonexisting dirs. |
| 2123 _LT_TAGVAR(hardcode_action, $1)=immediate | 2194 _LT_TAGVAR(hardcode_action, $1)=immediate |
| 2124 fi | 2195 fi |
| 2125 else | 2196 else |
| 2126 # We cannot hardcode anything, or else we can only hardcode existing | 2197 # We cannot hardcode anything, or else we can only hardcode existing |
| 2127 # directories. | 2198 # directories. |
| 2128 _LT_TAGVAR(hardcode_action, $1)=unsupported | 2199 _LT_TAGVAR(hardcode_action, $1)=unsupported |
| 2129 fi | 2200 fi |
| 2130 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) | 2201 AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) |
| 2131 | 2202 |
| 2132 if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || | 2203 if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || |
| 2133 test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then | 2204 test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then |
| 2134 # Fast installation is not supported | 2205 # Fast installation is not supported |
| 2135 enable_fast_install=no | 2206 enable_fast_install=no |
| 2136 elif test "$shlibpath_overrides_runpath" = yes || | 2207 elif test yes = "$shlibpath_overrides_runpath" || |
| 2137 test "$enable_shared" = no; then | 2208 test no = "$enable_shared"; then |
| 2138 # Fast installation is not necessary | 2209 # Fast installation is not necessary |
| 2139 enable_fast_install=needless | 2210 enable_fast_install=needless |
| 2140 fi | 2211 fi |
| 2141 _LT_TAGDECL([], [hardcode_action], [0], | 2212 _LT_TAGDECL([], [hardcode_action], [0], |
| 2142 [How to hardcode a shared library path into an executable]) | 2213 [How to hardcode a shared library path into an executable]) |
| 2143 ])# _LT_LINKER_HARDCODE_LIBPATH | 2214 ])# _LT_LINKER_HARDCODE_LIBPATH |
| 2144 | 2215 |
| 2145 | 2216 |
| 2146 # _LT_CMD_STRIPLIB | 2217 # _LT_CMD_STRIPLIB |
| 2147 # ---------------- | 2218 # ---------------- |
| 2148 m4_defun([_LT_CMD_STRIPLIB], | 2219 m4_defun([_LT_CMD_STRIPLIB], |
| 2149 [m4_require([_LT_DECL_EGREP]) | 2220 [m4_require([_LT_DECL_EGREP]) |
| 2150 striplib= | 2221 striplib= |
| 2151 old_striplib= | 2222 old_striplib= |
| 2152 AC_MSG_CHECKING([whether stripping libraries is possible]) | 2223 AC_MSG_CHECKING([whether stripping libraries is possible]) |
| 2153 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then | 2224 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
| 2154 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 2225 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
| 2155 test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 2226 test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
| 2156 AC_MSG_RESULT([yes]) | 2227 AC_MSG_RESULT([yes]) |
| 2157 else | 2228 else |
| 2158 # FIXME - insert some real tests, host_os isn't really good enough | 2229 # FIXME - insert some real tests, host_os isn't really good enough |
| 2159 case $host_os in | 2230 case $host_os in |
| 2160 darwin*) | 2231 darwin*) |
| 2161 if test -n "$STRIP" ; then | 2232 if test -n "$STRIP"; then |
| 2162 striplib="$STRIP -x" | 2233 striplib="$STRIP -x" |
| 2163 old_striplib="$STRIP -S" | 2234 old_striplib="$STRIP -S" |
| 2164 AC_MSG_RESULT([yes]) | 2235 AC_MSG_RESULT([yes]) |
| 2165 else | 2236 else |
| 2166 AC_MSG_RESULT([no]) | 2237 AC_MSG_RESULT([no]) |
| 2167 fi | 2238 fi |
| 2168 ;; | 2239 ;; |
| 2169 *) | 2240 *) |
| 2170 AC_MSG_RESULT([no]) | 2241 AC_MSG_RESULT([no]) |
| 2171 ;; | 2242 ;; |
| 2172 esac | 2243 esac |
| 2173 fi | 2244 fi |
| 2174 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) | 2245 _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) |
| 2175 _LT_DECL([], [striplib], [1]) | 2246 _LT_DECL([], [striplib], [1]) |
| 2176 ])# _LT_CMD_STRIPLIB | 2247 ])# _LT_CMD_STRIPLIB |
| 2177 | 2248 |
| 2178 | 2249 |
| 2250 # _LT_PREPARE_MUNGE_PATH_LIST |
| 2251 # --------------------------- |
| 2252 # Make sure func_munge_path_list() is defined correctly. |
| 2253 m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], |
| 2254 [[# func_munge_path_list VARIABLE PATH |
| 2255 # ----------------------------------- |
| 2256 # VARIABLE is name of variable containing _space_ separated list of |
| 2257 # directories to be munged by the contents of PATH, which is string |
| 2258 # having a format: |
| 2259 # "DIR[:DIR]:" |
| 2260 # string "DIR[ DIR]" will be prepended to VARIABLE |
| 2261 # ":DIR[:DIR]" |
| 2262 # string "DIR[ DIR]" will be appended to VARIABLE |
| 2263 # "DIRP[:DIRP]::[DIRA:]DIRA" |
| 2264 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string |
| 2265 # "DIRA[ DIRA]" will be appended to VARIABLE |
| 2266 # "DIR[:DIR]" |
| 2267 # VARIABLE will be replaced by "DIR[ DIR]" |
| 2268 func_munge_path_list () |
| 2269 { |
| 2270 case x@S|@2 in |
| 2271 x) |
| 2272 ;; |
| 2273 *:) |
| 2274 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" |
| 2275 ;; |
| 2276 x:*) |
| 2277 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" |
| 2278 ;; |
| 2279 *::*) |
| 2280 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`
\" |
| 2281 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1
\" |
| 2282 ;; |
| 2283 *) |
| 2284 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" |
| 2285 ;; |
| 2286 esac |
| 2287 } |
| 2288 ]])# _LT_PREPARE_PATH_LIST |
| 2289 |
| 2290 |
| 2179 # _LT_SYS_DYNAMIC_LINKER([TAG]) | 2291 # _LT_SYS_DYNAMIC_LINKER([TAG]) |
| 2180 # ----------------------------- | 2292 # ----------------------------- |
| 2181 # PORTME Fill in your ld.so characteristics | 2293 # PORTME Fill in your ld.so characteristics |
| 2182 m4_defun([_LT_SYS_DYNAMIC_LINKER], | 2294 m4_defun([_LT_SYS_DYNAMIC_LINKER], |
| 2183 [AC_REQUIRE([AC_CANONICAL_HOST])dnl | 2295 [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 2184 m4_require([_LT_DECL_EGREP])dnl | 2296 m4_require([_LT_DECL_EGREP])dnl |
| 2185 m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 2297 m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 2186 m4_require([_LT_DECL_OBJDUMP])dnl | 2298 m4_require([_LT_DECL_OBJDUMP])dnl |
| 2187 m4_require([_LT_DECL_SED])dnl | 2299 m4_require([_LT_DECL_SED])dnl |
| 2188 m4_require([_LT_CHECK_SHELL_FEATURES])dnl | 2300 m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
| 2301 m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl |
| 2189 AC_MSG_CHECKING([dynamic linker characteristics]) | 2302 AC_MSG_CHECKING([dynamic linker characteristics]) |
| 2190 m4_if([$1], | 2303 m4_if([$1], |
| 2191 [], [ | 2304 [], [ |
| 2192 if test "$GCC" = yes; then | 2305 if test yes = "$GCC"; then |
| 2193 case $host_os in | 2306 case $host_os in |
| 2194 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; | 2307 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; |
| 2195 *) lt_awk_arg="/^libraries:/" ;; | 2308 *) lt_awk_arg='/^libraries:/' ;; |
| 2196 esac | 2309 esac |
| 2197 case $host_os in | 2310 case $host_os in |
| 2198 mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; | 2311 mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; |
| 2199 *) lt_sed_strip_eq="s,=/,/,g" ;; | 2312 *) lt_sed_strip_eq='s|=/|/|g' ;; |
| 2200 esac | 2313 esac |
| 2201 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li
braries://" -e $lt_sed_strip_eq` | 2314 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^li
braries://" -e $lt_sed_strip_eq` |
| 2202 case $lt_search_path_spec in | 2315 case $lt_search_path_spec in |
| 2203 *\;*) | 2316 *\;*) |
| 2204 # if the path contains ";" then we assume it to be the separator | 2317 # if the path contains ";" then we assume it to be the separator |
| 2205 # otherwise default to the standard path separator (i.e. ":") - it is | 2318 # otherwise default to the standard path separator (i.e. ":") - it is |
| 2206 # assumed that no part of a normal pathname contains ";" but that should | 2319 # assumed that no part of a normal pathname contains ";" but that should |
| 2207 # okay in the real world where ";" in dirpaths is itself problematic. | 2320 # okay in the real world where ";" in dirpaths is itself problematic. |
| 2208 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | 2321 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 2209 ;; | 2322 ;; |
| 2210 *) | 2323 *) |
| 2211 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` | 2324 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/
/g"` |
| 2212 ;; | 2325 ;; |
| 2213 esac | 2326 esac |
| 2214 # Ok, now we have the path, separated by spaces, we can step through it | 2327 # Ok, now we have the path, separated by spaces, we can step through it |
| 2215 # and add multilib dir if necessary. | 2328 # and add multilib dir if necessary... |
| 2216 lt_tmp_lt_search_path_spec= | 2329 lt_tmp_lt_search_path_spec= |
| 2217 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/d
ev/null` | 2330 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/
dev/null` |
| 2331 # ...but if some path component already ends with the multilib dir we assume |
| 2332 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). |
| 2333 case "$lt_multi_os_dir; $lt_search_path_spec " in |
| 2334 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) |
| 2335 lt_multi_os_dir= |
| 2336 ;; |
| 2337 esac |
| 2218 for lt_sys_path in $lt_search_path_spec; do | 2338 for lt_sys_path in $lt_search_path_spec; do |
| 2219 if test -d "$lt_sys_path/$lt_multi_os_dir"; then | 2339 if test -d "$lt_sys_path$lt_multi_os_dir"; then |
| 2220 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_m
ulti_os_dir" | 2340 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_mu
lti_os_dir" |
| 2221 else | 2341 elif test -n "$lt_multi_os_dir"; then |
| 2222 test -d "$lt_sys_path" && \ | 2342 test -d "$lt_sys_path" && \ |
| 2223 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | 2343 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 2224 fi | 2344 fi |
| 2225 done | 2345 done |
| 2226 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | 2346 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 2227 BEGIN {RS=" "; FS="/|\n";} { | 2347 BEGIN {RS = " "; FS = "/|\n";} { |
| 2228 lt_foo=""; | 2348 lt_foo = ""; |
| 2229 lt_count=0; | 2349 lt_count = 0; |
| 2230 for (lt_i = NF; lt_i > 0; lt_i--) { | 2350 for (lt_i = NF; lt_i > 0; lt_i--) { |
| 2231 if ($lt_i != "" && $lt_i != ".") { | 2351 if ($lt_i != "" && $lt_i != ".") { |
| 2232 if ($lt_i == "..") { | 2352 if ($lt_i == "..") { |
| 2233 lt_count++; | 2353 lt_count++; |
| 2234 } else { | 2354 } else { |
| 2235 if (lt_count == 0) { | 2355 if (lt_count == 0) { |
| 2236 lt_foo="/" $lt_i lt_foo; | 2356 lt_foo = "/" $lt_i lt_foo; |
| 2237 } else { | 2357 } else { |
| 2238 lt_count--; | 2358 lt_count--; |
| 2239 } | 2359 } |
| 2240 } | 2360 } |
| 2241 } | 2361 } |
| 2242 } | 2362 } |
| 2243 if (lt_foo != "") { lt_freq[[lt_foo]]++; } | 2363 if (lt_foo != "") { lt_freq[[lt_foo]]++; } |
| 2244 if (lt_freq[[lt_foo]] == 1) { print lt_foo; } | 2364 if (lt_freq[[lt_foo]] == 1) { print lt_foo; } |
| 2245 }'` | 2365 }'` |
| 2246 # AWK program above erroneously prepends '/' to C:/dos/paths | 2366 # AWK program above erroneously prepends '/' to C:/dos/paths |
| 2247 # for these hosts. | 2367 # for these hosts. |
| 2248 case $host_os in | 2368 case $host_os in |
| 2249 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | 2369 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 2250 $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; | 2370 $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; |
| 2251 esac | 2371 esac |
| 2252 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | 2372 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 2253 else | 2373 else |
| 2254 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 2374 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 2255 fi]) | 2375 fi]) |
| 2256 library_names_spec= | 2376 library_names_spec= |
| 2257 libname_spec='lib$name' | 2377 libname_spec='lib$name' |
| 2258 soname_spec= | 2378 soname_spec= |
| 2259 shrext_cmds=".so" | 2379 shrext_cmds=.so |
| 2260 postinstall_cmds= | 2380 postinstall_cmds= |
| 2261 postuninstall_cmds= | 2381 postuninstall_cmds= |
| 2262 finish_cmds= | 2382 finish_cmds= |
| 2263 finish_eval= | 2383 finish_eval= |
| 2264 shlibpath_var= | 2384 shlibpath_var= |
| 2265 shlibpath_overrides_runpath=unknown | 2385 shlibpath_overrides_runpath=unknown |
| 2266 version_type=none | 2386 version_type=none |
| 2267 dynamic_linker="$host_os ld.so" | 2387 dynamic_linker="$host_os ld.so" |
| 2268 sys_lib_dlsearch_path_spec="/lib /usr/lib" | 2388 sys_lib_dlsearch_path_spec="/lib /usr/lib" |
| 2269 need_lib_prefix=unknown | 2389 need_lib_prefix=unknown |
| 2270 hardcode_into_libs=no | 2390 hardcode_into_libs=no |
| 2271 | 2391 |
| 2272 # when you set need_version to no, make sure it does not cause -set_version | 2392 # when you set need_version to no, make sure it does not cause -set_version |
| 2273 # flags to be left without arguments | 2393 # flags to be left without arguments |
| 2274 need_version=unknown | 2394 need_version=unknown |
| 2275 | 2395 |
| 2396 AC_ARG_VAR([LT_SYS_LIBRARY_PATH], |
| 2397 [User-defined run-time library search path.]) |
| 2398 |
| 2276 case $host_os in | 2399 case $host_os in |
| 2277 aix3*) | 2400 aix3*) |
| 2278 version_type=linux # correct to gnu/linux during the next big refactor | 2401 version_type=linux # correct to gnu/linux during the next big refactor |
| 2279 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 2402 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' |
| 2280 shlibpath_var=LIBPATH | 2403 shlibpath_var=LIBPATH |
| 2281 | 2404 |
| 2282 # AIX 3 has no versioning support, so we append a major version to the name. | 2405 # AIX 3 has no versioning support, so we append a major version to the name. |
| 2283 soname_spec='${libname}${release}${shared_ext}$major' | 2406 soname_spec='$libname$release$shared_ext$major' |
| 2284 ;; | 2407 ;; |
| 2285 | 2408 |
| 2286 aix[[4-9]]*) | 2409 aix[[4-9]]*) |
| 2287 version_type=linux # correct to gnu/linux during the next big refactor | 2410 version_type=linux # correct to gnu/linux during the next big refactor |
| 2288 need_lib_prefix=no | 2411 need_lib_prefix=no |
| 2289 need_version=no | 2412 need_version=no |
| 2290 hardcode_into_libs=yes | 2413 hardcode_into_libs=yes |
| 2291 if test "$host_cpu" = ia64; then | 2414 if test ia64 = "$host_cpu"; then |
| 2292 # AIX 5 supports IA64 | 2415 # AIX 5 supports IA64 |
| 2293 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele
ase}${shared_ext}$versuffix $libname${shared_ext}' | 2416 library_names_spec='$libname$release$shared_ext$major $libname$release$share
d_ext$versuffix $libname$shared_ext' |
| 2294 shlibpath_var=LD_LIBRARY_PATH | 2417 shlibpath_var=LD_LIBRARY_PATH |
| 2295 else | 2418 else |
| 2296 # With GCC up to 2.95.x, collect2 would create an import file | 2419 # With GCC up to 2.95.x, collect2 would create an import file |
| 2297 # for dependence libraries. The import file would start with | 2420 # for dependence libraries. The import file would start with |
| 2298 # the line `#! .'. This would cause the generated library to | 2421 # the line '#! .'. This would cause the generated library to |
| 2299 # depend on `.', always an invalid library. This was fixed in | 2422 # depend on '.', always an invalid library. This was fixed in |
| 2300 # development snapshots of GCC prior to 3.0. | 2423 # development snapshots of GCC prior to 3.0. |
| 2301 case $host_os in | 2424 case $host_os in |
| 2302 aix4 | aix4.[[01]] | aix4.[[01]].*) | 2425 aix4 | aix4.[[01]] | aix4.[[01]].*) |
| 2303 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 2426 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
| 2304 echo ' yes ' | 2427 echo ' yes ' |
| 2305 » echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | 2428 » echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then |
| 2306 : | 2429 : |
| 2307 else | 2430 else |
| 2308 can_build_shared=no | 2431 can_build_shared=no |
| 2309 fi | 2432 fi |
| 2310 ;; | 2433 ;; |
| 2311 esac | 2434 esac |
| 2312 # AIX (on Power*) has no versioning support, so currently we can not hardcod
e correct | 2435 # Using Import Files as archive members, it is possible to support |
| 2436 # filename-based versioning of shared library archives on AIX. While |
| 2437 # this would work for both with and without runtime linking, it will |
| 2438 # prevent static linking of such archives. So we do filename-based |
| 2439 # shared library versioning with .so extension only, which is used |
| 2440 # when both runtime linking and shared linking is enabled. |
| 2441 # Unfortunately, runtime linking may impact performance, so we do |
| 2442 # not want this to be the default eventually. Also, we use the |
| 2443 # versioned .so libs for executables only if there is the -brtl |
| 2444 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. |
| 2445 # To allow for filename-based versioning support, we need to create |
| 2446 # libNAME.so.V as an archive file, containing: |
| 2447 # *) an Import File, referring to the versioned filename of the |
| 2448 # archive as well as the shared archive member, telling the |
| 2449 # bitwidth (32 or 64) of that shared object, and providing the |
| 2450 # list of exported symbols of that shared object, eventually |
| 2451 # decorated with the 'weak' keyword |
| 2452 # *) the shared object with the F_LOADONLY flag set, to really avoid |
| 2453 # it being seen by the linker. |
| 2454 # At run time we better use the real file rather than another symlink, |
| 2455 # but for link time we create the symlink libNAME.so -> libNAME.so.V |
| 2456 |
| 2457 case $with_aix_soname,$aix_use_runtimelinking in |
| 2458 # AIX (on Power*) has no versioning support, so currently we cannot hardcode
correct |
| 2313 # soname into executable. Probably we can add versioning support to | 2459 # soname into executable. Probably we can add versioning support to |
| 2314 # collect2, so additional links can be useful in future. | 2460 # collect2, so additional links can be useful in future. |
| 2315 if test "$aix_use_runtimelinking" = yes; then | 2461 aix,yes) # traditional libtool |
| 2462 dynamic_linker='AIX unversionable lib.so' |
| 2316 # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 2463 # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
| 2317 # instead of lib<name>.a to let people know that these are not | 2464 # instead of lib<name>.a to let people know that these are not |
| 2318 # typical AIX shared libraries. | 2465 # typical AIX shared libraries. |
| 2319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext}$major $libname${shared_ext}' | 2466 library_names_spec='$libname$release$shared_ext$versuffix $libname$release
$shared_ext$major $libname$shared_ext' |
| 2320 else | 2467 ;; |
| 2468 aix,no) # traditional AIX only |
| 2469 dynamic_linker='AIX lib.a[(]lib.so.V[)]' |
| 2321 # We preserve .a as extension for shared libraries through AIX4.2 | 2470 # We preserve .a as extension for shared libraries through AIX4.2 |
| 2322 # and later when we are not doing run time linking. | 2471 # and later when we are not doing run time linking. |
| 2323 library_names_spec='${libname}${release}.a $libname.a' | 2472 library_names_spec='$libname$release.a $libname.a' |
| 2324 soname_spec='${libname}${release}${shared_ext}$major' | 2473 soname_spec='$libname$release$shared_ext$major' |
| 2325 fi | 2474 ;; |
| 2475 svr4,*) # full svr4 only |
| 2476 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" |
| 2477 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 2478 # We do not specify a path in Import Files, so LIBPATH fires. |
| 2479 shlibpath_overrides_runpath=yes |
| 2480 ;; |
| 2481 *,yes) # both, prefer svr4 |
| 2482 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]l
ib.so.V[)]" |
| 2483 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' |
| 2484 # unpreferred sharedlib libNAME.a needs extra handling |
| 2485 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripna
me "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libex
t" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$st
riplib" || $striplib "$destdir/$func_stripname_result.$libext"' |
| 2486 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_
stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfi
les " $odir/$func_stripname_result.$libext"' |
| 2487 # We do not specify a path in Import Files, so LIBPATH fires. |
| 2488 shlibpath_overrides_runpath=yes |
| 2489 ;; |
| 2490 *,no) # both, prefer aix |
| 2491 dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member
_spec.o[)]" |
| 2492 library_names_spec='$libname$release.a $libname.a' |
| 2493 soname_spec='$libname$release$shared_ext$major' |
| 2494 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra han
dling |
| 2495 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $
destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir
/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$link
name"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' |
| 2496 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlna
me"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"
~func_append rmfiles " $odir/$func_stripname_result.so"' |
| 2497 ;; |
| 2498 esac |
| 2326 shlibpath_var=LIBPATH | 2499 shlibpath_var=LIBPATH |
| 2327 fi | 2500 fi |
| 2328 ;; | 2501 ;; |
| 2329 | 2502 |
| 2330 amigaos*) | 2503 amigaos*) |
| 2331 case $host_cpu in | 2504 case $host_cpu in |
| 2332 powerpc) | 2505 powerpc) |
| 2333 # Since July 2007 AmigaOS4 officially supports .so libraries. | 2506 # Since July 2007 AmigaOS4 officially supports .so libraries. |
| 2334 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | 2507 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
| 2335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | 2508 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' |
| 2336 ;; | 2509 ;; |
| 2337 m68k) | 2510 m68k) |
| 2338 library_names_spec='$libname.ixlibrary $libname.a' | 2511 library_names_spec='$libname.ixlibrary $libname.a' |
| 2339 # Create ${libname}_ixlibrary.a entries in /sys/libs. | 2512 # Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 2340 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`fu
nc_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /
sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ix
library.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' | 2513 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`fu
nc_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/l
ibs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibra
ry.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
| 2341 ;; | 2514 ;; |
| 2342 esac | 2515 esac |
| 2343 ;; | 2516 ;; |
| 2344 | 2517 |
| 2345 beos*) | 2518 beos*) |
| 2346 library_names_spec='${libname}${shared_ext}' | 2519 library_names_spec='$libname$shared_ext' |
| 2347 dynamic_linker="$host_os ld.so" | 2520 dynamic_linker="$host_os ld.so" |
| 2348 shlibpath_var=LIBRARY_PATH | 2521 shlibpath_var=LIBRARY_PATH |
| 2349 ;; | 2522 ;; |
| 2350 | 2523 |
| 2351 bsdi[[45]]*) | 2524 bsdi[[45]]*) |
| 2352 version_type=linux # correct to gnu/linux during the next big refactor | 2525 version_type=linux # correct to gnu/linux during the next big refactor |
| 2353 need_version=no | 2526 need_version=no |
| 2354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 2527 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2355 soname_spec='${libname}${release}${shared_ext}$major' | 2528 soname_spec='$libname$release$shared_ext$major' |
| 2356 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 2529 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
| 2357 shlibpath_var=LD_LIBRARY_PATH | 2530 shlibpath_var=LD_LIBRARY_PATH |
| 2358 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /
usr/local/lib" | 2531 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /
usr/local/lib" |
| 2359 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 2532 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
| 2360 # the default ld.so.conf also contains /usr/contrib/lib and | 2533 # the default ld.so.conf also contains /usr/contrib/lib and |
| 2361 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 2534 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
| 2362 # libtool to hard-code these into programs | 2535 # libtool to hard-code these into programs |
| 2363 ;; | 2536 ;; |
| 2364 | 2537 |
| 2365 cygwin* | mingw* | pw32* | cegcc*) | 2538 cygwin* | mingw* | pw32* | cegcc*) |
| 2366 version_type=windows | 2539 version_type=windows |
| 2367 shrext_cmds=".dll" | 2540 shrext_cmds=.dll |
| 2368 need_version=no | 2541 need_version=no |
| 2369 need_lib_prefix=no | 2542 need_lib_prefix=no |
| 2370 | 2543 |
| 2371 case $GCC,$cc_basename in | 2544 case $GCC,$cc_basename in |
| 2372 yes,*) | 2545 yes,*) |
| 2373 # gcc | 2546 # gcc |
| 2374 library_names_spec='$libname.dll.a' | 2547 library_names_spec='$libname.dll.a' |
| 2375 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 2548 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 2376 postinstall_cmds='base_file=`basename \${file}`~ | 2549 postinstall_cmds='base_file=`basename \$file`~ |
| 2377 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ | 2550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`
~ |
| 2378 dldir=$destdir/`dirname \$dlpath`~ | 2551 dldir=$destdir/`dirname \$dlpath`~ |
| 2379 test -d \$dldir || mkdir -p \$dldir~ | 2552 test -d \$dldir || mkdir -p \$dldir~ |
| 2380 $install_prog $dir/$dlname \$dldir/$dlname~ | 2553 $install_prog $dir/$dlname \$dldir/$dlname~ |
| 2381 chmod a+x \$dldir/$dlname~ | 2554 chmod a+x \$dldir/$dlname~ |
| 2382 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | 2555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 2383 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | 2556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 2384 fi' | 2557 fi' |
| 2385 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 2558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 2386 dlpath=$dir/\$dldll~ | 2559 dlpath=$dir/\$dldll~ |
| 2387 $RM \$dlpath' | 2560 $RM \$dlpath' |
| 2388 shlibpath_overrides_runpath=yes | 2561 shlibpath_overrides_runpath=yes |
| 2389 | 2562 |
| 2390 case $host_os in | 2563 case $host_os in |
| 2391 cygwin*) | 2564 cygwin*) |
| 2392 # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 2565 # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 2393 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $S
ED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' | 2566 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -
e 's/[[.]]/-/g'`$versuffix$shared_ext' |
| 2394 m4_if([$1], [],[ | 2567 m4_if([$1], [],[ |
| 2395 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) | 2568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) |
| 2396 ;; | 2569 ;; |
| 2397 mingw* | cegcc*) | 2570 mingw* | cegcc*) |
| 2398 # MinGW DLLs use traditional 'lib' prefix | 2571 # MinGW DLLs use traditional 'lib' prefix |
| 2399 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffi
x}${shared_ext}' | 2572 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$sha
red_ext' |
| 2400 ;; | 2573 ;; |
| 2401 pw32*) | 2574 pw32*) |
| 2402 # pw32 DLLs use 'pw' prefix rather than 'lib' | 2575 # pw32 DLLs use 'pw' prefix rather than 'lib' |
| 2403 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release
} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' | 2576 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release |
$SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' |
| 2404 ;; | 2577 ;; |
| 2405 esac | 2578 esac |
| 2406 dynamic_linker='Win32 ld.exe' | 2579 dynamic_linker='Win32 ld.exe' |
| 2407 ;; | 2580 ;; |
| 2408 | 2581 |
| 2409 *,cl*) | 2582 *,cl*) |
| 2410 # Native MSVC | 2583 # Native MSVC |
| 2411 libname_spec='$name' | 2584 libname_spec='$name' |
| 2412 soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}
${shared_ext}' | 2585 soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$share
d_ext' |
| 2413 library_names_spec='${libname}.dll.lib' | 2586 library_names_spec='$libname.dll.lib' |
| 2414 | 2587 |
| 2415 case $build_os in | 2588 case $build_os in |
| 2416 mingw*) | 2589 mingw*) |
| 2417 sys_lib_search_path_spec= | 2590 sys_lib_search_path_spec= |
| 2418 lt_save_ifs=$IFS | 2591 lt_save_ifs=$IFS |
| 2419 IFS=';' | 2592 IFS=';' |
| 2420 for lt_path in $LIB | 2593 for lt_path in $LIB |
| 2421 do | 2594 do |
| 2422 IFS=$lt_save_ifs | 2595 IFS=$lt_save_ifs |
| 2423 # Let DOS variable expansion print the short 8.3 style file name. | 2596 # Let DOS variable expansion print the short 8.3 style file name. |
| 2424 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo
%~si"` | 2597 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo
%~si"` |
| 2425 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | 2598 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
| 2426 done | 2599 done |
| 2427 IFS=$lt_save_ifs | 2600 IFS=$lt_save_ifs |
| 2428 # Convert to MSYS style. | 2601 # Convert to MSYS style. |
| 2429 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\
\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` | 2602 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\
\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` |
| 2430 ;; | 2603 ;; |
| 2431 cygwin*) | 2604 cygwin*) |
| 2432 # Convert to unix form, then to dos form, then back to unix form | 2605 # Convert to unix form, then to dos form, then back to unix form |
| 2433 # but this time dos style (no spaces!) so that the unix form looks | 2606 # but this time dos style (no spaces!) so that the unix form looks |
| 2434 # like /cygdrive/c/PROGRA~1:/cygdr... | 2607 # like /cygdrive/c/PROGRA~1:/cygdr... |
| 2435 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | 2608 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
| 2436 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec"
2>/dev/null` | 2609 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec"
2>/dev/null` |
| 2437 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec
" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 2610 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec
" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 2438 ;; | 2611 ;; |
| 2439 *) | 2612 *) |
| 2440 sys_lib_search_path_spec="$LIB" | 2613 sys_lib_search_path_spec=$LIB |
| 2441 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; t
hen | 2614 if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; t
hen |
| 2442 # It is most probably a Windows format PATH. | 2615 # It is most probably a Windows format PATH. |
| 2443 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's
/;/ /g'` | 2616 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's
/;/ /g'` |
| 2444 else | 2617 else |
| 2445 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g"` | 2618 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s
/$PATH_SEPARATOR/ /g"` |
| 2446 fi | 2619 fi |
| 2447 # FIXME: find the short name or the path components, as spaces are | 2620 # FIXME: find the short name or the path components, as spaces are |
| 2448 # common. (e.g. "Program Files" -> "PROGRA~1") | 2621 # common. (e.g. "Program Files" -> "PROGRA~1") |
| 2449 ;; | 2622 ;; |
| 2450 esac | 2623 esac |
| 2451 | 2624 |
| 2452 # DLL is installed to $(libdir)/../bin by postinstall_cmds | 2625 # DLL is installed to $(libdir)/../bin by postinstall_cmds |
| 2453 postinstall_cmds='base_file=`basename \${file}`~ | 2626 postinstall_cmds='base_file=`basename \$file`~ |
| 2454 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\'
'`~ | 2627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`
~ |
| 2455 dldir=$destdir/`dirname \$dlpath`~ | 2628 dldir=$destdir/`dirname \$dlpath`~ |
| 2456 test -d \$dldir || mkdir -p \$dldir~ | 2629 test -d \$dldir || mkdir -p \$dldir~ |
| 2457 $install_prog $dir/$dlname \$dldir/$dlname' | 2630 $install_prog $dir/$dlname \$dldir/$dlname' |
| 2458 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 2631 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
| 2459 dlpath=$dir/\$dldll~ | 2632 dlpath=$dir/\$dldll~ |
| 2460 $RM \$dlpath' | 2633 $RM \$dlpath' |
| 2461 shlibpath_overrides_runpath=yes | 2634 shlibpath_overrides_runpath=yes |
| 2462 dynamic_linker='Win32 link.exe' | 2635 dynamic_linker='Win32 link.exe' |
| 2463 ;; | 2636 ;; |
| 2464 | 2637 |
| 2465 *) | 2638 *) |
| 2466 # Assume MSVC wrapper | 2639 # Assume MSVC wrapper |
| 2467 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${ver
suffix}${shared_ext} $libname.lib' | 2640 library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffi
x$shared_ext $libname.lib' |
| 2468 dynamic_linker='Win32 ld.exe' | 2641 dynamic_linker='Win32 ld.exe' |
| 2469 ;; | 2642 ;; |
| 2470 esac | 2643 esac |
| 2471 # FIXME: first we should search . and the directory the executable is in | 2644 # FIXME: first we should search . and the directory the executable is in |
| 2472 shlibpath_var=PATH | 2645 shlibpath_var=PATH |
| 2473 ;; | 2646 ;; |
| 2474 | 2647 |
| 2475 darwin* | rhapsody*) | 2648 darwin* | rhapsody*) |
| 2476 dynamic_linker="$host_os dyld" | 2649 dynamic_linker="$host_os dyld" |
| 2477 version_type=darwin | 2650 version_type=darwin |
| 2478 need_lib_prefix=no | 2651 need_lib_prefix=no |
| 2479 need_version=no | 2652 need_version=no |
| 2480 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_
ext' | 2653 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' |
| 2481 soname_spec='${libname}${release}${major}$shared_ext' | 2654 soname_spec='$libname$release$major$shared_ext' |
| 2482 shlibpath_overrides_runpath=yes | 2655 shlibpath_overrides_runpath=yes |
| 2483 shlibpath_var=DYLD_LIBRARY_PATH | 2656 shlibpath_var=DYLD_LIBRARY_PATH |
| 2484 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | 2657 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
| 2485 m4_if([$1], [],[ | 2658 m4_if([$1], [],[ |
| 2486 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) | 2659 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) |
| 2487 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 2660 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
| 2488 ;; | 2661 ;; |
| 2489 | 2662 |
| 2490 dgux*) | 2663 dgux*) |
| 2491 version_type=linux # correct to gnu/linux during the next big refactor | 2664 version_type=linux # correct to gnu/linux during the next big refactor |
| 2492 need_lib_prefix=no | 2665 need_lib_prefix=no |
| 2493 need_version=no | 2666 need_version=no |
| 2494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname$shared_ext' | 2667 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2495 soname_spec='${libname}${release}${shared_ext}$major' | 2668 soname_spec='$libname$release$shared_ext$major' |
| 2496 shlibpath_var=LD_LIBRARY_PATH | 2669 shlibpath_var=LD_LIBRARY_PATH |
| 2497 ;; | 2670 ;; |
| 2498 | 2671 |
| 2499 freebsd* | dragonfly*) | 2672 freebsd* | dragonfly*) |
| 2500 # DragonFly does not have aout. When/if they implement a new | 2673 # DragonFly does not have aout. When/if they implement a new |
| 2501 # versioning mechanism, adjust this. | 2674 # versioning mechanism, adjust this. |
| 2502 if test -x /usr/bin/objformat; then | 2675 if test -x /usr/bin/objformat; then |
| 2503 objformat=`/usr/bin/objformat` | 2676 objformat=`/usr/bin/objformat` |
| 2504 else | 2677 else |
| 2505 case $host_os in | 2678 case $host_os in |
| 2506 freebsd[[23]].*) objformat=aout ;; | 2679 freebsd[[23]].*) objformat=aout ;; |
| 2507 *) objformat=elf ;; | 2680 *) objformat=elf ;; |
| 2508 esac | 2681 esac |
| 2509 fi | 2682 fi |
| 2510 version_type=freebsd-$objformat | 2683 version_type=freebsd-$objformat |
| 2511 case $version_type in | 2684 case $version_type in |
| 2512 freebsd-elf*) | 2685 freebsd-elf*) |
| 2513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}
${release}${shared_ext} $libname${shared_ext}' | 2686 library_names_spec='$libname$release$shared_ext$versuffix $libname$release
$shared_ext$major $libname$shared_ext' |
| 2687 soname_spec='$libname$release$shared_ext$major' |
| 2514 need_version=no | 2688 need_version=no |
| 2515 need_lib_prefix=no | 2689 need_lib_prefix=no |
| 2516 ;; | 2690 ;; |
| 2517 freebsd-*) | 2691 freebsd-*) |
| 2518 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${
shared_ext}$versuffix' | 2692 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_
ext$versuffix' |
| 2519 need_version=yes | 2693 need_version=yes |
| 2520 ;; | 2694 ;; |
| 2521 esac | 2695 esac |
| 2522 shlibpath_var=LD_LIBRARY_PATH | 2696 shlibpath_var=LD_LIBRARY_PATH |
| 2523 case $host_os in | 2697 case $host_os in |
| 2524 freebsd2.*) | 2698 freebsd2.*) |
| 2525 shlibpath_overrides_runpath=yes | 2699 shlibpath_overrides_runpath=yes |
| 2526 ;; | 2700 ;; |
| 2527 freebsd3.[[01]]* | freebsdelf3.[[01]]*) | 2701 freebsd3.[[01]]* | freebsdelf3.[[01]]*) |
| 2528 shlibpath_overrides_runpath=yes | 2702 shlibpath_overrides_runpath=yes |
| 2529 hardcode_into_libs=yes | 2703 hardcode_into_libs=yes |
| 2530 ;; | 2704 ;; |
| 2531 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ | 2705 freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ |
| 2532 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) | 2706 freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) |
| 2533 shlibpath_overrides_runpath=no | 2707 shlibpath_overrides_runpath=no |
| 2534 hardcode_into_libs=yes | 2708 hardcode_into_libs=yes |
| 2535 ;; | 2709 ;; |
| 2536 *) # from 4.6 on, and DragonFly | 2710 *) # from 4.6 on, and DragonFly |
| 2537 shlibpath_overrides_runpath=yes | 2711 shlibpath_overrides_runpath=yes |
| 2538 hardcode_into_libs=yes | 2712 hardcode_into_libs=yes |
| 2539 ;; | 2713 ;; |
| 2540 esac | 2714 esac |
| 2541 ;; | 2715 ;; |
| 2542 | 2716 |
| 2543 haiku*) | 2717 haiku*) |
| 2544 version_type=linux # correct to gnu/linux during the next big refactor | 2718 version_type=linux # correct to gnu/linux during the next big refactor |
| 2545 need_lib_prefix=no | 2719 need_lib_prefix=no |
| 2546 need_version=no | 2720 need_version=no |
| 2547 dynamic_linker="$host_os runtime_loader" | 2721 dynamic_linker="$host_os runtime_loader" |
| 2548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}${major} ${libname}${shared_ext}' | 2722 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2549 soname_spec='${libname}${release}${shared_ext}$major' | 2723 soname_spec='$libname$release$shared_ext$major' |
| 2550 shlibpath_var=LIBRARY_PATH | 2724 shlibpath_var=LIBRARY_PATH |
| 2551 shlibpath_overrides_runpath=yes | 2725 shlibpath_overrides_runpath=no |
| 2552 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' | 2726 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/syste
m/lib' |
| 2553 hardcode_into_libs=yes | 2727 hardcode_into_libs=yes |
| 2554 ;; | 2728 ;; |
| 2555 | 2729 |
| 2556 hpux9* | hpux10* | hpux11*) | 2730 hpux9* | hpux10* | hpux11*) |
| 2557 # Give a soname corresponding to the major version so that dld.sl refuses to | 2731 # Give a soname corresponding to the major version so that dld.sl refuses to |
| 2558 # link against other versions. | 2732 # link against other versions. |
| 2559 version_type=sunos | 2733 version_type=sunos |
| 2560 need_lib_prefix=no | 2734 need_lib_prefix=no |
| 2561 need_version=no | 2735 need_version=no |
| 2562 case $host_cpu in | 2736 case $host_cpu in |
| 2563 ia64*) | 2737 ia64*) |
| 2564 shrext_cmds='.so' | 2738 shrext_cmds='.so' |
| 2565 hardcode_into_libs=yes | 2739 hardcode_into_libs=yes |
| 2566 dynamic_linker="$host_os dld.so" | 2740 dynamic_linker="$host_os dld.so" |
| 2567 shlibpath_var=LD_LIBRARY_PATH | 2741 shlibpath_var=LD_LIBRARY_PATH |
| 2568 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 2742 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 2569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | 2743 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' |
| 2570 soname_spec='${libname}${release}${shared_ext}$major' | 2744 soname_spec='$libname$release$shared_ext$major' |
| 2571 if test "X$HPUX_IA64_MODE" = X32; then | 2745 if test 32 = "$HPUX_IA64_MODE"; then |
| 2572 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local
/lib" | 2746 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local
/lib" |
| 2747 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 |
| 2573 else | 2748 else |
| 2574 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 2749 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
| 2750 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 |
| 2575 fi | 2751 fi |
| 2576 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | |
| 2577 ;; | 2752 ;; |
| 2578 hppa*64*) | 2753 hppa*64*) |
| 2579 shrext_cmds='.sl' | 2754 shrext_cmds='.sl' |
| 2580 hardcode_into_libs=yes | 2755 hardcode_into_libs=yes |
| 2581 dynamic_linker="$host_os dld.sl" | 2756 dynamic_linker="$host_os dld.sl" |
| 2582 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 2757 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
| 2583 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 2758 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
| 2584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | 2759 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' |
| 2585 soname_spec='${libname}${release}${shared_ext}$major' | 2760 soname_spec='$libname$release$shared_ext$major' |
| 2586 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 2761 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
| 2587 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 2762 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 2588 ;; | 2763 ;; |
| 2589 *) | 2764 *) |
| 2590 shrext_cmds='.sl' | 2765 shrext_cmds='.sl' |
| 2591 dynamic_linker="$host_os dld.sl" | 2766 dynamic_linker="$host_os dld.sl" |
| 2592 shlibpath_var=SHLIB_PATH | 2767 shlibpath_var=SHLIB_PATH |
| 2593 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 2768 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
| 2594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major $libname${shared_ext}' | 2769 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' |
| 2595 soname_spec='${libname}${release}${shared_ext}$major' | 2770 soname_spec='$libname$release$shared_ext$major' |
| 2596 ;; | 2771 ;; |
| 2597 esac | 2772 esac |
| 2598 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | 2773 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 2599 postinstall_cmds='chmod 555 $lib' | 2774 postinstall_cmds='chmod 555 $lib' |
| 2600 # or fails outright, so override atomically: | 2775 # or fails outright, so override atomically: |
| 2601 install_override_mode=555 | 2776 install_override_mode=555 |
| 2602 ;; | 2777 ;; |
| 2603 | 2778 |
| 2604 interix[[3-9]]*) | 2779 interix[[3-9]]*) |
| 2605 version_type=linux # correct to gnu/linux during the next big refactor | 2780 version_type=linux # correct to gnu/linux during the next big refactor |
| 2606 need_lib_prefix=no | 2781 need_lib_prefix=no |
| 2607 need_version=no | 2782 need_version=no |
| 2608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' | 2783 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2609 soname_spec='${libname}${release}${shared_ext}$major' | 2784 soname_spec='$libname$release$shared_ext$major' |
| 2610 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | 2785 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
| 2611 shlibpath_var=LD_LIBRARY_PATH | 2786 shlibpath_var=LD_LIBRARY_PATH |
| 2612 shlibpath_overrides_runpath=no | 2787 shlibpath_overrides_runpath=no |
| 2613 hardcode_into_libs=yes | 2788 hardcode_into_libs=yes |
| 2614 ;; | 2789 ;; |
| 2615 | 2790 |
| 2616 irix5* | irix6* | nonstopux*) | 2791 irix5* | irix6* | nonstopux*) |
| 2617 case $host_os in | 2792 case $host_os in |
| 2618 nonstopux*) version_type=nonstopux ;; | 2793 nonstopux*) version_type=nonstopux ;; |
| 2619 *) | 2794 *) |
| 2620 » if test "$lt_cv_prog_gnu_ld" = yes; then | 2795 » if test yes = "$lt_cv_prog_gnu_ld"; then |
| 2621 version_type=linux # correct to gnu/linux during the next big re
factor | 2796 version_type=linux # correct to gnu/linux during the next big re
factor |
| 2622 else | 2797 else |
| 2623 version_type=irix | 2798 version_type=irix |
| 2624 fi ;; | 2799 fi ;; |
| 2625 esac | 2800 esac |
| 2626 need_lib_prefix=no | 2801 need_lib_prefix=no |
| 2627 need_version=no | 2802 need_version=no |
| 2628 soname_spec='${libname}${release}${shared_ext}$major' | 2803 soname_spec='$libname$release$shared_ext$major' |
| 2629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext
}' | 2804 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$release$shared_ext $libname$shared_ext' |
| 2630 case $host_os in | 2805 case $host_os in |
| 2631 irix5* | nonstopux*) | 2806 irix5* | nonstopux*) |
| 2632 libsuff= shlibsuff= | 2807 libsuff= shlibsuff= |
| 2633 ;; | 2808 ;; |
| 2634 *) | 2809 *) |
| 2635 case $LD in # libtool.m4 will add one of these switches to LD | 2810 case $LD in # libtool.m4 will add one of these switches to LD |
| 2636 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 2811 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
| 2637 libsuff= shlibsuff= libmagic=32-bit;; | 2812 libsuff= shlibsuff= libmagic=32-bit;; |
| 2638 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 2813 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
| 2639 libsuff=32 shlibsuff=N32 libmagic=N32;; | 2814 libsuff=32 shlibsuff=N32 libmagic=N32;; |
| 2640 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 2815 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
| 2641 libsuff=64 shlibsuff=64 libmagic=64-bit;; | 2816 libsuff=64 shlibsuff=64 libmagic=64-bit;; |
| 2642 *) libsuff= shlibsuff= libmagic=never-match;; | 2817 *) libsuff= shlibsuff= libmagic=never-match;; |
| 2643 esac | 2818 esac |
| 2644 ;; | 2819 ;; |
| 2645 esac | 2820 esac |
| 2646 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 2821 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| 2647 shlibpath_overrides_runpath=no | 2822 shlibpath_overrides_runpath=no |
| 2648 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${li
bsuff}" | 2823 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff
" |
| 2649 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 2824 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" |
| 2650 hardcode_into_libs=yes | 2825 hardcode_into_libs=yes |
| 2651 ;; | 2826 ;; |
| 2652 | 2827 |
| 2653 # No shared lib support for Linux oldld, aout, or coff. | 2828 # No shared lib support for Linux oldld, aout, or coff. |
| 2654 linux*oldld* | linux*aout* | linux*coff*) | 2829 linux*oldld* | linux*aout* | linux*coff*) |
| 2655 dynamic_linker=no | 2830 dynamic_linker=no |
| 2656 ;; | 2831 ;; |
| 2657 | 2832 |
| 2833 linux*android*) |
| 2834 version_type=none # Android doesn't support versioned libraries. |
| 2835 need_lib_prefix=no |
| 2836 need_version=no |
| 2837 library_names_spec='$libname$release$shared_ext' |
| 2838 soname_spec='$libname$release$shared_ext' |
| 2839 finish_cmds= |
| 2840 shlibpath_var=LD_LIBRARY_PATH |
| 2841 shlibpath_overrides_runpath=yes |
| 2842 |
| 2843 # This implies no fast_install, which is unacceptable. |
| 2844 # Some rework will be needed to allow for fast_install |
| 2845 # before this can be enabled. |
| 2846 hardcode_into_libs=yes |
| 2847 |
| 2848 dynamic_linker='Android linker' |
| 2849 # Don't embed -rpath directories since the linker doesn't support them. |
| 2850 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 2851 ;; |
| 2852 |
| 2658 # This must be glibc/ELF. | 2853 # This must be glibc/ELF. |
| 2659 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 2854 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 2660 version_type=linux # correct to gnu/linux during the next big refactor | 2855 version_type=linux # correct to gnu/linux during the next big refactor |
| 2661 need_lib_prefix=no | 2856 need_lib_prefix=no |
| 2662 need_version=no | 2857 need_version=no |
| 2663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 2858 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2664 soname_spec='${libname}${release}${shared_ext}$major' | 2859 soname_spec='$libname$release$shared_ext$major' |
| 2665 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 2860 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 2666 shlibpath_var=LD_LIBRARY_PATH | 2861 shlibpath_var=LD_LIBRARY_PATH |
| 2667 shlibpath_overrides_runpath=no | 2862 shlibpath_overrides_runpath=no |
| 2668 | 2863 |
| 2669 # Some binutils ld are patched to set DT_RUNPATH | 2864 # Some binutils ld are patched to set DT_RUNPATH |
| 2670 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], | 2865 AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], |
| 2671 [lt_cv_shlibpath_overrides_runpath=no | 2866 [lt_cv_shlibpath_overrides_runpath=no |
| 2672 save_LDFLAGS=$LDFLAGS | 2867 save_LDFLAGS=$LDFLAGS |
| 2673 save_libdir=$libdir | 2868 save_libdir=$libdir |
| 2674 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ | 2869 eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ |
| 2675 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" | 2870 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" |
| 2676 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], | 2871 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
| 2677 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$li
bdir" >/dev/null], | 2872 [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$li
bdir" >/dev/null], |
| 2678 [lt_cv_shlibpath_overrides_runpath=yes])]) | 2873 [lt_cv_shlibpath_overrides_runpath=yes])]) |
| 2679 LDFLAGS=$save_LDFLAGS | 2874 LDFLAGS=$save_LDFLAGS |
| 2680 libdir=$save_libdir | 2875 libdir=$save_libdir |
| 2681 ]) | 2876 ]) |
| 2682 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 2877 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 2683 | 2878 |
| 2684 # This implies no fast_install, which is unacceptable. | 2879 # This implies no fast_install, which is unacceptable. |
| 2685 # Some rework will be needed to allow for fast_install | 2880 # Some rework will be needed to allow for fast_install |
| 2686 # before this can be enabled. | 2881 # before this can be enabled. |
| 2687 hardcode_into_libs=yes | 2882 hardcode_into_libs=yes |
| 2688 | 2883 |
| 2689 # Append ld.so.conf contents to the search path | 2884 # Ideally, we could use ldconfig to report *all* directores which are |
| 2885 # searched for libraries, however this is still not possible. Aside from not |
| 2886 # being certain /sbin/ldconfig is available, command |
| 2887 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, |
| 2888 # even though it is searched at run-time. Try to do the best guess by |
| 2889 # appending ld.so.conf contents (and includes) to the search path. |
| 2690 if test -f /etc/ld.so.conf; then | 2890 if test -f /etc/ld.so.conf; then |
| 2691 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' ' '` | 2891 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' ' '` |
| 2692 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | 2892 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 2693 fi | 2893 fi |
| 2694 | 2894 |
| 2695 # We used to test for /lib/ld.so.1 and disable shared libraries on | 2895 # We used to test for /lib/ld.so.1 and disable shared libraries on |
| 2696 # powerpc, because MkLinux only supported shared libraries with the | 2896 # powerpc, because MkLinux only supported shared libraries with the |
| 2697 # GNU dynamic linker. Since this was broken with cross compilers, | 2897 # GNU dynamic linker. Since this was broken with cross compilers, |
| 2698 # most powerpc-linux boxes support dynamic linking these days and | 2898 # most powerpc-linux boxes support dynamic linking these days and |
| 2699 # people can always --disable-shared, the test was removed, and we | 2899 # people can always --disable-shared, the test was removed, and we |
| 2700 # assume the GNU/Linux dynamic linker is in use. | 2900 # assume the GNU/Linux dynamic linker is in use. |
| 2701 dynamic_linker='GNU/Linux ld.so' | 2901 dynamic_linker='GNU/Linux ld.so' |
| 2702 ;; | 2902 ;; |
| 2703 | 2903 |
| 2704 netbsdelf*-gnu) | |
| 2705 version_type=linux | |
| 2706 need_lib_prefix=no | |
| 2707 need_version=no | |
| 2708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major ${libname}${shared_ext}' | |
| 2709 soname_spec='${libname}${release}${shared_ext}$major' | |
| 2710 shlibpath_var=LD_LIBRARY_PATH | |
| 2711 shlibpath_overrides_runpath=no | |
| 2712 hardcode_into_libs=yes | |
| 2713 dynamic_linker='NetBSD ld.elf_so' | |
| 2714 ;; | |
| 2715 | |
| 2716 netbsd*) | 2904 netbsd*) |
| 2717 version_type=sunos | 2905 version_type=sunos |
| 2718 need_lib_prefix=no | 2906 need_lib_prefix=no |
| 2719 need_version=no | 2907 need_version=no |
| 2720 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 2908 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 2721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
shared_ext}$versuffix' | 2909 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ex
t$versuffix' |
| 2722 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 2910 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 2723 dynamic_linker='NetBSD (a.out) ld.so' | 2911 dynamic_linker='NetBSD (a.out) ld.so' |
| 2724 else | 2912 else |
| 2725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${
release}${shared_ext}$major ${libname}${shared_ext}' | 2913 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s
hared_ext$major $libname$shared_ext' |
| 2726 soname_spec='${libname}${release}${shared_ext}$major' | 2914 soname_spec='$libname$release$shared_ext$major' |
| 2727 dynamic_linker='NetBSD ld.elf_so' | 2915 dynamic_linker='NetBSD ld.elf_so' |
| 2728 fi | 2916 fi |
| 2729 shlibpath_var=LD_LIBRARY_PATH | 2917 shlibpath_var=LD_LIBRARY_PATH |
| 2730 shlibpath_overrides_runpath=yes | 2918 shlibpath_overrides_runpath=yes |
| 2731 hardcode_into_libs=yes | 2919 hardcode_into_libs=yes |
| 2732 ;; | 2920 ;; |
| 2733 | 2921 |
| 2734 newsos6) | 2922 newsos6) |
| 2735 version_type=linux # correct to gnu/linux during the next big refactor | 2923 version_type=linux # correct to gnu/linux during the next big refactor |
| 2736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 2924 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2737 shlibpath_var=LD_LIBRARY_PATH | 2925 shlibpath_var=LD_LIBRARY_PATH |
| 2738 shlibpath_overrides_runpath=yes | 2926 shlibpath_overrides_runpath=yes |
| 2739 ;; | 2927 ;; |
| 2740 | 2928 |
| 2741 *nto* | *qnx*) | 2929 *nto* | *qnx*) |
| 2742 version_type=qnx | 2930 version_type=qnx |
| 2743 need_lib_prefix=no | 2931 need_lib_prefix=no |
| 2744 need_version=no | 2932 need_version=no |
| 2745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 2933 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2746 soname_spec='${libname}${release}${shared_ext}$major' | 2934 soname_spec='$libname$release$shared_ext$major' |
| 2747 shlibpath_var=LD_LIBRARY_PATH | 2935 shlibpath_var=LD_LIBRARY_PATH |
| 2748 shlibpath_overrides_runpath=no | 2936 shlibpath_overrides_runpath=no |
| 2749 hardcode_into_libs=yes | 2937 hardcode_into_libs=yes |
| 2750 dynamic_linker='ldqnx.so' | 2938 dynamic_linker='ldqnx.so' |
| 2751 ;; | 2939 ;; |
| 2752 | 2940 |
| 2753 openbsd*) | 2941 openbsd* | bitrig*) |
| 2754 version_type=sunos | 2942 version_type=sunos |
| 2755 sys_lib_dlsearch_path_spec="/usr/lib" | 2943 sys_lib_dlsearch_path_spec=/usr/lib |
| 2756 need_lib_prefix=no | 2944 need_lib_prefix=no |
| 2757 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | 2945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 2758 case $host_os in | 2946 need_version=no |
| 2759 openbsd3.3 | openbsd3.3.*)» need_version=yes ;; | 2947 else |
| 2760 *)» » » » need_version=no ;; | 2948 need_version=yes |
| 2761 esac | 2949 fi |
| 2762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' | 2950 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$
versuffix' |
| 2763 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 2951 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
| 2764 shlibpath_var=LD_LIBRARY_PATH | 2952 shlibpath_var=LD_LIBRARY_PATH |
| 2765 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then | 2953 shlibpath_overrides_runpath=yes |
| 2766 case $host_os in | |
| 2767 openbsd2.[[89]] | openbsd2.[[89]].*) | |
| 2768 » shlibpath_overrides_runpath=no | |
| 2769 » ;; | |
| 2770 *) | |
| 2771 » shlibpath_overrides_runpath=yes | |
| 2772 » ;; | |
| 2773 esac | |
| 2774 else | |
| 2775 shlibpath_overrides_runpath=yes | |
| 2776 fi | |
| 2777 ;; | 2954 ;; |
| 2778 | 2955 |
| 2779 os2*) | 2956 os2*) |
| 2780 libname_spec='$name' | 2957 libname_spec='$name' |
| 2781 shrext_cmds=".dll" | 2958 version_type=windows |
| 2959 shrext_cmds=.dll |
| 2960 need_version=no |
| 2782 need_lib_prefix=no | 2961 need_lib_prefix=no |
| 2783 library_names_spec='$libname${shared_ext} $libname.a' | 2962 # OS/2 can only load a DLL with a base name of 8 characters or less. |
| 2963 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; |
| 2964 v=$($ECHO $release$versuffix | tr -d .-); |
| 2965 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); |
| 2966 $ECHO $n$v`$shared_ext' |
| 2967 library_names_spec='${libname}_dll.$libext' |
| 2784 dynamic_linker='OS/2 ld.exe' | 2968 dynamic_linker='OS/2 ld.exe' |
| 2785 shlibpath_var=LIBPATH | 2969 shlibpath_var=BEGINLIBPATH |
| 2970 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 2971 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 2972 postinstall_cmds='base_file=`basename \$file`~ |
| 2973 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ |
| 2974 dldir=$destdir/`dirname \$dlpath`~ |
| 2975 test -d \$dldir || mkdir -p \$dldir~ |
| 2976 $install_prog $dir/$dlname \$dldir/$dlname~ |
| 2977 chmod a+x \$dldir/$dlname~ |
| 2978 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
| 2979 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
| 2980 fi' |
| 2981 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
| 2982 dlpath=$dir/\$dldll~ |
| 2983 $RM \$dlpath' |
| 2786 ;; | 2984 ;; |
| 2787 | 2985 |
| 2788 osf3* | osf4* | osf5*) | 2986 osf3* | osf4* | osf5*) |
| 2789 version_type=osf | 2987 version_type=osf |
| 2790 need_lib_prefix=no | 2988 need_lib_prefix=no |
| 2791 need_version=no | 2989 need_version=no |
| 2792 soname_spec='${libname}${release}${shared_ext}$major' | 2990 soname_spec='$libname$release$shared_ext$major' |
| 2793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 2991 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2794 shlibpath_var=LD_LIBRARY_PATH | 2992 shlibpath_var=LD_LIBRARY_PATH |
| 2795 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" | 2993 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib
/usr/local/lib /var/shlib" |
| 2796 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 2994 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
| 2797 ;; | 2995 ;; |
| 2798 | 2996 |
| 2799 rdos*) | 2997 rdos*) |
| 2800 dynamic_linker=no | 2998 dynamic_linker=no |
| 2801 ;; | 2999 ;; |
| 2802 | 3000 |
| 2803 solaris*) | 3001 solaris*) |
| 2804 version_type=linux # correct to gnu/linux during the next big refactor | 3002 version_type=linux # correct to gnu/linux during the next big refactor |
| 2805 need_lib_prefix=no | 3003 need_lib_prefix=no |
| 2806 need_version=no | 3004 need_version=no |
| 2807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 3005 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2808 soname_spec='${libname}${release}${shared_ext}$major' | 3006 soname_spec='$libname$release$shared_ext$major' |
| 2809 shlibpath_var=LD_LIBRARY_PATH | 3007 shlibpath_var=LD_LIBRARY_PATH |
| 2810 shlibpath_overrides_runpath=yes | 3008 shlibpath_overrides_runpath=yes |
| 2811 hardcode_into_libs=yes | 3009 hardcode_into_libs=yes |
| 2812 # ldd complains unless libraries are executable | 3010 # ldd complains unless libraries are executable |
| 2813 postinstall_cmds='chmod +x $lib' | 3011 postinstall_cmds='chmod +x $lib' |
| 2814 ;; | 3012 ;; |
| 2815 | 3013 |
| 2816 sunos4*) | 3014 sunos4*) |
| 2817 version_type=sunos | 3015 version_type=sunos |
| 2818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${sh
ared_ext}$versuffix' | 3016 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$
versuffix' |
| 2819 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 3017 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
| 2820 shlibpath_var=LD_LIBRARY_PATH | 3018 shlibpath_var=LD_LIBRARY_PATH |
| 2821 shlibpath_overrides_runpath=yes | 3019 shlibpath_overrides_runpath=yes |
| 2822 if test "$with_gnu_ld" = yes; then | 3020 if test yes = "$with_gnu_ld"; then |
| 2823 need_lib_prefix=no | 3021 need_lib_prefix=no |
| 2824 fi | 3022 fi |
| 2825 need_version=yes | 3023 need_version=yes |
| 2826 ;; | 3024 ;; |
| 2827 | 3025 |
| 2828 sysv4 | sysv4.3*) | 3026 sysv4 | sysv4.3*) |
| 2829 version_type=linux # correct to gnu/linux during the next big refactor | 3027 version_type=linux # correct to gnu/linux during the next big refactor |
| 2830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 3028 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2831 soname_spec='${libname}${release}${shared_ext}$major' | 3029 soname_spec='$libname$release$shared_ext$major' |
| 2832 shlibpath_var=LD_LIBRARY_PATH | 3030 shlibpath_var=LD_LIBRARY_PATH |
| 2833 case $host_vendor in | 3031 case $host_vendor in |
| 2834 sni) | 3032 sni) |
| 2835 shlibpath_overrides_runpath=no | 3033 shlibpath_overrides_runpath=no |
| 2836 need_lib_prefix=no | 3034 need_lib_prefix=no |
| 2837 runpath_var=LD_RUN_PATH | 3035 runpath_var=LD_RUN_PATH |
| 2838 ;; | 3036 ;; |
| 2839 siemens) | 3037 siemens) |
| 2840 need_lib_prefix=no | 3038 need_lib_prefix=no |
| 2841 ;; | 3039 ;; |
| 2842 motorola) | 3040 motorola) |
| 2843 need_lib_prefix=no | 3041 need_lib_prefix=no |
| 2844 need_version=no | 3042 need_version=no |
| 2845 shlibpath_overrides_runpath=no | 3043 shlibpath_overrides_runpath=no |
| 2846 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 3044 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
| 2847 ;; | 3045 ;; |
| 2848 esac | 3046 esac |
| 2849 ;; | 3047 ;; |
| 2850 | 3048 |
| 2851 sysv4*MP*) | 3049 sysv4*MP*) |
| 2852 if test -d /usr/nec ;then | 3050 if test -d /usr/nec; then |
| 2853 version_type=linux # correct to gnu/linux during the next big refactor | 3051 version_type=linux # correct to gnu/linux during the next big refactor |
| 2854 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$
major $libname${shared_ext}' | 3052 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$majo
r $libname$shared_ext' |
| 2855 soname_spec='$libname${shared_ext}.$major' | 3053 soname_spec='$libname$shared_ext.$major' |
| 2856 shlibpath_var=LD_LIBRARY_PATH | 3054 shlibpath_var=LD_LIBRARY_PATH |
| 2857 fi | 3055 fi |
| 2858 ;; | 3056 ;; |
| 2859 | 3057 |
| 2860 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 3058 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| 2861 version_type=freebsd-elf | 3059 version_type=sco |
| 2862 need_lib_prefix=no | 3060 need_lib_prefix=no |
| 2863 need_version=no | 3061 need_version=no |
| 2864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext} $libname${shared_ext}' | 3062 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext $libname$shared_ext' |
| 2865 soname_spec='${libname}${release}${shared_ext}$major' | 3063 soname_spec='$libname$release$shared_ext$major' |
| 2866 shlibpath_var=LD_LIBRARY_PATH | 3064 shlibpath_var=LD_LIBRARY_PATH |
| 2867 shlibpath_overrides_runpath=yes | 3065 shlibpath_overrides_runpath=yes |
| 2868 hardcode_into_libs=yes | 3066 hardcode_into_libs=yes |
| 2869 if test "$with_gnu_ld" = yes; then | 3067 if test yes = "$with_gnu_ld"; then |
| 2870 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' | 3068 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib
/lib' |
| 2871 else | 3069 else |
| 2872 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | 3070 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
| 2873 case $host_os in | 3071 case $host_os in |
| 2874 sco3.2v5*) | 3072 sco3.2v5*) |
| 2875 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | 3073 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
| 2876 ;; | 3074 ;; |
| 2877 esac | 3075 esac |
| 2878 fi | 3076 fi |
| 2879 sys_lib_dlsearch_path_spec='/usr/lib' | 3077 sys_lib_dlsearch_path_spec='/usr/lib' |
| 2880 ;; | 3078 ;; |
| 2881 | 3079 |
| 2882 tpf*) | 3080 tpf*) |
| 2883 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | 3081 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
| 2884 version_type=linux # correct to gnu/linux during the next big refactor | 3082 version_type=linux # correct to gnu/linux during the next big refactor |
| 2885 need_lib_prefix=no | 3083 need_lib_prefix=no |
| 2886 need_version=no | 3084 need_version=no |
| 2887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 3085 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2888 shlibpath_var=LD_LIBRARY_PATH | 3086 shlibpath_var=LD_LIBRARY_PATH |
| 2889 shlibpath_overrides_runpath=no | 3087 shlibpath_overrides_runpath=no |
| 2890 hardcode_into_libs=yes | 3088 hardcode_into_libs=yes |
| 2891 ;; | 3089 ;; |
| 2892 | 3090 |
| 2893 uts4*) | 3091 uts4*) |
| 2894 version_type=linux # correct to gnu/linux during the next big refactor | 3092 version_type=linux # correct to gnu/linux during the next big refactor |
| 2895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${re
lease}${shared_ext}$major $libname${shared_ext}' | 3093 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$sha
red_ext$major $libname$shared_ext' |
| 2896 soname_spec='${libname}${release}${shared_ext}$major' | 3094 soname_spec='$libname$release$shared_ext$major' |
| 2897 shlibpath_var=LD_LIBRARY_PATH | 3095 shlibpath_var=LD_LIBRARY_PATH |
| 2898 ;; | 3096 ;; |
| 2899 | 3097 |
| 2900 *) | 3098 *) |
| 2901 dynamic_linker=no | 3099 dynamic_linker=no |
| 2902 ;; | 3100 ;; |
| 2903 esac | 3101 esac |
| 2904 AC_MSG_RESULT([$dynamic_linker]) | 3102 AC_MSG_RESULT([$dynamic_linker]) |
| 2905 test "$dynamic_linker" = no && can_build_shared=no | 3103 test no = "$dynamic_linker" && can_build_shared=no |
| 2906 | 3104 |
| 2907 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 3105 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
| 2908 if test "$GCC" = yes; then | 3106 if test yes = "$GCC"; then |
| 2909 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" | 3107 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" |
| 2910 fi | 3108 fi |
| 2911 | 3109 |
| 2912 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | 3110 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then |
| 2913 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | 3111 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec |
| 2914 fi | 3112 fi |
| 2915 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | 3113 |
| 2916 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | 3114 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then |
| 3115 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec |
| 2917 fi | 3116 fi |
| 2918 | 3117 |
| 3118 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... |
| 3119 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec |
| 3120 |
| 3121 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code |
| 3122 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" |
| 3123 |
| 3124 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool |
| 3125 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH |
| 3126 |
| 2919 _LT_DECL([], [variables_saved_for_relink], [1], | 3127 _LT_DECL([], [variables_saved_for_relink], [1], |
| 2920 [Variables whose values should be saved in libtool wrapper scripts and | 3128 [Variables whose values should be saved in libtool wrapper scripts and |
| 2921 restored at link time]) | 3129 restored at link time]) |
| 2922 _LT_DECL([], [need_lib_prefix], [0], | 3130 _LT_DECL([], [need_lib_prefix], [0], |
| 2923 [Do we need the "lib" prefix for modules?]) | 3131 [Do we need the "lib" prefix for modules?]) |
| 2924 _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) | 3132 _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) |
| 2925 _LT_DECL([], [version_type], [0], [Library versioning type]) | 3133 _LT_DECL([], [version_type], [0], [Library versioning type]) |
| 2926 _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) | 3134 _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) |
| 2927 _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) | 3135 _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) |
| 2928 _LT_DECL([], [shlibpath_overrides_runpath], [0], | 3136 _LT_DECL([], [shlibpath_overrides_runpath], [0], |
| (...skipping 12 matching lines...) Expand all Loading... |
| 2941 [Command to use after uninstallation of a shared archive]) | 3149 [Command to use after uninstallation of a shared archive]) |
| 2942 _LT_DECL([], [finish_cmds], [2], | 3150 _LT_DECL([], [finish_cmds], [2], |
| 2943 [Commands used to finish a libtool library installation in a directory]) | 3151 [Commands used to finish a libtool library installation in a directory]) |
| 2944 _LT_DECL([], [finish_eval], [1], | 3152 _LT_DECL([], [finish_eval], [1], |
| 2945 [[As "finish_cmds", except a single script fragment to be evaled but | 3153 [[As "finish_cmds", except a single script fragment to be evaled but |
| 2946 not shown]]) | 3154 not shown]]) |
| 2947 _LT_DECL([], [hardcode_into_libs], [0], | 3155 _LT_DECL([], [hardcode_into_libs], [0], |
| 2948 [Whether we should hardcode library paths into libraries]) | 3156 [Whether we should hardcode library paths into libraries]) |
| 2949 _LT_DECL([], [sys_lib_search_path_spec], [2], | 3157 _LT_DECL([], [sys_lib_search_path_spec], [2], |
| 2950 [Compile-time system search path for libraries]) | 3158 [Compile-time system search path for libraries]) |
| 2951 _LT_DECL([], [sys_lib_dlsearch_path_spec], [2], | 3159 _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], |
| 2952 [Run-time system search path for libraries]) | 3160 [Detected run-time system search path for libraries]) |
| 3161 _LT_DECL([], [configure_time_lt_sys_library_path], [2], |
| 3162 [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) |
| 2953 ])# _LT_SYS_DYNAMIC_LINKER | 3163 ])# _LT_SYS_DYNAMIC_LINKER |
| 2954 | 3164 |
| 2955 | 3165 |
| 2956 # _LT_PATH_TOOL_PREFIX(TOOL) | 3166 # _LT_PATH_TOOL_PREFIX(TOOL) |
| 2957 # -------------------------- | 3167 # -------------------------- |
| 2958 # find a file program which can recognize shared library | 3168 # find a file program that can recognize shared library |
| 2959 AC_DEFUN([_LT_PATH_TOOL_PREFIX], | 3169 AC_DEFUN([_LT_PATH_TOOL_PREFIX], |
| 2960 [m4_require([_LT_DECL_EGREP])dnl | 3170 [m4_require([_LT_DECL_EGREP])dnl |
| 2961 AC_MSG_CHECKING([for $1]) | 3171 AC_MSG_CHECKING([for $1]) |
| 2962 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, | 3172 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, |
| 2963 [case $MAGIC_CMD in | 3173 [case $MAGIC_CMD in |
| 2964 [[\\/*] | ?:[\\/]*]) | 3174 [[\\/*] | ?:[\\/]*]) |
| 2965 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path
. | 3175 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. |
| 2966 ;; | 3176 ;; |
| 2967 *) | 3177 *) |
| 2968 lt_save_MAGIC_CMD="$MAGIC_CMD" | 3178 lt_save_MAGIC_CMD=$MAGIC_CMD |
| 2969 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 3179 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 2970 dnl $ac_dummy forces splitting on constant user-supplied paths. | 3180 dnl $ac_dummy forces splitting on constant user-supplied paths. |
| 2971 dnl POSIX.2 word splitting is done only on the output of word expansions, | 3181 dnl POSIX.2 word splitting is done only on the output of word expansions, |
| 2972 dnl not every word. This closes a longstanding sh security hole. | 3182 dnl not every word. This closes a longstanding sh security hole. |
| 2973 ac_dummy="m4_if([$2], , $PATH, [$2])" | 3183 ac_dummy="m4_if([$2], , $PATH, [$2])" |
| 2974 for ac_dir in $ac_dummy; do | 3184 for ac_dir in $ac_dummy; do |
| 2975 IFS="$lt_save_ifs" | 3185 IFS=$lt_save_ifs |
| 2976 test -z "$ac_dir" && ac_dir=. | 3186 test -z "$ac_dir" && ac_dir=. |
| 2977 if test -f $ac_dir/$1; then | 3187 if test -f "$ac_dir/$1"; then |
| 2978 lt_cv_path_MAGIC_CMD="$ac_dir/$1" | 3188 lt_cv_path_MAGIC_CMD=$ac_dir/"$1" |
| 2979 if test -n "$file_magic_test_file"; then | 3189 if test -n "$file_magic_test_file"; then |
| 2980 case $deplibs_check_method in | 3190 case $deplibs_check_method in |
| 2981 "file_magic "*) | 3191 "file_magic "*) |
| 2982 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 3192 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
| 2983 » MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 3193 » MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 2984 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 3194 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
| 2985 $EGREP "$file_magic_regex" > /dev/null; then | 3195 $EGREP "$file_magic_regex" > /dev/null; then |
| 2986 : | 3196 : |
| 2987 else | 3197 else |
| 2988 cat <<_LT_EOF 1>&2 | 3198 cat <<_LT_EOF 1>&2 |
| 2989 | 3199 |
| 2990 *** Warning: the command libtool uses to detect shared libraries, | 3200 *** Warning: the command libtool uses to detect shared libraries, |
| 2991 *** $file_magic_cmd, produces output that libtool cannot recognize. | 3201 *** $file_magic_cmd, produces output that libtool cannot recognize. |
| 2992 *** The result is that libtool may fail to recognize shared libraries | 3202 *** The result is that libtool may fail to recognize shared libraries |
| 2993 *** as such. This will affect the creation of libtool libraries that | 3203 *** as such. This will affect the creation of libtool libraries that |
| 2994 *** depend on shared libraries, but programs linked with such libtool | 3204 *** depend on shared libraries, but programs linked with such libtool |
| 2995 *** libraries will work regardless of this problem. Nevertheless, you | 3205 *** libraries will work regardless of this problem. Nevertheless, you |
| 2996 *** may want to report the problem to your system manager and/or to | 3206 *** may want to report the problem to your system manager and/or to |
| 2997 *** bug-libtool@gnu.org | 3207 *** bug-libtool@gnu.org |
| 2998 | 3208 |
| 2999 _LT_EOF | 3209 _LT_EOF |
| 3000 fi ;; | 3210 fi ;; |
| 3001 esac | 3211 esac |
| 3002 fi | 3212 fi |
| 3003 break | 3213 break |
| 3004 fi | 3214 fi |
| 3005 done | 3215 done |
| 3006 IFS="$lt_save_ifs" | 3216 IFS=$lt_save_ifs |
| 3007 MAGIC_CMD="$lt_save_MAGIC_CMD" | 3217 MAGIC_CMD=$lt_save_MAGIC_CMD |
| 3008 ;; | 3218 ;; |
| 3009 esac]) | 3219 esac]) |
| 3010 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 3220 MAGIC_CMD=$lt_cv_path_MAGIC_CMD |
| 3011 if test -n "$MAGIC_CMD"; then | 3221 if test -n "$MAGIC_CMD"; then |
| 3012 AC_MSG_RESULT($MAGIC_CMD) | 3222 AC_MSG_RESULT($MAGIC_CMD) |
| 3013 else | 3223 else |
| 3014 AC_MSG_RESULT(no) | 3224 AC_MSG_RESULT(no) |
| 3015 fi | 3225 fi |
| 3016 _LT_DECL([], [MAGIC_CMD], [0], | 3226 _LT_DECL([], [MAGIC_CMD], [0], |
| 3017 [Used to examine libraries when file_magic_cmd begins with "file"])dnl | 3227 [Used to examine libraries when file_magic_cmd begins with "file"])dnl |
| 3018 ])# _LT_PATH_TOOL_PREFIX | 3228 ])# _LT_PATH_TOOL_PREFIX |
| 3019 | 3229 |
| 3020 # Old name: | 3230 # Old name: |
| 3021 AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) | 3231 AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) |
| 3022 dnl aclocal-1.4 backwards compatibility: | 3232 dnl aclocal-1.4 backwards compatibility: |
| 3023 dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) | 3233 dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) |
| 3024 | 3234 |
| 3025 | 3235 |
| 3026 # _LT_PATH_MAGIC | 3236 # _LT_PATH_MAGIC |
| 3027 # -------------- | 3237 # -------------- |
| 3028 # find a file program which can recognize a shared library | 3238 # find a file program that can recognize a shared library |
| 3029 m4_defun([_LT_PATH_MAGIC], | 3239 m4_defun([_LT_PATH_MAGIC], |
| 3030 [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) | 3240 [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) |
| 3031 if test -z "$lt_cv_path_MAGIC_CMD"; then | 3241 if test -z "$lt_cv_path_MAGIC_CMD"; then |
| 3032 if test -n "$ac_tool_prefix"; then | 3242 if test -n "$ac_tool_prefix"; then |
| 3033 _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) | 3243 _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) |
| 3034 else | 3244 else |
| 3035 MAGIC_CMD=: | 3245 MAGIC_CMD=: |
| 3036 fi | 3246 fi |
| 3037 fi | 3247 fi |
| 3038 ])# _LT_PATH_MAGIC | 3248 ])# _LT_PATH_MAGIC |
| 3039 | 3249 |
| 3040 | 3250 |
| 3041 # LT_PATH_LD | 3251 # LT_PATH_LD |
| 3042 # ---------- | 3252 # ---------- |
| 3043 # find the pathname to the GNU or non-GNU linker | 3253 # find the pathname to the GNU or non-GNU linker |
| 3044 AC_DEFUN([LT_PATH_LD], | 3254 AC_DEFUN([LT_PATH_LD], |
| 3045 [AC_REQUIRE([AC_PROG_CC])dnl | 3255 [AC_REQUIRE([AC_PROG_CC])dnl |
| 3046 AC_REQUIRE([AC_CANONICAL_HOST])dnl | 3256 AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 3047 AC_REQUIRE([AC_CANONICAL_BUILD])dnl | 3257 AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
| 3048 m4_require([_LT_DECL_SED])dnl | 3258 m4_require([_LT_DECL_SED])dnl |
| 3049 m4_require([_LT_DECL_EGREP])dnl | 3259 m4_require([_LT_DECL_EGREP])dnl |
| 3050 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl | 3260 m4_require([_LT_PROG_ECHO_BACKSLASH])dnl |
| 3051 | 3261 |
| 3052 AC_ARG_WITH([gnu-ld], | 3262 AC_ARG_WITH([gnu-ld], |
| 3053 [AS_HELP_STRING([--with-gnu-ld], | 3263 [AS_HELP_STRING([--with-gnu-ld], |
| 3054 [assume the C compiler uses GNU ld @<:@default=no@:>@])], | 3264 [assume the C compiler uses GNU ld @<:@default=no@:>@])], |
| 3055 [test "$withval" = no || with_gnu_ld=yes], | 3265 [test no = "$withval" || with_gnu_ld=yes], |
| 3056 [with_gnu_ld=no])dnl | 3266 [with_gnu_ld=no])dnl |
| 3057 | 3267 |
| 3058 ac_prog=ld | 3268 ac_prog=ld |
| 3059 if test "$GCC" = yes; then | 3269 if test yes = "$GCC"; then |
| 3060 # Check if gcc -print-prog-name=ld gives a path. | 3270 # Check if gcc -print-prog-name=ld gives a path. |
| 3061 AC_MSG_CHECKING([for ld used by $CC]) | 3271 AC_MSG_CHECKING([for ld used by $CC]) |
| 3062 case $host in | 3272 case $host in |
| 3063 *-*-mingw*) | 3273 *-*-mingw*) |
| 3064 # gcc leaves a trailing carriage return which upsets mingw | 3274 # gcc leaves a trailing carriage return, which upsets mingw |
| 3065 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 3275 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
| 3066 *) | 3276 *) |
| 3067 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 3277 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 3068 esac | 3278 esac |
| 3069 case $ac_prog in | 3279 case $ac_prog in |
| 3070 # Accept absolute paths. | 3280 # Accept absolute paths. |
| 3071 [[\\/]]* | ?:[[\\/]]*) | 3281 [[\\/]]* | ?:[[\\/]]*) |
| 3072 re_direlt='/[[^/]][[^/]]*/\.\./' | 3282 re_direlt='/[[^/]][[^/]]*/\.\./' |
| 3073 # Canonicalize the pathname of ld | 3283 # Canonicalize the pathname of ld |
| 3074 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | 3284 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
| 3075 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | 3285 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
| 3076 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | 3286 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
| 3077 done | 3287 done |
| 3078 test -z "$LD" && LD="$ac_prog" | 3288 test -z "$LD" && LD=$ac_prog |
| 3079 ;; | 3289 ;; |
| 3080 "") | 3290 "") |
| 3081 # If it fails, then pretend we aren't using GCC. | 3291 # If it fails, then pretend we aren't using GCC. |
| 3082 ac_prog=ld | 3292 ac_prog=ld |
| 3083 ;; | 3293 ;; |
| 3084 *) | 3294 *) |
| 3085 # If it is relative, then search for the first ld in PATH. | 3295 # If it is relative, then search for the first ld in PATH. |
| 3086 with_gnu_ld=unknown | 3296 with_gnu_ld=unknown |
| 3087 ;; | 3297 ;; |
| 3088 esac | 3298 esac |
| 3089 elif test "$with_gnu_ld" = yes; then | 3299 elif test yes = "$with_gnu_ld"; then |
| 3090 AC_MSG_CHECKING([for GNU ld]) | 3300 AC_MSG_CHECKING([for GNU ld]) |
| 3091 else | 3301 else |
| 3092 AC_MSG_CHECKING([for non-GNU ld]) | 3302 AC_MSG_CHECKING([for non-GNU ld]) |
| 3093 fi | 3303 fi |
| 3094 AC_CACHE_VAL(lt_cv_path_LD, | 3304 AC_CACHE_VAL(lt_cv_path_LD, |
| 3095 [if test -z "$LD"; then | 3305 [if test -z "$LD"; then |
| 3096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 3306 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 3097 for ac_dir in $PATH; do | 3307 for ac_dir in $PATH; do |
| 3098 IFS="$lt_save_ifs" | 3308 IFS=$lt_save_ifs |
| 3099 test -z "$ac_dir" && ac_dir=. | 3309 test -z "$ac_dir" && ac_dir=. |
| 3100 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 3310 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 3101 lt_cv_path_LD="$ac_dir/$ac_prog" | 3311 lt_cv_path_LD=$ac_dir/$ac_prog |
| 3102 # Check to see if the program is GNU ld. I'd rather use --version, | 3312 # Check to see if the program is GNU ld. I'd rather use --version, |
| 3103 # but apparently some variants of GNU ld only accept -v. | 3313 # but apparently some variants of GNU ld only accept -v. |
| 3104 # Break only if it was the GNU/non-GNU ld that we prefer. | 3314 # Break only if it was the GNU/non-GNU ld that we prefer. |
| 3105 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 3315 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
| 3106 *GNU* | *'with BFD'*) | 3316 *GNU* | *'with BFD'*) |
| 3107 » test "$with_gnu_ld" != no && break | 3317 » test no != "$with_gnu_ld" && break |
| 3108 ;; | 3318 ;; |
| 3109 *) | 3319 *) |
| 3110 » test "$with_gnu_ld" != yes && break | 3320 » test yes != "$with_gnu_ld" && break |
| 3111 ;; | 3321 ;; |
| 3112 esac | 3322 esac |
| 3113 fi | 3323 fi |
| 3114 done | 3324 done |
| 3115 IFS="$lt_save_ifs" | 3325 IFS=$lt_save_ifs |
| 3116 else | 3326 else |
| 3117 lt_cv_path_LD="$LD" # Let the user override the test with a path. | 3327 lt_cv_path_LD=$LD # Let the user override the test with a path. |
| 3118 fi]) | 3328 fi]) |
| 3119 LD="$lt_cv_path_LD" | 3329 LD=$lt_cv_path_LD |
| 3120 if test -n "$LD"; then | 3330 if test -n "$LD"; then |
| 3121 AC_MSG_RESULT($LD) | 3331 AC_MSG_RESULT($LD) |
| 3122 else | 3332 else |
| 3123 AC_MSG_RESULT(no) | 3333 AC_MSG_RESULT(no) |
| 3124 fi | 3334 fi |
| 3125 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) | 3335 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) |
| 3126 _LT_PATH_LD_GNU | 3336 _LT_PATH_LD_GNU |
| 3127 AC_SUBST([LD]) | 3337 AC_SUBST([LD]) |
| 3128 | 3338 |
| 3129 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) | 3339 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3163 lt_cv_ld_reload_flag, | 3373 lt_cv_ld_reload_flag, |
| 3164 [lt_cv_ld_reload_flag='-r']) | 3374 [lt_cv_ld_reload_flag='-r']) |
| 3165 reload_flag=$lt_cv_ld_reload_flag | 3375 reload_flag=$lt_cv_ld_reload_flag |
| 3166 case $reload_flag in | 3376 case $reload_flag in |
| 3167 "" | " "*) ;; | 3377 "" | " "*) ;; |
| 3168 *) reload_flag=" $reload_flag" ;; | 3378 *) reload_flag=" $reload_flag" ;; |
| 3169 esac | 3379 esac |
| 3170 reload_cmds='$LD$reload_flag -o $output$reload_objs' | 3380 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 3171 case $host_os in | 3381 case $host_os in |
| 3172 cygwin* | mingw* | pw32* | cegcc*) | 3382 cygwin* | mingw* | pw32* | cegcc*) |
| 3173 if test "$GCC" != yes; then | 3383 if test yes != "$GCC"; then |
| 3174 reload_cmds=false | 3384 reload_cmds=false |
| 3175 fi | 3385 fi |
| 3176 ;; | 3386 ;; |
| 3177 darwin*) | 3387 darwin*) |
| 3178 if test "$GCC" = yes; then | 3388 if test yes = "$GCC"; then |
| 3179 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | 3389 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' |
| 3180 else | 3390 else |
| 3181 reload_cmds='$LD$reload_flag -o $output$reload_objs' | 3391 reload_cmds='$LD$reload_flag -o $output$reload_objs' |
| 3182 fi | 3392 fi |
| 3183 ;; | 3393 ;; |
| 3184 esac | 3394 esac |
| 3185 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl | 3395 _LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl |
| 3186 _LT_TAGDECL([], [reload_cmds], [2])dnl | 3396 _LT_TAGDECL([], [reload_cmds], [2])dnl |
| 3187 ])# _LT_CMD_RELOAD | 3397 ])# _LT_CMD_RELOAD |
| 3188 | 3398 |
| 3189 | 3399 |
| 3400 # _LT_PATH_DD |
| 3401 # ----------- |
| 3402 # find a working dd |
| 3403 m4_defun([_LT_PATH_DD], |
| 3404 [AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD], |
| 3405 [printf 0123456789abcdef0123456789abcdef >conftest.i |
| 3406 cat conftest.i conftest.i >conftest2.i |
| 3407 : ${lt_DD:=$DD} |
| 3408 AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], |
| 3409 [if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then |
| 3410 cmp -s conftest.i conftest.out \ |
| 3411 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: |
| 3412 fi]) |
| 3413 rm -f conftest.i conftest2.i conftest.out]) |
| 3414 ])# _LT_PATH_DD |
| 3415 |
| 3416 |
| 3417 # _LT_CMD_TRUNCATE |
| 3418 # ---------------- |
| 3419 # find command to truncate a binary pipe |
| 3420 m4_defun([_LT_CMD_TRUNCATE], |
| 3421 [m4_require([_LT_PATH_DD]) |
| 3422 AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], |
| 3423 [printf 0123456789abcdef0123456789abcdef >conftest.i |
| 3424 cat conftest.i conftest.i >conftest2.i |
| 3425 lt_cv_truncate_bin= |
| 3426 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; the
n |
| 3427 cmp -s conftest.i conftest.out \ |
| 3428 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" |
| 3429 fi |
| 3430 rm -f conftest.i conftest2.i conftest.out |
| 3431 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) |
| 3432 _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], |
| 3433 [Command to truncate a binary pipe]) |
| 3434 ])# _LT_CMD_TRUNCATE |
| 3435 |
| 3436 |
| 3190 # _LT_CHECK_MAGIC_METHOD | 3437 # _LT_CHECK_MAGIC_METHOD |
| 3191 # ---------------------- | 3438 # ---------------------- |
| 3192 # how to check for library dependencies | 3439 # how to check for library dependencies |
| 3193 # -- PORTME fill in with the dynamic library characteristics | 3440 # -- PORTME fill in with the dynamic library characteristics |
| 3194 m4_defun([_LT_CHECK_MAGIC_METHOD], | 3441 m4_defun([_LT_CHECK_MAGIC_METHOD], |
| 3195 [m4_require([_LT_DECL_EGREP]) | 3442 [m4_require([_LT_DECL_EGREP]) |
| 3196 m4_require([_LT_DECL_OBJDUMP]) | 3443 m4_require([_LT_DECL_OBJDUMP]) |
| 3197 AC_CACHE_CHECK([how to recognize dependent libraries], | 3444 AC_CACHE_CHECK([how to recognize dependent libraries], |
| 3198 lt_cv_deplibs_check_method, | 3445 lt_cv_deplibs_check_method, |
| 3199 [lt_cv_file_magic_cmd='$MAGIC_CMD' | 3446 [lt_cv_file_magic_cmd='$MAGIC_CMD' |
| 3200 lt_cv_file_magic_test_file= | 3447 lt_cv_file_magic_test_file= |
| 3201 lt_cv_deplibs_check_method='unknown' | 3448 lt_cv_deplibs_check_method='unknown' |
| 3202 # Need to set the preceding variable on all platforms that support | 3449 # Need to set the preceding variable on all platforms that support |
| 3203 # interlibrary dependencies. | 3450 # interlibrary dependencies. |
| 3204 # 'none' -- dependencies not supported. | 3451 # 'none' -- dependencies not supported. |
| 3205 # `unknown' -- same as none, but documents that we really don't know. | 3452 # 'unknown' -- same as none, but documents that we really don't know. |
| 3206 # 'pass_all' -- all dependencies passed with no checks. | 3453 # 'pass_all' -- all dependencies passed with no checks. |
| 3207 # 'test_compile' -- check by making test program. | 3454 # 'test_compile' -- check by making test program. |
| 3208 # 'file_magic [[regex]]' -- check by looking for files in library path | 3455 # 'file_magic [[regex]]' -- check by looking for files in library path |
| 3209 # which responds to the $file_magic_cmd with a given extended regex. | 3456 # that responds to the $file_magic_cmd with a given extended regex. |
| 3210 # If you have `file' or equivalent on your system and you're not sure | 3457 # If you have 'file' or equivalent on your system and you're not sure |
| 3211 # whether `pass_all' will *always* work, you probably want this one. | 3458 # whether 'pass_all' will *always* work, you probably want this one. |
| 3212 | 3459 |
| 3213 case $host_os in | 3460 case $host_os in |
| 3214 aix[[4-9]]*) | 3461 aix[[4-9]]*) |
| 3215 lt_cv_deplibs_check_method=pass_all | 3462 lt_cv_deplibs_check_method=pass_all |
| 3216 ;; | 3463 ;; |
| 3217 | 3464 |
| 3218 beos*) | 3465 beos*) |
| 3219 lt_cv_deplibs_check_method=pass_all | 3466 lt_cv_deplibs_check_method=pass_all |
| 3220 ;; | 3467 ;; |
| 3221 | 3468 |
| 3222 bsdi[[45]]*) | 3469 bsdi[[45]]*) |
| 3223 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (share
d object|dynamic lib)' | 3470 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (share
d object|dynamic lib)' |
| 3224 lt_cv_file_magic_cmd='/usr/bin/file -L' | 3471 lt_cv_file_magic_cmd='/usr/bin/file -L' |
| 3225 lt_cv_file_magic_test_file=/shlib/libc.so | 3472 lt_cv_file_magic_test_file=/shlib/libc.so |
| 3226 ;; | 3473 ;; |
| 3227 | 3474 |
| 3228 cygwin*) | 3475 cygwin*) |
| 3229 # func_win32_libid is a shell function defined in ltmain.sh | 3476 # func_win32_libid is a shell function defined in ltmain.sh |
| 3230 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 3477 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 3231 lt_cv_file_magic_cmd='func_win32_libid' | 3478 lt_cv_file_magic_cmd='func_win32_libid' |
| 3232 ;; | 3479 ;; |
| 3233 | 3480 |
| 3234 mingw* | pw32*) | 3481 mingw* | pw32*) |
| 3235 # Base MSYS/MinGW do not provide the 'file' command needed by | 3482 # Base MSYS/MinGW do not provide the 'file' command needed by |
| 3236 # func_win32_libid shell function, so use a weaker test based on 'objdump', | 3483 # func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 3237 # unless we find 'file', for example because we are cross-compiling. | 3484 # unless we find 'file', for example because we are cross-compiling. |
| 3238 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. | 3485 if ( file / ) >/dev/null 2>&1; then |
| 3239 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then | |
| 3240 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 3486 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 3241 lt_cv_file_magic_cmd='func_win32_libid' | 3487 lt_cv_file_magic_cmd='func_win32_libid' |
| 3242 else | 3488 else |
| 3243 # Keep this pattern in sync with the one in func_win32_libid. | 3489 # Keep this pattern in sync with the one in func_win32_libid. |
| 3244 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture
: i386)?|pe-arm-wince|pe-x86-64)' | 3490 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture
: i386)?|pe-arm-wince|pe-x86-64)' |
| 3245 lt_cv_file_magic_cmd='$OBJDUMP -f' | 3491 lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 3246 fi | 3492 fi |
| 3247 ;; | 3493 ;; |
| 3248 | 3494 |
| 3249 cegcc*) | 3495 cegcc*) |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3307 *) libmagic=never-match;; | 3553 *) libmagic=never-match;; |
| 3308 esac | 3554 esac |
| 3309 lt_cv_deplibs_check_method=pass_all | 3555 lt_cv_deplibs_check_method=pass_all |
| 3310 ;; | 3556 ;; |
| 3311 | 3557 |
| 3312 # This must be glibc/ELF. | 3558 # This must be glibc/ELF. |
| 3313 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 3559 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 3314 lt_cv_deplibs_check_method=pass_all | 3560 lt_cv_deplibs_check_method=pass_all |
| 3315 ;; | 3561 ;; |
| 3316 | 3562 |
| 3317 netbsd* | netbsdelf*-gnu) | 3563 netbsd*) |
| 3318 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | 3564 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
| 3319 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]
]+|_pic\.a)$' | 3565 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]
]+|_pic\.a)$' |
| 3320 else | 3566 else |
| 3321 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' | 3567 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' |
| 3322 fi | 3568 fi |
| 3323 ;; | 3569 ;; |
| 3324 | 3570 |
| 3325 newos6*) | 3571 newos6*) |
| 3326 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (execu
table|dynamic lib)' | 3572 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (execu
table|dynamic lib)' |
| 3327 lt_cv_file_magic_cmd=/usr/bin/file | 3573 lt_cv_file_magic_cmd=/usr/bin/file |
| 3328 lt_cv_file_magic_test_file=/usr/lib/libnls.so | 3574 lt_cv_file_magic_test_file=/usr/lib/libnls.so |
| 3329 ;; | 3575 ;; |
| 3330 | 3576 |
| 3331 *nto* | *qnx*) | 3577 *nto* | *qnx*) |
| 3332 lt_cv_deplibs_check_method=pass_all | 3578 lt_cv_deplibs_check_method=pass_all |
| 3333 ;; | 3579 ;; |
| 3334 | 3580 |
| 3335 openbsd*) | 3581 openbsd* | bitrig*) |
| 3336 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host
_cpu" = "openbsd2.8-powerpc"; then | 3582 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 3337 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]
]+|\.so|_pic\.a)$' | 3583 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]
]+|\.so|_pic\.a)$' |
| 3338 else | 3584 else |
| 3339 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]
]+|_pic\.a)$' | 3585 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]
]+|_pic\.a)$' |
| 3340 fi | 3586 fi |
| 3341 ;; | 3587 ;; |
| 3342 | 3588 |
| 3343 osf3* | osf4* | osf5*) | 3589 osf3* | osf4* | osf5*) |
| 3344 lt_cv_deplibs_check_method=pass_all | 3590 lt_cv_deplibs_check_method=pass_all |
| 3345 ;; | 3591 ;; |
| 3346 | 3592 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3379 ;; | 3625 ;; |
| 3380 pc) | 3626 pc) |
| 3381 lt_cv_deplibs_check_method=pass_all | 3627 lt_cv_deplibs_check_method=pass_all |
| 3382 ;; | 3628 ;; |
| 3383 esac | 3629 esac |
| 3384 ;; | 3630 ;; |
| 3385 | 3631 |
| 3386 tpf*) | 3632 tpf*) |
| 3387 lt_cv_deplibs_check_method=pass_all | 3633 lt_cv_deplibs_check_method=pass_all |
| 3388 ;; | 3634 ;; |
| 3635 os2*) |
| 3636 lt_cv_deplibs_check_method=pass_all |
| 3637 ;; |
| 3389 esac | 3638 esac |
| 3390 ]) | 3639 ]) |
| 3391 | 3640 |
| 3392 file_magic_glob= | 3641 file_magic_glob= |
| 3393 want_nocaseglob=no | 3642 want_nocaseglob=no |
| 3394 if test "$build" = "$host"; then | 3643 if test "$build" = "$host"; then |
| 3395 case $host_os in | 3644 case $host_os in |
| 3396 mingw* | pw32*) | 3645 mingw* | pw32*) |
| 3397 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then | 3646 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
| 3398 want_nocaseglob=yes | 3647 want_nocaseglob=yes |
| (...skipping 20 matching lines...) Expand all Loading... |
| 3419 | 3668 |
| 3420 | 3669 |
| 3421 # LT_PATH_NM | 3670 # LT_PATH_NM |
| 3422 # ---------- | 3671 # ---------- |
| 3423 # find the pathname to a BSD- or MS-compatible name lister | 3672 # find the pathname to a BSD- or MS-compatible name lister |
| 3424 AC_DEFUN([LT_PATH_NM], | 3673 AC_DEFUN([LT_PATH_NM], |
| 3425 [AC_REQUIRE([AC_PROG_CC])dnl | 3674 [AC_REQUIRE([AC_PROG_CC])dnl |
| 3426 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, | 3675 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, |
| 3427 [if test -n "$NM"; then | 3676 [if test -n "$NM"; then |
| 3428 # Let the user override the test. | 3677 # Let the user override the test. |
| 3429 lt_cv_path_NM="$NM" | 3678 lt_cv_path_NM=$NM |
| 3430 else | 3679 else |
| 3431 lt_nm_to_check="${ac_tool_prefix}nm" | 3680 lt_nm_to_check=${ac_tool_prefix}nm |
| 3432 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | 3681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
| 3433 lt_nm_to_check="$lt_nm_to_check nm" | 3682 lt_nm_to_check="$lt_nm_to_check nm" |
| 3434 fi | 3683 fi |
| 3435 for lt_tmp_nm in $lt_nm_to_check; do | 3684 for lt_tmp_nm in $lt_nm_to_check; do |
| 3436 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 3685 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR |
| 3437 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | 3686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
| 3438 IFS="$lt_save_ifs" | 3687 IFS=$lt_save_ifs |
| 3439 test -z "$ac_dir" && ac_dir=. | 3688 test -z "$ac_dir" && ac_dir=. |
| 3440 tmp_nm="$ac_dir/$lt_tmp_nm" | 3689 tmp_nm=$ac_dir/$lt_tmp_nm |
| 3441 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 3690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then |
| 3442 # Check to see if the nm accepts a BSD-compat flag. | 3691 # Check to see if the nm accepts a BSD-compat flag. |
| 3443 » # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 3692 » # Adding the 'sed 1q' prevents false positives on HP-UX, which says: |
| 3444 # nm: unknown option "B" ignored | 3693 # nm: unknown option "B" ignored |
| 3445 # Tru64's nm complains that /dev/null is an invalid object file | 3694 # Tru64's nm complains that /dev/null is an invalid object file |
| 3446 » case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | 3695 » # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty |
| 3447 » */dev/null* | *'Invalid file or object type'*) | 3696 » case $build_os in |
| 3697 » mingw*) lt_bad_file=conftest.nm/nofile ;; |
| 3698 » *) lt_bad_file=/dev/null ;; |
| 3699 » esac |
| 3700 » case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in |
| 3701 » *$lt_bad_file* | *'Invalid file or object type'*) |
| 3448 lt_cv_path_NM="$tmp_nm -B" | 3702 lt_cv_path_NM="$tmp_nm -B" |
| 3449 » break | 3703 » break 2 |
| 3450 ;; | 3704 ;; |
| 3451 *) | 3705 *) |
| 3452 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 3706 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
| 3453 */dev/null*) | 3707 */dev/null*) |
| 3454 lt_cv_path_NM="$tmp_nm -p" | 3708 lt_cv_path_NM="$tmp_nm -p" |
| 3455 » break | 3709 » break 2 |
| 3456 ;; | 3710 ;; |
| 3457 *) | 3711 *) |
| 3458 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 3712 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
| 3459 continue # so that we can try to find one that supports BSD flags | 3713 continue # so that we can try to find one that supports BSD flags |
| 3460 ;; | 3714 ;; |
| 3461 esac | 3715 esac |
| 3462 ;; | 3716 ;; |
| 3463 esac | 3717 esac |
| 3464 fi | 3718 fi |
| 3465 done | 3719 done |
| 3466 IFS="$lt_save_ifs" | 3720 IFS=$lt_save_ifs |
| 3467 done | 3721 done |
| 3468 : ${lt_cv_path_NM=no} | 3722 : ${lt_cv_path_NM=no} |
| 3469 fi]) | 3723 fi]) |
| 3470 if test "$lt_cv_path_NM" != "no"; then | 3724 if test no != "$lt_cv_path_NM"; then |
| 3471 NM="$lt_cv_path_NM" | 3725 NM=$lt_cv_path_NM |
| 3472 else | 3726 else |
| 3473 # Didn't find any BSD compatible name lister, look for dumpbin. | 3727 # Didn't find any BSD compatible name lister, look for dumpbin. |
| 3474 if test -n "$DUMPBIN"; then : | 3728 if test -n "$DUMPBIN"; then : |
| 3475 # Let the user override the test. | 3729 # Let the user override the test. |
| 3476 else | 3730 else |
| 3477 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) | 3731 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) |
| 3478 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in | 3732 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in |
| 3479 *COFF*) | 3733 *COFF*) |
| 3480 DUMPBIN="$DUMPBIN -symbols" | 3734 DUMPBIN="$DUMPBIN -symbols -headers" |
| 3481 ;; | 3735 ;; |
| 3482 *) | 3736 *) |
| 3483 DUMPBIN=: | 3737 DUMPBIN=: |
| 3484 ;; | 3738 ;; |
| 3485 esac | 3739 esac |
| 3486 fi | 3740 fi |
| 3487 AC_SUBST([DUMPBIN]) | 3741 AC_SUBST([DUMPBIN]) |
| 3488 if test "$DUMPBIN" != ":"; then | 3742 if test : != "$DUMPBIN"; then |
| 3489 NM="$DUMPBIN" | 3743 NM=$DUMPBIN |
| 3490 fi | 3744 fi |
| 3491 fi | 3745 fi |
| 3492 test -z "$NM" && NM=nm | 3746 test -z "$NM" && NM=nm |
| 3493 AC_SUBST([NM]) | 3747 AC_SUBST([NM]) |
| 3494 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl | 3748 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl |
| 3495 | 3749 |
| 3496 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], | 3750 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], |
| 3497 [lt_cv_nm_interface="BSD nm" | 3751 [lt_cv_nm_interface="BSD nm" |
| 3498 echo "int some_variable = 0;" > conftest.$ac_ext | 3752 echo "int some_variable = 0;" > conftest.$ac_ext |
| 3499 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) | 3753 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 3525 m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], | 3779 m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], |
| 3526 [m4_require([_LT_DECL_EGREP]) | 3780 [m4_require([_LT_DECL_EGREP]) |
| 3527 m4_require([_LT_DECL_OBJDUMP]) | 3781 m4_require([_LT_DECL_OBJDUMP]) |
| 3528 m4_require([_LT_DECL_DLLTOOL]) | 3782 m4_require([_LT_DECL_DLLTOOL]) |
| 3529 AC_CACHE_CHECK([how to associate runtime and link libraries], | 3783 AC_CACHE_CHECK([how to associate runtime and link libraries], |
| 3530 lt_cv_sharedlib_from_linklib_cmd, | 3784 lt_cv_sharedlib_from_linklib_cmd, |
| 3531 [lt_cv_sharedlib_from_linklib_cmd='unknown' | 3785 [lt_cv_sharedlib_from_linklib_cmd='unknown' |
| 3532 | 3786 |
| 3533 case $host_os in | 3787 case $host_os in |
| 3534 cygwin* | mingw* | pw32* | cegcc*) | 3788 cygwin* | mingw* | pw32* | cegcc*) |
| 3535 # two different shell functions defined in ltmain.sh | 3789 # two different shell functions defined in ltmain.sh; |
| 3536 # decide which to use based on capabilities of $DLLTOOL | 3790 # decide which one to use based on capabilities of $DLLTOOL |
| 3537 case `$DLLTOOL --help 2>&1` in | 3791 case `$DLLTOOL --help 2>&1` in |
| 3538 *--identify-strict*) | 3792 *--identify-strict*) |
| 3539 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib | 3793 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
| 3540 ;; | 3794 ;; |
| 3541 *) | 3795 *) |
| 3542 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback | 3796 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
| 3543 ;; | 3797 ;; |
| 3544 esac | 3798 esac |
| 3545 ;; | 3799 ;; |
| 3546 *) | 3800 *) |
| 3547 # fallback: assume linklib IS sharedlib | 3801 # fallback: assume linklib IS sharedlib |
| 3548 lt_cv_sharedlib_from_linklib_cmd="$ECHO" | 3802 lt_cv_sharedlib_from_linklib_cmd=$ECHO |
| 3549 ;; | 3803 ;; |
| 3550 esac | 3804 esac |
| 3551 ]) | 3805 ]) |
| 3552 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd | 3806 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
| 3553 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO | 3807 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
| 3554 | 3808 |
| 3555 _LT_DECL([], [sharedlib_from_linklib_cmd], [1], | 3809 _LT_DECL([], [sharedlib_from_linklib_cmd], [1], |
| 3556 [Command to associate shared and link libraries]) | 3810 [Command to associate shared and link libraries]) |
| 3557 ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB | 3811 ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB |
| 3558 | 3812 |
| 3559 | 3813 |
| 3560 # _LT_PATH_MANIFEST_TOOL | 3814 # _LT_PATH_MANIFEST_TOOL |
| 3561 # ---------------------- | 3815 # ---------------------- |
| 3562 # locate the manifest tool | 3816 # locate the manifest tool |
| 3563 m4_defun([_LT_PATH_MANIFEST_TOOL], | 3817 m4_defun([_LT_PATH_MANIFEST_TOOL], |
| 3564 [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) | 3818 [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) |
| 3565 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt | 3819 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
| 3566 AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool
], | 3820 AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool
], |
| 3567 [lt_cv_path_mainfest_tool=no | 3821 [lt_cv_path_mainfest_tool=no |
| 3568 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD | 3822 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD |
| 3569 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out | 3823 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
| 3570 cat conftest.err >&AS_MESSAGE_LOG_FD | 3824 cat conftest.err >&AS_MESSAGE_LOG_FD |
| 3571 if $GREP 'Manifest Tool' conftest.out > /dev/null; then | 3825 if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
| 3572 lt_cv_path_mainfest_tool=yes | 3826 lt_cv_path_mainfest_tool=yes |
| 3573 fi | 3827 fi |
| 3574 rm -f conftest*]) | 3828 rm -f conftest*]) |
| 3575 if test "x$lt_cv_path_mainfest_tool" != xyes; then | 3829 if test yes != "$lt_cv_path_mainfest_tool"; then |
| 3576 MANIFEST_TOOL=: | 3830 MANIFEST_TOOL=: |
| 3577 fi | 3831 fi |
| 3578 _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl | 3832 _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl |
| 3579 ])# _LT_PATH_MANIFEST_TOOL | 3833 ])# _LT_PATH_MANIFEST_TOOL |
| 3580 | 3834 |
| 3581 | 3835 |
| 3836 # _LT_DLL_DEF_P([FILE]) |
| 3837 # --------------------- |
| 3838 # True iff FILE is a Windows DLL '.def' file. |
| 3839 # Keep in sync with func_dll_def_p in the libtool script |
| 3840 AC_DEFUN([_LT_DLL_DEF_P], |
| 3841 [dnl |
| 3842 test DEF = "`$SED -n dnl |
| 3843 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace |
| 3844 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments |
| 3845 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl |
| 3846 -e q dnl Only consider the first "real" line |
| 3847 $1`" dnl |
| 3848 ])# _LT_DLL_DEF_P |
| 3849 |
| 3850 |
| 3582 # LT_LIB_M | 3851 # LT_LIB_M |
| 3583 # -------- | 3852 # -------- |
| 3584 # check for math library | 3853 # check for math library |
| 3585 AC_DEFUN([LT_LIB_M], | 3854 AC_DEFUN([LT_LIB_M], |
| 3586 [AC_REQUIRE([AC_CANONICAL_HOST])dnl | 3855 [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 3587 LIBM= | 3856 LIBM= |
| 3588 case $host in | 3857 case $host in |
| 3589 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) | 3858 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
| 3590 # These system don't have libm, or don't need it | 3859 # These system don't have libm, or don't need it |
| 3591 ;; | 3860 ;; |
| 3592 *-ncr-sysv4.3*) | 3861 *-ncr-sysv4.3*) |
| 3593 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") | 3862 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) |
| 3594 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") | 3863 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") |
| 3595 ;; | 3864 ;; |
| 3596 *) | 3865 *) |
| 3597 AC_CHECK_LIB(m, cos, LIBM="-lm") | 3866 AC_CHECK_LIB(m, cos, LIBM=-lm) |
| 3598 ;; | 3867 ;; |
| 3599 esac | 3868 esac |
| 3600 AC_SUBST([LIBM]) | 3869 AC_SUBST([LIBM]) |
| 3601 ])# LT_LIB_M | 3870 ])# LT_LIB_M |
| 3602 | 3871 |
| 3603 # Old name: | 3872 # Old name: |
| 3604 AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) | 3873 AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) |
| 3605 dnl aclocal-1.4 backwards compatibility: | 3874 dnl aclocal-1.4 backwards compatibility: |
| 3606 dnl AC_DEFUN([AC_CHECK_LIBM], []) | 3875 dnl AC_DEFUN([AC_CHECK_LIBM], []) |
| 3607 | 3876 |
| 3608 | 3877 |
| 3609 # _LT_COMPILER_NO_RTTI([TAGNAME]) | 3878 # _LT_COMPILER_NO_RTTI([TAGNAME]) |
| 3610 # ------------------------------- | 3879 # ------------------------------- |
| 3611 m4_defun([_LT_COMPILER_NO_RTTI], | 3880 m4_defun([_LT_COMPILER_NO_RTTI], |
| 3612 [m4_require([_LT_TAG_COMPILER])dnl | 3881 [m4_require([_LT_TAG_COMPILER])dnl |
| 3613 | 3882 |
| 3614 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= | 3883 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
| 3615 | 3884 |
| 3616 if test "$GCC" = yes; then | 3885 if test yes = "$GCC"; then |
| 3617 case $cc_basename in | 3886 case $cc_basename in |
| 3618 nvcc*) | 3887 nvcc*) |
| 3619 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin'
;; | 3888 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin'
;; |
| 3620 *) | 3889 *) |
| 3621 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; | 3890 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; |
| 3622 esac | 3891 esac |
| 3623 | 3892 |
| 3624 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], | 3893 _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], |
| 3625 lt_cv_prog_compiler_rtti_exceptions, | 3894 lt_cv_prog_compiler_rtti_exceptions, |
| 3626 [-fno-rtti -fno-exceptions], [], | 3895 [-fno-rtti -fno-exceptions], [], |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3658 | 3927 |
| 3659 # Define system-specific variables. | 3928 # Define system-specific variables. |
| 3660 case $host_os in | 3929 case $host_os in |
| 3661 aix*) | 3930 aix*) |
| 3662 symcode='[[BCDT]]' | 3931 symcode='[[BCDT]]' |
| 3663 ;; | 3932 ;; |
| 3664 cygwin* | mingw* | pw32* | cegcc*) | 3933 cygwin* | mingw* | pw32* | cegcc*) |
| 3665 symcode='[[ABCDGISTW]]' | 3934 symcode='[[ABCDGISTW]]' |
| 3666 ;; | 3935 ;; |
| 3667 hpux*) | 3936 hpux*) |
| 3668 if test "$host_cpu" = ia64; then | 3937 if test ia64 = "$host_cpu"; then |
| 3669 symcode='[[ABCDEGRST]]' | 3938 symcode='[[ABCDEGRST]]' |
| 3670 fi | 3939 fi |
| 3671 ;; | 3940 ;; |
| 3672 irix* | nonstopux*) | 3941 irix* | nonstopux*) |
| 3673 symcode='[[BCDEGRST]]' | 3942 symcode='[[BCDEGRST]]' |
| 3674 ;; | 3943 ;; |
| 3675 osf*) | 3944 osf*) |
| 3676 symcode='[[BCDEGQRST]]' | 3945 symcode='[[BCDEGQRST]]' |
| 3677 ;; | 3946 ;; |
| 3678 solaris*) | 3947 solaris*) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 3691 symcode='[[DFNSTU]]' | 3960 symcode='[[DFNSTU]]' |
| 3692 ;; | 3961 ;; |
| 3693 esac | 3962 esac |
| 3694 | 3963 |
| 3695 # If we're using GNU nm, then use its standard symbol codes. | 3964 # If we're using GNU nm, then use its standard symbol codes. |
| 3696 case `$NM -V 2>&1` in | 3965 case `$NM -V 2>&1` in |
| 3697 *GNU* | *'with BFD'*) | 3966 *GNU* | *'with BFD'*) |
| 3698 symcode='[[ABCDGIRSTW]]' ;; | 3967 symcode='[[ABCDGIRSTW]]' ;; |
| 3699 esac | 3968 esac |
| 3700 | 3969 |
| 3970 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 3971 # Gets list of data symbols to import. |
| 3972 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" |
| 3973 # Adjust the below global symbol transforms to fixup imported variables. |
| 3974 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" |
| 3975 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" |
| 3976 lt_c_name_lib_hook="\ |
| 3977 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ |
| 3978 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" |
| 3979 else |
| 3980 # Disable hooks by default. |
| 3981 lt_cv_sys_global_symbol_to_import= |
| 3982 lt_cdecl_hook= |
| 3983 lt_c_name_hook= |
| 3984 lt_c_name_lib_hook= |
| 3985 fi |
| 3986 |
| 3701 # Transform an extracted symbol line into a proper C declaration. | 3987 # Transform an extracted symbol line into a proper C declaration. |
| 3702 # Some systems (esp. on ia64) link data and code symbols differently, | 3988 # Some systems (esp. on ia64) link data and code symbols differently, |
| 3703 # so use this general approach. | 3989 # so use this general approach. |
| 3704 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p'
-e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 3990 lt_cv_sys_global_symbol_to_cdecl="sed -n"\ |
| 3991 $lt_cdecl_hook\ |
| 3992 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ |
| 3993 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" |
| 3705 | 3994 |
| 3706 # Transform an extracted symbol line into symbol name and symbol address | 3995 # Transform an extracted symbol line into symbol name and symbol address |
| 3707 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/
{\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\"
, (void *) \&\2},/p'" | 3996 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ |
| 3708 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'" | 3997 $lt_c_name_hook\ |
| 3998 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 3999 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" |
| 4000 |
| 4001 # Transform an extracted symbol line into symbol name with lib prefix and |
| 4002 # symbol address. |
| 4003 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ |
| 4004 $lt_c_name_lib_hook\ |
| 4005 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ |
| 4006 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ |
| 4007 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" |
| 3709 | 4008 |
| 3710 # Handle CRLF in mingw tool chain | 4009 # Handle CRLF in mingw tool chain |
| 3711 opt_cr= | 4010 opt_cr= |
| 3712 case $build_os in | 4011 case $build_os in |
| 3713 mingw*) | 4012 mingw*) |
| 3714 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 4013 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
| 3715 ;; | 4014 ;; |
| 3716 esac | 4015 esac |
| 3717 | 4016 |
| 3718 # Try without a prefix underscore, then with it. | 4017 # Try without a prefix underscore, then with it. |
| 3719 for ac_symprfx in "" "_"; do | 4018 for ac_symprfx in "" "_"; do |
| 3720 | 4019 |
| 3721 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | 4020 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
| 3722 symxfrm="\\1 $ac_symprfx\\2 \\2" | 4021 symxfrm="\\1 $ac_symprfx\\2 \\2" |
| 3723 | 4022 |
| 3724 # Write the raw and C identifiers. | 4023 # Write the raw and C identifiers. |
| 3725 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 4024 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 3726 # Fake it for dumpbin and say T for any non-static function | 4025 # Fake it for dumpbin and say T for any non-static function, |
| 3727 # and D for any global variable. | 4026 # D for any global variable and I for any imported variable. |
| 3728 # Also find C++ and __fastcall symbols from MSVC++, | 4027 # Also find C++ and __fastcall symbols from MSVC++, |
| 3729 # which start with @ or ?. | 4028 # which start with @ or ?. |
| 3730 lt_cv_sys_global_symbol_pipe="$AWK ['"\ | 4029 lt_cv_sys_global_symbol_pipe="$AWK ['"\ |
| 3731 " {last_section=section; section=\$ 3};"\ | 4030 " {last_section=section; section=\$ 3};"\ |
| 3732 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ | 4031 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
| 3733 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | 4032 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
| 4033 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ |
| 4034 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ |
| 4035 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ |
| 3734 " \$ 0!~/External *\|/{next};"\ | 4036 " \$ 0!~/External *\|/{next};"\ |
| 3735 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | 4037 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
| 3736 " {if(hide[section]) next};"\ | 4038 " {if(hide[section]) next};"\ |
| 3737 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ | 4039 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ |
| 3738 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ | 4040 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ |
| 3739 " s[1]~/^[@?]/{print s[1], s[1]; next};"\ | 4041 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ |
| 3740 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ | 4042 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ |
| 3741 " ' prfx=^$ac_symprfx]" | 4043 " ' prfx=^$ac_symprfx]" |
| 3742 else | 4044 else |
| 3743 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)
[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | 4045 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)
[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
| 3744 fi | 4046 fi |
| 3745 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto
/d'" | 4047 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto
/d'" |
| 3746 | 4048 |
| 3747 # Check to see that the pipe works correctly. | 4049 # Check to see that the pipe works correctly. |
| 3748 pipe_works=no | 4050 pipe_works=no |
| 3749 | 4051 |
| 3750 rm -f conftest* | 4052 rm -f conftest* |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3770 mv -f "$nlist"T "$nlist" | 4072 mv -f "$nlist"T "$nlist" |
| 3771 else | 4073 else |
| 3772 rm -f "$nlist"T | 4074 rm -f "$nlist"T |
| 3773 fi | 4075 fi |
| 3774 | 4076 |
| 3775 # Make sure that we snagged all the symbols we need. | 4077 # Make sure that we snagged all the symbols we need. |
| 3776 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | 4078 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
| 3777 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | 4079 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
| 3778 cat <<_LT_EOF > conftest.$ac_ext | 4080 cat <<_LT_EOF > conftest.$ac_ext |
| 3779 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. *
/ | 4081 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. *
/ |
| 3780 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) | 4082 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE |
| 3781 /* DATA imports from DLLs on WIN32 con't be const, because runtime | 4083 /* DATA imports from DLLs on WIN32 can't be const, because runtime |
| 3782 relocations are performed -- see ld's documentation on pseudo-relocs. */ | 4084 relocations are performed -- see ld's documentation on pseudo-relocs. */ |
| 3783 # define LT@&t@_DLSYM_CONST | 4085 # define LT@&t@_DLSYM_CONST |
| 3784 #elif defined(__osf__) | 4086 #elif defined __osf__ |
| 3785 /* This system does not cope well with relocations in const data. */ | 4087 /* This system does not cope well with relocations in const data. */ |
| 3786 # define LT@&t@_DLSYM_CONST | 4088 # define LT@&t@_DLSYM_CONST |
| 3787 #else | 4089 #else |
| 3788 # define LT@&t@_DLSYM_CONST const | 4090 # define LT@&t@_DLSYM_CONST const |
| 3789 #endif | 4091 #endif |
| 3790 | 4092 |
| 3791 #ifdef __cplusplus | 4093 #ifdef __cplusplus |
| 3792 extern "C" { | 4094 extern "C" { |
| 3793 #endif | 4095 #endif |
| 3794 | 4096 |
| 3795 _LT_EOF | 4097 _LT_EOF |
| 3796 # Now generate the symbol file. | 4098 # Now generate the symbol file. |
| 3797 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' | 4099 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >
> conftest.$ac_ext' |
| 3798 | 4100 |
| 3799 cat <<_LT_EOF >> conftest.$ac_ext | 4101 cat <<_LT_EOF >> conftest.$ac_ext |
| 3800 | 4102 |
| 3801 /* The mapping between symbol names and symbols. */ | 4103 /* The mapping between symbol names and symbols. */ |
| 3802 LT@&t@_DLSYM_CONST struct { | 4104 LT@&t@_DLSYM_CONST struct { |
| 3803 const char *name; | 4105 const char *name; |
| 3804 void *address; | 4106 void *address; |
| 3805 } | 4107 } |
| 3806 lt__PROGRAM__LTX_preloaded_symbols[[]] = | 4108 lt__PROGRAM__LTX_preloaded_symbols[[]] = |
| 3807 { | 4109 { |
| 3808 { "@PROGRAM@", (void *) 0 }, | 4110 { "@PROGRAM@", (void *) 0 }, |
| 3809 _LT_EOF | 4111 _LT_EOF |
| 3810 » $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/"
< "$nlist" | $GREP -v main >> conftest.$ac_ext | 4112 » $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "
$nlist" | $GREP -v main >> conftest.$ac_ext |
| 3811 cat <<\_LT_EOF >> conftest.$ac_ext | 4113 cat <<\_LT_EOF >> conftest.$ac_ext |
| 3812 {0, (void *) 0} | 4114 {0, (void *) 0} |
| 3813 }; | 4115 }; |
| 3814 | 4116 |
| 3815 /* This works around a problem in FreeBSD linker */ | 4117 /* This works around a problem in FreeBSD linker */ |
| 3816 #ifdef FREEBSD_WORKAROUND | 4118 #ifdef FREEBSD_WORKAROUND |
| 3817 static const void *lt_preloaded_setup() { | 4119 static const void *lt_preloaded_setup() { |
| 3818 return lt__PROGRAM__LTX_preloaded_symbols; | 4120 return lt__PROGRAM__LTX_preloaded_symbols; |
| 3819 } | 4121 } |
| 3820 #endif | 4122 #endif |
| 3821 | 4123 |
| 3822 #ifdef __cplusplus | 4124 #ifdef __cplusplus |
| 3823 } | 4125 } |
| 3824 #endif | 4126 #endif |
| 3825 _LT_EOF | 4127 _LT_EOF |
| 3826 # Now try linking the two files. | 4128 # Now try linking the two files. |
| 3827 mv conftest.$ac_objext conftstm.$ac_objext | 4129 mv conftest.$ac_objext conftstm.$ac_objext |
| 3828 lt_globsym_save_LIBS=$LIBS | 4130 lt_globsym_save_LIBS=$LIBS |
| 3829 lt_globsym_save_CFLAGS=$CFLAGS | 4131 lt_globsym_save_CFLAGS=$CFLAGS |
| 3830 » LIBS="conftstm.$ac_objext" | 4132 » LIBS=conftstm.$ac_objext |
| 3831 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" | 4133 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" |
| 3832 » if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then | 4134 » if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then |
| 3833 pipe_works=yes | 4135 pipe_works=yes |
| 3834 fi | 4136 fi |
| 3835 LIBS=$lt_globsym_save_LIBS | 4137 LIBS=$lt_globsym_save_LIBS |
| 3836 CFLAGS=$lt_globsym_save_CFLAGS | 4138 CFLAGS=$lt_globsym_save_CFLAGS |
| 3837 else | 4139 else |
| 3838 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD | 4140 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD |
| 3839 fi | 4141 fi |
| 3840 else | 4142 else |
| 3841 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD | 4143 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD |
| 3842 fi | 4144 fi |
| 3843 else | 4145 else |
| 3844 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD | 4146 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD |
| 3845 fi | 4147 fi |
| 3846 else | 4148 else |
| 3847 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD | 4149 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD |
| 3848 cat conftest.$ac_ext >&5 | 4150 cat conftest.$ac_ext >&5 |
| 3849 fi | 4151 fi |
| 3850 rm -rf conftest* conftst* | 4152 rm -rf conftest* conftst* |
| 3851 | 4153 |
| 3852 # Do not use the global_symbol_pipe unless it works. | 4154 # Do not use the global_symbol_pipe unless it works. |
| 3853 if test "$pipe_works" = yes; then | 4155 if test yes = "$pipe_works"; then |
| 3854 break | 4156 break |
| 3855 else | 4157 else |
| 3856 lt_cv_sys_global_symbol_pipe= | 4158 lt_cv_sys_global_symbol_pipe= |
| 3857 fi | 4159 fi |
| 3858 done | 4160 done |
| 3859 ]) | 4161 ]) |
| 3860 if test -z "$lt_cv_sys_global_symbol_pipe"; then | 4162 if test -z "$lt_cv_sys_global_symbol_pipe"; then |
| 3861 lt_cv_sys_global_symbol_to_cdecl= | 4163 lt_cv_sys_global_symbol_to_cdecl= |
| 3862 fi | 4164 fi |
| 3863 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; the
n | 4165 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; the
n |
| 3864 AC_MSG_RESULT(failed) | 4166 AC_MSG_RESULT(failed) |
| 3865 else | 4167 else |
| 3866 AC_MSG_RESULT(ok) | 4168 AC_MSG_RESULT(ok) |
| 3867 fi | 4169 fi |
| 3868 | 4170 |
| 3869 # Response file support. | 4171 # Response file support. |
| 3870 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 4172 if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
| 3871 nm_file_list_spec='@' | 4173 nm_file_list_spec='@' |
| 3872 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then | 4174 elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then |
| 3873 nm_file_list_spec='@' | 4175 nm_file_list_spec='@' |
| 3874 fi | 4176 fi |
| 3875 | 4177 |
| 3876 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], | 4178 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], |
| 3877 [Take the output of nm and produce a listing of raw symbols and C names]) | 4179 [Take the output of nm and produce a listing of raw symbols and C names]) |
| 3878 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], | 4180 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], |
| 3879 [Transform the output of nm in a proper C declaration]) | 4181 [Transform the output of nm in a proper C declaration]) |
| 4182 _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], |
| 4183 [Transform the output of nm into a list of symbols to manually relocate]) |
| 3880 _LT_DECL([global_symbol_to_c_name_address], | 4184 _LT_DECL([global_symbol_to_c_name_address], |
| 3881 [lt_cv_sys_global_symbol_to_c_name_address], [1], | 4185 [lt_cv_sys_global_symbol_to_c_name_address], [1], |
| 3882 [Transform the output of nm in a C name address pair]) | 4186 [Transform the output of nm in a C name address pair]) |
| 3883 _LT_DECL([global_symbol_to_c_name_address_lib_prefix], | 4187 _LT_DECL([global_symbol_to_c_name_address_lib_prefix], |
| 3884 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], | 4188 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], |
| 3885 [Transform the output of nm in a C name address pair when lib prefix is need
ed]) | 4189 [Transform the output of nm in a C name address pair when lib prefix is need
ed]) |
| 4190 _LT_DECL([nm_interface], [lt_cv_nm_interface], [1], |
| 4191 [The name lister interface]) |
| 3886 _LT_DECL([], [nm_file_list_spec], [1], | 4192 _LT_DECL([], [nm_file_list_spec], [1], |
| 3887 [Specify filename containing input files for $NM]) | 4193 [Specify filename containing input files for $NM]) |
| 3888 ]) # _LT_CMD_GLOBAL_SYMBOLS | 4194 ]) # _LT_CMD_GLOBAL_SYMBOLS |
| 3889 | 4195 |
| 3890 | 4196 |
| 3891 # _LT_COMPILER_PIC([TAGNAME]) | 4197 # _LT_COMPILER_PIC([TAGNAME]) |
| 3892 # --------------------------- | 4198 # --------------------------- |
| 3893 m4_defun([_LT_COMPILER_PIC], | 4199 m4_defun([_LT_COMPILER_PIC], |
| 3894 [m4_require([_LT_TAG_COMPILER])dnl | 4200 [m4_require([_LT_TAG_COMPILER])dnl |
| 3895 _LT_TAGVAR(lt_prog_compiler_wl, $1)= | 4201 _LT_TAGVAR(lt_prog_compiler_wl, $1)= |
| 3896 _LT_TAGVAR(lt_prog_compiler_pic, $1)= | 4202 _LT_TAGVAR(lt_prog_compiler_pic, $1)= |
| 3897 _LT_TAGVAR(lt_prog_compiler_static, $1)= | 4203 _LT_TAGVAR(lt_prog_compiler_static, $1)= |
| 3898 | 4204 |
| 3899 m4_if([$1], [CXX], [ | 4205 m4_if([$1], [CXX], [ |
| 3900 # C++ specific cases for pic, static, wl, etc. | 4206 # C++ specific cases for pic, static, wl, etc. |
| 3901 if test "$GXX" = yes; then | 4207 if test yes = "$GXX"; then |
| 3902 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4208 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 3903 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | 4209 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| 3904 | 4210 |
| 3905 case $host_os in | 4211 case $host_os in |
| 3906 aix*) | 4212 aix*) |
| 3907 # All AIX code is PIC. | 4213 # All AIX code is PIC. |
| 3908 if test "$host_cpu" = ia64; then | 4214 if test ia64 = "$host_cpu"; then |
| 3909 # AIX 5 now supports IA64 processor | 4215 # AIX 5 now supports IA64 processor |
| 3910 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4216 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 3911 fi | 4217 fi |
| 4218 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 3912 ;; | 4219 ;; |
| 3913 | 4220 |
| 3914 amigaos*) | 4221 amigaos*) |
| 3915 case $host_cpu in | 4222 case $host_cpu in |
| 3916 powerpc) | 4223 powerpc) |
| 3917 # see comment about AmigaOS4 .so support | 4224 # see comment about AmigaOS4 .so support |
| 3918 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 4225 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 3919 ;; | 4226 ;; |
| 3920 m68k) | 4227 m68k) |
| 3921 # FIXME: we need at least 68020 code to build shared libraries, but | 4228 # FIXME: we need at least 68020 code to build shared libraries, but |
| 3922 # adding the `-m68020' flag to GCC prevents building anything better
, | 4229 # adding the '-m68020' flag to GCC prevents building anything better
, |
| 3923 # like `-m68040'. | 4230 # like '-m68040'. |
| 3924 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-r
estore-a4' | 4231 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-r
estore-a4' |
| 3925 ;; | 4232 ;; |
| 3926 esac | 4233 esac |
| 3927 ;; | 4234 ;; |
| 3928 | 4235 |
| 3929 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 4236 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 3930 # PIC is the default for these OSes. | 4237 # PIC is the default for these OSes. |
| 3931 ;; | 4238 ;; |
| 3932 mingw* | cygwin* | os2* | pw32* | cegcc*) | 4239 mingw* | cygwin* | os2* | pw32* | cegcc*) |
| 3933 # This hack is so that the source file can tell whether it is being | 4240 # This hack is so that the source file can tell whether it is being |
| 3934 # built for inclusion in a dll (and should export symbols for example). | 4241 # built for inclusion in a dll (and should export symbols for example). |
| 3935 # Although the cygwin gcc ignores -fPIC, still need this for old-style | 4242 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 3936 # (--disable-auto-import) libraries | 4243 # (--disable-auto-import) libraries |
| 3937 m4_if([$1], [GCJ], [], | 4244 m4_if([$1], [GCJ], [], |
| 3938 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) | 4245 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) |
| 4246 case $host_os in |
| 4247 os2*) |
| 4248 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' |
| 4249 ;; |
| 4250 esac |
| 3939 ;; | 4251 ;; |
| 3940 darwin* | rhapsody*) | 4252 darwin* | rhapsody*) |
| 3941 # PIC is the default on this platform | 4253 # PIC is the default on this platform |
| 3942 # Common symbols not allowed in MH_DYLIB files | 4254 # Common symbols not allowed in MH_DYLIB files |
| 3943 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' | 4255 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
| 3944 ;; | 4256 ;; |
| 3945 *djgpp*) | 4257 *djgpp*) |
| 3946 # DJGPP does not support shared libraries at all | 4258 # DJGPP does not support shared libraries at all |
| 3947 _LT_TAGVAR(lt_prog_compiler_pic, $1)= | 4259 _LT_TAGVAR(lt_prog_compiler_pic, $1)= |
| 3948 ;; | 4260 ;; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 3978 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' | 4290 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' |
| 3979 ;; | 4291 ;; |
| 3980 *) | 4292 *) |
| 3981 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 4293 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 3982 ;; | 4294 ;; |
| 3983 esac | 4295 esac |
| 3984 else | 4296 else |
| 3985 case $host_os in | 4297 case $host_os in |
| 3986 aix[[4-9]]*) | 4298 aix[[4-9]]*) |
| 3987 # All AIX code is PIC. | 4299 # All AIX code is PIC. |
| 3988 » if test "$host_cpu" = ia64; then | 4300 » if test ia64 = "$host_cpu"; then |
| 3989 # AIX 5 now supports IA64 processor | 4301 # AIX 5 now supports IA64 processor |
| 3990 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4302 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 3991 else | 4303 else |
| 3992 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' | 4304 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' |
| 3993 fi | 4305 fi |
| 3994 ;; | 4306 ;; |
| 3995 chorus*) | 4307 chorus*) |
| 3996 case $cc_basename in | 4308 case $cc_basename in |
| 3997 cxch68*) | 4309 cxch68*) |
| 3998 # Green Hills C++ Compiler | 4310 # Green Hills C++ Compiler |
| (...skipping 20 matching lines...) Expand all Loading... |
| 4019 ;; | 4331 ;; |
| 4020 esac | 4332 esac |
| 4021 ;; | 4333 ;; |
| 4022 freebsd* | dragonfly*) | 4334 freebsd* | dragonfly*) |
| 4023 # FreeBSD uses GNU C++ | 4335 # FreeBSD uses GNU C++ |
| 4024 ;; | 4336 ;; |
| 4025 hpux9* | hpux10* | hpux11*) | 4337 hpux9* | hpux10* | hpux11*) |
| 4026 case $cc_basename in | 4338 case $cc_basename in |
| 4027 CC*) | 4339 CC*) |
| 4028 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4340 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4029 » _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' | 4341 » _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' |
| 4030 » if test "$host_cpu" != ia64; then | 4342 » if test ia64 != "$host_cpu"; then |
| 4031 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' | 4343 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' |
| 4032 fi | 4344 fi |
| 4033 ;; | 4345 ;; |
| 4034 aCC*) | 4346 aCC*) |
| 4035 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4347 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4036 » _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' | 4348 » _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' |
| 4037 case $host_cpu in | 4349 case $host_cpu in |
| 4038 hppa*64*|ia64*) | 4350 hppa*64*|ia64*) |
| 4039 # +Z the default | 4351 # +Z the default |
| 4040 ;; | 4352 ;; |
| 4041 *) | 4353 *) |
| 4042 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' | 4354 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' |
| 4043 ;; | 4355 ;; |
| 4044 esac | 4356 esac |
| 4045 ;; | 4357 ;; |
| 4046 *) | 4358 *) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 4063 esac | 4375 esac |
| 4064 ;; | 4376 ;; |
| 4065 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 4377 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 4066 case $cc_basename in | 4378 case $cc_basename in |
| 4067 KCC*) | 4379 KCC*) |
| 4068 # KAI C++ Compiler | 4380 # KAI C++ Compiler |
| 4069 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' | 4381 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' |
| 4070 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 4382 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4071 ;; | 4383 ;; |
| 4072 ecpc* ) | 4384 ecpc* ) |
| 4073 » # old Intel C++ for x86_64 which still supported -KPIC. | 4385 » # old Intel C++ for x86_64, which still supported -KPIC. |
| 4074 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4386 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4075 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | 4387 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4076 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | 4388 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| 4077 ;; | 4389 ;; |
| 4078 icpc* ) | 4390 icpc* ) |
| 4079 # Intel C++, used to be incompatible with GCC. | 4391 # Intel C++, used to be incompatible with GCC. |
| 4080 # ICC 10 doesn't accept -KPIC any more. | 4392 # ICC 10 doesn't accept -KPIC any more. |
| 4081 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4393 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4082 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 4394 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4083 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | 4395 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4119 ;; | 4431 ;; |
| 4120 mvs*) | 4432 mvs*) |
| 4121 case $cc_basename in | 4433 case $cc_basename in |
| 4122 cxx*) | 4434 cxx*) |
| 4123 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' | 4435 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' |
| 4124 ;; | 4436 ;; |
| 4125 *) | 4437 *) |
| 4126 ;; | 4438 ;; |
| 4127 esac | 4439 esac |
| 4128 ;; | 4440 ;; |
| 4129 netbsd* | netbsdelf*-gnu) | 4441 netbsd*) |
| 4130 ;; | 4442 ;; |
| 4131 *qnx* | *nto*) | 4443 *qnx* | *nto*) |
| 4132 # QNX uses GNU C++, but need to define -shared option too, otherwise | 4444 # QNX uses GNU C++, but need to define -shared option too, otherwise |
| 4133 # it will coredump. | 4445 # it will coredump. |
| 4134 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' | 4446 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' |
| 4135 ;; | 4447 ;; |
| 4136 osf3* | osf4* | osf5*) | 4448 osf3* | osf4* | osf5*) |
| 4137 case $cc_basename in | 4449 case $cc_basename in |
| 4138 KCC*) | 4450 KCC*) |
| 4139 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' | 4451 _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4208 ;; | 4520 ;; |
| 4209 vxworks*) | 4521 vxworks*) |
| 4210 ;; | 4522 ;; |
| 4211 *) | 4523 *) |
| 4212 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no | 4524 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no |
| 4213 ;; | 4525 ;; |
| 4214 esac | 4526 esac |
| 4215 fi | 4527 fi |
| 4216 ], | 4528 ], |
| 4217 [ | 4529 [ |
| 4218 if test "$GCC" = yes; then | 4530 if test yes = "$GCC"; then |
| 4219 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4531 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4220 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | 4532 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| 4221 | 4533 |
| 4222 case $host_os in | 4534 case $host_os in |
| 4223 aix*) | 4535 aix*) |
| 4224 # All AIX code is PIC. | 4536 # All AIX code is PIC. |
| 4225 if test "$host_cpu" = ia64; then | 4537 if test ia64 = "$host_cpu"; then |
| 4226 # AIX 5 now supports IA64 processor | 4538 # AIX 5 now supports IA64 processor |
| 4227 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4539 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4228 fi | 4540 fi |
| 4541 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4229 ;; | 4542 ;; |
| 4230 | 4543 |
| 4231 amigaos*) | 4544 amigaos*) |
| 4232 case $host_cpu in | 4545 case $host_cpu in |
| 4233 powerpc) | 4546 powerpc) |
| 4234 # see comment about AmigaOS4 .so support | 4547 # see comment about AmigaOS4 .so support |
| 4235 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 4548 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4236 ;; | 4549 ;; |
| 4237 m68k) | 4550 m68k) |
| 4238 # FIXME: we need at least 68020 code to build shared libraries, but | 4551 # FIXME: we need at least 68020 code to build shared libraries, but |
| 4239 # adding the `-m68020' flag to GCC prevents building anything better
, | 4552 # adding the '-m68020' flag to GCC prevents building anything better
, |
| 4240 # like `-m68040'. | 4553 # like '-m68040'. |
| 4241 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-r
estore-a4' | 4554 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-r
estore-a4' |
| 4242 ;; | 4555 ;; |
| 4243 esac | 4556 esac |
| 4244 ;; | 4557 ;; |
| 4245 | 4558 |
| 4246 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 4559 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 4247 # PIC is the default for these OSes. | 4560 # PIC is the default for these OSes. |
| 4248 ;; | 4561 ;; |
| 4249 | 4562 |
| 4250 mingw* | cygwin* | pw32* | os2* | cegcc*) | 4563 mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 4251 # This hack is so that the source file can tell whether it is being | 4564 # This hack is so that the source file can tell whether it is being |
| 4252 # built for inclusion in a dll (and should export symbols for example). | 4565 # built for inclusion in a dll (and should export symbols for example). |
| 4253 # Although the cygwin gcc ignores -fPIC, still need this for old-style | 4566 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
| 4254 # (--disable-auto-import) libraries | 4567 # (--disable-auto-import) libraries |
| 4255 m4_if([$1], [GCJ], [], | 4568 m4_if([$1], [GCJ], [], |
| 4256 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) | 4569 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) |
| 4570 case $host_os in |
| 4571 os2*) |
| 4572 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' |
| 4573 ;; |
| 4574 esac |
| 4257 ;; | 4575 ;; |
| 4258 | 4576 |
| 4259 darwin* | rhapsody*) | 4577 darwin* | rhapsody*) |
| 4260 # PIC is the default on this platform | 4578 # PIC is the default on this platform |
| 4261 # Common symbols not allowed in MH_DYLIB files | 4579 # Common symbols not allowed in MH_DYLIB files |
| 4262 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' | 4580 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
| 4263 ;; | 4581 ;; |
| 4264 | 4582 |
| 4265 haiku*) | 4583 haiku*) |
| 4266 # PIC is the default for Haiku. | 4584 # PIC is the default for Haiku. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4317 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then | 4635 if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then |
| 4318 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_com
piler_pic, $1)" | 4636 _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_com
piler_pic, $1)" |
| 4319 fi | 4637 fi |
| 4320 ;; | 4638 ;; |
| 4321 esac | 4639 esac |
| 4322 else | 4640 else |
| 4323 # PORTME Check for flag to pass linker flags through the system compiler. | 4641 # PORTME Check for flag to pass linker flags through the system compiler. |
| 4324 case $host_os in | 4642 case $host_os in |
| 4325 aix*) | 4643 aix*) |
| 4326 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4644 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4327 if test "$host_cpu" = ia64; then | 4645 if test ia64 = "$host_cpu"; then |
| 4328 # AIX 5 now supports IA64 processor | 4646 # AIX 5 now supports IA64 processor |
| 4329 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4647 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4330 else | 4648 else |
| 4331 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' | 4649 _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' |
| 4332 fi | 4650 fi |
| 4333 ;; | 4651 ;; |
| 4334 | 4652 |
| 4653 darwin* | rhapsody*) |
| 4654 # PIC is the default on this platform |
| 4655 # Common symbols not allowed in MH_DYLIB files |
| 4656 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
| 4657 case $cc_basename in |
| 4658 nagfor*) |
| 4659 # NAG Fortran compiler |
| 4660 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' |
| 4661 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' |
| 4662 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4663 ;; |
| 4664 esac |
| 4665 ;; |
| 4666 |
| 4335 mingw* | cygwin* | pw32* | os2* | cegcc*) | 4667 mingw* | cygwin* | pw32* | os2* | cegcc*) |
| 4336 # This hack is so that the source file can tell whether it is being | 4668 # This hack is so that the source file can tell whether it is being |
| 4337 # built for inclusion in a dll (and should export symbols for example). | 4669 # built for inclusion in a dll (and should export symbols for example). |
| 4338 m4_if([$1], [GCJ], [], | 4670 m4_if([$1], [GCJ], [], |
| 4339 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) | 4671 [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) |
| 4672 case $host_os in |
| 4673 os2*) |
| 4674 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' |
| 4675 ;; |
| 4676 esac |
| 4340 ;; | 4677 ;; |
| 4341 | 4678 |
| 4342 hpux9* | hpux10* | hpux11*) | 4679 hpux9* | hpux10* | hpux11*) |
| 4343 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4680 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4344 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 4681 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
| 4345 # not for PA HP-UX. | 4682 # not for PA HP-UX. |
| 4346 case $host_cpu in | 4683 case $host_cpu in |
| 4347 hppa*64*|ia64*) | 4684 hppa*64*|ia64*) |
| 4348 # +Z the default | 4685 # +Z the default |
| 4349 ;; | 4686 ;; |
| 4350 *) | 4687 *) |
| 4351 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' | 4688 _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' |
| 4352 ;; | 4689 ;; |
| 4353 esac | 4690 esac |
| 4354 # Is there a better lt_prog_compiler_static that works with the bundled CC
? | 4691 # Is there a better lt_prog_compiler_static that works with the bundled CC
? |
| 4355 _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' | 4692 _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' |
| 4356 ;; | 4693 ;; |
| 4357 | 4694 |
| 4358 irix5* | irix6* | nonstopux*) | 4695 irix5* | irix6* | nonstopux*) |
| 4359 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4696 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4360 # PIC (with -KPIC) is the default. | 4697 # PIC (with -KPIC) is the default. |
| 4361 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' | 4698 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
| 4362 ;; | 4699 ;; |
| 4363 | 4700 |
| 4364 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 4701 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 4365 case $cc_basename in | 4702 case $cc_basename in |
| 4366 # old Intel for x86_64 which still supported -KPIC. | 4703 # old Intel for x86_64, which still supported -KPIC. |
| 4367 ecc*) | 4704 ecc*) |
| 4368 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4705 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4369 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | 4706 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4370 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | 4707 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| 4371 ;; | 4708 ;; |
| 4372 # icc used to be incompatible with GCC. | 4709 # icc used to be incompatible with GCC. |
| 4373 # ICC 10 doesn't accept -KPIC any more. | 4710 # ICC 10 doesn't accept -KPIC any more. |
| 4374 icc* | ifort*) | 4711 icc* | ifort*) |
| 4375 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4712 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4376 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 4713 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4377 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' | 4714 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| 4378 ;; | 4715 ;; |
| 4379 # Lahey Fortran 8.1. | 4716 # Lahey Fortran 8.1. |
| 4380 lf95*) | 4717 lf95*) |
| 4381 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4718 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4382 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' | 4719 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' |
| 4383 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' | 4720 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' |
| 4384 ;; | 4721 ;; |
| 4385 nagfor*) | 4722 nagfor*) |
| 4386 # NAG Fortran compiler | 4723 # NAG Fortran compiler |
| 4387 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' | 4724 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' |
| 4388 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' | 4725 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' |
| 4389 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4726 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4390 ;; | 4727 ;; |
| 4728 tcc*) |
| 4729 # Fabrice Bellard et al's Tiny C Compiler |
| 4730 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4731 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4732 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
| 4733 ;; |
| 4391 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | 4734 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 4392 # Portland Group compilers (*not* the Pentium gcc compiler, | 4735 # Portland Group compilers (*not* the Pentium gcc compiler, |
| 4393 # which looks to be a dead project) | 4736 # which looks to be a dead project) |
| 4394 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4737 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4395 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' | 4738 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' |
| 4396 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4739 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4397 ;; | 4740 ;; |
| 4398 ccc*) | 4741 ccc*) |
| 4399 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4742 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4400 # All Alpha code is PIC. | 4743 # All Alpha code is PIC. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4478 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4821 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4479 ;; | 4822 ;; |
| 4480 | 4823 |
| 4481 sysv4 | sysv4.2uw2* | sysv4.3*) | 4824 sysv4 | sysv4.2uw2* | sysv4.3*) |
| 4482 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4825 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4483 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | 4826 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4484 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4827 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4485 ;; | 4828 ;; |
| 4486 | 4829 |
| 4487 sysv4*MP*) | 4830 sysv4*MP*) |
| 4488 if test -d /usr/nec ;then | 4831 if test -d /usr/nec; then |
| 4489 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' | 4832 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' |
| 4490 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4833 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4491 fi | 4834 fi |
| 4492 ;; | 4835 ;; |
| 4493 | 4836 |
| 4494 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | 4837 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
| 4495 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4838 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4496 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | 4839 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4497 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4840 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4498 ;; | 4841 ;; |
| 4499 | 4842 |
| 4500 unicos*) | 4843 unicos*) |
| 4501 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 4844 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4502 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no | 4845 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no |
| 4503 ;; | 4846 ;; |
| 4504 | 4847 |
| 4505 uts4*) | 4848 uts4*) |
| 4506 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' | 4849 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' |
| 4507 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 4850 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4508 ;; | 4851 ;; |
| 4509 | 4852 |
| 4510 *) | 4853 *) |
| 4511 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no | 4854 _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no |
| 4512 ;; | 4855 ;; |
| 4513 esac | 4856 esac |
| 4514 fi | 4857 fi |
| 4515 ]) | 4858 ]) |
| 4516 case $host_os in | 4859 case $host_os in |
| 4517 # For platforms which do not support PIC, -DPIC is meaningless: | 4860 # For platforms that do not support PIC, -DPIC is meaningless: |
| 4518 *djgpp*) | 4861 *djgpp*) |
| 4519 _LT_TAGVAR(lt_prog_compiler_pic, $1)= | 4862 _LT_TAGVAR(lt_prog_compiler_pic, $1)= |
| 4520 ;; | 4863 ;; |
| 4521 *) | 4864 *) |
| 4522 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@
&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" | 4865 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@
&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" |
| 4523 ;; | 4866 ;; |
| 4524 esac | 4867 esac |
| 4525 | 4868 |
| 4526 AC_CACHE_CHECK([for $compiler option to produce PIC], | 4869 AC_CACHE_CHECK([for $compiler option to produce PIC], |
| 4527 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], | 4870 [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4573 m4_require([_LT_DECL_SED])dnl | 4916 m4_require([_LT_DECL_SED])dnl |
| 4574 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl | 4917 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl |
| 4575 m4_require([_LT_TAG_COMPILER])dnl | 4918 m4_require([_LT_TAG_COMPILER])dnl |
| 4576 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) | 4919 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) |
| 4577 m4_if([$1], [CXX], [ | 4920 m4_if([$1], [CXX], [ |
| 4578 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbo
l_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 4921 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbo
l_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 4579 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] | 4922 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] |
| 4580 case $host_os in | 4923 case $host_os in |
| 4581 aix[[4-9]]*) | 4924 aix[[4-9]]*) |
| 4582 # If we're using GNU nm, then we don't want the "-C" option. | 4925 # If we're using GNU nm, then we don't want the "-C" option. |
| 4583 # -C means demangle to AIX nm, but means don't demangle with GNU nm | 4926 # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 4584 # Also, AIX nm treats weak defined symbols like other global defined | 4927 # Without the "-l" option, or with the "-B" option, AIX nm treats |
| 4585 # symbols, whereas GNU nm marks them as "W". | 4928 # weak defined symbols like other global defined symbols, whereas |
| 4929 # GNU nm marks them as "W". |
| 4930 # While the 'weak' keyword is ignored in the Export File, we need |
| 4931 # it in the Import File for the 'aix-soname' feature, so we have |
| 4932 # to replace the "-B" option with "-P" for AIX nm. |
| 4586 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | 4933 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 4587 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk
'\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) &&
([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 4934 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk
'\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) &&
([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { pr
int \$ 3 } } }'\'' | sort -u > $export_symbols' |
| 4588 else | 4935 else |
| 4589 _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk
'\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1
,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 4936 _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\
([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T"
) || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 =
= "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") ||
(\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $e
xport_symbols' |
| 4590 fi | 4937 fi |
| 4591 ;; | 4938 ;; |
| 4592 pw32*) | 4939 pw32*) |
| 4593 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" | 4940 _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds |
| 4594 ;; | 4941 ;; |
| 4595 cygwin* | mingw* | cegcc*) | 4942 cygwin* | mingw* | cegcc*) |
| 4596 case $cc_basename in | 4943 case $cc_basename in |
| 4597 cl*) | 4944 cl*) |
| 4598 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTO
R_.*' | 4945 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTO
R_.*' |
| 4599 ;; | 4946 ;; |
| 4600 *) | 4947 *) |
| 4601 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_s
ymbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[
]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\''
| sort | uniq > $export_symbols' | 4948 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_s
ymbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[
]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\''
| sort | uniq > $export_symbols' |
| 4602 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FI
D]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] | 4949 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FI
D]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] |
| 4603 ;; | 4950 ;; |
| 4604 esac | 4951 esac |
| 4605 ;; | 4952 ;; |
| 4606 linux* | k*bsd*-gnu | gnu*) | |
| 4607 _LT_TAGVAR(link_all_deplibs, $1)=no | |
| 4608 ;; | |
| 4609 *) | 4953 *) |
| 4610 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sym
bol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 4954 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sym
bol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
| 4611 ;; | 4955 ;; |
| 4612 esac | 4956 esac |
| 4613 ], [ | 4957 ], [ |
| 4614 runpath_var= | 4958 runpath_var= |
| 4615 _LT_TAGVAR(allow_undefined_flag, $1)= | 4959 _LT_TAGVAR(allow_undefined_flag, $1)= |
| 4616 _LT_TAGVAR(always_export_symbols, $1)=no | 4960 _LT_TAGVAR(always_export_symbols, $1)=no |
| 4617 _LT_TAGVAR(archive_cmds, $1)= | 4961 _LT_TAGVAR(archive_cmds, $1)= |
| 4618 _LT_TAGVAR(archive_expsym_cmds, $1)= | 4962 _LT_TAGVAR(archive_expsym_cmds, $1)= |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4632 _LT_TAGVAR(module_cmds, $1)= | 4976 _LT_TAGVAR(module_cmds, $1)= |
| 4633 _LT_TAGVAR(module_expsym_cmds, $1)= | 4977 _LT_TAGVAR(module_expsym_cmds, $1)= |
| 4634 _LT_TAGVAR(old_archive_from_new_cmds, $1)= | 4978 _LT_TAGVAR(old_archive_from_new_cmds, $1)= |
| 4635 _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= | 4979 _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= |
| 4636 _LT_TAGVAR(thread_safe_flag_spec, $1)= | 4980 _LT_TAGVAR(thread_safe_flag_spec, $1)= |
| 4637 _LT_TAGVAR(whole_archive_flag_spec, $1)= | 4981 _LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 4638 # include_expsyms should be a list of space-separated symbols to be *always* | 4982 # include_expsyms should be a list of space-separated symbols to be *always* |
| 4639 # included in the symbol list | 4983 # included in the symbol list |
| 4640 _LT_TAGVAR(include_expsyms, $1)= | 4984 _LT_TAGVAR(include_expsyms, $1)= |
| 4641 # exclude_expsyms can be an extended regexp of symbols to exclude | 4985 # exclude_expsyms can be an extended regexp of symbols to exclude |
| 4642 # it will be wrapped by ` (' and `)$', so one must not match beginning or | 4986 # it will be wrapped by ' (' and ')$', so one must not match beginning or |
| 4643 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 4987 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', |
| 4644 # as well as any symbol that contains `d'. | 4988 # as well as any symbol that contains 'd'. |
| 4645 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] | 4989 _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] |
| 4646 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 4990 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
| 4647 # platforms (ab)use it in PIC code, but their linkers get confused if | 4991 # platforms (ab)use it in PIC code, but their linkers get confused if |
| 4648 # the symbol is explicitly referenced. Since portable code cannot | 4992 # the symbol is explicitly referenced. Since portable code cannot |
| 4649 # rely on this symbol name, it's probably fine to never include it in | 4993 # rely on this symbol name, it's probably fine to never include it in |
| 4650 # preloaded symbol tables. | 4994 # preloaded symbol tables. |
| 4651 # Exclude shared library initialization/finalization symbols. | 4995 # Exclude shared library initialization/finalization symbols. |
| 4652 dnl Note also adjust exclude_expsyms for C++ above. | 4996 dnl Note also adjust exclude_expsyms for C++ above. |
| 4653 extract_expsyms_cmds= | 4997 extract_expsyms_cmds= |
| 4654 | 4998 |
| 4655 case $host_os in | 4999 case $host_os in |
| 4656 cygwin* | mingw* | pw32* | cegcc*) | 5000 cygwin* | mingw* | pw32* | cegcc*) |
| 4657 # FIXME: the MSVC++ port hasn't been tested in a loooong time | 5001 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
| 4658 # When not using gcc, we currently assume that we are using | 5002 # When not using gcc, we currently assume that we are using |
| 4659 # Microsoft Visual C++. | 5003 # Microsoft Visual C++. |
| 4660 if test "$GCC" != yes; then | 5004 if test yes != "$GCC"; then |
| 4661 with_gnu_ld=no | 5005 with_gnu_ld=no |
| 4662 fi | 5006 fi |
| 4663 ;; | 5007 ;; |
| 4664 interix*) | 5008 interix*) |
| 4665 # we just hope/assume this is gcc and not c89 (= MSVC++) | 5009 # we just hope/assume this is gcc and not c89 (= MSVC++) |
| 4666 with_gnu_ld=yes | 5010 with_gnu_ld=yes |
| 4667 ;; | 5011 ;; |
| 4668 openbsd*) | 5012 openbsd* | bitrig*) |
| 4669 with_gnu_ld=no | 5013 with_gnu_ld=no |
| 4670 ;; | 5014 ;; |
| 4671 linux* | k*bsd*-gnu | gnu*) | |
| 4672 _LT_TAGVAR(link_all_deplibs, $1)=no | |
| 4673 ;; | |
| 4674 esac | 5015 esac |
| 4675 | 5016 |
| 4676 _LT_TAGVAR(ld_shlibs, $1)=yes | 5017 _LT_TAGVAR(ld_shlibs, $1)=yes |
| 4677 | 5018 |
| 4678 # On some targets, GNU ld is compatible enough with the native linker | 5019 # On some targets, GNU ld is compatible enough with the native linker |
| 4679 # that we're better off using the native interface for both. | 5020 # that we're better off using the native interface for both. |
| 4680 lt_use_gnu_ld_interface=no | 5021 lt_use_gnu_ld_interface=no |
| 4681 if test "$with_gnu_ld" = yes; then | 5022 if test yes = "$with_gnu_ld"; then |
| 4682 case $host_os in | 5023 case $host_os in |
| 4683 aix*) | 5024 aix*) |
| 4684 # The AIX port of GNU ld has always aspired to compatibility | 5025 # The AIX port of GNU ld has always aspired to compatibility |
| 4685 # with the native linker. However, as the warning in the GNU ld | 5026 # with the native linker. However, as the warning in the GNU ld |
| 4686 # block says, versions before 2.19.5* couldn't really create working | 5027 # block says, versions before 2.19.5* couldn't really create working |
| 4687 # shared libraries, regardless of the interface used. | 5028 # shared libraries, regardless of the interface used. |
| 4688 case `$LD -v 2>&1` in | 5029 case `$LD -v 2>&1` in |
| 4689 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | 5030 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 4690 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; | 5031 *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; |
| 4691 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; | 5032 *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; |
| 4692 *) | 5033 *) |
| 4693 lt_use_gnu_ld_interface=yes | 5034 lt_use_gnu_ld_interface=yes |
| 4694 ;; | 5035 ;; |
| 4695 esac | 5036 esac |
| 4696 ;; | 5037 ;; |
| 4697 *) | 5038 *) |
| 4698 lt_use_gnu_ld_interface=yes | 5039 lt_use_gnu_ld_interface=yes |
| 4699 ;; | 5040 ;; |
| 4700 esac | 5041 esac |
| 4701 fi | 5042 fi |
| 4702 | 5043 |
| 4703 if test "$lt_use_gnu_ld_interface" = yes; then | 5044 if test yes = "$lt_use_gnu_ld_interface"; then |
| 4704 # If archive_cmds runs LD, not CC, wlarc should be empty | 5045 # If archive_cmds runs LD, not CC, wlarc should be empty |
| 4705 wlarc='${wl}' | 5046 wlarc='$wl' |
| 4706 | 5047 |
| 4707 # Set some defaults for GNU ld with shared library support. These | 5048 # Set some defaults for GNU ld with shared library support. These |
| 4708 # are reset later if shared libraries are not supported. Putting them | 5049 # are reset later if shared libraries are not supported. Putting them |
| 4709 # here allows them to be overridden if necessary. | 5050 # here allows them to be overridden if necessary. |
| 4710 runpath_var=LD_RUN_PATH | 5051 runpath_var=LD_RUN_PATH |
| 4711 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 5052 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 4712 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 5053 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' |
| 4713 # ancient GNU ld didn't support --whole-archive et. al. | 5054 # ancient GNU ld didn't support --whole-archive et. al. |
| 4714 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | 5055 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
| 4715 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenien
ce '"$wlarc"'--no-whole-archive' | 5056 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience
'$wlarc'--no-whole-archive' |
| 4716 else | 5057 else |
| 4717 _LT_TAGVAR(whole_archive_flag_spec, $1)= | 5058 _LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 4718 fi | 5059 fi |
| 4719 supports_anon_versioning=no | 5060 supports_anon_versioning=no |
| 4720 case `$LD -v 2>&1` in | 5061 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in |
| 4721 *GNU\ gold*) supports_anon_versioning=yes ;; | 5062 *GNU\ gold*) supports_anon_versioning=yes ;; |
| 4722 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 | 5063 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 4723 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | 5064 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 4724 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | 5065 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 4725 *\ 2.11.*) ;; # other 2.11 versions | 5066 *\ 2.11.*) ;; # other 2.11 versions |
| 4726 *) supports_anon_versioning=yes ;; | 5067 *) supports_anon_versioning=yes ;; |
| 4727 esac | 5068 esac |
| 4728 | 5069 |
| 4729 # See if GNU ld supports shared libraries. | 5070 # See if GNU ld supports shared libraries. |
| 4730 case $host_os in | 5071 case $host_os in |
| 4731 aix[[3-9]]*) | 5072 aix[[3-9]]*) |
| 4732 # On AIX/PPC, the GNU linker is very broken | 5073 # On AIX/PPC, the GNU linker is very broken |
| 4733 if test "$host_cpu" != ia64; then | 5074 if test ia64 != "$host_cpu"; then |
| 4734 _LT_TAGVAR(ld_shlibs, $1)=no | 5075 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4735 cat <<_LT_EOF 1>&2 | 5076 cat <<_LT_EOF 1>&2 |
| 4736 | 5077 |
| 4737 *** Warning: the GNU linker, at least up to release 2.19, is reported | 5078 *** Warning: the GNU linker, at least up to release 2.19, is reported |
| 4738 *** to be unable to reliably create shared libraries on AIX. | 5079 *** to be unable to reliably create shared libraries on AIX. |
| 4739 *** Therefore, libtool is disabling shared libraries support. If you | 5080 *** Therefore, libtool is disabling shared libraries support. If you |
| 4740 *** really care for shared libraries, you may want to install binutils | 5081 *** really care for shared libraries, you may want to install binutils |
| 4741 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. | 5082 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 4742 *** You will then need to restart the configuration process. | 5083 *** You will then need to restart the configuration process. |
| 4743 | 5084 |
| 4744 _LT_EOF | 5085 _LT_EOF |
| 4745 fi | 5086 fi |
| 4746 ;; | 5087 ;; |
| 4747 | 5088 |
| 4748 amigaos*) | 5089 amigaos*) |
| 4749 case $host_cpu in | 5090 case $host_cpu in |
| 4750 powerpc) | 5091 powerpc) |
| 4751 # see comment about AmigaOS4 .so support | 5092 # see comment about AmigaOS4 .so support |
| 4752 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile
r_flags ${wl}-soname $wl$soname -o $lib' | 5093 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile
r_flags $wl-soname $wl$soname -o $lib' |
| 4753 _LT_TAGVAR(archive_expsym_cmds, $1)='' | 5094 _LT_TAGVAR(archive_expsym_cmds, $1)='' |
| 4754 ;; | 5095 ;; |
| 4755 m68k) | 5096 m68k) |
| 4756 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$E
CHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIB
RARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >>
$output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_ob
jdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdi
r && a2ixlibrary -32)' | 5097 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$E
CHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIB
RARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >>
$output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_ob
jdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdi
r && a2ixlibrary -32)' |
| 4757 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 5098 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 4758 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5099 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 4759 ;; | 5100 ;; |
| 4760 esac | 5101 esac |
| 4761 ;; | 5102 ;; |
| 4762 | 5103 |
| 4763 beos*) | 5104 beos*) |
| 4764 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 5105 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 4765 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 5106 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 4766 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 5107 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
| 4767 # support --undefined. This deserves some investigation. FIXME | 5108 # support --undefined. This deserves some investigation. FIXME |
| 4768 » _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_f
lags ${wl}-soname $wl$soname -o $lib' | 5109 » _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_f
lags $wl-soname $wl$soname -o $lib' |
| 4769 else | 5110 else |
| 4770 _LT_TAGVAR(ld_shlibs, $1)=no | 5111 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4771 fi | 5112 fi |
| 4772 ;; | 5113 ;; |
| 4773 | 5114 |
| 4774 cygwin* | mingw* | pw32* | cegcc*) | 5115 cygwin* | mingw* | pw32* | cegcc*) |
| 4775 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, | 5116 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
| 4776 # as there is no search path for DLLs. | 5117 # as there is no search path for DLLs. |
| 4777 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 5118 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 4778 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' | 5119 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' |
| 4779 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 5120 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 4780 _LT_TAGVAR(always_export_symbols, $1)=no | 5121 _LT_TAGVAR(always_export_symbols, $1)=no |
| 4781 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | 5122 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 4782 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_s
ymbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[
]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\''
| sort | uniq > $export_symbols' | 5123 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_s
ymbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[
]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\''
| sort | uniq > $export_symbols' |
| 4783 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FI
D]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] | 5124 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FI
D]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] |
| 4784 | 5125 |
| 4785 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | 5126 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 4786 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl
ags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-impli
b -Xlinker $lib' | 5127 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl
ags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib
-Xlinker $lib' |
| 4787 » # If the export-symbols file already is a .def file (1st line | 5128 » # If the export-symbols file already is a .def file, use it as |
| 4788 » # is EXPORTS), use it as is; otherwise, prepend... | 5129 » # is; otherwise, prepend EXPORTS... |
| 4789 » _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`
" = xEXPORTS; then | 5130 » _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols])
; then |
| 4790 » cp $export_symbols $output_objdir/$soname.def; | 5131 cp $export_symbols $output_objdir/$soname.def; |
| 4791 » else | 5132 else |
| 4792 » echo EXPORTS > $output_objdir/$soname.def; | 5133 echo EXPORTS > $output_objdir/$soname.def; |
| 4793 » cat $export_symbols >> $output_objdir/$soname.def; | 5134 cat $export_symbols >> $output_objdir/$soname.def; |
| 4794 » fi~ | 5135 fi~ |
| 4795 » $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags
-o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -
Xlinker $lib' | 5136 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags
-o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xl
inker $lib' |
| 4796 else | 5137 else |
| 4797 _LT_TAGVAR(ld_shlibs, $1)=no | 5138 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4798 fi | 5139 fi |
| 4799 ;; | 5140 ;; |
| 4800 | 5141 |
| 4801 haiku*) | 5142 haiku*) |
| 4802 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flag
s ${wl}-soname $wl$soname -o $lib' | 5143 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flag
s $wl-soname $wl$soname -o $lib' |
| 4803 _LT_TAGVAR(link_all_deplibs, $1)=yes | 5144 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 4804 ;; | 5145 ;; |
| 4805 | 5146 |
| 5147 os2*) |
| 5148 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5149 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5150 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 5151 shrext_cmds=.dll |
| 5152 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINS
TANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 5153 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 5154 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 5155 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 5156 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def
~ |
| 5157 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ |
| 5158 emximp -o $lib $output_objdir/$libname.def' |
| 5159 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext}
INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 5160 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 5161 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 5162 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 5163 prefix_cmds="$SED"~ |
| 5164 if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 5165 prefix_cmds="$prefix_cmds -e 1d"; |
| 5166 fi~ |
| 5167 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 5168 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 5169 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ |
| 5170 emximp -o $lib $output_objdir/$libname.def' |
| 5171 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libn
ame}_dll.a $output_objdir/$libname.def' |
| 5172 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 5173 ;; |
| 5174 |
| 4806 interix[[3-9]]*) | 5175 interix[[3-9]]*) |
| 4807 _LT_TAGVAR(hardcode_direct, $1)=no | 5176 _LT_TAGVAR(hardcode_direct, $1)=no |
| 4808 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5177 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 4809 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 5178 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 4810 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 5179 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 4811 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | 5180 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 4812 # Instead, shared libraries are loaded at an image base (0x10000000 by | 5181 # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 4813 # default) and relocated if they conflict, which is a slow very memory | 5182 # default) and relocated if they conflict, which is a slow very memory |
| 4814 # consuming and fragmenting process. To avoid this, we pick a random, | 5183 # consuming and fragmenting process. To avoid this, we pick a random, |
| 4815 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | 5184 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 4816 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | 5185 # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 4817 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $com
piler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 2
62144 + 1342177280` -o $lib' | 5186 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $com
piler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 26214
4 + 1342177280` -o $lib' |
| 4818 _LT_TAGVAR(archive_expsym_cmds, $1)='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}--i
mage-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 5187 _LT_TAGVAR(archive_expsym_cmds, $1)='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-b
ase,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
| 4819 ;; | 5188 ;; |
| 4820 | 5189 |
| 4821 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | 5190 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 4822 tmp_diet=no | 5191 tmp_diet=no |
| 4823 if test "$host_os" = linux-dietlibc; then | 5192 if test linux-dietlibc = "$host_os"; then |
| 4824 case $cc_basename in | 5193 case $cc_basename in |
| 4825 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) | 5194 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!d
iet-dyn) |
| 4826 esac | 5195 esac |
| 4827 fi | 5196 fi |
| 4828 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | 5197 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
| 4829 » && test "$tmp_diet" = no | 5198 » && test no = "$tmp_diet" |
| 4830 then | 5199 then |
| 4831 tmp_addflag=' $pic_flag' | 5200 tmp_addflag=' $pic_flag' |
| 4832 tmp_sharedflag='-shared' | 5201 tmp_sharedflag='-shared' |
| 4833 case $cc_basename,$host_cpu in | 5202 case $cc_basename,$host_cpu in |
| 4834 pgcc*) # Portland Group C compiler | 5203 pgcc*) # Portland Group C compiler |
| 4835 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv
in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc
e,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 5204 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv i
n $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,
$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 4836 tmp_addflag=' $pic_flag' | 5205 tmp_addflag=' $pic_flag' |
| 4837 ;; | 5206 ;; |
| 4838 pgf77* | pgf90* | pgf95* | pgfortran*) | 5207 pgf77* | pgf90* | pgf95* | pgfortran*) |
| 4839 # Portland Group f77 and f90 compilers | 5208 # Portland Group f77 and f90 compilers |
| 4840 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv
in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc
e,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 5209 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv i
n $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,
$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 4841 tmp_addflag=' $pic_flag -Mnomain' ;; | 5210 tmp_addflag=' $pic_flag -Mnomain' ;; |
| 4842 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | 5211 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 4843 tmp_addflag=' -i_dynamic' ;; | 5212 tmp_addflag=' -i_dynamic' ;; |
| 4844 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | 5213 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
| 4845 tmp_addflag=' -i_dynamic -nofor_main' ;; | 5214 tmp_addflag=' -i_dynamic -nofor_main' ;; |
| 4846 ifc* | ifort*) # Intel Fortran compiler | 5215 ifc* | ifort*) # Intel Fortran compiler |
| 4847 tmp_addflag=' -nofor_main' ;; | 5216 tmp_addflag=' -nofor_main' ;; |
| 4848 lf95*) # Lahey Fortran 8.1 | 5217 lf95*) # Lahey Fortran 8.1 |
| 4849 _LT_TAGVAR(whole_archive_flag_spec, $1)= | 5218 _LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 4850 tmp_sharedflag='--shared' ;; | 5219 tmp_sharedflag='--shared' ;; |
| 5220 nagfor*) # NAGFOR 5.3 |
| 5221 tmp_sharedflag='-Wl,-shared' ;; |
| 4851 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with
xlf below) | 5222 xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with
xlf below) |
| 4852 tmp_sharedflag='-qmkshrobj' | 5223 tmp_sharedflag='-qmkshrobj' |
| 4853 tmp_addflag= ;; | 5224 tmp_addflag= ;; |
| 4854 nvcc*) # Cuda Compiler Driver 2.2 | 5225 nvcc*) # Cuda Compiler Driver 2.2 |
| 4855 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv
in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc
e,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 5226 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv i
n $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,
$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 4856 _LT_TAGVAR(compiler_needs_object, $1)=yes | 5227 _LT_TAGVAR(compiler_needs_object, $1)=yes |
| 4857 ;; | 5228 ;; |
| 4858 esac | 5229 esac |
| 4859 case `$CC -V 2>&1 | sed 5q` in | 5230 case `$CC -V 2>&1 | sed 5q` in |
| 4860 *Sun\ C*) # Sun C 5.9 | 5231 *Sun\ C*) # Sun C 5.9 |
| 4861 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_conv
enience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=
\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-
whole-archive' | 5232 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_conven
ience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"
$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whol
e-archive' |
| 4862 _LT_TAGVAR(compiler_needs_object, $1)=yes | 5233 _LT_TAGVAR(compiler_needs_object, $1)=yes |
| 4863 tmp_sharedflag='-G' ;; | 5234 tmp_sharedflag='-G' ;; |
| 4864 *Sun\ F*) # Sun Fortran 8.3 | 5235 *Sun\ F*) # Sun Fortran 8.3 |
| 4865 tmp_sharedflag='-G' ;; | 5236 tmp_sharedflag='-G' ;; |
| 4866 esac | 5237 esac |
| 4867 » _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $lib
objs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 5238 » _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $lib
objs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 4868 | 5239 |
| 4869 if test "x$supports_anon_versioning" = xyes; then | 5240 if test yes = "$supports_anon_versioning"; then |
| 4870 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir
/$libname.ver~ | 5241 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir
/$libname.ver~ |
| 4871 » cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ | 5242 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libn
ame.ver~ |
| 4872 » echo "local: *; };" >> $output_objdir/$libname.ver~ | 5243 echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 4873 » $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl
ags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ve
r -o $lib' | 5244 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_fl
ags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $
lib' |
| 4874 fi | 5245 fi |
| 4875 | 5246 |
| 4876 case $cc_basename in | 5247 case $cc_basename in |
| 5248 tcc*) |
| 5249 _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' |
| 5250 ;; |
| 4877 xlf* | bgf* | bgxlf* | mpixlf*) | 5251 xlf* | bgf* | bgxlf* | mpixlf*) |
| 4878 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | 5252 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 4879 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience -
-no-whole-archive' | 5253 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience -
-no-whole-archive' |
| 4880 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 5254 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 4881 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_fl
ags -soname $soname -o $lib' | 5255 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_fl
ags -soname $soname -o $lib' |
| 4882 » if test "x$supports_anon_versioning" = xyes; then | 5256 » if test yes = "$supports_anon_versioning"; then |
| 4883 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objd
ir/$libname.ver~ | 5257 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objd
ir/$libname.ver~ |
| 4884 » cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ | 5258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$li
bname.ver~ |
| 4885 » echo "local: *; };" >> $output_objdir/$libname.ver~ | 5259 echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 4886 » $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' | 5260 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -versi
on-script $output_objdir/$libname.ver -o $lib' |
| 4887 fi | 5261 fi |
| 4888 ;; | 5262 ;; |
| 4889 esac | 5263 esac |
| 4890 else | 5264 else |
| 4891 _LT_TAGVAR(ld_shlibs, $1)=no | 5265 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4892 fi | 5266 fi |
| 4893 ;; | 5267 ;; |
| 4894 | 5268 |
| 4895 netbsd* | netbsdelf*-gnu) | 5269 netbsd*) |
| 4896 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 5270 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 4897 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_
flags -o $lib' | 5271 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_
flags -o $lib' |
| 4898 wlarc= | 5272 wlarc= |
| 4899 else | 5273 else |
| 4900 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags ${wl}-soname $wl$soname -o $lib' | 5274 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags $wl-soname $wl$soname -o $lib' |
| 4901 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $dep
libs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$expor
t_symbols -o $lib' | 5275 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $dep
libs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_sy
mbols -o $lib' |
| 4902 fi | 5276 fi |
| 4903 ;; | 5277 ;; |
| 4904 | 5278 |
| 4905 solaris*) | 5279 solaris*) |
| 4906 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | 5280 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
| 4907 _LT_TAGVAR(ld_shlibs, $1)=no | 5281 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4908 cat <<_LT_EOF 1>&2 | 5282 cat <<_LT_EOF 1>&2 |
| 4909 | 5283 |
| 4910 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 5284 *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
| 4911 *** create shared libraries on Solaris systems. Therefore, libtool | 5285 *** create shared libraries on Solaris systems. Therefore, libtool |
| 4912 *** is disabling shared libraries support. We urge you to upgrade GNU | 5286 *** is disabling shared libraries support. We urge you to upgrade GNU |
| 4913 *** binutils to release 2.9.1 or newer. Another option is to modify | 5287 *** binutils to release 2.9.1 or newer. Another option is to modify |
| 4914 *** your PATH or compiler configuration so that the native linker is | 5288 *** your PATH or compiler configuration so that the native linker is |
| 4915 *** used, and then restart. | 5289 *** used, and then restart. |
| 4916 | 5290 |
| 4917 _LT_EOF | 5291 _LT_EOF |
| 4918 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n | 5292 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n |
| 4919 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags ${wl}-soname $wl$soname -o $lib' | 5293 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags $wl-soname $wl$soname -o $lib' |
| 4920 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $dep
libs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$expor
t_symbols -o $lib' | 5294 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $dep
libs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_sy
mbols -o $lib' |
| 4921 else | 5295 else |
| 4922 _LT_TAGVAR(ld_shlibs, $1)=no | 5296 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4923 fi | 5297 fi |
| 4924 ;; | 5298 ;; |
| 4925 | 5299 |
| 4926 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | 5300 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
| 4927 case `$LD -v 2>&1` in | 5301 case `$LD -v 2>&1` in |
| 4928 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) | 5302 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) |
| 4929 _LT_TAGVAR(ld_shlibs, $1)=no | 5303 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4930 cat <<_LT_EOF 1>&2 | 5304 cat <<_LT_EOF 1>&2 |
| 4931 | 5305 |
| 4932 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | 5306 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot |
| 4933 *** reliably create shared libraries on SCO systems. Therefore, libtool | 5307 *** reliably create shared libraries on SCO systems. Therefore, libtool |
| 4934 *** is disabling shared libraries support. We urge you to upgrade GNU | 5308 *** is disabling shared libraries support. We urge you to upgrade GNU |
| 4935 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | 5309 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
| 4936 *** your PATH or compiler configuration so that the native linker is | 5310 *** your PATH or compiler configuration so that the native linker is |
| 4937 *** used, and then restart. | 5311 *** used, and then restart. |
| 4938 | 5312 |
| 4939 _LT_EOF | 5313 _LT_EOF |
| 4940 ;; | 5314 ;; |
| 4941 *) | 5315 *) |
| 4942 # For security reasons, it is highly recommended that you always | 5316 # For security reasons, it is highly recommended that you always |
| 4943 # use absolute paths for naming shared libraries, and exclude the | 5317 # use absolute paths for naming shared libraries, and exclude the |
| 4944 # DT_RUNPATH tag from executables and libraries. But doing so | 5318 # DT_RUNPATH tag from executables and libraries. But doing so |
| 4945 # requires that you compile everything twice, which is a pain. | 5319 # requires that you compile everything twice, which is a pain. |
| 4946 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen | 5320 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; t
hen |
| 4947 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 5321 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 4948 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile
r_flags ${wl}-soname $wl$soname -o $lib' | 5322 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile
r_flags $wl-soname $wl$soname -o $lib' |
| 4949 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $
compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symb
ols -o $lib' | 5323 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $
compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols
-o $lib' |
| 4950 else | 5324 else |
| 4951 _LT_TAGVAR(ld_shlibs, $1)=no | 5325 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4952 fi | 5326 fi |
| 4953 ;; | 5327 ;; |
| 4954 esac | 5328 esac |
| 4955 ;; | 5329 ;; |
| 4956 | 5330 |
| 4957 sunos4*) | 5331 sunos4*) |
| 4958 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $l
ibobjs $deplibs $linker_flags' | 5332 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $l
ibobjs $deplibs $linker_flags' |
| 4959 wlarc= | 5333 wlarc= |
| 4960 _LT_TAGVAR(hardcode_direct, $1)=yes | 5334 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 4961 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5335 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 4962 ;; | 5336 ;; |
| 4963 | 5337 |
| 4964 *) | 5338 *) |
| 4965 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 5339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
| 4966 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags ${wl}-soname $wl$soname -o $lib' | 5340 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags $wl-soname $wl$soname -o $lib' |
| 4967 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $dep
libs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$expor
t_symbols -o $lib' | 5341 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $dep
libs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_sy
mbols -o $lib' |
| 4968 else | 5342 else |
| 4969 _LT_TAGVAR(ld_shlibs, $1)=no | 5343 _LT_TAGVAR(ld_shlibs, $1)=no |
| 4970 fi | 5344 fi |
| 4971 ;; | 5345 ;; |
| 4972 esac | 5346 esac |
| 4973 | 5347 |
| 4974 if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then | 5348 if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then |
| 4975 runpath_var= | 5349 runpath_var= |
| 4976 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= | 5350 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 4977 _LT_TAGVAR(export_dynamic_flag_spec, $1)= | 5351 _LT_TAGVAR(export_dynamic_flag_spec, $1)= |
| 4978 _LT_TAGVAR(whole_archive_flag_spec, $1)= | 5352 _LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 4979 fi | 5353 fi |
| 4980 else | 5354 else |
| 4981 # PORTME fill in a description of your system's linker (not GNU ld) | 5355 # PORTME fill in a description of your system's linker (not GNU ld) |
| 4982 case $host_os in | 5356 case $host_os in |
| 4983 aix3*) | 5357 aix3*) |
| 4984 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 5358 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 4985 _LT_TAGVAR(always_export_symbols, $1)=yes | 5359 _LT_TAGVAR(always_export_symbols, $1)=yes |
| 4986 _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobj
s $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $
lib $output_objdir/$soname' | 5360 _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobj
s $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $
lib $output_objdir/$soname' |
| 4987 # Note: this linker hardcodes the directories in LIBPATH if there | 5361 # Note: this linker hardcodes the directories in LIBPATH if there |
| 4988 # are no directories specified by -L. | 5362 # are no directories specified by -L. |
| 4989 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5363 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 4990 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | 5364 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then |
| 4991 # Neither direct hardcoding nor static linking is supported with a | 5365 # Neither direct hardcoding nor static linking is supported with a |
| 4992 # broken collect2. | 5366 # broken collect2. |
| 4993 _LT_TAGVAR(hardcode_direct, $1)=unsupported | 5367 _LT_TAGVAR(hardcode_direct, $1)=unsupported |
| 4994 fi | 5368 fi |
| 4995 ;; | 5369 ;; |
| 4996 | 5370 |
| 4997 aix[[4-9]]*) | 5371 aix[[4-9]]*) |
| 4998 if test "$host_cpu" = ia64; then | 5372 if test ia64 = "$host_cpu"; then |
| 4999 # On IA64, the linker does run time linking by default, so we don't | 5373 # On IA64, the linker does run time linking by default, so we don't |
| 5000 # have to do anything special. | 5374 # have to do anything special. |
| 5001 aix_use_runtimelinking=no | 5375 aix_use_runtimelinking=no |
| 5002 exp_sym_flag='-Bexport' | 5376 exp_sym_flag='-Bexport' |
| 5003 » no_entry_flag="" | 5377 » no_entry_flag= |
| 5004 else | 5378 else |
| 5005 # If we're using GNU nm, then we don't want the "-C" option. | 5379 # If we're using GNU nm, then we don't want the "-C" option. |
| 5006 » # -C means demangle to AIX nm, but means don't demangle with GNU nm | 5380 » # -C means demangle to GNU nm, but means don't demangle to AIX nm. |
| 5007 » # Also, AIX nm treats weak defined symbols like other global | 5381 » # Without the "-l" option, or with the "-B" option, AIX nm treats |
| 5008 » # defined symbols, whereas GNU nm marks them as "W". | 5382 » # weak defined symbols like other global defined symbols, whereas |
| 5383 » # GNU nm marks them as "W". |
| 5384 » # While the 'weak' keyword is ignored in the Export File, we need |
| 5385 » # it in the Import File for the 'aix-soname' feature, so we have |
| 5386 » # to replace the "-B" option with "-P" for AIX nm. |
| 5009 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | 5387 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 5010 » _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience |
awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W"))
&& ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbol
s' | 5388 » _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience |
awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W"))
&& ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else
{ print \$ 3 } } }'\'' | sort -u > $export_symbols' |
| 5011 else | 5389 else |
| 5012 » _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience |
awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$
3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 5390 » _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''
s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 ==
"T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$
2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V")
|| (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u
> $export_symbols' |
| 5013 fi | 5391 fi |
| 5014 aix_use_runtimelinking=no | 5392 aix_use_runtimelinking=no |
| 5015 | 5393 |
| 5016 # Test if we are trying to use run time linking or normal | 5394 # Test if we are trying to use run time linking or normal |
| 5017 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 5395 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 5018 » # need to do runtime linking. | 5396 » # have runtime linking enabled, and use it for executables. |
| 5397 » # For shared libraries, we enable/disable runtime linking |
| 5398 » # depending on the kind of the shared library created - |
| 5399 » # when "with_aix_soname,aix_use_runtimelinking" is: |
| 5400 » # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 5401 » # "aix,yes" lib.so shared, rtl:yes, for executables |
| 5402 » # lib.a static archive |
| 5403 » # "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 5404 » # lib.a(lib.so.V) shared, rtl:no, for executables |
| 5405 » # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 5406 » # lib.a(lib.so.V) shared, rtl:no |
| 5407 » # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 5408 » # lib.a static archive |
| 5019 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) | 5409 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) |
| 5020 for ld_flag in $LDFLAGS; do | 5410 for ld_flag in $LDFLAGS; do |
| 5021 » if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 5411 » if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then |
| 5022 aix_use_runtimelinking=yes | 5412 aix_use_runtimelinking=yes |
| 5023 break | 5413 break |
| 5024 fi | 5414 fi |
| 5025 done | 5415 done |
| 5416 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 5417 # With aix-soname=svr4, we create the lib.so.V shared archives only, |
| 5418 # so we don't have lib.a shared libs to link our executables. |
| 5419 # We have to force runtime linking in this case. |
| 5420 aix_use_runtimelinking=yes |
| 5421 LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 5422 fi |
| 5026 ;; | 5423 ;; |
| 5027 esac | 5424 esac |
| 5028 | 5425 |
| 5029 exp_sym_flag='-bexport' | 5426 exp_sym_flag='-bexport' |
| 5030 no_entry_flag='-bnoentry' | 5427 no_entry_flag='-bnoentry' |
| 5031 fi | 5428 fi |
| 5032 | 5429 |
| 5033 # When large executables or shared objects are built, AIX ld can | 5430 # When large executables or shared objects are built, AIX ld can |
| 5034 # have problems creating the table of contents. If linking a library | 5431 # have problems creating the table of contents. If linking a library |
| 5035 # or program results in "error TOC overflow" add -mminimal-toc to | 5432 # or program results in "error TOC overflow" add -mminimal-toc to |
| 5036 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | 5433 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 5037 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 5434 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 5038 | 5435 |
| 5039 _LT_TAGVAR(archive_cmds, $1)='' | 5436 _LT_TAGVAR(archive_cmds, $1)='' |
| 5040 _LT_TAGVAR(hardcode_direct, $1)=yes | 5437 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5041 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes | 5438 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 5042 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' | 5439 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' |
| 5043 _LT_TAGVAR(link_all_deplibs, $1)=yes | 5440 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 5044 _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' | 5441 _LT_TAGVAR(file_list_spec, $1)='$wl-f,' |
| 5442 case $with_aix_soname,$aix_use_runtimelinking in |
| 5443 aix,*) ;; # traditional, no import file |
| 5444 svr4,* | *,yes) # use import file |
| 5445 » # The Import File defines what to hardcode. |
| 5446 » _LT_TAGVAR(hardcode_direct, $1)=no |
| 5447 » _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| 5448 » ;; |
| 5449 esac |
| 5045 | 5450 |
| 5046 if test "$GCC" = yes; then | 5451 if test yes = "$GCC"; then |
| 5047 case $host_os in aix4.[[012]]|aix4.[[012]].*) | 5452 case $host_os in aix4.[[012]]|aix4.[[012]].*) |
| 5048 # We only want to do this on AIX 4.2 and lower, the check | 5453 # We only want to do this on AIX 4.2 and lower, the check |
| 5049 # below for broken collect2 doesn't work under 4.3+ | 5454 # below for broken collect2 doesn't work under 4.3+ |
| 5050 » collect2name=`${CC} -print-prog-name=collect2` | 5455 » collect2name=`$CC -print-prog-name=collect2` |
| 5051 if test -f "$collect2name" && | 5456 if test -f "$collect2name" && |
| 5052 strings "$collect2name" | $GREP resolve_lib_name >/dev/null | 5457 strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 5053 then | 5458 then |
| 5054 # We have reworked collect2 | 5459 # We have reworked collect2 |
| 5055 : | 5460 : |
| 5056 else | 5461 else |
| 5057 # We have old collect2 | 5462 # We have old collect2 |
| 5058 _LT_TAGVAR(hardcode_direct, $1)=unsupported | 5463 _LT_TAGVAR(hardcode_direct, $1)=unsupported |
| 5059 # It fails to find uninstalled libraries when the uninstalled | 5464 # It fails to find uninstalled libraries when the uninstalled |
| 5060 # path is not listed in the libpath. Setting hardcode_minus_L | 5465 # path is not listed in the libpath. Setting hardcode_minus_L |
| 5061 # to unsupported forces relinking | 5466 # to unsupported forces relinking |
| 5062 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5467 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5063 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 5468 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5064 _LT_TAGVAR(hardcode_libdir_separator, $1)= | 5469 _LT_TAGVAR(hardcode_libdir_separator, $1)= |
| 5065 fi | 5470 fi |
| 5066 ;; | 5471 ;; |
| 5067 esac | 5472 esac |
| 5068 shared_flag='-shared' | 5473 shared_flag='-shared' |
| 5069 » if test "$aix_use_runtimelinking" = yes; then | 5474 » if test yes = "$aix_use_runtimelinking"; then |
| 5070 » shared_flag="$shared_flag "'${wl}-G' | 5475 » shared_flag="$shared_flag "'$wl-G' |
| 5071 fi | 5476 fi |
| 5072 » _LT_TAGVAR(link_all_deplibs, $1)=no | 5477 » # Need to ensure runtime linking is disabled for the traditional |
| 5478 » # shared library, or the linker may eventually find shared libraries |
| 5479 » # /with/ Import File - we do not want to mix them. |
| 5480 » shared_flag_aix='-shared' |
| 5481 » shared_flag_svr4='-shared $wl-G' |
| 5073 else | 5482 else |
| 5074 # not using gcc | 5483 # not using gcc |
| 5075 » if test "$host_cpu" = ia64; then | 5484 » if test ia64 = "$host_cpu"; then |
| 5076 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 5485 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 5077 # chokes on -Wl,-G. The following line is correct: | 5486 # chokes on -Wl,-G. The following line is correct: |
| 5078 shared_flag='-G' | 5487 shared_flag='-G' |
| 5079 else | 5488 else |
| 5080 » if test "$aix_use_runtimelinking" = yes; then | 5489 » if test yes = "$aix_use_runtimelinking"; then |
| 5081 » shared_flag='${wl}-G' | 5490 » shared_flag='$wl-G' |
| 5082 else | 5491 else |
| 5083 » shared_flag='${wl}-bM:SRE' | 5492 » shared_flag='$wl-bM:SRE' |
| 5084 fi | 5493 fi |
| 5494 shared_flag_aix='$wl-bM:SRE' |
| 5495 shared_flag_svr4='$wl-G' |
| 5085 fi | 5496 fi |
| 5086 fi | 5497 fi |
| 5087 | 5498 |
| 5088 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' | 5499 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' |
| 5089 # It seems that -bexpall does not export symbols beginning with | 5500 # It seems that -bexpall does not export symbols beginning with |
| 5090 # underscore (_), so it is better to generate a list of symbols to export. | 5501 # underscore (_), so it is better to generate a list of symbols to export. |
| 5091 _LT_TAGVAR(always_export_symbols, $1)=yes | 5502 _LT_TAGVAR(always_export_symbols, $1)=yes |
| 5092 if test "$aix_use_runtimelinking" = yes; then | 5503 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 5093 # Warning - without using the other runtime loading flags (-brtl), | 5504 # Warning - without using the other runtime loading flags (-brtl), |
| 5094 # -berok will link without error, but may produce a broken library. | 5505 # -berok will link without error, but may produce a broken library. |
| 5095 _LT_TAGVAR(allow_undefined_flag, $1)='-berok' | 5506 _LT_TAGVAR(allow_undefined_flag, $1)='-berok' |
| 5096 # Determine the default libpath from the value encoded in an | 5507 # Determine the default libpath from the value encoded in an |
| 5097 # empty executable. | 5508 # empty executable. |
| 5098 _LT_SYS_MODULE_PATH_AIX([$1]) | 5509 _LT_SYS_MODULE_PATH_AIX([$1]) |
| 5099 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix
_libpath" | 5510 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_l
ibpath" |
| 5100 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libo
bjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefin
ed_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi`
'"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 5511 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libo
bjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_f
lag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_fl
ag:\$export_symbols' '$shared_flag |
| 5101 else | 5512 else |
| 5102 » if test "$host_cpu" = ia64; then | 5513 » if test ia64 = "$host_cpu"; then |
| 5103 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/l
ib' | 5514 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib
' |
| 5104 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" | 5515 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" |
| 5105 » _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_ob
jdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${a
llow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" | 5516 » _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_ob
jdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_
undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" |
| 5106 else | 5517 else |
| 5107 # Determine the default libpath from the value encoded in an | 5518 # Determine the default libpath from the value encoded in an |
| 5108 # empty executable. | 5519 # empty executable. |
| 5109 _LT_SYS_MODULE_PATH_AIX([$1]) | 5520 _LT_SYS_MODULE_PATH_AIX([$1]) |
| 5110 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$ai
x_libpath" | 5521 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_
libpath" |
| 5111 # Warning - without using the other run time loading flags, | 5522 # Warning - without using the other run time loading flags, |
| 5112 # -berok will link without error, but may produce a broken library. | 5523 # -berok will link without error, but may produce a broken library. |
| 5113 » _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' | 5524 » _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' |
| 5114 » _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' | 5525 » _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' |
| 5115 » if test "$with_gnu_ld" = yes; then | 5526 » if test yes = "$with_gnu_ld"; then |
| 5116 # We only use this code for GNU lds that support --whole-archive. | 5527 # We only use this code for GNU lds that support --whole-archive. |
| 5117 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$conven
ience ${wl}--no-whole-archive' | 5528 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenie
nce $wl--no-whole-archive' |
| 5118 else | 5529 else |
| 5119 # Exported symbols can be pulled into shared objects from archives | 5530 # Exported symbols can be pulled into shared objects from archives |
| 5120 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' | 5531 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
| 5121 fi | 5532 fi |
| 5122 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes | 5533 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 5123 » # This is similar to how AIX traditionally builds its shared libraries
. | 5534 » _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d
~$MKDIR $output_objdir/$realname.d' |
| 5124 » _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_ob
jdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_s
ymbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $o
utput_objdir/$soname' | 5535 » # -brtl affects multiple linker settings, -berok does not and is overr
idden later |
| 5536 » compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "
s%-brtl\\([[, ]]\\)%-berok\\1%g"`' |
| 5537 » if test svr4 != "$with_aix_soname"; then |
| 5538 » # This is similar to how AIX traditionally builds its shared librari
es. |
| 5539 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds
, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $d
eplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undef
ined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realna
me.d/$soname' |
| 5540 » fi |
| 5541 » if test aix != "$with_aix_soname"; then |
| 5542 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds
, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_me
mber_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$exp
ort_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_ar
chive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)";
if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else
func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$s
hared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdi
r/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_a
rchive_member_spec.imp' |
| 5543 » else |
| 5544 » # used by -dlpreopen to get the symbols |
| 5545 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds
, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 5546 » fi |
| 5547 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds,
$1)"'~$RM -r $output_objdir/$realname.d' |
| 5125 fi | 5548 fi |
| 5126 fi | 5549 fi |
| 5127 ;; | 5550 ;; |
| 5128 | 5551 |
| 5129 amigaos*) | 5552 amigaos*) |
| 5130 case $host_cpu in | 5553 case $host_cpu in |
| 5131 powerpc) | 5554 powerpc) |
| 5132 # see comment about AmigaOS4 .so support | 5555 # see comment about AmigaOS4 .so support |
| 5133 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile
r_flags ${wl}-soname $wl$soname -o $lib' | 5556 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compile
r_flags $wl-soname $wl$soname -o $lib' |
| 5134 _LT_TAGVAR(archive_expsym_cmds, $1)='' | 5557 _LT_TAGVAR(archive_expsym_cmds, $1)='' |
| 5135 ;; | 5558 ;; |
| 5136 m68k) | 5559 m68k) |
| 5137 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$E
CHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIB
RARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >>
$output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_ob
jdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdi
r && a2ixlibrary -32)' | 5560 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$E
CHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIB
RARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >>
$output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_ob
jdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdi
r && a2ixlibrary -32)' |
| 5138 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 5561 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5139 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5562 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5140 ;; | 5563 ;; |
| 5141 esac | 5564 esac |
| 5142 ;; | 5565 ;; |
| 5143 | 5566 |
| 5144 bsdi[[45]]*) | 5567 bsdi[[45]]*) |
| 5145 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic | 5568 _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic |
| 5146 ;; | 5569 ;; |
| 5147 | 5570 |
| 5148 cygwin* | mingw* | pw32* | cegcc*) | 5571 cygwin* | mingw* | pw32* | cegcc*) |
| 5149 # When not using gcc, we currently assume that we are using | 5572 # When not using gcc, we currently assume that we are using |
| 5150 # Microsoft Visual C++. | 5573 # Microsoft Visual C++. |
| 5151 # hardcode_libdir_flag_spec is actually meaningless, as there is | 5574 # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 5152 # no search path for DLLs. | 5575 # no search path for DLLs. |
| 5153 case $cc_basename in | 5576 case $cc_basename in |
| 5154 cl*) | 5577 cl*) |
| 5155 # Native MSVC | 5578 # Native MSVC |
| 5156 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' | 5579 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
| 5157 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 5580 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 5158 _LT_TAGVAR(always_export_symbols, $1)=yes | 5581 _LT_TAGVAR(always_export_symbols, $1)=yes |
| 5159 _LT_TAGVAR(file_list_spec, $1)='@' | 5582 _LT_TAGVAR(file_list_spec, $1)='@' |
| 5160 # Tell ltmain to make .lib files, not .a files. | 5583 # Tell ltmain to make .lib files, not .a files. |
| 5161 libext=lib | 5584 libext=lib |
| 5162 # Tell ltmain to make .dll files, not .so files. | 5585 # Tell ltmain to make .dll files, not .so files. |
| 5163 » shrext_cmds=".dll" | 5586 » shrext_cmds=.dll |
| 5164 # FIXME: Setting linknames here is a bad hack. | 5587 # FIXME: Setting linknames here is a bad hack. |
| 5165 » _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $co
mpiler_flags $deplibs -Wl,-dll~linknames=' | 5588 » _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $co
mpiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~lin
knames=' |
| 5166 » _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`
" = xEXPORTS; then | 5589 » _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols])
; then |
| 5167 » sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\
!p' < $export_symbols > $output_objdir/$soname.exp; | 5590 cp "$export_symbols" "$output_objdir/$soname.def"; |
| 5168 » else | 5591 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"
; |
| 5169 » sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_s
ymbols > $output_objdir/$soname.exp; | 5592 else |
| 5170 » fi~ | 5593 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objd
ir/$soname.exp; |
| 5171 » $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@
$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dl
l.lib"~ | 5594 fi~ |
| 5172 » linknames=' | 5595 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@
$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dl
l.lib"~ |
| 5596 linknames=' |
| 5173 # The linker will not automatically build a static lib if we build a DLL
. | 5597 # The linker will not automatically build a static lib if we build a DLL
. |
| 5174 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' | 5598 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
| 5175 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | 5599 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 5176 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIP
TOR_.*' | 5600 _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIP
TOR_.*' |
| 5177 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global
_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' |
$SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' | 5601 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global
_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' |
$SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' |
| 5178 # Don't use ranlib | 5602 # Don't use ranlib |
| 5179 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' | 5603 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' |
| 5180 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ | 5604 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ |
| 5181 » lt_tool_outputfile="@TOOL_OUTPUT@"~ | 5605 lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 5182 » case $lt_outputfile in | 5606 case $lt_outputfile in |
| 5183 » *.exe|*.EXE) ;; | 5607 *.exe|*.EXE) ;; |
| 5184 » *) | 5608 *) |
| 5185 » lt_outputfile="$lt_outputfile.exe" | 5609 lt_outputfile=$lt_outputfile.exe |
| 5186 » lt_tool_outputfile="$lt_tool_outputfile.exe" | 5610 lt_tool_outputfile=$lt_tool_outputfile.exe |
| 5187 » ;; | 5611 ;; |
| 5188 » esac~ | 5612 esac~ |
| 5189 » if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest";
then | 5613 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; th
en |
| 5190 » $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou
rce:"$lt_tool_outputfile" || exit 1; | 5614 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresou
rce:"$lt_tool_outputfile" || exit 1; |
| 5191 » $RM "$lt_outputfile.manifest"; | 5615 $RM "$lt_outputfile.manifest"; |
| 5192 » fi' | 5616 fi' |
| 5193 ;; | 5617 ;; |
| 5194 *) | 5618 *) |
| 5195 # Assume MSVC wrapper | 5619 # Assume MSVC wrapper |
| 5196 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' | 5620 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
| 5197 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 5621 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 5198 # Tell ltmain to make .lib files, not .a files. | 5622 # Tell ltmain to make .lib files, not .a files. |
| 5199 libext=lib | 5623 libext=lib |
| 5200 # Tell ltmain to make .dll files, not .so files. | 5624 # Tell ltmain to make .dll files, not .so files. |
| 5201 » shrext_cmds=".dll" | 5625 » shrext_cmds=.dll |
| 5202 # FIXME: Setting linknames here is a bad hack. | 5626 # FIXME: Setting linknames here is a bad hack. |
| 5203 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func
_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | 5627 _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func
_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 5204 # The linker will automatically build a .lib file if we build a DLL. | 5628 # The linker will automatically build a .lib file if we build a DLL. |
| 5205 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' | 5629 _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
| 5206 # FIXME: Should let the user specify the lib program. | 5630 # FIXME: Should let the user specify the lib program. |
| 5207 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' | 5631 _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' |
| 5208 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | 5632 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 5209 ;; | 5633 ;; |
| 5210 esac | 5634 esac |
| 5211 ;; | 5635 ;; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 5241 | 5665 |
| 5242 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 5666 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
| 5243 freebsd* | dragonfly*) | 5667 freebsd* | dragonfly*) |
| 5244 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $depl
ibs $compiler_flags' | 5668 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $depl
ibs $compiler_flags' |
| 5245 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | 5669 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
| 5246 _LT_TAGVAR(hardcode_direct, $1)=yes | 5670 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5247 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5671 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5248 ;; | 5672 ;; |
| 5249 | 5673 |
| 5250 hpux9*) | 5674 hpux9*) |
| 5251 if test "$GCC" = yes; then | 5675 if test yes = "$GCC"; then |
| 5252 » _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pi
c_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs
$compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname
$lib' | 5676 » _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pi
c_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $com
piler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$sonam
e $lib' |
| 5253 else | 5677 else |
| 5254 » _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $inst
all_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $outpu
t_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 5678 » _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $inst
all_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$out
put_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 5255 fi | 5679 fi |
| 5256 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' | 5680 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' |
| 5257 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 5681 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5258 _LT_TAGVAR(hardcode_direct, $1)=yes | 5682 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5259 | 5683 |
| 5260 # hardcode_minus_L: Not really in the search PATH, | 5684 # hardcode_minus_L: Not really in the search PATH, |
| 5261 # but as the default location of the library. | 5685 # but as the default location of the library. |
| 5262 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5686 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5263 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 5687 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 5264 ;; | 5688 ;; |
| 5265 | 5689 |
| 5266 hpux10*) | 5690 hpux10*) |
| 5267 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | 5691 if test yes,no = "$GCC,$with_gnu_ld"; then |
| 5268 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname
${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 5692 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl
+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 5269 else | 5693 else |
| 5270 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $l
ib $libobjs $deplibs $linker_flags' | 5694 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $l
ib $libobjs $deplibs $linker_flags' |
| 5271 fi | 5695 fi |
| 5272 if test "$with_gnu_ld" = no; then | 5696 if test no = "$with_gnu_ld"; then |
| 5273 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' | 5697 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' |
| 5274 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 5698 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5275 _LT_TAGVAR(hardcode_direct, $1)=yes | 5699 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5276 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes | 5700 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 5277 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 5701 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 5278 # hardcode_minus_L: Not really in the search PATH, | 5702 # hardcode_minus_L: Not really in the search PATH, |
| 5279 # but as the default location of the library. | 5703 # but as the default location of the library. |
| 5280 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5704 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5281 fi | 5705 fi |
| 5282 ;; | 5706 ;; |
| 5283 | 5707 |
| 5284 hpux11*) | 5708 hpux11*) |
| 5285 if test "$GCC" = yes && test "$with_gnu_ld" = no; then | 5709 if test yes,no = "$GCC,$with_gnu_ld"; then |
| 5286 case $host_cpu in | 5710 case $host_cpu in |
| 5287 hppa*64*) | 5711 hppa*64*) |
| 5288 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib
$libobjs $deplibs $compiler_flags' | 5712 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $li
bobjs $deplibs $compiler_flags' |
| 5289 ;; | 5713 ;; |
| 5290 ia64*) | 5714 ia64*) |
| 5291 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$sona
me ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | 5715 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $
wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 5292 ;; | 5716 ;; |
| 5293 *) | 5717 *) |
| 5294 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$sona
me ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 5718 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $
wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 5295 ;; | 5719 ;; |
| 5296 esac | 5720 esac |
| 5297 else | 5721 else |
| 5298 case $host_cpu in | 5722 case $host_cpu in |
| 5299 hppa*64*) | 5723 hppa*64*) |
| 5300 » _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $lib
objs $deplibs $compiler_flags' | 5724 » _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs
$deplibs $compiler_flags' |
| 5301 ;; | 5725 ;; |
| 5302 ia64*) | 5726 ia64*) |
| 5303 » _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefa
ultrpath -o $lib $libobjs $deplibs $compiler_flags' | 5727 » _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpa
th -o $lib $libobjs $deplibs $compiler_flags' |
| 5304 ;; | 5728 ;; |
| 5305 *) | 5729 *) |
| 5306 m4_if($1, [], [ | 5730 m4_if($1, [], [ |
| 5307 # Older versions of the 11.00 compiler do not understand -b yet | 5731 # Older versions of the 11.00 compiler do not understand -b yet |
| 5308 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe
s) | 5732 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP doe
s) |
| 5309 _LT_LINKER_OPTION([if $CC understands -b], | 5733 _LT_LINKER_OPTION([if $CC understands -b], |
| 5310 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], | 5734 _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], |
| 5311 » [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b $
{wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], | 5735 » [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$ins
tall_libdir -o $lib $libobjs $deplibs $compiler_flags'], |
| 5312 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir
-o $lib $libobjs $deplibs $linker_flags'])], | 5736 [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir
-o $lib $libobjs $deplibs $linker_flags'])], |
| 5313 » [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${w
l}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) | 5737 » [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$insta
ll_libdir -o $lib $libobjs $deplibs $compiler_flags']) |
| 5314 ;; | 5738 ;; |
| 5315 esac | 5739 esac |
| 5316 fi | 5740 fi |
| 5317 if test "$with_gnu_ld" = no; then | 5741 if test no = "$with_gnu_ld"; then |
| 5318 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' | 5742 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' |
| 5319 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 5743 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5320 | 5744 |
| 5321 case $host_cpu in | 5745 case $host_cpu in |
| 5322 hppa*64*|ia64*) | 5746 hppa*64*|ia64*) |
| 5323 _LT_TAGVAR(hardcode_direct, $1)=no | 5747 _LT_TAGVAR(hardcode_direct, $1)=no |
| 5324 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5748 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5325 ;; | 5749 ;; |
| 5326 *) | 5750 *) |
| 5327 _LT_TAGVAR(hardcode_direct, $1)=yes | 5751 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5328 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes | 5752 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 5329 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 5753 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 5330 | 5754 |
| 5331 # hardcode_minus_L: Not really in the search PATH, | 5755 # hardcode_minus_L: Not really in the search PATH, |
| 5332 # but as the default location of the library. | 5756 # but as the default location of the library. |
| 5333 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5757 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5334 ;; | 5758 ;; |
| 5335 esac | 5759 esac |
| 5336 fi | 5760 fi |
| 5337 ;; | 5761 ;; |
| 5338 | 5762 |
| 5339 irix5* | irix6* | nonstopux*) | 5763 irix5* | irix6* | nonstopux*) |
| 5340 if test "$GCC" = yes; then | 5764 if test yes = "$GCC"; then |
| 5341 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_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' | 5765 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_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' |
| 5342 # Try to use the -exported_symbol ld option, if it does not | 5766 # Try to use the -exported_symbol ld option, if it does not |
| 5343 # work, assume that -exports_file does not work either and | 5767 # work, assume that -exports_file does not work either and |
| 5344 # implicitly export all symbols. | 5768 # implicitly export all symbols. |
| 5345 # This should be the same for all languages, so no per-tag cache variabl
e. | 5769 # This should be the same for all languages, so no per-tag cache variabl
e. |
| 5346 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], | 5770 AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], |
| 5347 [lt_cv_irix_exported_symbol], | 5771 [lt_cv_irix_exported_symbol], |
| 5348 » [save_LDFLAGS="$LDFLAGS" | 5772 » [save_LDFLAGS=$LDFLAGS |
| 5349 » LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update
_registry ${wl}/dev/null" | 5773 » LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_reg
istry $wl/dev/null" |
| 5350 AC_LINK_IFELSE( | 5774 AC_LINK_IFELSE( |
| 5351 [AC_LANG_SOURCE( | 5775 [AC_LANG_SOURCE( |
| 5352 [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], | 5776 [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], |
| 5353 [C++], [[int foo (void) { return 0; }]], | 5777 [C++], [[int foo (void) { return 0; }]], |
| 5354 [Fortran 77], [[ | 5778 [Fortran 77], [[ |
| 5355 subroutine foo | 5779 subroutine foo |
| 5356 end]], | 5780 end]], |
| 5357 [Fortran], [[ | 5781 [Fortran], [[ |
| 5358 subroutine foo | 5782 subroutine foo |
| 5359 end]])])], | 5783 end]])])], |
| 5360 [lt_cv_irix_exported_symbol=yes], | 5784 [lt_cv_irix_exported_symbol=yes], |
| 5361 [lt_cv_irix_exported_symbol=no]) | 5785 [lt_cv_irix_exported_symbol=no]) |
| 5362 LDFLAGS="$save_LDFLAGS"]) | 5786 LDFLAGS=$save_LDFLAGS]) |
| 5363 » if test "$lt_cv_irix_exported_symbol" = yes; then | 5787 » if test yes = "$lt_cv_irix_exported_symbol"; then |
| 5364 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $d
eplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_e
cho_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output
_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' | 5788 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $d
eplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_
all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_lo
cations $wl-exports_file $wl$export_symbols -o $lib' |
| 5365 fi | 5789 fi |
| 5366 else | 5790 else |
| 5367 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl
ags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstr
ing"` -update_registry ${output_objdir}/so_locations -o $lib' | 5791 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl
ags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstr
ing"` -update_registry $output_objdir/so_locations -o $lib' |
| 5368 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $comp
iler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version
$verstring"` -update_registry ${output_objdir}/so_locations -exports_file $expor
t_symbols -o $lib' | 5792 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $comp
iler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version
$verstring"` -update_registry $output_objdir/so_locations -exports_file $export_
symbols -o $lib' |
| 5369 fi | 5793 fi |
| 5370 _LT_TAGVAR(archive_cmds_need_lc, $1)='no' | 5794 _LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
| 5371 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 5795 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 5372 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 5796 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5373 _LT_TAGVAR(inherit_rpath, $1)=yes | 5797 _LT_TAGVAR(inherit_rpath, $1)=yes |
| 5374 _LT_TAGVAR(link_all_deplibs, $1)=yes | 5798 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 5375 ;; | 5799 ;; |
| 5376 | 5800 |
| 5377 netbsd* | netbsdelf*-gnu) | 5801 linux*) |
| 5802 case $cc_basename in |
| 5803 tcc*) |
| 5804 » # Fabrice Bellard et al's Tiny C Compiler |
| 5805 » _LT_TAGVAR(ld_shlibs, $1)=yes |
| 5806 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $de
plibs $compiler_flags' |
| 5807 » ;; |
| 5808 esac |
| 5809 ;; |
| 5810 |
| 5811 netbsd*) |
| 5378 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 5812 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
| 5379 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs
$linker_flags' # a.out | 5813 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs
$linker_flags' # a.out |
| 5380 else | 5814 else |
| 5381 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $lin
ker_flags' # ELF | 5815 _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $lin
ker_flags' # ELF |
| 5382 fi | 5816 fi |
| 5383 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | 5817 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
| 5384 _LT_TAGVAR(hardcode_direct, $1)=yes | 5818 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5385 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5819 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5386 ;; | 5820 ;; |
| 5387 | 5821 |
| 5388 newsos6) | 5822 newsos6) |
| 5389 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags' | 5823 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags' |
| 5390 _LT_TAGVAR(hardcode_direct, $1)=yes | 5824 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5391 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 5825 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 5392 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 5826 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5393 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5827 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5394 ;; | 5828 ;; |
| 5395 | 5829 |
| 5396 *nto* | *qnx*) | 5830 *nto* | *qnx*) |
| 5397 ;; | 5831 ;; |
| 5398 | 5832 |
| 5399 openbsd*) | 5833 openbsd* | bitrig*) |
| 5400 if test -f /usr/libexec/ld.so; then | 5834 if test -f /usr/libexec/ld.so; then |
| 5401 _LT_TAGVAR(hardcode_direct, $1)=yes | 5835 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5402 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5836 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5403 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes | 5837 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 5404 » if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os
-$host_cpu" = "openbsd2.8-powerpc"; then | 5838 » if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then |
| 5405 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $
deplibs $compiler_flags' | 5839 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $
deplibs $compiler_flags' |
| 5406 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $li
bobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | 5840 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $li
bobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' |
| 5407 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 5841 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 5408 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 5842 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 5409 else | 5843 else |
| 5410 » case $host_os in | 5844 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $
deplibs $compiler_flags' |
| 5411 » openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) | 5845 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 5412 » _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $dep
libs $linker_flags' | |
| 5413 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | |
| 5414 » ;; | |
| 5415 » *) | |
| 5416 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobj
s $deplibs $compiler_flags' | |
| 5417 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | |
| 5418 » ;; | |
| 5419 » esac | |
| 5420 fi | 5846 fi |
| 5421 else | 5847 else |
| 5422 _LT_TAGVAR(ld_shlibs, $1)=no | 5848 _LT_TAGVAR(ld_shlibs, $1)=no |
| 5423 fi | 5849 fi |
| 5424 ;; | 5850 ;; |
| 5425 | 5851 |
| 5426 os2*) | 5852 os2*) |
| 5427 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 5853 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5428 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5854 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5429 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 5855 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 5430 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $out
put_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libn
ame.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $ou
tput_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $lib
objs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs
$compiler_flags $output_objdir/$libname.def' | 5856 shrext_cmds=.dll |
| 5431 _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libna
me.a $output_objdir/$libname.def' | 5857 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINS
TANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 5858 » $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 5859 » $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 5860 » $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 5861 » emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def
~ |
| 5862 » $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ |
| 5863 » emximp -o $lib $output_objdir/$libname.def' |
| 5864 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext}
INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 5865 » $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 5866 » $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 5867 » $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 5868 » prefix_cmds="$SED"~ |
| 5869 » if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 5870 » prefix_cmds="$prefix_cmds -e 1d"; |
| 5871 » fi~ |
| 5872 » prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 5873 » cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 5874 » $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler
_flags $output_objdir/$libname.def~ |
| 5875 » emximp -o $lib $output_objdir/$libname.def' |
| 5876 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libn
ame}_dll.a $output_objdir/$libname.def' |
| 5877 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 5432 ;; | 5878 ;; |
| 5433 | 5879 |
| 5434 osf3*) | 5880 osf3*) |
| 5435 if test "$GCC" = yes; then | 5881 if test yes = "$GCC"; then |
| 5436 » _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' | 5882 » _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' |
| 5437 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobj
s $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && fu
nc_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${ou
tput_objdir}/so_locations -o $lib' | 5883 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs
$deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_ech
o_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_
locations -o $lib' |
| 5438 else | 5884 else |
| 5439 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' | 5885 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
| 5440 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobj
s $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_al
l "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $
lib' | 5886 » _LT_TAGVAR(archive_cmds, $1)='$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' |
| 5441 fi | 5887 fi |
| 5442 _LT_TAGVAR(archive_cmds_need_lc, $1)='no' | 5888 _LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
| 5443 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 5889 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 5444 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 5890 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5445 ;; | 5891 ;; |
| 5446 | 5892 |
| 5447 osf4* | osf5*) # as osf3* with the addition of -msym flag | 5893 osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 5448 if test "$GCC" = yes; then | 5894 if test yes = "$GCC"; then |
| 5449 » _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' | 5895 » _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' |
| 5450 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_fl
ag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test
-n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-upda
te_registry ${wl}${output_objdir}/so_locations -o $lib' | 5896 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag
$libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$ver
string" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $w
l$output_objdir/so_locations -o $lib' |
| 5451 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 5897 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 5452 else | 5898 else |
| 5453 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' | 5899 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
| 5454 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobj
s $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_e
cho_all "-set_version $verstring"` -update_registry ${output_objdir}/so_location
s -o $lib' | 5900 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs
$deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_ech
o_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o
$lib' |
| 5455 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do
printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hid
den">> $lib.exp~ | 5901 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do
printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hid
den">> $lib.exp~ |
| 5456 » $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_f
lags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_vers
ion $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib
.exp' | 5902 $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' |
| 5457 | 5903 |
| 5458 # Both c and cxx compiler support -rpath directly | 5904 # Both c and cxx compiler support -rpath directly |
| 5459 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' | 5905 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
| 5460 fi | 5906 fi |
| 5461 _LT_TAGVAR(archive_cmds_need_lc, $1)='no' | 5907 _LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
| 5462 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 5908 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5463 ;; | 5909 ;; |
| 5464 | 5910 |
| 5465 solaris*) | 5911 solaris*) |
| 5466 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' | 5912 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' |
| 5467 if test "$GCC" = yes; then | 5913 if test yes = "$GCC"; then |
| 5468 » wlarc='${wl}' | 5914 » wlarc='$wl' |
| 5469 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${
wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 5915 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-
h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 5470 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $ex
port_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.e
xp~ | 5916 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $ex
port_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.e
xp~ |
| 5471 » $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' | 5917 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$sona
me -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
| 5472 else | 5918 else |
| 5473 case `$CC -V 2>&1` in | 5919 case `$CC -V 2>&1` in |
| 5474 *"Compilers 5.0"*) | 5920 *"Compilers 5.0"*) |
| 5475 wlarc='' | 5921 wlarc='' |
| 5476 » _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname
-o $lib $libobjs $deplibs $linker_flags' | 5922 » _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -
o $lib $libobjs $deplibs $linker_flags' |
| 5477 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $
export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib
.exp~ | 5923 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $
export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib
.exp~ |
| 5478 » $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $linker_flags~$RM $lib.exp' | 5924 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $linker_flags~$RM $lib.exp' |
| 5479 ;; | 5925 ;; |
| 5480 *) | 5926 *) |
| 5481 » wlarc='${wl}' | 5927 » wlarc='$wl' |
| 5482 » _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname
-o $lib $libobjs $deplibs $compiler_flags' | 5928 » _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -
o $lib $libobjs $deplibs $compiler_flags' |
| 5483 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $
export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib
.exp~ | 5929 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $
export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib
.exp~ |
| 5484 » $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $compiler_flags~$RM $lib.exp' | 5930 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs
$deplibs $compiler_flags~$RM $lib.exp' |
| 5485 ;; | 5931 ;; |
| 5486 esac | 5932 esac |
| 5487 fi | 5933 fi |
| 5488 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | 5934 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
| 5489 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5935 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5490 case $host_os in | 5936 case $host_os in |
| 5491 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; | 5937 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; |
| 5492 *) | 5938 *) |
| 5493 # The compiler driver will combine and reorder linker options, | 5939 # The compiler driver will combine and reorder linker options, |
| 5494 » # but understands `-z linker_flag'. GCC discards it without `$wl', | 5940 » # but understands '-z linker_flag'. GCC discards it without '$wl', |
| 5495 # but is careful enough not to reorder. | 5941 # but is careful enough not to reorder. |
| 5496 # Supported since Solaris 2.6 (maybe 2.5.1?) | 5942 # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 5497 » if test "$GCC" = yes; then | 5943 » if test yes = "$GCC"; then |
| 5498 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$conve
nience ${wl}-z ${wl}defaultextract' | 5944 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$conveni
ence $wl-z ${wl}defaultextract' |
| 5499 else | 5945 else |
| 5500 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z
defaultextract' | 5946 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z
defaultextract' |
| 5501 fi | 5947 fi |
| 5502 ;; | 5948 ;; |
| 5503 esac | 5949 esac |
| 5504 _LT_TAGVAR(link_all_deplibs, $1)=yes | 5950 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 5505 ;; | 5951 ;; |
| 5506 | 5952 |
| 5507 sunos4*) | 5953 sunos4*) |
| 5508 if test "x$host_vendor" = xsequent; then | 5954 if test sequent = "$host_vendor"; then |
| 5509 # Use $CC to link under sequent, because it throws in some extra .o | 5955 # Use $CC to link under sequent, because it throws in some extra .o |
| 5510 # files that make .init and .fini sections work. | 5956 # files that make .init and .fini sections work. |
| 5511 » _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $d
eplibs $compiler_flags' | 5957 » _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $dep
libs $compiler_flags' |
| 5512 else | 5958 else |
| 5513 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $li
bobjs $deplibs $linker_flags' | 5959 _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $li
bobjs $deplibs $linker_flags' |
| 5514 fi | 5960 fi |
| 5515 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 5961 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5516 _LT_TAGVAR(hardcode_direct, $1)=yes | 5962 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 5517 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 5963 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5518 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5964 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5519 ;; | 5965 ;; |
| 5520 | 5966 |
| 5521 sysv4) | 5967 sysv4) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 5550 if test -d /usr/nec; then | 5996 if test -d /usr/nec; then |
| 5551 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplib
s $linker_flags' | 5997 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplib
s $linker_flags' |
| 5552 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 5998 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5553 runpath_var=LD_RUN_PATH | 5999 runpath_var=LD_RUN_PATH |
| 5554 hardcode_runpath_var=yes | 6000 hardcode_runpath_var=yes |
| 5555 _LT_TAGVAR(ld_shlibs, $1)=yes | 6001 _LT_TAGVAR(ld_shlibs, $1)=yes |
| 5556 fi | 6002 fi |
| 5557 ;; | 6003 ;; |
| 5558 | 6004 |
| 5559 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | s
co3.2v5.0.[[024]]*) | 6005 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | s
co3.2v5.0.[[024]]*) |
| 5560 _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' | 6006 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' |
| 5561 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 6007 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 5562 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 6008 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5563 runpath_var='LD_RUN_PATH' | 6009 runpath_var='LD_RUN_PATH' |
| 5564 | 6010 |
| 5565 if test "$GCC" = yes; then | 6011 if test yes = "$GCC"; then |
| 5566 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libob
js $deplibs $compiler_flags' | 6012 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs
$deplibs $compiler_flags' |
| 5567 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_s
ymbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 6013 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_sym
bols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 5568 else | 6014 else |
| 5569 » _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $d
eplibs $compiler_flags' | 6015 » _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $dep
libs $compiler_flags' |
| 5570 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbol
s ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 6016 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols
$wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 5571 fi | 6017 fi |
| 5572 ;; | 6018 ;; |
| 5573 | 6019 |
| 5574 sysv5* | sco3.2v5* | sco5v6*) | 6020 sysv5* | sco3.2v5* | sco5v6*) |
| 5575 # Note: We can NOT use -z defs as we might desire, because we do not | 6021 # Note: We CANNOT use -z defs as we might desire, because we do not |
| 5576 # link with -lc, and that would cause any symbols used from libc to | 6022 # link with -lc, and that would cause any symbols used from libc to |
| 5577 # always be unresolved, which means just about no library would | 6023 # always be unresolved, which means just about no library would |
| 5578 # ever link correctly. If we're not using GNU ld we use -z text | 6024 # ever link correctly. If we're not using GNU ld we use -z text |
| 5579 # though, which does catch some bad symbols but isn't as heavy-handed | 6025 # though, which does catch some bad symbols but isn't as heavy-handed |
| 5580 # as -z defs. | 6026 # as -z defs. |
| 5581 _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' | 6027 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' |
| 5582 _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' | 6028 _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' |
| 5583 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 6029 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 5584 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 6030 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5585 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' | 6031 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' |
| 5586 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' | 6032 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' |
| 5587 _LT_TAGVAR(link_all_deplibs, $1)=yes | 6033 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 5588 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' | 6034 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' |
| 5589 runpath_var='LD_RUN_PATH' | 6035 runpath_var='LD_RUN_PATH' |
| 5590 | 6036 |
| 5591 if test "$GCC" = yes; then | 6037 if test yes = "$GCC"; then |
| 5592 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libob
js $deplibs $compiler_flags' | 6038 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs
$deplibs $compiler_flags' |
| 5593 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_s
ymbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 6039 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_sym
bols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 5594 else | 6040 else |
| 5595 » _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $d
eplibs $compiler_flags' | 6041 » _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $dep
libs $compiler_flags' |
| 5596 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbol
s ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 6042 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols
$wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 5597 fi | 6043 fi |
| 5598 ;; | 6044 ;; |
| 5599 | 6045 |
| 5600 uts4*) | 6046 uts4*) |
| 5601 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags' | 6047 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags' |
| 5602 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 6048 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5603 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 6049 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 5604 ;; | 6050 ;; |
| 5605 | 6051 |
| 5606 *) | 6052 *) |
| 5607 _LT_TAGVAR(ld_shlibs, $1)=no | 6053 _LT_TAGVAR(ld_shlibs, $1)=no |
| 5608 ;; | 6054 ;; |
| 5609 esac | 6055 esac |
| 5610 | 6056 |
| 5611 if test x$host_vendor = xsni; then | 6057 if test sni = "$host_vendor"; then |
| 5612 case $host in | 6058 case $host in |
| 5613 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 6059 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
| 5614 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' | 6060 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' |
| 5615 ;; | 6061 ;; |
| 5616 esac | 6062 esac |
| 5617 fi | 6063 fi |
| 5618 fi | 6064 fi |
| 5619 ]) | 6065 ]) |
| 5620 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) | 6066 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) |
| 5621 test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no | 6067 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no |
| 5622 | 6068 |
| 5623 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld | 6069 _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld |
| 5624 | 6070 |
| 5625 _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl | 6071 _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl |
| 5626 _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl | 6072 _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl |
| 5627 _LT_DECL([], [extract_expsyms_cmds], [2], | 6073 _LT_DECL([], [extract_expsyms_cmds], [2], |
| 5628 [The commands to extract the exported symbol list from a shared archive]) | 6074 [The commands to extract the exported symbol list from a shared archive]) |
| 5629 | 6075 |
| 5630 # | 6076 # |
| 5631 # Do we need to explicitly link libc? | 6077 # Do we need to explicitly link libc? |
| 5632 # | 6078 # |
| 5633 case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in | 6079 case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in |
| 5634 x|xyes) | 6080 x|xyes) |
| 5635 # Assume -lc should be added | 6081 # Assume -lc should be added |
| 5636 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes | 6082 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 5637 | 6083 |
| 5638 if test "$enable_shared" = yes && test "$GCC" = yes; then | 6084 if test yes,yes = "$GCC,$enable_shared"; then |
| 5639 case $_LT_TAGVAR(archive_cmds, $1) in | 6085 case $_LT_TAGVAR(archive_cmds, $1) in |
| 5640 *'~'*) | 6086 *'~'*) |
| 5641 # FIXME: we may have to deal with multi-command sequences. | 6087 # FIXME: we may have to deal with multi-command sequences. |
| 5642 ;; | 6088 ;; |
| 5643 '$CC '*) | 6089 '$CC '*) |
| 5644 # Test whether the compiler implicitly links with -lc since on some | 6090 # Test whether the compiler implicitly links with -lc since on some |
| 5645 # systems, -lgcc has to come before -lc. If gcc already passes -lc | 6091 # systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 5646 # to ld, don't add -lc before -lgcc. | 6092 # to ld, don't add -lc before -lgcc. |
| 5647 AC_CACHE_CHECK([whether -lc should be explicitly linked in], | 6093 AC_CACHE_CHECK([whether -lc should be explicitly linked in], |
| 5648 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), | 6094 [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5708 _LT_TAGDECL([], [allow_undefined_flag], [1], | 6154 _LT_TAGDECL([], [allow_undefined_flag], [1], |
| 5709 [Flag that allows shared libraries with undefined symbols to be built]) | 6155 [Flag that allows shared libraries with undefined symbols to be built]) |
| 5710 _LT_TAGDECL([], [no_undefined_flag], [1], | 6156 _LT_TAGDECL([], [no_undefined_flag], [1], |
| 5711 [Flag that enforces no undefined symbols]) | 6157 [Flag that enforces no undefined symbols]) |
| 5712 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], | 6158 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], |
| 5713 [Flag to hardcode $libdir into a binary during linking. | 6159 [Flag to hardcode $libdir into a binary during linking. |
| 5714 This must work even if $libdir does not exist]) | 6160 This must work even if $libdir does not exist]) |
| 5715 _LT_TAGDECL([], [hardcode_libdir_separator], [1], | 6161 _LT_TAGDECL([], [hardcode_libdir_separator], [1], |
| 5716 [Whether we need a single "-rpath" flag with a separated argument]) | 6162 [Whether we need a single "-rpath" flag with a separated argument]) |
| 5717 _LT_TAGDECL([], [hardcode_direct], [0], | 6163 _LT_TAGDECL([], [hardcode_direct], [0], |
| 5718 [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes | 6164 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes |
| 5719 DIR into the resulting binary]) | 6165 DIR into the resulting binary]) |
| 5720 _LT_TAGDECL([], [hardcode_direct_absolute], [0], | 6166 _LT_TAGDECL([], [hardcode_direct_absolute], [0], |
| 5721 [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes | 6167 [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes |
| 5722 DIR into the resulting binary and the resulting library dependency is | 6168 DIR into the resulting binary and the resulting library dependency is |
| 5723 "absolute", i.e impossible to change by setting ${shlibpath_var} if the | 6169 "absolute", i.e impossible to change by setting $shlibpath_var if the |
| 5724 library is relocated]) | 6170 library is relocated]) |
| 5725 _LT_TAGDECL([], [hardcode_minus_L], [0], | 6171 _LT_TAGDECL([], [hardcode_minus_L], [0], |
| 5726 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR | 6172 [Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
| 5727 into the resulting binary]) | 6173 into the resulting binary]) |
| 5728 _LT_TAGDECL([], [hardcode_shlibpath_var], [0], | 6174 _LT_TAGDECL([], [hardcode_shlibpath_var], [0], |
| 5729 [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | 6175 [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
| 5730 into the resulting binary]) | 6176 into the resulting binary]) |
| 5731 _LT_TAGDECL([], [hardcode_automatic], [0], | 6177 _LT_TAGDECL([], [hardcode_automatic], [0], |
| 5732 [Set to "yes" if building a shared library automatically hardcodes DIR | 6178 [Set to "yes" if building a shared library automatically hardcodes DIR |
| 5733 into the library and all subsequent libraries and executables linked | 6179 into the library and all subsequent libraries and executables linked |
| (...skipping 20 matching lines...) Expand all Loading... |
| 5754 dnl FIXME: Not yet implemented | 6200 dnl FIXME: Not yet implemented |
| 5755 dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], | 6201 dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], |
| 5756 dnl [Compiler flag to generate thread safe objects]) | 6202 dnl [Compiler flag to generate thread safe objects]) |
| 5757 ])# _LT_LINKER_SHLIBS | 6203 ])# _LT_LINKER_SHLIBS |
| 5758 | 6204 |
| 5759 | 6205 |
| 5760 # _LT_LANG_C_CONFIG([TAG]) | 6206 # _LT_LANG_C_CONFIG([TAG]) |
| 5761 # ------------------------ | 6207 # ------------------------ |
| 5762 # Ensure that the configuration variables for a C compiler are suitably | 6208 # Ensure that the configuration variables for a C compiler are suitably |
| 5763 # defined. These variables are subsequently used by _LT_CONFIG to write | 6209 # defined. These variables are subsequently used by _LT_CONFIG to write |
| 5764 # the compiler configuration to `libtool'. | 6210 # the compiler configuration to 'libtool'. |
| 5765 m4_defun([_LT_LANG_C_CONFIG], | 6211 m4_defun([_LT_LANG_C_CONFIG], |
| 5766 [m4_require([_LT_DECL_EGREP])dnl | 6212 [m4_require([_LT_DECL_EGREP])dnl |
| 5767 lt_save_CC="$CC" | 6213 lt_save_CC=$CC |
| 5768 AC_LANG_PUSH(C) | 6214 AC_LANG_PUSH(C) |
| 5769 | 6215 |
| 5770 # Source file extension for C test sources. | 6216 # Source file extension for C test sources. |
| 5771 ac_ext=c | 6217 ac_ext=c |
| 5772 | 6218 |
| 5773 # Object file extension for compiled C test sources. | 6219 # Object file extension for compiled C test sources. |
| 5774 objext=o | 6220 objext=o |
| 5775 _LT_TAGVAR(objext, $1)=$objext | 6221 _LT_TAGVAR(objext, $1)=$objext |
| 5776 | 6222 |
| 5777 # Code to be used in simple compile tests | 6223 # Code to be used in simple compile tests |
| (...skipping 15 matching lines...) Expand all Loading... |
| 5793 _LT_COMPILER_NO_RTTI($1) | 6239 _LT_COMPILER_NO_RTTI($1) |
| 5794 _LT_COMPILER_PIC($1) | 6240 _LT_COMPILER_PIC($1) |
| 5795 _LT_COMPILER_C_O($1) | 6241 _LT_COMPILER_C_O($1) |
| 5796 _LT_COMPILER_FILE_LOCKS($1) | 6242 _LT_COMPILER_FILE_LOCKS($1) |
| 5797 _LT_LINKER_SHLIBS($1) | 6243 _LT_LINKER_SHLIBS($1) |
| 5798 _LT_SYS_DYNAMIC_LINKER($1) | 6244 _LT_SYS_DYNAMIC_LINKER($1) |
| 5799 _LT_LINKER_HARDCODE_LIBPATH($1) | 6245 _LT_LINKER_HARDCODE_LIBPATH($1) |
| 5800 LT_SYS_DLOPEN_SELF | 6246 LT_SYS_DLOPEN_SELF |
| 5801 _LT_CMD_STRIPLIB | 6247 _LT_CMD_STRIPLIB |
| 5802 | 6248 |
| 5803 # Report which library types will actually be built | 6249 # Report what library types will actually be built |
| 5804 AC_MSG_CHECKING([if libtool supports shared libraries]) | 6250 AC_MSG_CHECKING([if libtool supports shared libraries]) |
| 5805 AC_MSG_RESULT([$can_build_shared]) | 6251 AC_MSG_RESULT([$can_build_shared]) |
| 5806 | 6252 |
| 5807 AC_MSG_CHECKING([whether to build shared libraries]) | 6253 AC_MSG_CHECKING([whether to build shared libraries]) |
| 5808 test "$can_build_shared" = "no" && enable_shared=no | 6254 test no = "$can_build_shared" && enable_shared=no |
| 5809 | 6255 |
| 5810 # On AIX, shared libraries and static libraries use the same namespace, and | 6256 # On AIX, shared libraries and static libraries use the same namespace, and |
| 5811 # are all built from PIC. | 6257 # are all built from PIC. |
| 5812 case $host_os in | 6258 case $host_os in |
| 5813 aix3*) | 6259 aix3*) |
| 5814 test "$enable_shared" = yes && enable_static=no | 6260 test yes = "$enable_shared" && enable_static=no |
| 5815 if test -n "$RANLIB"; then | 6261 if test -n "$RANLIB"; then |
| 5816 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 6262 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 5817 postinstall_cmds='$RANLIB $lib' | 6263 postinstall_cmds='$RANLIB $lib' |
| 5818 fi | 6264 fi |
| 5819 ;; | 6265 ;; |
| 5820 | 6266 |
| 5821 aix[[4-9]]*) | 6267 aix[[4-9]]*) |
| 5822 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 6268 if test ia64 != "$host_cpu"; then |
| 5823 test "$enable_shared" = yes && enable_static=no | 6269 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 6270 yes,aix,yes) ;;» » » # shared object as lib.so file only |
| 6271 yes,svr4,*) ;;» » » # shared object as lib.so archive member
only |
| 6272 yes,*) enable_static=no ;;» # shared object in lib.a archive as well |
| 6273 esac |
| 5824 fi | 6274 fi |
| 5825 ;; | 6275 ;; |
| 5826 esac | 6276 esac |
| 5827 AC_MSG_RESULT([$enable_shared]) | 6277 AC_MSG_RESULT([$enable_shared]) |
| 5828 | 6278 |
| 5829 AC_MSG_CHECKING([whether to build static libraries]) | 6279 AC_MSG_CHECKING([whether to build static libraries]) |
| 5830 # Make sure either enable_shared or enable_static is yes. | 6280 # Make sure either enable_shared or enable_static is yes. |
| 5831 test "$enable_shared" = yes || enable_static=yes | 6281 test yes = "$enable_shared" || enable_static=yes |
| 5832 AC_MSG_RESULT([$enable_static]) | 6282 AC_MSG_RESULT([$enable_static]) |
| 5833 | 6283 |
| 5834 _LT_CONFIG($1) | 6284 _LT_CONFIG($1) |
| 5835 fi | 6285 fi |
| 5836 AC_LANG_POP | 6286 AC_LANG_POP |
| 5837 CC="$lt_save_CC" | 6287 CC=$lt_save_CC |
| 5838 ])# _LT_LANG_C_CONFIG | 6288 ])# _LT_LANG_C_CONFIG |
| 5839 | 6289 |
| 5840 | 6290 |
| 5841 # _LT_LANG_CXX_CONFIG([TAG]) | 6291 # _LT_LANG_CXX_CONFIG([TAG]) |
| 5842 # -------------------------- | 6292 # -------------------------- |
| 5843 # Ensure that the configuration variables for a C++ compiler are suitably | 6293 # Ensure that the configuration variables for a C++ compiler are suitably |
| 5844 # defined. These variables are subsequently used by _LT_CONFIG to write | 6294 # defined. These variables are subsequently used by _LT_CONFIG to write |
| 5845 # the compiler configuration to `libtool'. | 6295 # the compiler configuration to 'libtool'. |
| 5846 m4_defun([_LT_LANG_CXX_CONFIG], | 6296 m4_defun([_LT_LANG_CXX_CONFIG], |
| 5847 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 6297 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 5848 m4_require([_LT_DECL_EGREP])dnl | 6298 m4_require([_LT_DECL_EGREP])dnl |
| 5849 m4_require([_LT_PATH_MANIFEST_TOOL])dnl | 6299 m4_require([_LT_PATH_MANIFEST_TOOL])dnl |
| 5850 if test -n "$CXX" && ( test "X$CXX" != "Xno" && | 6300 if test -n "$CXX" && ( test no != "$CXX" && |
| 5851 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || | 6301 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || |
| 5852 (test "X$CXX" != "Xg++"))) ; then | 6302 (test g++ != "$CXX"))); then |
| 5853 AC_PROG_CXXCPP | 6303 AC_PROG_CXXCPP |
| 5854 else | 6304 else |
| 5855 _lt_caught_CXX_error=yes | 6305 _lt_caught_CXX_error=yes |
| 5856 fi | 6306 fi |
| 5857 | 6307 |
| 5858 AC_LANG_PUSH(C++) | 6308 AC_LANG_PUSH(C++) |
| 5859 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 6309 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 5860 _LT_TAGVAR(allow_undefined_flag, $1)= | 6310 _LT_TAGVAR(allow_undefined_flag, $1)= |
| 5861 _LT_TAGVAR(always_export_symbols, $1)=no | 6311 _LT_TAGVAR(always_export_symbols, $1)=no |
| 5862 _LT_TAGVAR(archive_expsym_cmds, $1)= | 6312 _LT_TAGVAR(archive_expsym_cmds, $1)= |
| (...skipping 21 matching lines...) Expand all Loading... |
| 5884 ac_ext=cpp | 6334 ac_ext=cpp |
| 5885 | 6335 |
| 5886 # Object file extension for compiled C++ test sources. | 6336 # Object file extension for compiled C++ test sources. |
| 5887 objext=o | 6337 objext=o |
| 5888 _LT_TAGVAR(objext, $1)=$objext | 6338 _LT_TAGVAR(objext, $1)=$objext |
| 5889 | 6339 |
| 5890 # No sense in running all these tests if we already determined that | 6340 # No sense in running all these tests if we already determined that |
| 5891 # the CXX compiler isn't working. Some variables (like enable_shared) | 6341 # the CXX compiler isn't working. Some variables (like enable_shared) |
| 5892 # are currently assumed to apply to all compilers on this platform, | 6342 # are currently assumed to apply to all compilers on this platform, |
| 5893 # and will be corrupted by setting them based on a non-working compiler. | 6343 # and will be corrupted by setting them based on a non-working compiler. |
| 5894 if test "$_lt_caught_CXX_error" != yes; then | 6344 if test yes != "$_lt_caught_CXX_error"; then |
| 5895 # Code to be used in simple compile tests | 6345 # Code to be used in simple compile tests |
| 5896 lt_simple_compile_test_code="int some_variable = 0;" | 6346 lt_simple_compile_test_code="int some_variable = 0;" |
| 5897 | 6347 |
| 5898 # Code to be used in simple link tests | 6348 # Code to be used in simple link tests |
| 5899 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' | 6349 lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' |
| 5900 | 6350 |
| 5901 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 6351 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 5902 _LT_TAG_COMPILER | 6352 _LT_TAG_COMPILER |
| 5903 | 6353 |
| 5904 # save warnings/boilerplate of simple test code | 6354 # save warnings/boilerplate of simple test code |
| (...skipping 21 matching lines...) Expand all Loading... |
| 5926 test -z "${LDCXX+set}" || LD=$LDCXX | 6376 test -z "${LDCXX+set}" || LD=$LDCXX |
| 5927 CC=${CXX-"c++"} | 6377 CC=${CXX-"c++"} |
| 5928 CFLAGS=$CXXFLAGS | 6378 CFLAGS=$CXXFLAGS |
| 5929 compiler=$CC | 6379 compiler=$CC |
| 5930 _LT_TAGVAR(compiler, $1)=$CC | 6380 _LT_TAGVAR(compiler, $1)=$CC |
| 5931 _LT_CC_BASENAME([$compiler]) | 6381 _LT_CC_BASENAME([$compiler]) |
| 5932 | 6382 |
| 5933 if test -n "$compiler"; then | 6383 if test -n "$compiler"; then |
| 5934 # We don't want -fno-exception when compiling C++ code, so set the | 6384 # We don't want -fno-exception when compiling C++ code, so set the |
| 5935 # no_builtin_flag separately | 6385 # no_builtin_flag separately |
| 5936 if test "$GXX" = yes; then | 6386 if test yes = "$GXX"; then |
| 5937 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' | 6387 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' |
| 5938 else | 6388 else |
| 5939 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= | 6389 _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
| 5940 fi | 6390 fi |
| 5941 | 6391 |
| 5942 if test "$GXX" = yes; then | 6392 if test yes = "$GXX"; then |
| 5943 # Set up default GNU C++ configuration | 6393 # Set up default GNU C++ configuration |
| 5944 | 6394 |
| 5945 LT_PATH_LD | 6395 LT_PATH_LD |
| 5946 | 6396 |
| 5947 # Check if GNU C++ uses GNU ld as the underlying linker, since the | 6397 # Check if GNU C++ uses GNU ld as the underlying linker, since the |
| 5948 # archiving commands below assume that GNU ld is being used. | 6398 # archiving commands below assume that GNU ld is being used. |
| 5949 if test "$with_gnu_ld" = yes; then | 6399 if test yes = "$with_gnu_ld"; then |
| 5950 _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_ob
jects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname
-o $lib' | 6400 _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_ob
jects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -
o $lib' |
| 5951 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $pr
edep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl
$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 6401 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $pr
edep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$s
oname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 5952 | 6402 |
| 5953 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 6403 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 5954 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 6404 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' |
| 5955 | 6405 |
| 5956 # If archive_cmds runs LD, not CC, wlarc should be empty | 6406 # If archive_cmds runs LD, not CC, wlarc should be empty |
| 5957 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to | 6407 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to |
| 5958 # investigate it a little bit more. (MM) | 6408 # investigate it a little bit more. (MM) |
| 5959 wlarc='${wl}' | 6409 wlarc='$wl' |
| 5960 | 6410 |
| 5961 # ancient GNU ld didn't support --whole-archive et. al. | 6411 # ancient GNU ld didn't support --whole-archive et. al. |
| 5962 if eval "`$CC -print-prog-name=ld` --help 2>&1" | | 6412 if eval "`$CC -print-prog-name=ld` --help 2>&1" | |
| 5963 $GREP 'no-whole-archive' > /dev/null; then | 6413 $GREP 'no-whole-archive' > /dev/null; then |
| 5964 _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$conve
nience '"$wlarc"'--no-whole-archive' | 6414 _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$conveni
ence '$wlarc'--no-whole-archive' |
| 5965 else | 6415 else |
| 5966 _LT_TAGVAR(whole_archive_flag_spec, $1)= | 6416 _LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 5967 fi | 6417 fi |
| 5968 else | 6418 else |
| 5969 with_gnu_ld=no | 6419 with_gnu_ld=no |
| 5970 wlarc= | 6420 wlarc= |
| 5971 | 6421 |
| 5972 # A generic and very simple default shared library creation | 6422 # A generic and very simple default shared library creation |
| 5973 # command for GNU C++ for the case where it uses the native | 6423 # command for GNU C++ for the case where it uses the native |
| 5974 # linker, instead of GNU ld. If possible, this setting should | 6424 # linker, instead of GNU ld. If possible, this setting should |
| (...skipping 15 matching lines...) Expand all Loading... |
| 5990 | 6440 |
| 5991 # PORTME: fill in a description of your system's C++ link characteristics | 6441 # PORTME: fill in a description of your system's C++ link characteristics |
| 5992 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared librarie
s]) | 6442 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared librarie
s]) |
| 5993 _LT_TAGVAR(ld_shlibs, $1)=yes | 6443 _LT_TAGVAR(ld_shlibs, $1)=yes |
| 5994 case $host_os in | 6444 case $host_os in |
| 5995 aix3*) | 6445 aix3*) |
| 5996 # FIXME: insert proper C++ library support | 6446 # FIXME: insert proper C++ library support |
| 5997 _LT_TAGVAR(ld_shlibs, $1)=no | 6447 _LT_TAGVAR(ld_shlibs, $1)=no |
| 5998 ;; | 6448 ;; |
| 5999 aix[[4-9]]*) | 6449 aix[[4-9]]*) |
| 6000 if test "$host_cpu" = ia64; then | 6450 if test ia64 = "$host_cpu"; then |
| 6001 # On IA64, the linker does run time linking by default, so we don't | 6451 # On IA64, the linker does run time linking by default, so we don't |
| 6002 # have to do anything special. | 6452 # have to do anything special. |
| 6003 aix_use_runtimelinking=no | 6453 aix_use_runtimelinking=no |
| 6004 exp_sym_flag='-Bexport' | 6454 exp_sym_flag='-Bexport' |
| 6005 no_entry_flag="" | 6455 no_entry_flag= |
| 6006 else | 6456 else |
| 6007 aix_use_runtimelinking=no | 6457 aix_use_runtimelinking=no |
| 6008 | 6458 |
| 6009 # Test if we are trying to use run time linking or normal | 6459 # Test if we are trying to use run time linking or normal |
| 6010 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 6460 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
| 6011 # need to do runtime linking. | 6461 # have runtime linking enabled, and use it for executables. |
| 6462 # For shared libraries, we enable/disable runtime linking |
| 6463 # depending on the kind of the shared library created - |
| 6464 # when "with_aix_soname,aix_use_runtimelinking" is: |
| 6465 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables |
| 6466 # "aix,yes" lib.so shared, rtl:yes, for executables |
| 6467 # lib.a static archive |
| 6468 # "both,no" lib.so.V(shr.o) shared, rtl:yes |
| 6469 # lib.a(lib.so.V) shared, rtl:no, for executables |
| 6470 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 6471 # lib.a(lib.so.V) shared, rtl:no |
| 6472 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables |
| 6473 # lib.a static archive |
| 6012 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) | 6474 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) |
| 6013 for ld_flag in $LDFLAGS; do | 6475 for ld_flag in $LDFLAGS; do |
| 6014 case $ld_flag in | 6476 case $ld_flag in |
| 6015 *-brtl*) | 6477 *-brtl*) |
| 6016 aix_use_runtimelinking=yes | 6478 aix_use_runtimelinking=yes |
| 6017 break | 6479 break |
| 6018 ;; | 6480 ;; |
| 6019 esac | 6481 esac |
| 6020 done | 6482 done |
| 6483 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 6484 # With aix-soname=svr4, we create the lib.so.V shared archives onl
y, |
| 6485 # so we don't have lib.a shared libs to link our executables. |
| 6486 # We have to force runtime linking in this case. |
| 6487 aix_use_runtimelinking=yes |
| 6488 LDFLAGS="$LDFLAGS -Wl,-brtl" |
| 6489 fi |
| 6021 ;; | 6490 ;; |
| 6022 esac | 6491 esac |
| 6023 | 6492 |
| 6024 exp_sym_flag='-bexport' | 6493 exp_sym_flag='-bexport' |
| 6025 no_entry_flag='-bnoentry' | 6494 no_entry_flag='-bnoentry' |
| 6026 fi | 6495 fi |
| 6027 | 6496 |
| 6028 # When large executables or shared objects are built, AIX ld can | 6497 # When large executables or shared objects are built, AIX ld can |
| 6029 # have problems creating the table of contents. If linking a library | 6498 # have problems creating the table of contents. If linking a library |
| 6030 # or program results in "error TOC overflow" add -mminimal-toc to | 6499 # or program results in "error TOC overflow" add -mminimal-toc to |
| 6031 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | 6500 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
| 6032 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 6501 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
| 6033 | 6502 |
| 6034 _LT_TAGVAR(archive_cmds, $1)='' | 6503 _LT_TAGVAR(archive_cmds, $1)='' |
| 6035 _LT_TAGVAR(hardcode_direct, $1)=yes | 6504 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 6036 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes | 6505 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 6037 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' | 6506 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' |
| 6038 _LT_TAGVAR(link_all_deplibs, $1)=yes | 6507 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 6039 _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' | 6508 _LT_TAGVAR(file_list_spec, $1)='$wl-f,' |
| 6509 case $with_aix_soname,$aix_use_runtimelinking in |
| 6510 aix,*) ;;» # no import file |
| 6511 svr4,* | *,yes) # use import file |
| 6512 # The Import File defines what to hardcode. |
| 6513 _LT_TAGVAR(hardcode_direct, $1)=no |
| 6514 _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| 6515 ;; |
| 6516 esac |
| 6040 | 6517 |
| 6041 if test "$GXX" = yes; then | 6518 if test yes = "$GXX"; then |
| 6042 case $host_os in aix4.[[012]]|aix4.[[012]].*) | 6519 case $host_os in aix4.[[012]]|aix4.[[012]].*) |
| 6043 # We only want to do this on AIX 4.2 and lower, the check | 6520 # We only want to do this on AIX 4.2 and lower, the check |
| 6044 # below for broken collect2 doesn't work under 4.3+ | 6521 # below for broken collect2 doesn't work under 4.3+ |
| 6045 » collect2name=`${CC} -print-prog-name=collect2` | 6522 » collect2name=`$CC -print-prog-name=collect2` |
| 6046 if test -f "$collect2name" && | 6523 if test -f "$collect2name" && |
| 6047 strings "$collect2name" | $GREP resolve_lib_name >/dev/null | 6524 strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
| 6048 then | 6525 then |
| 6049 # We have reworked collect2 | 6526 # We have reworked collect2 |
| 6050 : | 6527 : |
| 6051 else | 6528 else |
| 6052 # We have old collect2 | 6529 # We have old collect2 |
| 6053 _LT_TAGVAR(hardcode_direct, $1)=unsupported | 6530 _LT_TAGVAR(hardcode_direct, $1)=unsupported |
| 6054 # It fails to find uninstalled libraries when the uninstalled | 6531 # It fails to find uninstalled libraries when the uninstalled |
| 6055 # path is not listed in the libpath. Setting hardcode_minus_L | 6532 # path is not listed in the libpath. Setting hardcode_minus_L |
| 6056 # to unsupported forces relinking | 6533 # to unsupported forces relinking |
| 6057 _LT_TAGVAR(hardcode_minus_L, $1)=yes | 6534 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 6058 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 6535 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 6059 _LT_TAGVAR(hardcode_libdir_separator, $1)= | 6536 _LT_TAGVAR(hardcode_libdir_separator, $1)= |
| 6060 fi | 6537 fi |
| 6061 esac | 6538 esac |
| 6062 shared_flag='-shared' | 6539 shared_flag='-shared' |
| 6063 » if test "$aix_use_runtimelinking" = yes; then | 6540 » if test yes = "$aix_use_runtimelinking"; then |
| 6064 » shared_flag="$shared_flag "'${wl}-G' | 6541 » shared_flag=$shared_flag' $wl-G' |
| 6065 fi | 6542 fi |
| 6543 # Need to ensure runtime linking is disabled for the traditional |
| 6544 # shared library, or the linker may eventually find shared libraries |
| 6545 # /with/ Import File - we do not want to mix them. |
| 6546 shared_flag_aix='-shared' |
| 6547 shared_flag_svr4='-shared $wl-G' |
| 6066 else | 6548 else |
| 6067 # not using gcc | 6549 # not using gcc |
| 6068 if test "$host_cpu" = ia64; then | 6550 if test ia64 = "$host_cpu"; then |
| 6069 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 6551 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
| 6070 # chokes on -Wl,-G. The following line is correct: | 6552 # chokes on -Wl,-G. The following line is correct: |
| 6071 shared_flag='-G' | 6553 shared_flag='-G' |
| 6072 else | 6554 else |
| 6073 » if test "$aix_use_runtimelinking" = yes; then | 6555 » if test yes = "$aix_use_runtimelinking"; then |
| 6074 » shared_flag='${wl}-G' | 6556 » shared_flag='$wl-G' |
| 6075 else | 6557 else |
| 6076 » shared_flag='${wl}-bM:SRE' | 6558 » shared_flag='$wl-bM:SRE' |
| 6077 fi | 6559 fi |
| 6560 shared_flag_aix='$wl-bM:SRE' |
| 6561 shared_flag_svr4='$wl-G' |
| 6078 fi | 6562 fi |
| 6079 fi | 6563 fi |
| 6080 | 6564 |
| 6081 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' | 6565 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' |
| 6082 # It seems that -bexpall does not export symbols beginning with | 6566 # It seems that -bexpall does not export symbols beginning with |
| 6083 # underscore (_), so it is better to generate a list of symbols to | 6567 # underscore (_), so it is better to generate a list of symbols to |
| 6084 # export. | 6568 # export. |
| 6085 _LT_TAGVAR(always_export_symbols, $1)=yes | 6569 _LT_TAGVAR(always_export_symbols, $1)=yes |
| 6086 if test "$aix_use_runtimelinking" = yes; then | 6570 » if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then |
| 6087 # Warning - without using the other runtime loading flags (-brtl), | 6571 # Warning - without using the other runtime loading flags (-brtl), |
| 6088 # -berok will link without error, but may produce a broken library. | 6572 # -berok will link without error, but may produce a broken library. |
| 6089 _LT_TAGVAR(allow_undefined_flag, $1)='-berok' | 6573 # The "-G" linker flag allows undefined symbols. |
| 6574 _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' |
| 6090 # Determine the default libpath from the value encoded in an empty | 6575 # Determine the default libpath from the value encoded in an empty |
| 6091 # executable. | 6576 # executable. |
| 6092 _LT_SYS_MODULE_PATH_AIX([$1]) | 6577 _LT_SYS_MODULE_PATH_AIX([$1]) |
| 6093 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$a
ix_libpath" | 6578 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix
_libpath" |
| 6094 | 6579 |
| 6095 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $li
bobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undef
ined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; f
i` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 6580 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $li
bobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined
_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_
flag:\$export_symbols' '$shared_flag |
| 6096 else | 6581 else |
| 6097 if test "$host_cpu" = ia64; then | 6582 if test ia64 = "$host_cpu"; then |
| 6098 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:
/lib' | 6583 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/l
ib' |
| 6099 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" | 6584 _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" |
| 6100 » _LT_TAGVAR(archive_expsym_cmds, $1)="\$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" | 6585 » _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_
objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allo
w_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" |
| 6101 else | 6586 else |
| 6102 # Determine the default libpath from the value encoded in an | 6587 # Determine the default libpath from the value encoded in an |
| 6103 # empty executable. | 6588 # empty executable. |
| 6104 _LT_SYS_MODULE_PATH_AIX([$1]) | 6589 _LT_SYS_MODULE_PATH_AIX([$1]) |
| 6105 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"
$aix_libpath" | 6590 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$a
ix_libpath" |
| 6106 # Warning - without using the other run time loading flags, | 6591 # Warning - without using the other run time loading flags, |
| 6107 # -berok will link without error, but may produce a broken library. | 6592 # -berok will link without error, but may produce a broken library. |
| 6108 » _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' | 6593 » _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' |
| 6109 » _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' | 6594 » _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' |
| 6110 » if test "$with_gnu_ld" = yes; then | 6595 » if test yes = "$with_gnu_ld"; then |
| 6111 # We only use this code for GNU lds that support --whole-archive. | 6596 # We only use this code for GNU lds that support --whole-archive. |
| 6112 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$conv
enience ${wl}--no-whole-archive' | 6597 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$conven
ience $wl--no-whole-archive' |
| 6113 else | 6598 else |
| 6114 # Exported symbols can be pulled into shared objects from archives | 6599 # Exported symbols can be pulled into shared objects from archives |
| 6115 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' | 6600 _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
| 6116 fi | 6601 fi |
| 6117 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes | 6602 _LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 6118 » # This is similar to how AIX traditionally builds its shared | 6603 » _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname
.d~$MKDIR $output_objdir/$realname.d' |
| 6119 » # libraries. | 6604 » # -brtl affects multiple linker settings, -berok does not and is ove
rridden later |
| 6120 » _LT_TAGVAR(archive_expsym_cmds, $1)="\$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' | 6605 » compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e
"s%-brtl\\([[, ]]\\)%-berok\\1%g"`' |
| 6606 » if test svr4 != "$with_aix_soname"; then |
| 6607 » # This is similar to how AIX traditionally builds its shared |
| 6608 » # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. |
| 6609 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cm
ds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs
$deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_und
efined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$real
name.d/$soname' |
| 6610 » fi |
| 6611 » if test aix != "$with_aix_soname"; then |
| 6612 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cm
ds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_
member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$e
xport_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_
archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)
"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; el
se func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/
$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_obj
dir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared
_archive_member_spec.imp' |
| 6613 » else |
| 6614 » # used by -dlpreopen to get the symbols |
| 6615 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cm
ds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' |
| 6616 » fi |
| 6617 » _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds
, $1)"'~$RM -r $output_objdir/$realname.d' |
| 6121 fi | 6618 fi |
| 6122 fi | 6619 fi |
| 6123 ;; | 6620 ;; |
| 6124 | 6621 |
| 6125 beos*) | 6622 beos*) |
| 6126 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n | 6623 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; the
n |
| 6127 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 6624 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 6128 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 6625 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
| 6129 # support --undefined. This deserves some investigation. FIXME | 6626 # support --undefined. This deserves some investigation. FIXME |
| 6130 » _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler
_flags ${wl}-soname $wl$soname -o $lib' | 6627 » _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler
_flags $wl-soname $wl$soname -o $lib' |
| 6131 else | 6628 else |
| 6132 _LT_TAGVAR(ld_shlibs, $1)=no | 6629 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6133 fi | 6630 fi |
| 6134 ;; | 6631 ;; |
| 6135 | 6632 |
| 6136 chorus*) | 6633 chorus*) |
| 6137 case $cc_basename in | 6634 case $cc_basename in |
| 6138 *) | 6635 *) |
| 6139 # FIXME: insert proper C++ library support | 6636 # FIXME: insert proper C++ library support |
| 6140 _LT_TAGVAR(ld_shlibs, $1)=no | 6637 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6141 ;; | 6638 ;; |
| 6142 esac | 6639 esac |
| 6143 ;; | 6640 ;; |
| 6144 | 6641 |
| 6145 cygwin* | mingw* | pw32* | cegcc*) | 6642 cygwin* | mingw* | pw32* | cegcc*) |
| 6146 case $GXX,$cc_basename in | 6643 case $GXX,$cc_basename in |
| 6147 ,cl* | no,cl*) | 6644 ,cl* | no,cl*) |
| 6148 # Native MSVC | 6645 # Native MSVC |
| 6149 # hardcode_libdir_flag_spec is actually meaningless, as there is | 6646 # hardcode_libdir_flag_spec is actually meaningless, as there is |
| 6150 # no search path for DLLs. | 6647 # no search path for DLLs. |
| 6151 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' | 6648 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' |
| 6152 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 6649 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 6153 _LT_TAGVAR(always_export_symbols, $1)=yes | 6650 _LT_TAGVAR(always_export_symbols, $1)=yes |
| 6154 _LT_TAGVAR(file_list_spec, $1)='@' | 6651 _LT_TAGVAR(file_list_spec, $1)='@' |
| 6155 # Tell ltmain to make .lib files, not .a files. | 6652 # Tell ltmain to make .lib files, not .a files. |
| 6156 libext=lib | 6653 libext=lib |
| 6157 # Tell ltmain to make .dll files, not .so files. | 6654 # Tell ltmain to make .dll files, not .so files. |
| 6158 » shrext_cmds=".dll" | 6655 » shrext_cmds=.dll |
| 6159 # FIXME: Setting linknames here is a bad hack. | 6656 # FIXME: Setting linknames here is a bad hack. |
| 6160 » _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $
compiler_flags $deplibs -Wl,-dll~linknames=' | 6657 » _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $
compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~l
inknames=' |
| 6161 » _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbol
s`" = xEXPORTS; then | 6658 » _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols
]); then |
| 6162 » $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1
\\\!p' < $export_symbols > $output_objdir/$soname.exp; | 6659 cp "$export_symbols" "$output_objdir/$soname.def"; |
| 6163 » else | 6660 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.ex
p"; |
| 6164 » $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $expor
t_symbols > $output_objdir/$soname.exp; | 6661 else |
| 6165 » fi~ | 6662 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_ob
jdir/$soname.exp; |
| 6166 » $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs
"@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.
dll.lib"~ | 6663 fi~ |
| 6167 » linknames=' | 6664 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs
"@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.
dll.lib"~ |
| 6665 linknames=' |
| 6168 # The linker will not automatically build a static lib if we build a D
LL. | 6666 # The linker will not automatically build a static lib if we build a D
LL. |
| 6169 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' | 6667 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
| 6170 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | 6668 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 6171 # Don't use ranlib | 6669 # Don't use ranlib |
| 6172 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' | 6670 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' |
| 6173 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ | 6671 _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ |
| 6174 » lt_tool_outputfile="@TOOL_OUTPUT@"~ | 6672 lt_tool_outputfile="@TOOL_OUTPUT@"~ |
| 6175 » case $lt_outputfile in | 6673 case $lt_outputfile in |
| 6176 » *.exe|*.EXE) ;; | 6674 *.exe|*.EXE) ;; |
| 6177 » *) | 6675 *) |
| 6178 » » lt_outputfile="$lt_outputfile.exe" | 6676 lt_outputfile=$lt_outputfile.exe |
| 6179 » » lt_tool_outputfile="$lt_tool_outputfile.exe" | 6677 lt_tool_outputfile=$lt_tool_outputfile.exe |
| 6180 » » ;; | 6678 ;; |
| 6181 » esac~ | 6679 esac~ |
| 6182 » func_to_tool_file "$lt_outputfile"~ | 6680 func_to_tool_file "$lt_outputfile"~ |
| 6183 » if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"
; then | 6681 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest";
then |
| 6184 » $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputres
ource:"$lt_tool_outputfile" || exit 1; | 6682 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputres
ource:"$lt_tool_outputfile" || exit 1; |
| 6185 » $RM "$lt_outputfile.manifest"; | 6683 $RM "$lt_outputfile.manifest"; |
| 6186 » fi' | 6684 fi' |
| 6187 ;; | 6685 ;; |
| 6188 *) | 6686 *) |
| 6189 # g++ | 6687 # g++ |
| 6190 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, | 6688 # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
| 6191 # as there is no search path for DLLs. | 6689 # as there is no search path for DLLs. |
| 6192 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' | 6690 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 6193 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' | 6691 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' |
| 6194 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported | 6692 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 6195 _LT_TAGVAR(always_export_symbols, $1)=no | 6693 _LT_TAGVAR(always_export_symbols, $1)=no |
| 6196 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | 6694 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 6197 | 6695 |
| 6198 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | 6696 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
| 6199 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${w
l}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 6697 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl
--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 6200 » # If the export-symbols file already is a .def file (1st line | 6698 » # If the export-symbols file already is a .def file, use it as |
| 6201 » # is EXPORTS), use it as is; otherwise, prepend... | 6699 » # is; otherwise, prepend EXPORTS... |
| 6202 » _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symb
ols`" = xEXPORTS; then | 6700 » _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbo
ls]); then |
| 6203 » cp $export_symbols $output_objdir/$soname.def; | 6701 cp $export_symbols $output_objdir/$soname.def; |
| 6204 » else | 6702 else |
| 6205 » echo EXPORTS > $output_objdir/$soname.def; | 6703 echo EXPORTS > $output_objdir/$soname.def; |
| 6206 » cat $export_symbols >> $output_objdir/$soname.def; | 6704 cat $export_symbols >> $output_objdir/$soname.def; |
| 6207 » fi~ | 6705 fi~ |
| 6208 » $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $li
bobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}-
-enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 6706 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $li
bobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--e
nable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
| 6209 else | 6707 else |
| 6210 _LT_TAGVAR(ld_shlibs, $1)=no | 6708 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6211 fi | 6709 fi |
| 6212 ;; | 6710 ;; |
| 6213 esac | 6711 esac |
| 6214 ;; | 6712 ;; |
| 6215 darwin* | rhapsody*) | 6713 darwin* | rhapsody*) |
| 6216 _LT_DARWIN_LINKER_FEATURES($1) | 6714 _LT_DARWIN_LINKER_FEATURES($1) |
| 6217 ;; | 6715 ;; |
| 6218 | 6716 |
| 6717 os2*) |
| 6718 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 6719 _LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 6720 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 6721 shrext_cmds=.dll |
| 6722 _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITI
NSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 6723 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 6724 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 6725 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 6726 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.d
ef~ |
| 6727 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compil
er_flags $output_objdir/$libname.def~ |
| 6728 emximp -o $lib $output_objdir/$libname.def' |
| 6729 _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext
} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ |
| 6730 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ |
| 6731 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ |
| 6732 $ECHO EXPORTS >> $output_objdir/$libname.def~ |
| 6733 prefix_cmds="$SED"~ |
| 6734 if test EXPORTS = "`$SED 1q $export_symbols`"; then |
| 6735 prefix_cmds="$prefix_cmds -e 1d"; |
| 6736 fi~ |
| 6737 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ |
| 6738 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ |
| 6739 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compil
er_flags $output_objdir/$libname.def~ |
| 6740 emximp -o $lib $output_objdir/$libname.def' |
| 6741 _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${li
bname}_dll.a $output_objdir/$libname.def' |
| 6742 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 6743 ;; |
| 6744 |
| 6219 dgux*) | 6745 dgux*) |
| 6220 case $cc_basename in | 6746 case $cc_basename in |
| 6221 ec++*) | 6747 ec++*) |
| 6222 # FIXME: insert proper C++ library support | 6748 # FIXME: insert proper C++ library support |
| 6223 _LT_TAGVAR(ld_shlibs, $1)=no | 6749 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6224 ;; | 6750 ;; |
| 6225 ghcx*) | 6751 ghcx*) |
| 6226 # Green Hills C++ Compiler | 6752 # Green Hills C++ Compiler |
| 6227 # FIXME: insert proper C++ library support | 6753 # FIXME: insert proper C++ library support |
| 6228 _LT_TAGVAR(ld_shlibs, $1)=no | 6754 _LT_TAGVAR(ld_shlibs, $1)=no |
| (...skipping 15 matching lines...) Expand all Loading... |
| 6244 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 6770 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 6245 ;; | 6771 ;; |
| 6246 | 6772 |
| 6247 freebsd* | dragonfly*) | 6773 freebsd* | dragonfly*) |
| 6248 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | 6774 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF |
| 6249 # conventions | 6775 # conventions |
| 6250 _LT_TAGVAR(ld_shlibs, $1)=yes | 6776 _LT_TAGVAR(ld_shlibs, $1)=yes |
| 6251 ;; | 6777 ;; |
| 6252 | 6778 |
| 6253 haiku*) | 6779 haiku*) |
| 6254 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl
ags ${wl}-soname $wl$soname -o $lib' | 6780 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_fl
ags $wl-soname $wl$soname -o $lib' |
| 6255 _LT_TAGVAR(link_all_deplibs, $1)=yes | 6781 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 6256 ;; | 6782 ;; |
| 6257 | 6783 |
| 6258 hpux9*) | 6784 hpux9*) |
| 6259 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' | 6785 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' |
| 6260 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 6786 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 6261 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 6787 _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 6262 _LT_TAGVAR(hardcode_direct, $1)=yes | 6788 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 6263 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, | 6789 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, |
| 6264 # but as the default | 6790 # but as the default |
| 6265 # location of the library. | 6791 # location of the library. |
| 6266 | 6792 |
| 6267 case $cc_basename in | 6793 case $cc_basename in |
| 6268 CC*) | 6794 CC*) |
| 6269 # FIXME: insert proper C++ library support | 6795 # FIXME: insert proper C++ library support |
| 6270 _LT_TAGVAR(ld_shlibs, $1)=no | 6796 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6271 ;; | 6797 ;; |
| 6272 aCC*) | 6798 aCC*) |
| 6273 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl
}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $dep
libs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $
output_objdir/$soname $lib' | 6799 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+
b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv
$output_objdir/$soname $lib' |
| 6274 # Commands to make compiler produce verbose output that lists | 6800 # Commands to make compiler produce verbose output that lists |
| 6275 # what "hidden" libraries, object files and flags are used when | 6801 # what "hidden" libraries, object files and flags are used when |
| 6276 # linking a shared library. | 6802 # linking a shared library. |
| 6277 # | 6803 # |
| 6278 # There doesn't appear to be a way to prevent this compiler from | 6804 # There doesn't appear to be a way to prevent this compiler from |
| 6279 # explicitly linking system object files so we need to strip them | 6805 # explicitly linking system object files so we need to strip them |
| 6280 # from the output so that they don't get included in the library | 6806 # from the output so that they don't get included in the library |
| 6281 # dependencies. | 6807 # dependencies. |
| 6282 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$obje
xt 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$o
bjext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_
all "$list"' | 6808 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$obje
xt 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$ob
jext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_a
ll "$list"' |
| 6283 ;; | 6809 ;; |
| 6284 *) | 6810 *) |
| 6285 if test "$GXX" = yes; then | 6811 if test yes = "$GXX"; then |
| 6286 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shar
ed -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_ob
jdir/$soname = $lib || mv $output_objdir/$soname $lib' | 6812 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shar
ed -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $prede
p_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objd
ir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' |
| 6287 else | 6813 else |
| 6288 # FIXME: insert proper C++ library support | 6814 # FIXME: insert proper C++ library support |
| 6289 _LT_TAGVAR(ld_shlibs, $1)=no | 6815 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6290 fi | 6816 fi |
| 6291 ;; | 6817 ;; |
| 6292 esac | 6818 esac |
| 6293 ;; | 6819 ;; |
| 6294 | 6820 |
| 6295 hpux10*|hpux11*) | 6821 hpux10*|hpux11*) |
| 6296 if test $with_gnu_ld = no; then | 6822 if test no = "$with_gnu_ld"; then |
| 6297 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' | 6823 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' |
| 6298 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 6824 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 6299 | 6825 |
| 6300 case $host_cpu in | 6826 case $host_cpu in |
| 6301 hppa*64*|ia64*) | 6827 hppa*64*|ia64*) |
| 6302 ;; | 6828 ;; |
| 6303 *) | 6829 *) |
| 6304 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 6830 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 6305 ;; | 6831 ;; |
| 6306 esac | 6832 esac |
| 6307 fi | 6833 fi |
| 6308 case $host_cpu in | 6834 case $host_cpu in |
| 6309 hppa*64*|ia64*) | 6835 hppa*64*|ia64*) |
| 6310 _LT_TAGVAR(hardcode_direct, $1)=no | 6836 _LT_TAGVAR(hardcode_direct, $1)=no |
| 6311 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 6837 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 6312 ;; | 6838 ;; |
| 6313 *) | 6839 *) |
| 6314 _LT_TAGVAR(hardcode_direct, $1)=yes | 6840 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 6315 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes | 6841 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 6316 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, | 6842 _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, |
| 6317 # but as the default | 6843 # but as the default |
| 6318 # location of the library. | 6844 # location of the library. |
| 6319 ;; | 6845 ;; |
| 6320 esac | 6846 esac |
| 6321 | 6847 |
| 6322 case $cc_basename in | 6848 case $cc_basename in |
| 6323 CC*) | 6849 CC*) |
| 6324 # FIXME: insert proper C++ library support | 6850 # FIXME: insert proper C++ library support |
| 6325 _LT_TAGVAR(ld_shlibs, $1)=no | 6851 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6326 ;; | 6852 ;; |
| 6327 aCC*) | 6853 aCC*) |
| 6328 case $host_cpu in | 6854 case $host_cpu in |
| 6329 hppa*64*) | 6855 hppa*64*) |
| 6330 » _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $li
b $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 6856 » _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 6331 ;; | 6857 ;; |
| 6332 ia64*) | 6858 ia64*) |
| 6333 » _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+
nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compi
ler_flags' | 6859 » _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefa
ultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl
ags' |
| 6334 ;; | 6860 ;; |
| 6335 *) | 6861 *) |
| 6336 » _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+
b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_object
s $compiler_flags' | 6862 » _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$
install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compi
ler_flags' |
| 6337 ;; | 6863 ;; |
| 6338 esac | 6864 esac |
| 6339 # Commands to make compiler produce verbose output that lists | 6865 # Commands to make compiler produce verbose output that lists |
| 6340 # what "hidden" libraries, object files and flags are used when | 6866 # what "hidden" libraries, object files and flags are used when |
| 6341 # linking a shared library. | 6867 # linking a shared library. |
| 6342 # | 6868 # |
| 6343 # There doesn't appear to be a way to prevent this compiler from | 6869 # There doesn't appear to be a way to prevent this compiler from |
| 6344 # explicitly linking system object files so we need to strip them | 6870 # explicitly linking system object files so we need to strip them |
| 6345 # from the output so that they don't get included in the library | 6871 # from the output so that they don't get included in the library |
| 6346 # dependencies. | 6872 # dependencies. |
| 6347 » output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$obje
xt 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$ob
jext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_a
ll "$list"' | 6873 » output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$obje
xt 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$obj
ext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_al
l "$list"' |
| 6348 ;; | 6874 ;; |
| 6349 *) | 6875 *) |
| 6350 » if test "$GXX" = yes; then | 6876 » if test yes = "$GXX"; then |
| 6351 » if test $with_gnu_ld = no; then | 6877 » if test no = "$with_gnu_ld"; then |
| 6352 case $host_cpu in | 6878 case $host_cpu in |
| 6353 hppa*64*) | 6879 hppa*64*) |
| 6354 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${
wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $c
ompiler_flags' | 6880 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $w
l+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compi
ler_flags' |
| 6355 ;; | 6881 ;; |
| 6356 ia64*) | 6882 ia64*) |
| 6357 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_fla
g ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $de
plibs $postdep_objects $compiler_flags' | 6883 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_fla
g $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags' |
| 6358 ;; | 6884 ;; |
| 6359 *) | 6885 *) |
| 6360 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_fla
g ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $lib
objs $deplibs $postdep_objects $compiler_flags' | 6886 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_fla
g $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $de
plibs $postdep_objects $compiler_flags' |
| 6361 ;; | 6887 ;; |
| 6362 esac | 6888 esac |
| 6363 fi | 6889 fi |
| 6364 else | 6890 else |
| 6365 # FIXME: insert proper C++ library support | 6891 # FIXME: insert proper C++ library support |
| 6366 _LT_TAGVAR(ld_shlibs, $1)=no | 6892 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6367 fi | 6893 fi |
| 6368 ;; | 6894 ;; |
| 6369 esac | 6895 esac |
| 6370 ;; | 6896 ;; |
| 6371 | 6897 |
| 6372 interix[[3-9]]*) | 6898 interix[[3-9]]*) |
| 6373 _LT_TAGVAR(hardcode_direct, $1)=no | 6899 _LT_TAGVAR(hardcode_direct, $1)=no |
| 6374 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 6900 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 6375 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 6901 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 6376 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 6902 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 6377 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | 6903 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
| 6378 # Instead, shared libraries are loaded at an image base (0x10000000 by | 6904 # Instead, shared libraries are loaded at an image base (0x10000000 by |
| 6379 # default) and relocated if they conflict, which is a slow very memory | 6905 # default) and relocated if they conflict, which is a slow very memory |
| 6380 # consuming and fragmenting process. To avoid this, we pick a random, | 6906 # consuming and fragmenting process. To avoid this, we pick a random, |
| 6381 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | 6907 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
| 6382 # time. Moving up from 0x10000000 also allows more sbrk(2) space. | 6908 # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
| 6383 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \*
262144 + 1342177280` -o $lib' | 6909 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $c
ompiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262
144 + 1342177280` -o $lib' |
| 6384 » _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$outp
ut_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' | 6910 » _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$outp
ut_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' |
| 6385 ;; | 6911 ;; |
| 6386 irix5* | irix6*) | 6912 irix5* | irix6*) |
| 6387 case $cc_basename in | 6913 case $cc_basename in |
| 6388 CC*) | 6914 CC*) |
| 6389 # SGI C++ | 6915 # SGI C++ |
| 6390 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_obj
ects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n
"$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${out
put_objdir}/so_locations -o $lib' | 6916 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_obj
ects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n
"$verstring" && func_echo_all "-set_version $verstring"` -update_registry $outp
ut_objdir/so_locations -o $lib' |
| 6391 | 6917 |
| 6392 # Archives containing C++ object files must be created using | 6918 # Archives containing C++ object files must be created using |
| 6393 # "CC -ar", where "CC" is the IRIX C++ compiler. This is | 6919 # "CC -ar", where "CC" is the IRIX C++ compiler. This is |
| 6394 # necessary to make sure instantiated templates are included | 6920 # necessary to make sure instantiated templates are included |
| 6395 # in the archive. | 6921 # in the archive. |
| 6396 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs
' | 6922 _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs
' |
| 6397 ;; | 6923 ;; |
| 6398 *) | 6924 *) |
| 6399 » if test "$GXX" = yes; then | 6925 » if test yes = "$GXX"; then |
| 6400 » if test "$with_gnu_ld" = no; then | 6926 » if test no = "$with_gnu_ld"; then |
| 6401 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${
wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verst
ring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 6927 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $p
redep_objects $libobjs $deplibs $postdep_objects $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' |
| 6402 else | 6928 else |
| 6403 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${
wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verst
ring"` -o $lib' | 6929 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$
soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -
o $lib' |
| 6404 fi | 6930 fi |
| 6405 fi | 6931 fi |
| 6406 _LT_TAGVAR(link_all_deplibs, $1)=yes | 6932 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 6407 ;; | 6933 ;; |
| 6408 esac | 6934 esac |
| 6409 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 6935 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 6410 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 6936 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 6411 _LT_TAGVAR(inherit_rpath, $1)=yes | 6937 _LT_TAGVAR(inherit_rpath, $1)=yes |
| 6412 ;; | 6938 ;; |
| 6413 | 6939 |
| 6414 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) | 6940 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
| 6415 case $cc_basename in | 6941 case $cc_basename in |
| 6416 KCC*) | 6942 KCC*) |
| 6417 # Kuck and Associates, Inc. (KAI) C++ Compiler | 6943 # Kuck and Associates, Inc. (KAI) C++ Compiler |
| 6418 | 6944 |
| 6419 # KCC will only create a shared library if the output file | 6945 # KCC will only create a shared library if the output file |
| 6420 # ends with ".so" (or ".sl" for HP-UX), so rename the library | 6946 # ends with ".so" (or ".sl" for HP-UX), so rename the library |
| 6421 # to its proper name (with version) after linking. | 6947 # to its proper name (with version) after linking. |
| 6422 » _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\
''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tem
pext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compil
er_flags --soname $soname -o \$templib; mv \$templib $lib' | 6948 » _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\
''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$temp
ext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler
_flags --soname $soname -o \$templib; mv \$templib $lib' |
| 6423 » _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SE
D -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s
/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects
$compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_
symbols; mv \$templib $lib' | 6949 » _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SE
D -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s
/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $c
ompiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symb
ols; mv \$templib $lib' |
| 6424 # Commands to make compiler produce verbose output that lists | 6950 # Commands to make compiler produce verbose output that lists |
| 6425 # what "hidden" libraries, object files and flags are used when | 6951 # what "hidden" libraries, object files and flags are used when |
| 6426 # linking a shared library. | 6952 # linking a shared library. |
| 6427 # | 6953 # |
| 6428 # There doesn't appear to be a way to prevent this compiler from | 6954 # There doesn't appear to be a way to prevent this compiler from |
| 6429 # explicitly linking system object files so we need to strip them | 6955 # explicitly linking system object files so we need to strip them |
| 6430 # from the output so that they don't get included in the library | 6956 # from the output so that they don't get included in the library |
| 6431 # dependencies. | 6957 # dependencies. |
| 6432 » output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -
o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=
""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$obj
ext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | 6958 » output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -
o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=
; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$obje
xt);; *) list="$list $z";;esac; done; func_echo_all "$list"' |
| 6433 | 6959 |
| 6434 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 6960 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 6435 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 6961 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' |
| 6436 | 6962 |
| 6437 # Archives containing C++ object files must be created using | 6963 # Archives containing C++ object files must be created using |
| 6438 # "CC -Bstatic", where "CC" is the KAI C++ compiler. | 6964 # "CC -Bstatic", where "CC" is the KAI C++ compiler. |
| 6439 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' | 6965 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' |
| 6440 ;; | 6966 ;; |
| 6441 icpc* | ecpc* ) | 6967 icpc* | ecpc* ) |
| 6442 # Intel C++ | 6968 # Intel C++ |
| 6443 with_gnu_ld=yes | 6969 with_gnu_ld=yes |
| 6444 # version 8.0 and above of icpc choke on multiply defined symbols | 6970 # version 8.0 and above of icpc choke on multiply defined symbols |
| 6445 # if we add $predep_objects and $postdep_objects, however 7.1 and | 6971 # if we add $predep_objects and $postdep_objects, however 7.1 and |
| 6446 # earlier do not add the objects themselves. | 6972 # earlier do not add the objects themselves. |
| 6447 case `$CC -V 2>&1` in | 6973 case `$CC -V 2>&1` in |
| 6448 *"Version 7."*) | 6974 *"Version 7."*) |
| 6449 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libob
js $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 6975 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libob
js $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 6450 » » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl
}-retain-symbols-file $wl$export_symbols -o $lib' | 6976 » » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects
$libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-re
tain-symbols-file $wl$export_symbols -o $lib' |
| 6451 ;; | 6977 ;; |
| 6452 *) # Version 8.0 or newer | 6978 *) # Version 8.0 or newer |
| 6453 tmp_idyn= | 6979 tmp_idyn= |
| 6454 case $host_cpu in | 6980 case $host_cpu in |
| 6455 ia64*) tmp_idyn=' -i_dynamic';; | 6981 ia64*) tmp_idyn=' -i_dynamic';; |
| 6456 esac | 6982 esac |
| 6457 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs
$deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 6983 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs
$deplibs $compiler_flags $wl-soname $wl$soname -o $lib' |
| 6458 » » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $l
ibobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-fil
e $wl$export_symbols -o $lib' | 6984 » » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $l
ibobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $w
l$export_symbols -o $lib' |
| 6459 ;; | 6985 ;; |
| 6460 esac | 6986 esac |
| 6461 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 6987 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 6462 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 6988 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 6463 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 6989 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' |
| 6464 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$conven
ience ${wl}--no-whole-archive' | 6990 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenie
nce $wl--no-whole-archive' |
| 6465 ;; | 6991 ;; |
| 6466 pgCC* | pgcpp*) | 6992 pgCC* | pgcpp*) |
| 6467 # Portland Group C++ compiler | 6993 # Portland Group C++ compiler |
| 6468 case `$CC -V` in | 6994 case `$CC -V` in |
| 6469 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) | 6995 *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) |
| 6470 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ | 6996 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ |
| 6471 » » rm -rf $tpldir~ | 6997 rm -rf $tpldir~ |
| 6472 » » $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs
$compile_deplibs~ | 6998 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs
$compile_deplibs~ |
| 6473 » » compile_command="$compile_command `find $tpldir -name \*.o | sor
t | $NL2SP`"' | 6999 compile_command="$compile_command `find $tpldir -name \*.o | sort
| $NL2SP`"' |
| 6474 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ | 7000 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ |
| 6475 » » rm -rf $tpldir~ | 7001 rm -rf $tpldir~ |
| 6476 » » $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_d
eplibs~ | 7002 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_d
eplibs~ |
| 6477 » » $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*
.o | sort | $NL2SP`~ | 7003 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*
.o | sort | $NL2SP`~ |
| 6478 » » $RANLIB $oldlib' | 7004 $RANLIB $oldlib' |
| 6479 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ | 7005 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ |
| 6480 » » rm -rf $tpldir~ | 7006 rm -rf $tpldir~ |
| 6481 » » $CC --prelink_objects --instantiation_dir $tpldir $predep_object
s $libobjs $deplibs $convenience $postdep_objects~ | 7007 $CC --prelink_objects --instantiation_dir $tpldir $predep_object
s $libobjs $deplibs $convenience $postdep_objects~ |
| 6482 » » $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $t
pldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname
${wl}$soname -o $lib' | 7008 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $t
pldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $w
l$soname -o $lib' |
| 6483 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ | 7009 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ |
| 6484 » » rm -rf $tpldir~ | 7010 rm -rf $tpldir~ |
| 6485 » » $CC --prelink_objects --instantiation_dir $tpldir $predep_object
s $libobjs $deplibs $convenience $postdep_objects~ | 7011 $CC --prelink_objects --instantiation_dir $tpldir $predep_object
s $libobjs $deplibs $convenience $postdep_objects~ |
| 6486 » » $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $t
pldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname
${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | 7012 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $t
pldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $w
l$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 6487 ;; | 7013 ;; |
| 6488 *) # Version 6 and above use weak symbols | 7014 *) # Version 6 and above use weak symbols |
| 6489 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_object
s $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -
o $lib' | 7015 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_object
s $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $l
ib' |
| 6490 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep
_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$s
oname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | 7016 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep
_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$sonam
e $wl-retain-symbols-file $wl$export_symbols -o $lib' |
| 6491 ;; | 7017 ;; |
| 6492 esac | 7018 esac |
| 6493 | 7019 |
| 6494 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir
' | 7020 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' |
| 6495 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 7021 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' |
| 6496 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for co
nv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenie
nce,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 7022 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv
in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc
e,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' |
| 6497 ;; | 7023 ;; |
| 6498 cxx*) | 7024 cxx*) |
| 6499 # Compaq C++ | 7025 # Compaq C++ |
| 6500 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $
deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 7026 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $
deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' |
| 6501 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $li
bobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib
${wl}-retain-symbols-file $wl$export_symbols' | 7027 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $li
bobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $
wl-retain-symbols-file $wl$export_symbols' |
| 6502 | 7028 |
| 6503 runpath_var=LD_RUN_PATH | 7029 runpath_var=LD_RUN_PATH |
| 6504 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' | 7030 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
| 6505 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 7031 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 6506 | 7032 |
| 6507 # Commands to make compiler produce verbose output that lists | 7033 # Commands to make compiler produce verbose output that lists |
| 6508 # what "hidden" libraries, object files and flags are used when | 7034 # what "hidden" libraries, object files and flags are used when |
| 6509 # linking a shared library. | 7035 # linking a shared library. |
| 6510 # | 7036 # |
| 6511 # There doesn't appear to be a way to prevent this compiler from | 7037 # There doesn't appear to be a way to prevent this compiler from |
| 6512 # explicitly linking system object files so we need to strip them | 7038 # explicitly linking system object files so we need to strip them |
| 6513 # from the output so that they don't get included in the library | 7039 # from the output so that they don't get included in the library |
| 6514 # dependencies. | 7040 # dependencies. |
| 6515 » output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$
objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld
.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$ob
jext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_a
ll "X$list" | $Xsed' | 7041 » output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$
objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld
.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$obj
ext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_al
l "X$list" | $Xsed' |
| 6516 ;; | 7042 ;; |
| 6517 xl* | mpixl* | bgxl*) | 7043 xl* | mpixl* | bgxl*) |
| 6518 # IBM XL 8.0 on PPC, with GNU ld | 7044 # IBM XL 8.0 on PPC, with GNU ld |
| 6519 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' | 7045 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 6520 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 7046 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' |
| 6521 » _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $comp
iler_flags ${wl}-soname $wl$soname -o $lib' | 7047 » _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $comp
iler_flags $wl-soname $wl$soname -o $lib' |
| 6522 » if test "x$supports_anon_versioning" = xyes; then | 7048 » if test yes = "$supports_anon_versioning"; then |
| 6523 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_ob
jdir/$libname.ver~ | 7049 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_ob
jdir/$libname.ver~ |
| 6524 » » cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$
libname.ver~ | 7050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$
libname.ver~ |
| 6525 » » echo "local: *; };" >> $output_objdir/$libname.ver~ | 7051 echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 6526 » » $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $w
l$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 7052 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$
soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' |
| 6527 fi | 7053 fi |
| 6528 ;; | 7054 ;; |
| 6529 *) | 7055 *) |
| 6530 case `$CC -V 2>&1 | sed 5q` in | 7056 case `$CC -V 2>&1 | sed 5q` in |
| 6531 *Sun\ C*) | 7057 *Sun\ C*) |
| 6532 # Sun C++ 5.9 | 7058 # Sun C++ 5.9 |
| 6533 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' | 7059 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
| 6534 » _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$son
ame -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 7060 » _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$sonam
e -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 6535 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag}
-h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_
flags ${wl}-retain-symbols-file ${wl}$export_symbols' | 7061 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -
h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_fl
ags $wl-retain-symbols-file $wl$export_symbols' |
| 6536 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | 7062 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
| 6537 » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_
convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenie
nce=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}-
-no-whole-archive' | 7063 » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_co
nvenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenienc
e=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-
whole-archive' |
| 6538 _LT_TAGVAR(compiler_needs_object, $1)=yes | 7064 _LT_TAGVAR(compiler_needs_object, $1)=yes |
| 6539 | 7065 |
| 6540 # Not sure whether something based on | 7066 # Not sure whether something based on |
| 6541 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | 7067 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
| 6542 # would be better. | 7068 # would be better. |
| 6543 output_verbose_link_cmd='func_echo_all' | 7069 output_verbose_link_cmd='func_echo_all' |
| 6544 | 7070 |
| 6545 # Archives containing C++ object files must be created using | 7071 # Archives containing C++ object files must be created using |
| 6546 # "CC -xar", where "CC" is the Sun C++ compiler. This is | 7072 # "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 6547 # necessary to make sure instantiated templates are included | 7073 # necessary to make sure instantiated templates are included |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6585 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 7111 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 6586 fi | 7112 fi |
| 6587 # Workaround some broken pre-1.5 toolchains | 7113 # Workaround some broken pre-1.5 toolchains |
| 6588 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 |
$GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | 7114 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 |
$GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' |
| 6589 ;; | 7115 ;; |
| 6590 | 7116 |
| 6591 *nto* | *qnx*) | 7117 *nto* | *qnx*) |
| 6592 _LT_TAGVAR(ld_shlibs, $1)=yes | 7118 _LT_TAGVAR(ld_shlibs, $1)=yes |
| 6593 ;; | 7119 ;; |
| 6594 | 7120 |
| 6595 openbsd2*) | 7121 openbsd* | bitrig*) |
| 6596 # C++ shared libraries are fairly broken | |
| 6597 » _LT_TAGVAR(ld_shlibs, $1)=no | |
| 6598 » ;; | |
| 6599 | |
| 6600 openbsd*) | |
| 6601 if test -f /usr/libexec/ld.so; then | 7122 if test -f /usr/libexec/ld.so; then |
| 6602 _LT_TAGVAR(hardcode_direct, $1)=yes | 7123 _LT_TAGVAR(hardcode_direct, $1)=yes |
| 6603 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 7124 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 6604 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes | 7125 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes |
| 6605 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $l
ibobjs $deplibs $postdep_objects $compiler_flags -o $lib' | 7126 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $l
ibobjs $deplibs $postdep_objects $compiler_flags -o $lib' |
| 6606 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 7127 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 6607 » if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_o
s-$host_cpu" = "openbsd2.8-powerpc"; then | 7128 » if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then |
| 6608 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_o
bjects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-f
ile,$export_symbols -o $lib' | 7129 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_o
bjects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-fil
e,$export_symbols -o $lib' |
| 6609 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' | 7130 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' |
| 6610 » _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$con
venience '"$wlarc"'--no-whole-archive' | 7131 » _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$conve
nience '$wlarc'--no-whole-archive' |
| 6611 fi | 7132 fi |
| 6612 output_verbose_link_cmd=func_echo_all | 7133 output_verbose_link_cmd=func_echo_all |
| 6613 else | 7134 else |
| 6614 _LT_TAGVAR(ld_shlibs, $1)=no | 7135 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6615 fi | 7136 fi |
| 6616 ;; | 7137 ;; |
| 6617 | 7138 |
| 6618 osf3* | osf4* | osf5*) | 7139 osf3* | osf4* | osf5*) |
| 6619 case $cc_basename in | 7140 case $cc_basename in |
| 6620 KCC*) | 7141 KCC*) |
| 6621 # Kuck and Associates, Inc. (KAI) C++ Compiler | 7142 # Kuck and Associates, Inc. (KAI) C++ Compiler |
| 6622 | 7143 |
| 6623 # KCC will only create a shared library if the output file | 7144 # KCC will only create a shared library if the output file |
| 6624 # ends with ".so" (or ".sl" for HP-UX), so rename the library | 7145 # ends with ".so" (or ".sl" for HP-UX), so rename the library |
| 6625 # to its proper name (with version) after linking. | 7146 # to its proper name (with version) after linking. |
| 6626 » _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\
''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${t
empext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $comp
iler_flags --soname $soname -o \$templib; mv \$templib $lib' | 7147 » _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\
''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$te
mpext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compil
er_flags --soname $soname -o \$templib; mv \$templib $lib' |
| 6627 | 7148 |
| 6628 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 7149 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' |
| 6629 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 7150 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 6630 | 7151 |
| 6631 # Archives containing C++ object files must be created using | 7152 # Archives containing C++ object files must be created using |
| 6632 # the KAI C++ compiler. | 7153 # the KAI C++ compiler. |
| 6633 case $host in | 7154 case $host in |
| 6634 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $
oldobjs' ;; | 7155 osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $
oldobjs' ;; |
| 6635 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; | 7156 *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; |
| 6636 esac | 7157 esac |
| 6637 ;; | 7158 ;; |
| 6638 RCC*) | 7159 RCC*) |
| 6639 # Rational C++ 2.4.1 | 7160 # Rational C++ 2.4.1 |
| 6640 # FIXME: insert proper C++ library support | 7161 # FIXME: insert proper C++ library support |
| 6641 _LT_TAGVAR(ld_shlibs, $1)=no | 7162 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6642 ;; | 7163 ;; |
| 6643 cxx*) | 7164 cxx*) |
| 6644 case $host in | 7165 case $host in |
| 6645 osf3*) | 7166 osf3*) |
| 6646 » _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved $
{wl}\*' | 7167 » _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl
\*' |
| 6647 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag}
$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname
$soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"`
-update_registry ${output_objdir}/so_locations -o $lib' | 7168 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $
predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $so
name `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -updat
e_registry $output_objdir/so_locations -o $lib' |
| 6648 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$lib
dir' | 7169 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 6649 ;; | 7170 ;; |
| 6650 *) | 7171 *) |
| 6651 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' | 7172 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
| 6652 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag}
$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -sonam
e $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -upd
ate_registry ${output_objdir}/so_locations -o $lib' | 7173 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $
predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname
$soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -updat
e_registry $output_objdir/so_locations -o $lib' |
| 6653 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbo
ls`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | 7174 _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbo
ls`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
| 6654 » echo "-hidden">> $lib.exp~ | 7175 echo "-hidden">> $lib.exp~ |
| 6655 » $CC -shared$allow_undefined_flag $predep_objects $libobjs $dep
libs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$li
b.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registr
y ${output_objdir}/so_locations -o $lib~ | 7176 $CC -shared$allow_undefined_flag $predep_objects $libobjs $dep
libs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.ex
p `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $o
utput_objdir/so_locations -o $lib~ |
| 6656 » $RM $lib.exp' | 7177 $RM $lib.exp' |
| 6657 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' | 7178 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
| 6658 ;; | 7179 ;; |
| 6659 esac | 7180 esac |
| 6660 | 7181 |
| 6661 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 7182 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 6662 | 7183 |
| 6663 # Commands to make compiler produce verbose output that lists | 7184 # Commands to make compiler produce verbose output that lists |
| 6664 # what "hidden" libraries, object files and flags are used when | 7185 # what "hidden" libraries, object files and flags are used when |
| 6665 # linking a shared library. | 7186 # linking a shared library. |
| 6666 # | 7187 # |
| 6667 # There doesn't appear to be a way to prevent this compiler from | 7188 # There doesn't appear to be a way to prevent this compiler from |
| 6668 # explicitly linking system object files so we need to strip them | 7189 # explicitly linking system object files so we need to strip them |
| 6669 # from the output so that they don't get included in the library | 7190 # from the output so that they don't get included in the library |
| 6670 # dependencies. | 7191 # dependencies. |
| 6671 » output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$
objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist"
| $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z
in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; d
one; func_echo_all "$list"' | 7192 » output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$
objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist"
| $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z
in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; do
ne; func_echo_all "$list"' |
| 6672 ;; | 7193 ;; |
| 6673 *) | 7194 *) |
| 6674 » if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 7195 » if test yes,no = "$GXX,$with_gnu_ld"; then |
| 6675 » _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${w
l}\*' | 7196 » _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*
' |
| 6676 case $host in | 7197 case $host in |
| 6677 osf3*) | 7198 osf3*) |
| 6678 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_un
defined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags
${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_ver
sion ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations
-o $lib' | 7199 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_und
efined_flag $predep_objects $libobjs $deplibs $postdep_objects $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' |
| 6679 ;; | 7200 ;; |
| 6680 *) | 7201 *) |
| 6681 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib
${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $comp
iler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_ec
ho_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_
objdir}/so_locations -o $lib' | 7202 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib
$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compil
er_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_locatio
ns -o $lib' |
| 6682 ;; | 7203 ;; |
| 6683 esac | 7204 esac |
| 6684 | 7205 |
| 6685 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdi
r' | 7206 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' |
| 6686 _LT_TAGVAR(hardcode_libdir_separator, $1)=: | 7207 _LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 6687 | 7208 |
| 6688 # Commands to make compiler produce verbose output that lists | 7209 # Commands to make compiler produce verbose output that lists |
| 6689 # what "hidden" libraries, object files and flags are used when | 7210 # what "hidden" libraries, object files and flags are used when |
| 6690 # linking a shared library. | 7211 # linking a shared library. |
| 6691 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2
>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | 7212 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2
>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| 6692 | 7213 |
| 6693 else | 7214 else |
| 6694 # FIXME: insert proper C++ library support | 7215 # FIXME: insert proper C++ library support |
| 6695 _LT_TAGVAR(ld_shlibs, $1)=no | 7216 _LT_TAGVAR(ld_shlibs, $1)=no |
| (...skipping 25 matching lines...) Expand all Loading... |
| 6721 ;; | 7242 ;; |
| 6722 esac | 7243 esac |
| 6723 ;; | 7244 ;; |
| 6724 | 7245 |
| 6725 solaris*) | 7246 solaris*) |
| 6726 case $cc_basename in | 7247 case $cc_basename in |
| 6727 CC* | sunCC*) | 7248 CC* | sunCC*) |
| 6728 # Sun C++ 4.2, 5.x and Centerline C++ | 7249 # Sun C++ 4.2, 5.x and Centerline C++ |
| 6729 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes | 7250 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes |
| 6730 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' | 7251 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
| 6731 » _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$sona
me -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 7252 » _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname
-o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 6732 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat
$export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $l
ib.exp~ | 7253 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat
$export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $l
ib.exp~ |
| 6733 » $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $
lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.
exp' | 7254 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
| 6734 | 7255 |
| 6735 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' | 7256 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
| 6736 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 7257 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 6737 case $host_os in | 7258 case $host_os in |
| 6738 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; | 7259 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; |
| 6739 *) | 7260 *) |
| 6740 # The compiler driver will combine and reorder linker options, | 7261 # The compiler driver will combine and reorder linker options, |
| 6741 » » # but understands `-z linker_flag'. | 7262 » » # but understands '-z linker_flag'. |
| 6742 # Supported since Solaris 2.6 (maybe 2.5.1?) | 7263 # Supported since Solaris 2.6 (maybe 2.5.1?) |
| 6743 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenien
ce -z defaultextract' | 7264 _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenien
ce -z defaultextract' |
| 6744 ;; | 7265 ;; |
| 6745 esac | 7266 esac |
| 6746 _LT_TAGVAR(link_all_deplibs, $1)=yes | 7267 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 6747 | 7268 |
| 6748 output_verbose_link_cmd='func_echo_all' | 7269 output_verbose_link_cmd='func_echo_all' |
| 6749 | 7270 |
| 6750 # Archives containing C++ object files must be created using | 7271 # Archives containing C++ object files must be created using |
| 6751 # "CC -xar", where "CC" is the Sun C++ compiler. This is | 7272 # "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 6752 # necessary to make sure instantiated templates are included | 7273 # necessary to make sure instantiated templates are included |
| 6753 # in the archive. | 7274 # in the archive. |
| 6754 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' | 7275 _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' |
| 6755 ;; | 7276 ;; |
| 6756 gcx*) | 7277 gcx*) |
| 6757 # Green Hills C++ Compiler | 7278 # Green Hills C++ Compiler |
| 6758 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $
deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 7279 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $
deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 6759 | 7280 |
| 6760 # The C++ compiler must be used to create the archive. | 7281 # The C++ compiler must be used to create the archive. |
| 6761 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $
oldobjs' | 7282 _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $
oldobjs' |
| 6762 ;; | 7283 ;; |
| 6763 *) | 7284 *) |
| 6764 # GNU C++ compiler with Solaris linker | 7285 # GNU C++ compiler with Solaris linker |
| 6765 » if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 7286 » if test yes,no = "$GXX,$with_gnu_ld"; then |
| 6766 » _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' | 7287 » _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' |
| 6767 if $CC --version | $GREP -v '^2\.7' > /dev/null; then | 7288 if $CC --version | $GREP -v '^2\.7' > /dev/null; then |
| 6768 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $L
DFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-
h $wl$soname -o $lib' | 7289 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$sonam
e -o $lib' |
| 6769 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp
~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >
> $lib.exp~ | 7290 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp
~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >
> $lib.exp~ |
| 6770 » » $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | 7291 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$so
name -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~
$RM $lib.exp' |
| 6771 | 7292 |
| 6772 # Commands to make compiler produce verbose output that lists | 7293 # Commands to make compiler produce verbose output that lists |
| 6773 # what "hidden" libraries, object files and flags are used when | 7294 # what "hidden" libraries, object files and flags are used when |
| 6774 # linking a shared library. | 7295 # linking a shared library. |
| 6775 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext
2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | 7296 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext
2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| 6776 else | 7297 else |
| 6777 » # g++ 2.7 appears to require `-G' NOT `-shared' on this | 7298 » # g++ 2.7 appears to require '-G' NOT '-shared' on this |
| 6778 # platform. | 7299 # platform. |
| 6779 » _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_
objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o
$lib' | 7300 » _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $
libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' |
| 6780 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp
~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >
> $lib.exp~ | 7301 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp
~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >
> $lib.exp~ |
| 6781 » » $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $
libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | 7302 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $p
redep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' |
| 6782 | 7303 |
| 6783 # Commands to make compiler produce verbose output that lists | 7304 # Commands to make compiler produce verbose output that lists |
| 6784 # what "hidden" libraries, object files and flags are used when | 7305 # what "hidden" libraries, object files and flags are used when |
| 6785 # linking a shared library. | 7306 # linking a shared library. |
| 6786 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1
| $GREP -v "^Configured with:" | $GREP "\-L"' | 7307 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1
| $GREP -v "^Configured with:" | $GREP "\-L"' |
| 6787 fi | 7308 fi |
| 6788 | 7309 |
| 6789 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' | 7310 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' |
| 6790 case $host_os in | 7311 case $host_os in |
| 6791 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; | 7312 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; |
| 6792 *) | 7313 *) |
| 6793 » » _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextra
ct$convenience ${wl}-z ${wl}defaultextract' | 7314 » » _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract
$convenience $wl-z ${wl}defaultextract' |
| 6794 ;; | 7315 ;; |
| 6795 esac | 7316 esac |
| 6796 fi | 7317 fi |
| 6797 ;; | 7318 ;; |
| 6798 esac | 7319 esac |
| 6799 ;; | 7320 ;; |
| 6800 | 7321 |
| 6801 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | s
co3.2v5.0.[[024]]*) | 7322 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | s
co3.2v5.0.[[024]]*) |
| 6802 _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' | 7323 _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' |
| 6803 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 7324 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 6804 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 7325 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 6805 runpath_var='LD_RUN_PATH' | 7326 runpath_var='LD_RUN_PATH' |
| 6806 | 7327 |
| 6807 case $cc_basename in | 7328 case $cc_basename in |
| 6808 CC*) | 7329 CC*) |
| 6809 » _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs
$deplibs $compiler_flags' | 7330 » _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $d
eplibs $compiler_flags' |
| 6810 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symb
ols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 7331 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbol
s $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 6811 ;; | 7332 ;; |
| 6812 *) | 7333 *) |
| 6813 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $lib
objs $deplibs $compiler_flags' | 7334 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libob
js $deplibs $compiler_flags' |
| 6814 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export
_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 7335 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_s
ymbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 6815 ;; | 7336 ;; |
| 6816 esac | 7337 esac |
| 6817 ;; | 7338 ;; |
| 6818 | 7339 |
| 6819 sysv5* | sco3.2v5* | sco5v6*) | 7340 sysv5* | sco3.2v5* | sco5v6*) |
| 6820 » # Note: We can NOT use -z defs as we might desire, because we do not | 7341 » # Note: We CANNOT use -z defs as we might desire, because we do not |
| 6821 # link with -lc, and that would cause any symbols used from libc to | 7342 # link with -lc, and that would cause any symbols used from libc to |
| 6822 # always be unresolved, which means just about no library would | 7343 # always be unresolved, which means just about no library would |
| 6823 # ever link correctly. If we're not using GNU ld we use -z text | 7344 # ever link correctly. If we're not using GNU ld we use -z text |
| 6824 # though, which does catch some bad symbols but isn't as heavy-handed | 7345 # though, which does catch some bad symbols but isn't as heavy-handed |
| 6825 # as -z defs. | 7346 # as -z defs. |
| 6826 » _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' | 7347 » _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' |
| 6827 » _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' | 7348 » _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' |
| 6828 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 7349 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 6829 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no | 7350 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 6830 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' | 7351 » _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' |
| 6831 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' | 7352 _LT_TAGVAR(hardcode_libdir_separator, $1)=':' |
| 6832 _LT_TAGVAR(link_all_deplibs, $1)=yes | 7353 _LT_TAGVAR(link_all_deplibs, $1)=yes |
| 6833 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' | 7354 » _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' |
| 6834 runpath_var='LD_RUN_PATH' | 7355 runpath_var='LD_RUN_PATH' |
| 6835 | 7356 |
| 6836 case $cc_basename in | 7357 case $cc_basename in |
| 6837 CC*) | 7358 CC*) |
| 6838 » _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobj
s $deplibs $compiler_flags' | 7359 » _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs
$deplibs $compiler_flags' |
| 6839 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_sy
mbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 7360 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symb
ols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 6840 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ | 7361 _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ |
| 6841 » '"$_LT_TAGVAR(old_archive_cmds, $1)" | 7362 '"$_LT_TAGVAR(old_archive_cmds, $1)" |
| 6842 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ | 7363 _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ |
| 6843 » '"$_LT_TAGVAR(reload_cmds, $1)" | 7364 '"$_LT_TAGVAR(reload_cmds, $1)" |
| 6844 ;; | 7365 ;; |
| 6845 *) | 7366 *) |
| 6846 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $l
ibobjs $deplibs $compiler_flags' | 7367 » _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $lib
objs $deplibs $compiler_flags' |
| 6847 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$expo
rt_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 7368 » _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export
_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 6848 ;; | 7369 ;; |
| 6849 esac | 7370 esac |
| 6850 ;; | 7371 ;; |
| 6851 | 7372 |
| 6852 tandem*) | 7373 tandem*) |
| 6853 case $cc_basename in | 7374 case $cc_basename in |
| 6854 NCC*) | 7375 NCC*) |
| 6855 # NonStop-UX NCC 3.20 | 7376 # NonStop-UX NCC 3.20 |
| 6856 # FIXME: insert proper C++ library support | 7377 # FIXME: insert proper C++ library support |
| 6857 _LT_TAGVAR(ld_shlibs, $1)=no | 7378 _LT_TAGVAR(ld_shlibs, $1)=no |
| (...skipping 10 matching lines...) Expand all Loading... |
| 6868 _LT_TAGVAR(ld_shlibs, $1)=no | 7389 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6869 ;; | 7390 ;; |
| 6870 | 7391 |
| 6871 *) | 7392 *) |
| 6872 # FIXME: insert proper C++ library support | 7393 # FIXME: insert proper C++ library support |
| 6873 _LT_TAGVAR(ld_shlibs, $1)=no | 7394 _LT_TAGVAR(ld_shlibs, $1)=no |
| 6874 ;; | 7395 ;; |
| 6875 esac | 7396 esac |
| 6876 | 7397 |
| 6877 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) | 7398 AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) |
| 6878 test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no | 7399 test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no |
| 6879 | 7400 |
| 6880 _LT_TAGVAR(GCC, $1)="$GXX" | 7401 _LT_TAGVAR(GCC, $1)=$GXX |
| 6881 _LT_TAGVAR(LD, $1)="$LD" | 7402 _LT_TAGVAR(LD, $1)=$LD |
| 6882 | 7403 |
| 6883 ## CAVEAT EMPTOR: | 7404 ## CAVEAT EMPTOR: |
| 6884 ## There is no encapsulation within the following macros, do not change | 7405 ## There is no encapsulation within the following macros, do not change |
| 6885 ## the running order or otherwise move them around unless you know exactly | 7406 ## the running order or otherwise move them around unless you know exactly |
| 6886 ## what you are doing... | 7407 ## what you are doing... |
| 6887 _LT_SYS_HIDDEN_LIBDEPS($1) | 7408 _LT_SYS_HIDDEN_LIBDEPS($1) |
| 6888 _LT_COMPILER_PIC($1) | 7409 _LT_COMPILER_PIC($1) |
| 6889 _LT_COMPILER_C_O($1) | 7410 _LT_COMPILER_C_O($1) |
| 6890 _LT_COMPILER_FILE_LOCKS($1) | 7411 _LT_COMPILER_FILE_LOCKS($1) |
| 6891 _LT_LINKER_SHLIBS($1) | 7412 _LT_LINKER_SHLIBS($1) |
| 6892 _LT_SYS_DYNAMIC_LINKER($1) | 7413 _LT_SYS_DYNAMIC_LINKER($1) |
| 6893 _LT_LINKER_HARDCODE_LIBPATH($1) | 7414 _LT_LINKER_HARDCODE_LIBPATH($1) |
| 6894 | 7415 |
| 6895 _LT_CONFIG($1) | 7416 _LT_CONFIG($1) |
| 6896 fi # test -n "$compiler" | 7417 fi # test -n "$compiler" |
| 6897 | 7418 |
| 6898 CC=$lt_save_CC | 7419 CC=$lt_save_CC |
| 6899 CFLAGS=$lt_save_CFLAGS | 7420 CFLAGS=$lt_save_CFLAGS |
| 6900 LDCXX=$LD | 7421 LDCXX=$LD |
| 6901 LD=$lt_save_LD | 7422 LD=$lt_save_LD |
| 6902 GCC=$lt_save_GCC | 7423 GCC=$lt_save_GCC |
| 6903 with_gnu_ld=$lt_save_with_gnu_ld | 7424 with_gnu_ld=$lt_save_with_gnu_ld |
| 6904 lt_cv_path_LDCXX=$lt_cv_path_LD | 7425 lt_cv_path_LDCXX=$lt_cv_path_LD |
| 6905 lt_cv_path_LD=$lt_save_path_LD | 7426 lt_cv_path_LD=$lt_save_path_LD |
| 6906 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld | 7427 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
| 6907 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld | 7428 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
| 6908 fi # test "$_lt_caught_CXX_error" != yes | 7429 fi # test yes != "$_lt_caught_CXX_error" |
| 6909 | 7430 |
| 6910 AC_LANG_POP | 7431 AC_LANG_POP |
| 6911 ])# _LT_LANG_CXX_CONFIG | 7432 ])# _LT_LANG_CXX_CONFIG |
| 6912 | 7433 |
| 6913 | 7434 |
| 6914 # _LT_FUNC_STRIPNAME_CNF | 7435 # _LT_FUNC_STRIPNAME_CNF |
| 6915 # ---------------------- | 7436 # ---------------------- |
| 6916 # func_stripname_cnf prefix suffix name | 7437 # func_stripname_cnf prefix suffix name |
| 6917 # strip PREFIX and SUFFIX off of NAME. | 7438 # strip PREFIX and SUFFIX off of NAME. |
| 6918 # PREFIX and SUFFIX must not contain globbing or regex special | 7439 # PREFIX and SUFFIX must not contain globbing or regex special |
| 6919 # characters, hashes, percent signs, but SUFFIX may contain a leading | 7440 # characters, hashes, percent signs, but SUFFIX may contain a leading |
| 6920 # dot (in which case that matches only a dot). | 7441 # dot (in which case that matches only a dot). |
| 6921 # | 7442 # |
| 6922 # This function is identical to the (non-XSI) version of func_stripname, | 7443 # This function is identical to the (non-XSI) version of func_stripname, |
| 6923 # except this one can be used by m4 code that may be executed by configure, | 7444 # except this one can be used by m4 code that may be executed by configure, |
| 6924 # rather than the libtool script. | 7445 # rather than the libtool script. |
| 6925 m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl | 7446 m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl |
| 6926 AC_REQUIRE([_LT_DECL_SED]) | 7447 AC_REQUIRE([_LT_DECL_SED]) |
| 6927 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) | 7448 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) |
| 6928 func_stripname_cnf () | 7449 func_stripname_cnf () |
| 6929 { | 7450 { |
| 6930 case ${2} in | 7451 case @S|@2 in |
| 6931 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; | 7452 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`
;; |
| 6932 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; | 7453 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; |
| 6933 esac | 7454 esac |
| 6934 } # func_stripname_cnf | 7455 } # func_stripname_cnf |
| 6935 ])# _LT_FUNC_STRIPNAME_CNF | 7456 ])# _LT_FUNC_STRIPNAME_CNF |
| 6936 | 7457 |
| 7458 |
| 6937 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) | 7459 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) |
| 6938 # --------------------------------- | 7460 # --------------------------------- |
| 6939 # Figure out "hidden" library dependencies from verbose | 7461 # Figure out "hidden" library dependencies from verbose |
| 6940 # compiler output when linking a shared library. | 7462 # compiler output when linking a shared library. |
| 6941 # Parse the compiler output and extract the necessary | 7463 # Parse the compiler output and extract the necessary |
| 6942 # objects, libraries and library flags. | 7464 # objects, libraries and library flags. |
| 6943 m4_defun([_LT_SYS_HIDDEN_LIBDEPS], | 7465 m4_defun([_LT_SYS_HIDDEN_LIBDEPS], |
| 6944 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl | 7466 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 6945 AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl | 7467 AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl |
| 6946 # Dependencies to place before and after the object being linked: | 7468 # Dependencies to place before and after the object being linked: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7010 dnl objects, libraries and library flags. | 7532 dnl objects, libraries and library flags. |
| 7011 if AC_TRY_EVAL(ac_compile); then | 7533 if AC_TRY_EVAL(ac_compile); then |
| 7012 # Parse the compiler output and extract the necessary | 7534 # Parse the compiler output and extract the necessary |
| 7013 # objects, libraries and library flags. | 7535 # objects, libraries and library flags. |
| 7014 | 7536 |
| 7015 # Sentinel used to keep track of whether or not we are before | 7537 # Sentinel used to keep track of whether or not we are before |
| 7016 # the conftest object file. | 7538 # the conftest object file. |
| 7017 pre_test_object_deps_done=no | 7539 pre_test_object_deps_done=no |
| 7018 | 7540 |
| 7019 for p in `eval "$output_verbose_link_cmd"`; do | 7541 for p in `eval "$output_verbose_link_cmd"`; do |
| 7020 case ${prev}${p} in | 7542 case $prev$p in |
| 7021 | 7543 |
| 7022 -L* | -R* | -l*) | 7544 -L* | -R* | -l*) |
| 7023 # Some compilers place space between "-{L,R}" and the path. | 7545 # Some compilers place space between "-{L,R}" and the path. |
| 7024 # Remove the space. | 7546 # Remove the space. |
| 7025 if test $p = "-L" || | 7547 if test x-L = "$p" || |
| 7026 test $p = "-R"; then | 7548 test x-R = "$p"; then |
| 7027 prev=$p | 7549 prev=$p |
| 7028 continue | 7550 continue |
| 7029 fi | 7551 fi |
| 7030 | 7552 |
| 7031 # Expand the sysroot to ease extracting the directories later. | 7553 # Expand the sysroot to ease extracting the directories later. |
| 7032 if test -z "$prev"; then | 7554 if test -z "$prev"; then |
| 7033 case $p in | 7555 case $p in |
| 7034 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result
;; | 7556 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result
;; |
| 7035 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result
;; | 7557 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result
;; |
| 7036 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result
;; | 7558 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result
;; |
| 7037 esac | 7559 esac |
| 7038 fi | 7560 fi |
| 7039 case $p in | 7561 case $p in |
| 7040 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;
; | 7562 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;
; |
| 7041 esac | 7563 esac |
| 7042 if test "$pre_test_object_deps_done" = no; then | 7564 if test no = "$pre_test_object_deps_done"; then |
| 7043 » case ${prev} in | 7565 » case $prev in |
| 7044 -L | -R) | 7566 -L | -R) |
| 7045 # Internal compiler library paths should come after those | 7567 # Internal compiler library paths should come after those |
| 7046 # provided the user. The postdeps already come after the | 7568 # provided the user. The postdeps already come after the |
| 7047 # user supplied libs so there is no need to process them. | 7569 # user supplied libs so there is no need to process them. |
| 7048 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then | 7570 if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then |
| 7049 » _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" | 7571 » _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p |
| 7050 else | 7572 else |
| 7051 » _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib
_search_path, $1)} ${prev}${p}" | 7573 » _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib
_search_path, $1)} $prev$p" |
| 7052 fi | 7574 fi |
| 7053 ;; | 7575 ;; |
| 7054 # The "-l" case would never come before the object being | 7576 # The "-l" case would never come before the object being |
| 7055 # linked, so don't bother handling this case. | 7577 # linked, so don't bother handling this case. |
| 7056 esac | 7578 esac |
| 7057 else | 7579 else |
| 7058 if test -z "$_LT_TAGVAR(postdeps, $1)"; then | 7580 if test -z "$_LT_TAGVAR(postdeps, $1)"; then |
| 7059 » _LT_TAGVAR(postdeps, $1)="${prev}${p}" | 7581 » _LT_TAGVAR(postdeps, $1)=$prev$p |
| 7060 else | 7582 else |
| 7061 » _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" | 7583 » _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" |
| 7062 fi | 7584 fi |
| 7063 fi | 7585 fi |
| 7064 prev= | 7586 prev= |
| 7065 ;; | 7587 ;; |
| 7066 | 7588 |
| 7067 *.lto.$objext) ;; # Ignore GCC LTO objects | 7589 *.lto.$objext) ;; # Ignore GCC LTO objects |
| 7068 *.$objext) | 7590 *.$objext) |
| 7069 # This assumes that the test object file only shows up | 7591 # This assumes that the test object file only shows up |
| 7070 # once in the compiler output. | 7592 # once in the compiler output. |
| 7071 if test "$p" = "conftest.$objext"; then | 7593 if test "$p" = "conftest.$objext"; then |
| 7072 pre_test_object_deps_done=yes | 7594 pre_test_object_deps_done=yes |
| 7073 continue | 7595 continue |
| 7074 fi | 7596 fi |
| 7075 | 7597 |
| 7076 if test "$pre_test_object_deps_done" = no; then | 7598 if test no = "$pre_test_object_deps_done"; then |
| 7077 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then | 7599 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then |
| 7078 » _LT_TAGVAR(predep_objects, $1)="$p" | 7600 » _LT_TAGVAR(predep_objects, $1)=$p |
| 7079 else | 7601 else |
| 7080 _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" | 7602 _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" |
| 7081 fi | 7603 fi |
| 7082 else | 7604 else |
| 7083 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then | 7605 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then |
| 7084 » _LT_TAGVAR(postdep_objects, $1)="$p" | 7606 » _LT_TAGVAR(postdep_objects, $1)=$p |
| 7085 else | 7607 else |
| 7086 _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" | 7608 _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" |
| 7087 fi | 7609 fi |
| 7088 fi | 7610 fi |
| 7089 ;; | 7611 ;; |
| 7090 | 7612 |
| 7091 *) ;; # Ignore the rest. | 7613 *) ;; # Ignore the rest. |
| 7092 | 7614 |
| 7093 esac | 7615 esac |
| 7094 done | 7616 done |
| (...skipping 10 matching lines...) Expand all Loading... |
| 7105 # PORTME: override above test on systems where it is broken | 7627 # PORTME: override above test on systems where it is broken |
| 7106 m4_if([$1], [CXX], | 7628 m4_if([$1], [CXX], |
| 7107 [case $host_os in | 7629 [case $host_os in |
| 7108 interix[[3-9]]*) | 7630 interix[[3-9]]*) |
| 7109 # Interix 3.5 installs completely hosed .la files for C++, so rather than | 7631 # Interix 3.5 installs completely hosed .la files for C++, so rather than |
| 7110 # hack all around it, let's just trust "g++" to DTRT. | 7632 # hack all around it, let's just trust "g++" to DTRT. |
| 7111 _LT_TAGVAR(predep_objects,$1)= | 7633 _LT_TAGVAR(predep_objects,$1)= |
| 7112 _LT_TAGVAR(postdep_objects,$1)= | 7634 _LT_TAGVAR(postdep_objects,$1)= |
| 7113 _LT_TAGVAR(postdeps,$1)= | 7635 _LT_TAGVAR(postdeps,$1)= |
| 7114 ;; | 7636 ;; |
| 7115 | |
| 7116 linux*) | |
| 7117 case `$CC -V 2>&1 | sed 5q` in | |
| 7118 *Sun\ C*) | |
| 7119 # Sun C++ 5.9 | |
| 7120 | |
| 7121 # The more standards-conforming stlport4 library is | |
| 7122 # incompatible with the Cstd library. Avoid specifying | |
| 7123 # it if it's in CXXFLAGS. Ignore libCrun as | |
| 7124 # -library=stlport4 depends on it. | |
| 7125 case " $CXX $CXXFLAGS " in | |
| 7126 *" -library=stlport4 "*) | |
| 7127 solaris_use_stlport4=yes | |
| 7128 ;; | |
| 7129 esac | |
| 7130 | |
| 7131 if test "$solaris_use_stlport4" != yes; then | |
| 7132 _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' | |
| 7133 fi | |
| 7134 ;; | |
| 7135 esac | |
| 7136 ;; | |
| 7137 | |
| 7138 solaris*) | |
| 7139 case $cc_basename in | |
| 7140 CC* | sunCC*) | |
| 7141 # The more standards-conforming stlport4 library is | |
| 7142 # incompatible with the Cstd library. Avoid specifying | |
| 7143 # it if it's in CXXFLAGS. Ignore libCrun as | |
| 7144 # -library=stlport4 depends on it. | |
| 7145 case " $CXX $CXXFLAGS " in | |
| 7146 *" -library=stlport4 "*) | |
| 7147 solaris_use_stlport4=yes | |
| 7148 ;; | |
| 7149 esac | |
| 7150 | |
| 7151 # Adding this requires a known-good setup of shared libraries for | |
| 7152 # Sun compiler versions before 5.6, else PIC objects from an old | |
| 7153 # archive will be linked into the output, leading to subtle bugs. | |
| 7154 if test "$solaris_use_stlport4" != yes; then | |
| 7155 _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' | |
| 7156 fi | |
| 7157 ;; | |
| 7158 esac | |
| 7159 ;; | |
| 7160 esac | 7637 esac |
| 7161 ]) | 7638 ]) |
| 7162 | 7639 |
| 7163 case " $_LT_TAGVAR(postdeps, $1) " in | 7640 case " $_LT_TAGVAR(postdeps, $1) " in |
| 7164 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; | 7641 *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; |
| 7165 esac | 7642 esac |
| 7166 _LT_TAGVAR(compiler_lib_search_dirs, $1)= | 7643 _LT_TAGVAR(compiler_lib_search_dirs, $1)= |
| 7167 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then | 7644 if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then |
| 7168 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_sear
ch_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` | 7645 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_sear
ch_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` |
| 7169 fi | 7646 fi |
| 7170 _LT_TAGDECL([], [compiler_lib_search_dirs], [1], | 7647 _LT_TAGDECL([], [compiler_lib_search_dirs], [1], |
| 7171 [The directories searched by this compiler when creating a shared library]) | 7648 [The directories searched by this compiler when creating a shared library]) |
| 7172 _LT_TAGDECL([], [predep_objects], [1], | 7649 _LT_TAGDECL([], [predep_objects], [1], |
| 7173 [Dependencies to place before and after the objects being linked to | 7650 [Dependencies to place before and after the objects being linked to |
| 7174 create a shared library]) | 7651 create a shared library]) |
| 7175 _LT_TAGDECL([], [postdep_objects], [1]) | 7652 _LT_TAGDECL([], [postdep_objects], [1]) |
| 7176 _LT_TAGDECL([], [predeps], [1]) | 7653 _LT_TAGDECL([], [predeps], [1]) |
| 7177 _LT_TAGDECL([], [postdeps], [1]) | 7654 _LT_TAGDECL([], [postdeps], [1]) |
| 7178 _LT_TAGDECL([], [compiler_lib_search_path], [1], | 7655 _LT_TAGDECL([], [compiler_lib_search_path], [1], |
| 7179 [The library search path used internally by the compiler when linking | 7656 [The library search path used internally by the compiler when linking |
| 7180 a shared library]) | 7657 a shared library]) |
| 7181 ])# _LT_SYS_HIDDEN_LIBDEPS | 7658 ])# _LT_SYS_HIDDEN_LIBDEPS |
| 7182 | 7659 |
| 7183 | 7660 |
| 7184 # _LT_LANG_F77_CONFIG([TAG]) | 7661 # _LT_LANG_F77_CONFIG([TAG]) |
| 7185 # -------------------------- | 7662 # -------------------------- |
| 7186 # Ensure that the configuration variables for a Fortran 77 compiler are | 7663 # Ensure that the configuration variables for a Fortran 77 compiler are |
| 7187 # suitably defined. These variables are subsequently used by _LT_CONFIG | 7664 # suitably defined. These variables are subsequently used by _LT_CONFIG |
| 7188 # to write the compiler configuration to `libtool'. | 7665 # to write the compiler configuration to 'libtool'. |
| 7189 m4_defun([_LT_LANG_F77_CONFIG], | 7666 m4_defun([_LT_LANG_F77_CONFIG], |
| 7190 [AC_LANG_PUSH(Fortran 77) | 7667 [AC_LANG_PUSH(Fortran 77) |
| 7191 if test -z "$F77" || test "X$F77" = "Xno"; then | 7668 if test -z "$F77" || test no = "$F77"; then |
| 7192 _lt_disable_F77=yes | 7669 _lt_disable_F77=yes |
| 7193 fi | 7670 fi |
| 7194 | 7671 |
| 7195 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 7672 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 7196 _LT_TAGVAR(allow_undefined_flag, $1)= | 7673 _LT_TAGVAR(allow_undefined_flag, $1)= |
| 7197 _LT_TAGVAR(always_export_symbols, $1)=no | 7674 _LT_TAGVAR(always_export_symbols, $1)=no |
| 7198 _LT_TAGVAR(archive_expsym_cmds, $1)= | 7675 _LT_TAGVAR(archive_expsym_cmds, $1)= |
| 7199 _LT_TAGVAR(export_dynamic_flag_spec, $1)= | 7676 _LT_TAGVAR(export_dynamic_flag_spec, $1)= |
| 7200 _LT_TAGVAR(hardcode_direct, $1)=no | 7677 _LT_TAGVAR(hardcode_direct, $1)=no |
| 7201 _LT_TAGVAR(hardcode_direct_absolute, $1)=no | 7678 _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| (...skipping 16 matching lines...) Expand all Loading... |
| 7218 ac_ext=f | 7695 ac_ext=f |
| 7219 | 7696 |
| 7220 # Object file extension for compiled f77 test sources. | 7697 # Object file extension for compiled f77 test sources. |
| 7221 objext=o | 7698 objext=o |
| 7222 _LT_TAGVAR(objext, $1)=$objext | 7699 _LT_TAGVAR(objext, $1)=$objext |
| 7223 | 7700 |
| 7224 # No sense in running all these tests if we already determined that | 7701 # No sense in running all these tests if we already determined that |
| 7225 # the F77 compiler isn't working. Some variables (like enable_shared) | 7702 # the F77 compiler isn't working. Some variables (like enable_shared) |
| 7226 # are currently assumed to apply to all compilers on this platform, | 7703 # are currently assumed to apply to all compilers on this platform, |
| 7227 # and will be corrupted by setting them based on a non-working compiler. | 7704 # and will be corrupted by setting them based on a non-working compiler. |
| 7228 if test "$_lt_disable_F77" != yes; then | 7705 if test yes != "$_lt_disable_F77"; then |
| 7229 # Code to be used in simple compile tests | 7706 # Code to be used in simple compile tests |
| 7230 lt_simple_compile_test_code="\ | 7707 lt_simple_compile_test_code="\ |
| 7231 subroutine t | 7708 subroutine t |
| 7232 return | 7709 return |
| 7233 end | 7710 end |
| 7234 " | 7711 " |
| 7235 | 7712 |
| 7236 # Code to be used in simple link tests | 7713 # Code to be used in simple link tests |
| 7237 lt_simple_link_test_code="\ | 7714 lt_simple_link_test_code="\ |
| 7238 program t | 7715 program t |
| 7239 end | 7716 end |
| 7240 " | 7717 " |
| 7241 | 7718 |
| 7242 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 7719 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 7243 _LT_TAG_COMPILER | 7720 _LT_TAG_COMPILER |
| 7244 | 7721 |
| 7245 # save warnings/boilerplate of simple test code | 7722 # save warnings/boilerplate of simple test code |
| 7246 _LT_COMPILER_BOILERPLATE | 7723 _LT_COMPILER_BOILERPLATE |
| 7247 _LT_LINKER_BOILERPLATE | 7724 _LT_LINKER_BOILERPLATE |
| 7248 | 7725 |
| 7249 # Allow CC to be a program name with arguments. | 7726 # Allow CC to be a program name with arguments. |
| 7250 lt_save_CC="$CC" | 7727 lt_save_CC=$CC |
| 7251 lt_save_GCC=$GCC | 7728 lt_save_GCC=$GCC |
| 7252 lt_save_CFLAGS=$CFLAGS | 7729 lt_save_CFLAGS=$CFLAGS |
| 7253 CC=${F77-"f77"} | 7730 CC=${F77-"f77"} |
| 7254 CFLAGS=$FFLAGS | 7731 CFLAGS=$FFLAGS |
| 7255 compiler=$CC | 7732 compiler=$CC |
| 7256 _LT_TAGVAR(compiler, $1)=$CC | 7733 _LT_TAGVAR(compiler, $1)=$CC |
| 7257 _LT_CC_BASENAME([$compiler]) | 7734 _LT_CC_BASENAME([$compiler]) |
| 7258 GCC=$G77 | 7735 GCC=$G77 |
| 7259 if test -n "$compiler"; then | 7736 if test -n "$compiler"; then |
| 7260 AC_MSG_CHECKING([if libtool supports shared libraries]) | 7737 AC_MSG_CHECKING([if libtool supports shared libraries]) |
| 7261 AC_MSG_RESULT([$can_build_shared]) | 7738 AC_MSG_RESULT([$can_build_shared]) |
| 7262 | 7739 |
| 7263 AC_MSG_CHECKING([whether to build shared libraries]) | 7740 AC_MSG_CHECKING([whether to build shared libraries]) |
| 7264 test "$can_build_shared" = "no" && enable_shared=no | 7741 test no = "$can_build_shared" && enable_shared=no |
| 7265 | 7742 |
| 7266 # On AIX, shared libraries and static libraries use the same namespace, and | 7743 # On AIX, shared libraries and static libraries use the same namespace, and |
| 7267 # are all built from PIC. | 7744 # are all built from PIC. |
| 7268 case $host_os in | 7745 case $host_os in |
| 7269 aix3*) | 7746 aix3*) |
| 7270 test "$enable_shared" = yes && enable_static=no | 7747 test yes = "$enable_shared" && enable_static=no |
| 7271 if test -n "$RANLIB"; then | 7748 if test -n "$RANLIB"; then |
| 7272 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 7749 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 7273 postinstall_cmds='$RANLIB $lib' | 7750 postinstall_cmds='$RANLIB $lib' |
| 7274 fi | 7751 fi |
| 7275 ;; | 7752 ;; |
| 7276 aix[[4-9]]*) | 7753 aix[[4-9]]*) |
| 7277 » if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; the
n | 7754 » if test ia64 != "$host_cpu"; then |
| 7278 » test "$enable_shared" = yes && enable_static=no | 7755 » case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 7756 » yes,aix,yes) ;;» » # shared object as lib.so file only |
| 7757 » yes,svr4,*) ;;» » # shared object as lib.so archive member
only |
| 7758 » yes,*) enable_static=no ;;» # shared object in lib.a archive as well |
| 7759 » esac |
| 7279 fi | 7760 fi |
| 7280 ;; | 7761 ;; |
| 7281 esac | 7762 esac |
| 7282 AC_MSG_RESULT([$enable_shared]) | 7763 AC_MSG_RESULT([$enable_shared]) |
| 7283 | 7764 |
| 7284 AC_MSG_CHECKING([whether to build static libraries]) | 7765 AC_MSG_CHECKING([whether to build static libraries]) |
| 7285 # Make sure either enable_shared or enable_static is yes. | 7766 # Make sure either enable_shared or enable_static is yes. |
| 7286 test "$enable_shared" = yes || enable_static=yes | 7767 test yes = "$enable_shared" || enable_static=yes |
| 7287 AC_MSG_RESULT([$enable_static]) | 7768 AC_MSG_RESULT([$enable_static]) |
| 7288 | 7769 |
| 7289 _LT_TAGVAR(GCC, $1)="$G77" | 7770 _LT_TAGVAR(GCC, $1)=$G77 |
| 7290 _LT_TAGVAR(LD, $1)="$LD" | 7771 _LT_TAGVAR(LD, $1)=$LD |
| 7291 | 7772 |
| 7292 ## CAVEAT EMPTOR: | 7773 ## CAVEAT EMPTOR: |
| 7293 ## There is no encapsulation within the following macros, do not change | 7774 ## There is no encapsulation within the following macros, do not change |
| 7294 ## the running order or otherwise move them around unless you know exactly | 7775 ## the running order or otherwise move them around unless you know exactly |
| 7295 ## what you are doing... | 7776 ## what you are doing... |
| 7296 _LT_COMPILER_PIC($1) | 7777 _LT_COMPILER_PIC($1) |
| 7297 _LT_COMPILER_C_O($1) | 7778 _LT_COMPILER_C_O($1) |
| 7298 _LT_COMPILER_FILE_LOCKS($1) | 7779 _LT_COMPILER_FILE_LOCKS($1) |
| 7299 _LT_LINKER_SHLIBS($1) | 7780 _LT_LINKER_SHLIBS($1) |
| 7300 _LT_SYS_DYNAMIC_LINKER($1) | 7781 _LT_SYS_DYNAMIC_LINKER($1) |
| 7301 _LT_LINKER_HARDCODE_LIBPATH($1) | 7782 _LT_LINKER_HARDCODE_LIBPATH($1) |
| 7302 | 7783 |
| 7303 _LT_CONFIG($1) | 7784 _LT_CONFIG($1) |
| 7304 fi # test -n "$compiler" | 7785 fi # test -n "$compiler" |
| 7305 | 7786 |
| 7306 GCC=$lt_save_GCC | 7787 GCC=$lt_save_GCC |
| 7307 CC="$lt_save_CC" | 7788 CC=$lt_save_CC |
| 7308 CFLAGS="$lt_save_CFLAGS" | 7789 CFLAGS=$lt_save_CFLAGS |
| 7309 fi # test "$_lt_disable_F77" != yes | 7790 fi # test yes != "$_lt_disable_F77" |
| 7310 | 7791 |
| 7311 AC_LANG_POP | 7792 AC_LANG_POP |
| 7312 ])# _LT_LANG_F77_CONFIG | 7793 ])# _LT_LANG_F77_CONFIG |
| 7313 | 7794 |
| 7314 | 7795 |
| 7315 # _LT_LANG_FC_CONFIG([TAG]) | 7796 # _LT_LANG_FC_CONFIG([TAG]) |
| 7316 # ------------------------- | 7797 # ------------------------- |
| 7317 # Ensure that the configuration variables for a Fortran compiler are | 7798 # Ensure that the configuration variables for a Fortran compiler are |
| 7318 # suitably defined. These variables are subsequently used by _LT_CONFIG | 7799 # suitably defined. These variables are subsequently used by _LT_CONFIG |
| 7319 # to write the compiler configuration to `libtool'. | 7800 # to write the compiler configuration to 'libtool'. |
| 7320 m4_defun([_LT_LANG_FC_CONFIG], | 7801 m4_defun([_LT_LANG_FC_CONFIG], |
| 7321 [AC_LANG_PUSH(Fortran) | 7802 [AC_LANG_PUSH(Fortran) |
| 7322 | 7803 |
| 7323 if test -z "$FC" || test "X$FC" = "Xno"; then | 7804 if test -z "$FC" || test no = "$FC"; then |
| 7324 _lt_disable_FC=yes | 7805 _lt_disable_FC=yes |
| 7325 fi | 7806 fi |
| 7326 | 7807 |
| 7327 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 7808 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 7328 _LT_TAGVAR(allow_undefined_flag, $1)= | 7809 _LT_TAGVAR(allow_undefined_flag, $1)= |
| 7329 _LT_TAGVAR(always_export_symbols, $1)=no | 7810 _LT_TAGVAR(always_export_symbols, $1)=no |
| 7330 _LT_TAGVAR(archive_expsym_cmds, $1)= | 7811 _LT_TAGVAR(archive_expsym_cmds, $1)= |
| 7331 _LT_TAGVAR(export_dynamic_flag_spec, $1)= | 7812 _LT_TAGVAR(export_dynamic_flag_spec, $1)= |
| 7332 _LT_TAGVAR(hardcode_direct, $1)=no | 7813 _LT_TAGVAR(hardcode_direct, $1)=no |
| 7333 _LT_TAGVAR(hardcode_direct_absolute, $1)=no | 7814 _LT_TAGVAR(hardcode_direct_absolute, $1)=no |
| (...skipping 16 matching lines...) Expand all Loading... |
| 7350 ac_ext=${ac_fc_srcext-f} | 7831 ac_ext=${ac_fc_srcext-f} |
| 7351 | 7832 |
| 7352 # Object file extension for compiled fc test sources. | 7833 # Object file extension for compiled fc test sources. |
| 7353 objext=o | 7834 objext=o |
| 7354 _LT_TAGVAR(objext, $1)=$objext | 7835 _LT_TAGVAR(objext, $1)=$objext |
| 7355 | 7836 |
| 7356 # No sense in running all these tests if we already determined that | 7837 # No sense in running all these tests if we already determined that |
| 7357 # the FC compiler isn't working. Some variables (like enable_shared) | 7838 # the FC compiler isn't working. Some variables (like enable_shared) |
| 7358 # are currently assumed to apply to all compilers on this platform, | 7839 # are currently assumed to apply to all compilers on this platform, |
| 7359 # and will be corrupted by setting them based on a non-working compiler. | 7840 # and will be corrupted by setting them based on a non-working compiler. |
| 7360 if test "$_lt_disable_FC" != yes; then | 7841 if test yes != "$_lt_disable_FC"; then |
| 7361 # Code to be used in simple compile tests | 7842 # Code to be used in simple compile tests |
| 7362 lt_simple_compile_test_code="\ | 7843 lt_simple_compile_test_code="\ |
| 7363 subroutine t | 7844 subroutine t |
| 7364 return | 7845 return |
| 7365 end | 7846 end |
| 7366 " | 7847 " |
| 7367 | 7848 |
| 7368 # Code to be used in simple link tests | 7849 # Code to be used in simple link tests |
| 7369 lt_simple_link_test_code="\ | 7850 lt_simple_link_test_code="\ |
| 7370 program t | 7851 program t |
| 7371 end | 7852 end |
| 7372 " | 7853 " |
| 7373 | 7854 |
| 7374 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 7855 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 7375 _LT_TAG_COMPILER | 7856 _LT_TAG_COMPILER |
| 7376 | 7857 |
| 7377 # save warnings/boilerplate of simple test code | 7858 # save warnings/boilerplate of simple test code |
| 7378 _LT_COMPILER_BOILERPLATE | 7859 _LT_COMPILER_BOILERPLATE |
| 7379 _LT_LINKER_BOILERPLATE | 7860 _LT_LINKER_BOILERPLATE |
| 7380 | 7861 |
| 7381 # Allow CC to be a program name with arguments. | 7862 # Allow CC to be a program name with arguments. |
| 7382 lt_save_CC="$CC" | 7863 lt_save_CC=$CC |
| 7383 lt_save_GCC=$GCC | 7864 lt_save_GCC=$GCC |
| 7384 lt_save_CFLAGS=$CFLAGS | 7865 lt_save_CFLAGS=$CFLAGS |
| 7385 CC=${FC-"f95"} | 7866 CC=${FC-"f95"} |
| 7386 CFLAGS=$FCFLAGS | 7867 CFLAGS=$FCFLAGS |
| 7387 compiler=$CC | 7868 compiler=$CC |
| 7388 GCC=$ac_cv_fc_compiler_gnu | 7869 GCC=$ac_cv_fc_compiler_gnu |
| 7389 | 7870 |
| 7390 _LT_TAGVAR(compiler, $1)=$CC | 7871 _LT_TAGVAR(compiler, $1)=$CC |
| 7391 _LT_CC_BASENAME([$compiler]) | 7872 _LT_CC_BASENAME([$compiler]) |
| 7392 | 7873 |
| 7393 if test -n "$compiler"; then | 7874 if test -n "$compiler"; then |
| 7394 AC_MSG_CHECKING([if libtool supports shared libraries]) | 7875 AC_MSG_CHECKING([if libtool supports shared libraries]) |
| 7395 AC_MSG_RESULT([$can_build_shared]) | 7876 AC_MSG_RESULT([$can_build_shared]) |
| 7396 | 7877 |
| 7397 AC_MSG_CHECKING([whether to build shared libraries]) | 7878 AC_MSG_CHECKING([whether to build shared libraries]) |
| 7398 test "$can_build_shared" = "no" && enable_shared=no | 7879 test no = "$can_build_shared" && enable_shared=no |
| 7399 | 7880 |
| 7400 # On AIX, shared libraries and static libraries use the same namespace, and | 7881 # On AIX, shared libraries and static libraries use the same namespace, and |
| 7401 # are all built from PIC. | 7882 # are all built from PIC. |
| 7402 case $host_os in | 7883 case $host_os in |
| 7403 aix3*) | 7884 aix3*) |
| 7404 test "$enable_shared" = yes && enable_static=no | 7885 test yes = "$enable_shared" && enable_static=no |
| 7405 if test -n "$RANLIB"; then | 7886 if test -n "$RANLIB"; then |
| 7406 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 7887 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
| 7407 postinstall_cmds='$RANLIB $lib' | 7888 postinstall_cmds='$RANLIB $lib' |
| 7408 fi | 7889 fi |
| 7409 ;; | 7890 ;; |
| 7410 aix[[4-9]]*) | 7891 aix[[4-9]]*) |
| 7411 » if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; the
n | 7892 » if test ia64 != "$host_cpu"; then |
| 7412 » test "$enable_shared" = yes && enable_static=no | 7893 » case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in |
| 7894 » yes,aix,yes) ;;» » # shared object as lib.so file only |
| 7895 » yes,svr4,*) ;;» » # shared object as lib.so archive member
only |
| 7896 » yes,*) enable_static=no ;;» # shared object in lib.a archive as well |
| 7897 » esac |
| 7413 fi | 7898 fi |
| 7414 ;; | 7899 ;; |
| 7415 esac | 7900 esac |
| 7416 AC_MSG_RESULT([$enable_shared]) | 7901 AC_MSG_RESULT([$enable_shared]) |
| 7417 | 7902 |
| 7418 AC_MSG_CHECKING([whether to build static libraries]) | 7903 AC_MSG_CHECKING([whether to build static libraries]) |
| 7419 # Make sure either enable_shared or enable_static is yes. | 7904 # Make sure either enable_shared or enable_static is yes. |
| 7420 test "$enable_shared" = yes || enable_static=yes | 7905 test yes = "$enable_shared" || enable_static=yes |
| 7421 AC_MSG_RESULT([$enable_static]) | 7906 AC_MSG_RESULT([$enable_static]) |
| 7422 | 7907 |
| 7423 _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" | 7908 _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu |
| 7424 _LT_TAGVAR(LD, $1)="$LD" | 7909 _LT_TAGVAR(LD, $1)=$LD |
| 7425 | 7910 |
| 7426 ## CAVEAT EMPTOR: | 7911 ## CAVEAT EMPTOR: |
| 7427 ## There is no encapsulation within the following macros, do not change | 7912 ## There is no encapsulation within the following macros, do not change |
| 7428 ## the running order or otherwise move them around unless you know exactly | 7913 ## the running order or otherwise move them around unless you know exactly |
| 7429 ## what you are doing... | 7914 ## what you are doing... |
| 7430 _LT_SYS_HIDDEN_LIBDEPS($1) | 7915 _LT_SYS_HIDDEN_LIBDEPS($1) |
| 7431 _LT_COMPILER_PIC($1) | 7916 _LT_COMPILER_PIC($1) |
| 7432 _LT_COMPILER_C_O($1) | 7917 _LT_COMPILER_C_O($1) |
| 7433 _LT_COMPILER_FILE_LOCKS($1) | 7918 _LT_COMPILER_FILE_LOCKS($1) |
| 7434 _LT_LINKER_SHLIBS($1) | 7919 _LT_LINKER_SHLIBS($1) |
| 7435 _LT_SYS_DYNAMIC_LINKER($1) | 7920 _LT_SYS_DYNAMIC_LINKER($1) |
| 7436 _LT_LINKER_HARDCODE_LIBPATH($1) | 7921 _LT_LINKER_HARDCODE_LIBPATH($1) |
| 7437 | 7922 |
| 7438 _LT_CONFIG($1) | 7923 _LT_CONFIG($1) |
| 7439 fi # test -n "$compiler" | 7924 fi # test -n "$compiler" |
| 7440 | 7925 |
| 7441 GCC=$lt_save_GCC | 7926 GCC=$lt_save_GCC |
| 7442 CC=$lt_save_CC | 7927 CC=$lt_save_CC |
| 7443 CFLAGS=$lt_save_CFLAGS | 7928 CFLAGS=$lt_save_CFLAGS |
| 7444 fi # test "$_lt_disable_FC" != yes | 7929 fi # test yes != "$_lt_disable_FC" |
| 7445 | 7930 |
| 7446 AC_LANG_POP | 7931 AC_LANG_POP |
| 7447 ])# _LT_LANG_FC_CONFIG | 7932 ])# _LT_LANG_FC_CONFIG |
| 7448 | 7933 |
| 7449 | 7934 |
| 7450 # _LT_LANG_GCJ_CONFIG([TAG]) | 7935 # _LT_LANG_GCJ_CONFIG([TAG]) |
| 7451 # -------------------------- | 7936 # -------------------------- |
| 7452 # Ensure that the configuration variables for the GNU Java Compiler compiler | 7937 # Ensure that the configuration variables for the GNU Java Compiler compiler |
| 7453 # are suitably defined. These variables are subsequently used by _LT_CONFIG | 7938 # are suitably defined. These variables are subsequently used by _LT_CONFIG |
| 7454 # to write the compiler configuration to `libtool'. | 7939 # to write the compiler configuration to 'libtool'. |
| 7455 m4_defun([_LT_LANG_GCJ_CONFIG], | 7940 m4_defun([_LT_LANG_GCJ_CONFIG], |
| 7456 [AC_REQUIRE([LT_PROG_GCJ])dnl | 7941 [AC_REQUIRE([LT_PROG_GCJ])dnl |
| 7457 AC_LANG_SAVE | 7942 AC_LANG_SAVE |
| 7458 | 7943 |
| 7459 # Source file extension for Java test sources. | 7944 # Source file extension for Java test sources. |
| 7460 ac_ext=java | 7945 ac_ext=java |
| 7461 | 7946 |
| 7462 # Object file extension for compiled Java test sources. | 7947 # Object file extension for compiled Java test sources. |
| 7463 objext=o | 7948 objext=o |
| 7464 _LT_TAGVAR(objext, $1)=$objext | 7949 _LT_TAGVAR(objext, $1)=$objext |
| (...skipping 13 matching lines...) Expand all Loading... |
| 7478 | 7963 |
| 7479 # Allow CC to be a program name with arguments. | 7964 # Allow CC to be a program name with arguments. |
| 7480 lt_save_CC=$CC | 7965 lt_save_CC=$CC |
| 7481 lt_save_CFLAGS=$CFLAGS | 7966 lt_save_CFLAGS=$CFLAGS |
| 7482 lt_save_GCC=$GCC | 7967 lt_save_GCC=$GCC |
| 7483 GCC=yes | 7968 GCC=yes |
| 7484 CC=${GCJ-"gcj"} | 7969 CC=${GCJ-"gcj"} |
| 7485 CFLAGS=$GCJFLAGS | 7970 CFLAGS=$GCJFLAGS |
| 7486 compiler=$CC | 7971 compiler=$CC |
| 7487 _LT_TAGVAR(compiler, $1)=$CC | 7972 _LT_TAGVAR(compiler, $1)=$CC |
| 7488 _LT_TAGVAR(LD, $1)="$LD" | 7973 _LT_TAGVAR(LD, $1)=$LD |
| 7489 _LT_CC_BASENAME([$compiler]) | 7974 _LT_CC_BASENAME([$compiler]) |
| 7490 | 7975 |
| 7491 # GCJ did not exist at the time GCC didn't implicitly link libc in. | 7976 # GCJ did not exist at the time GCC didn't implicitly link libc in. |
| 7492 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 7977 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 7493 | 7978 |
| 7494 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds | 7979 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 7495 _LT_TAGVAR(reload_flag, $1)=$reload_flag | 7980 _LT_TAGVAR(reload_flag, $1)=$reload_flag |
| 7496 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds | 7981 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
| 7497 | 7982 |
| 7498 if test -n "$compiler"; then | 7983 if test -n "$compiler"; then |
| (...skipping 12 matching lines...) Expand all Loading... |
| 7511 GCC=$lt_save_GCC | 7996 GCC=$lt_save_GCC |
| 7512 CC=$lt_save_CC | 7997 CC=$lt_save_CC |
| 7513 CFLAGS=$lt_save_CFLAGS | 7998 CFLAGS=$lt_save_CFLAGS |
| 7514 ])# _LT_LANG_GCJ_CONFIG | 7999 ])# _LT_LANG_GCJ_CONFIG |
| 7515 | 8000 |
| 7516 | 8001 |
| 7517 # _LT_LANG_GO_CONFIG([TAG]) | 8002 # _LT_LANG_GO_CONFIG([TAG]) |
| 7518 # -------------------------- | 8003 # -------------------------- |
| 7519 # Ensure that the configuration variables for the GNU Go compiler | 8004 # Ensure that the configuration variables for the GNU Go compiler |
| 7520 # are suitably defined. These variables are subsequently used by _LT_CONFIG | 8005 # are suitably defined. These variables are subsequently used by _LT_CONFIG |
| 7521 # to write the compiler configuration to `libtool'. | 8006 # to write the compiler configuration to 'libtool'. |
| 7522 m4_defun([_LT_LANG_GO_CONFIG], | 8007 m4_defun([_LT_LANG_GO_CONFIG], |
| 7523 [AC_REQUIRE([LT_PROG_GO])dnl | 8008 [AC_REQUIRE([LT_PROG_GO])dnl |
| 7524 AC_LANG_SAVE | 8009 AC_LANG_SAVE |
| 7525 | 8010 |
| 7526 # Source file extension for Go test sources. | 8011 # Source file extension for Go test sources. |
| 7527 ac_ext=go | 8012 ac_ext=go |
| 7528 | 8013 |
| 7529 # Object file extension for compiled Go test sources. | 8014 # Object file extension for compiled Go test sources. |
| 7530 objext=o | 8015 objext=o |
| 7531 _LT_TAGVAR(objext, $1)=$objext | 8016 _LT_TAGVAR(objext, $1)=$objext |
| (...skipping 13 matching lines...) Expand all Loading... |
| 7545 | 8030 |
| 7546 # Allow CC to be a program name with arguments. | 8031 # Allow CC to be a program name with arguments. |
| 7547 lt_save_CC=$CC | 8032 lt_save_CC=$CC |
| 7548 lt_save_CFLAGS=$CFLAGS | 8033 lt_save_CFLAGS=$CFLAGS |
| 7549 lt_save_GCC=$GCC | 8034 lt_save_GCC=$GCC |
| 7550 GCC=yes | 8035 GCC=yes |
| 7551 CC=${GOC-"gccgo"} | 8036 CC=${GOC-"gccgo"} |
| 7552 CFLAGS=$GOFLAGS | 8037 CFLAGS=$GOFLAGS |
| 7553 compiler=$CC | 8038 compiler=$CC |
| 7554 _LT_TAGVAR(compiler, $1)=$CC | 8039 _LT_TAGVAR(compiler, $1)=$CC |
| 7555 _LT_TAGVAR(LD, $1)="$LD" | 8040 _LT_TAGVAR(LD, $1)=$LD |
| 7556 _LT_CC_BASENAME([$compiler]) | 8041 _LT_CC_BASENAME([$compiler]) |
| 7557 | 8042 |
| 7558 # Go did not exist at the time GCC didn't implicitly link libc in. | 8043 # Go did not exist at the time GCC didn't implicitly link libc in. |
| 7559 _LT_TAGVAR(archive_cmds_need_lc, $1)=no | 8044 _LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 7560 | 8045 |
| 7561 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds | 8046 _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 7562 _LT_TAGVAR(reload_flag, $1)=$reload_flag | 8047 _LT_TAGVAR(reload_flag, $1)=$reload_flag |
| 7563 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds | 8048 _LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
| 7564 | 8049 |
| 7565 if test -n "$compiler"; then | 8050 if test -n "$compiler"; then |
| (...skipping 12 matching lines...) Expand all Loading... |
| 7578 GCC=$lt_save_GCC | 8063 GCC=$lt_save_GCC |
| 7579 CC=$lt_save_CC | 8064 CC=$lt_save_CC |
| 7580 CFLAGS=$lt_save_CFLAGS | 8065 CFLAGS=$lt_save_CFLAGS |
| 7581 ])# _LT_LANG_GO_CONFIG | 8066 ])# _LT_LANG_GO_CONFIG |
| 7582 | 8067 |
| 7583 | 8068 |
| 7584 # _LT_LANG_RC_CONFIG([TAG]) | 8069 # _LT_LANG_RC_CONFIG([TAG]) |
| 7585 # ------------------------- | 8070 # ------------------------- |
| 7586 # Ensure that the configuration variables for the Windows resource compiler | 8071 # Ensure that the configuration variables for the Windows resource compiler |
| 7587 # are suitably defined. These variables are subsequently used by _LT_CONFIG | 8072 # are suitably defined. These variables are subsequently used by _LT_CONFIG |
| 7588 # to write the compiler configuration to `libtool'. | 8073 # to write the compiler configuration to 'libtool'. |
| 7589 m4_defun([_LT_LANG_RC_CONFIG], | 8074 m4_defun([_LT_LANG_RC_CONFIG], |
| 7590 [AC_REQUIRE([LT_PROG_RC])dnl | 8075 [AC_REQUIRE([LT_PROG_RC])dnl |
| 7591 AC_LANG_SAVE | 8076 AC_LANG_SAVE |
| 7592 | 8077 |
| 7593 # Source file extension for RC test sources. | 8078 # Source file extension for RC test sources. |
| 7594 ac_ext=rc | 8079 ac_ext=rc |
| 7595 | 8080 |
| 7596 # Object file extension for compiled RC test sources. | 8081 # Object file extension for compiled RC test sources. |
| 7597 objext=o | 8082 objext=o |
| 7598 _LT_TAGVAR(objext, $1)=$objext | 8083 _LT_TAGVAR(objext, $1)=$objext |
| 7599 | 8084 |
| 7600 # Code to be used in simple compile tests | 8085 # Code to be used in simple compile tests |
| 7601 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' | 8086 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' |
| 7602 | 8087 |
| 7603 # Code to be used in simple link tests | 8088 # Code to be used in simple link tests |
| 7604 lt_simple_link_test_code="$lt_simple_compile_test_code" | 8089 lt_simple_link_test_code=$lt_simple_compile_test_code |
| 7605 | 8090 |
| 7606 # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 8091 # ltmain only uses $CC for tagged configurations so make sure $CC is set. |
| 7607 _LT_TAG_COMPILER | 8092 _LT_TAG_COMPILER |
| 7608 | 8093 |
| 7609 # save warnings/boilerplate of simple test code | 8094 # save warnings/boilerplate of simple test code |
| 7610 _LT_COMPILER_BOILERPLATE | 8095 _LT_COMPILER_BOILERPLATE |
| 7611 _LT_LINKER_BOILERPLATE | 8096 _LT_LINKER_BOILERPLATE |
| 7612 | 8097 |
| 7613 # Allow CC to be a program name with arguments. | 8098 # Allow CC to be a program name with arguments. |
| 7614 lt_save_CC="$CC" | 8099 lt_save_CC=$CC |
| 7615 lt_save_CFLAGS=$CFLAGS | 8100 lt_save_CFLAGS=$CFLAGS |
| 7616 lt_save_GCC=$GCC | 8101 lt_save_GCC=$GCC |
| 7617 GCC= | 8102 GCC= |
| 7618 CC=${RC-"windres"} | 8103 CC=${RC-"windres"} |
| 7619 CFLAGS= | 8104 CFLAGS= |
| 7620 compiler=$CC | 8105 compiler=$CC |
| 7621 _LT_TAGVAR(compiler, $1)=$CC | 8106 _LT_TAGVAR(compiler, $1)=$CC |
| 7622 _LT_CC_BASENAME([$compiler]) | 8107 _LT_CC_BASENAME([$compiler]) |
| 7623 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes | 8108 _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
| 7624 | 8109 |
| 7625 if test -n "$compiler"; then | 8110 if test -n "$compiler"; then |
| 7626 : | 8111 : |
| 7627 _LT_CONFIG($1) | 8112 _LT_CONFIG($1) |
| 7628 fi | 8113 fi |
| 7629 | 8114 |
| 7630 GCC=$lt_save_GCC | 8115 GCC=$lt_save_GCC |
| 7631 AC_LANG_RESTORE | 8116 AC_LANG_RESTORE |
| 7632 CC=$lt_save_CC | 8117 CC=$lt_save_CC |
| 7633 CFLAGS=$lt_save_CFLAGS | 8118 CFLAGS=$lt_save_CFLAGS |
| 7634 ])# _LT_LANG_RC_CONFIG | 8119 ])# _LT_LANG_RC_CONFIG |
| 7635 | 8120 |
| 7636 | 8121 |
| 7637 # LT_PROG_GCJ | 8122 # LT_PROG_GCJ |
| 7638 # ----------- | 8123 # ----------- |
| 7639 AC_DEFUN([LT_PROG_GCJ], | 8124 AC_DEFUN([LT_PROG_GCJ], |
| 7640 [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], | 8125 [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], |
| 7641 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], | 8126 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], |
| 7642 [AC_CHECK_TOOL(GCJ, gcj,) | 8127 [AC_CHECK_TOOL(GCJ, gcj,) |
| 7643 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" | 8128 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" |
| 7644 AC_SUBST(GCJFLAGS)])])[]dnl | 8129 AC_SUBST(GCJFLAGS)])])[]dnl |
| 7645 ]) | 8130 ]) |
| 7646 | 8131 |
| 7647 # Old name: | 8132 # Old name: |
| 7648 AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) | 8133 AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) |
| 7649 dnl aclocal-1.4 backwards compatibility: | 8134 dnl aclocal-1.4 backwards compatibility: |
| 7650 dnl AC_DEFUN([LT_AC_PROG_GCJ], []) | 8135 dnl AC_DEFUN([LT_AC_PROG_GCJ], []) |
| 7651 | 8136 |
| 7652 | 8137 |
| 7653 # LT_PROG_GO | 8138 # LT_PROG_GO |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7742 fi | 8227 fi |
| 7743 done | 8228 done |
| 7744 done | 8229 done |
| 7745 done | 8230 done |
| 7746 IFS=$as_save_IFS | 8231 IFS=$as_save_IFS |
| 7747 lt_ac_max=0 | 8232 lt_ac_max=0 |
| 7748 lt_ac_count=0 | 8233 lt_ac_count=0 |
| 7749 # Add /usr/xpg4/bin/sed as it is typically found on Solaris | 8234 # Add /usr/xpg4/bin/sed as it is typically found on Solaris |
| 7750 # along with /bin/sed that truncates output. | 8235 # along with /bin/sed that truncates output. |
| 7751 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do | 8236 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
| 7752 test ! -f $lt_ac_sed && continue | 8237 test ! -f "$lt_ac_sed" && continue |
| 7753 cat /dev/null > conftest.in | 8238 cat /dev/null > conftest.in |
| 7754 lt_ac_count=0 | 8239 lt_ac_count=0 |
| 7755 echo $ECHO_N "0123456789$ECHO_C" >conftest.in | 8240 echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
| 7756 # Check for GNU sed and select it if it is found. | 8241 # Check for GNU sed and select it if it is found. |
| 7757 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then | 8242 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
| 7758 lt_cv_path_SED=$lt_ac_sed | 8243 lt_cv_path_SED=$lt_ac_sed |
| 7759 break | 8244 break |
| 7760 fi | 8245 fi |
| 7761 while true; do | 8246 while true; do |
| 7762 cat conftest.in conftest.in >conftest.tmp | 8247 cat conftest.in conftest.in >conftest.tmp |
| 7763 mv conftest.tmp conftest.in | 8248 mv conftest.tmp conftest.in |
| 7764 cp conftest.in conftest.nl | 8249 cp conftest.in conftest.nl |
| 7765 echo >>conftest.nl | 8250 echo >>conftest.nl |
| 7766 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break | 8251 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break |
| 7767 cmp -s conftest.out conftest.nl || break | 8252 cmp -s conftest.out conftest.nl || break |
| 7768 # 10000 chars as input seems more than enough | 8253 # 10000 chars as input seems more than enough |
| 7769 test $lt_ac_count -gt 10 && break | 8254 test 10 -lt "$lt_ac_count" && break |
| 7770 lt_ac_count=`expr $lt_ac_count + 1` | 8255 lt_ac_count=`expr $lt_ac_count + 1` |
| 7771 if test $lt_ac_count -gt $lt_ac_max; then | 8256 if test "$lt_ac_count" -gt "$lt_ac_max"; then |
| 7772 lt_ac_max=$lt_ac_count | 8257 lt_ac_max=$lt_ac_count |
| 7773 lt_cv_path_SED=$lt_ac_sed | 8258 lt_cv_path_SED=$lt_ac_sed |
| 7774 fi | 8259 fi |
| 7775 done | 8260 done |
| 7776 done | 8261 done |
| 7777 ]) | 8262 ]) |
| 7778 SED=$lt_cv_path_SED | 8263 SED=$lt_cv_path_SED |
| 7779 AC_SUBST([SED]) | 8264 AC_SUBST([SED]) |
| 7780 AC_MSG_RESULT([$SED]) | 8265 AC_MSG_RESULT([$SED]) |
| 7781 ])#AC_PROG_SED | 8266 ])#AC_PROG_SED |
| 7782 ])#m4_ifndef | 8267 ])#m4_ifndef |
| 7783 | 8268 |
| 7784 # Old name: | 8269 # Old name: |
| 7785 AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) | 8270 AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) |
| 7786 dnl aclocal-1.4 backwards compatibility: | 8271 dnl aclocal-1.4 backwards compatibility: |
| 7787 dnl AC_DEFUN([LT_AC_PROG_SED], []) | 8272 dnl AC_DEFUN([LT_AC_PROG_SED], []) |
| 7788 | 8273 |
| 7789 | 8274 |
| 7790 # _LT_CHECK_SHELL_FEATURES | 8275 # _LT_CHECK_SHELL_FEATURES |
| 7791 # ------------------------ | 8276 # ------------------------ |
| 7792 # Find out whether the shell is Bourne or XSI compatible, | 8277 # Find out whether the shell is Bourne or XSI compatible, |
| 7793 # or has some other useful features. | 8278 # or has some other useful features. |
| 7794 m4_defun([_LT_CHECK_SHELL_FEATURES], | 8279 m4_defun([_LT_CHECK_SHELL_FEATURES], |
| 7795 [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) | 8280 [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| 7796 # Try some XSI features | |
| 7797 xsi_shell=no | |
| 7798 ( _lt_dummy="a/b/c" | |
| 7799 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy
"}, \ | |
| 7800 = c,a/b,b/c, \ | |
| 7801 && eval 'test $(( 1 + 1 )) -eq 2 \ | |
| 7802 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ | |
| 7803 && xsi_shell=yes | |
| 7804 AC_MSG_RESULT([$xsi_shell]) | |
| 7805 _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) | |
| 7806 | |
| 7807 AC_MSG_CHECKING([whether the shell understands "+="]) | |
| 7808 lt_shell_append=no | |
| 7809 ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ | |
| 7810 >/dev/null 2>&1 \ | |
| 7811 && lt_shell_append=yes | |
| 7812 AC_MSG_RESULT([$lt_shell_append]) | |
| 7813 _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) | |
| 7814 | |
| 7815 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
| 7816 lt_unset=unset | 8281 lt_unset=unset |
| 7817 else | 8282 else |
| 7818 lt_unset=false | 8283 lt_unset=false |
| 7819 fi | 8284 fi |
| 7820 _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl | 8285 _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl |
| 7821 | 8286 |
| 7822 # test EBCDIC or ASCII | 8287 # test EBCDIC or ASCII |
| 7823 case `echo X|tr X '\101'` in | 8288 case `echo X|tr X '\101'` in |
| 7824 A) # ASCII based system | 8289 A) # ASCII based system |
| 7825 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr | 8290 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
| 7826 lt_SP2NL='tr \040 \012' | 8291 lt_SP2NL='tr \040 \012' |
| 7827 lt_NL2SP='tr \015\012 \040\040' | 8292 lt_NL2SP='tr \015\012 \040\040' |
| 7828 ;; | 8293 ;; |
| 7829 *) # EBCDIC based system | 8294 *) # EBCDIC based system |
| 7830 lt_SP2NL='tr \100 \n' | 8295 lt_SP2NL='tr \100 \n' |
| 7831 lt_NL2SP='tr \r\n \100\100' | 8296 lt_NL2SP='tr \r\n \100\100' |
| 7832 ;; | 8297 ;; |
| 7833 esac | 8298 esac |
| 7834 _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl | 8299 _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl |
| 7835 _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl | 8300 _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl |
| 7836 ])# _LT_CHECK_SHELL_FEATURES | 8301 ])# _LT_CHECK_SHELL_FEATURES |
| 7837 | 8302 |
| 7838 | 8303 |
| 7839 # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) | |
| 7840 # ------------------------------------------------------ | |
| 7841 # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and | |
| 7842 # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. | |
| 7843 m4_defun([_LT_PROG_FUNCTION_REPLACE], | |
| 7844 [dnl { | |
| 7845 sed -e '/^$1 ()$/,/^} # $1 /c\ | |
| 7846 $1 ()\ | |
| 7847 {\ | |
| 7848 m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) | |
| 7849 } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ | |
| 7850 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 7851 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp"
) | |
| 7852 test 0 -eq $? || _lt_function_replace_fail=: | |
| 7853 ]) | |
| 7854 | |
| 7855 | |
| 7856 # _LT_PROG_REPLACE_SHELLFNS | |
| 7857 # ------------------------- | |
| 7858 # Replace existing portable implementations of several shell functions with | |
| 7859 # equivalent extended shell implementations where those features are available.. | |
| 7860 m4_defun([_LT_PROG_REPLACE_SHELLFNS], | |
| 7861 [if test x"$xsi_shell" = xyes; then | |
| 7862 _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl | |
| 7863 case ${1} in | |
| 7864 */*) func_dirname_result="${1%/*}${2}" ;; | |
| 7865 * ) func_dirname_result="${3}" ;; | |
| 7866 esac]) | |
| 7867 | |
| 7868 _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl | |
| 7869 func_basename_result="${1##*/}"]) | |
| 7870 | |
| 7871 _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl | |
| 7872 case ${1} in | |
| 7873 */*) func_dirname_result="${1%/*}${2}" ;; | |
| 7874 * ) func_dirname_result="${3}" ;; | |
| 7875 esac | |
| 7876 func_basename_result="${1##*/}"]) | |
| 7877 | |
| 7878 _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl | |
| 7879 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are | |
| 7880 # positional parameters, so assign one to ordinary parameter first. | |
| 7881 func_stripname_result=${3} | |
| 7882 func_stripname_result=${func_stripname_result#"${1}"} | |
| 7883 func_stripname_result=${func_stripname_result%"${2}"}]) | |
| 7884 | |
| 7885 _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl | |
| 7886 func_split_long_opt_name=${1%%=*} | |
| 7887 func_split_long_opt_arg=${1#*=}]) | |
| 7888 | |
| 7889 _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl | |
| 7890 func_split_short_opt_arg=${1#??} | |
| 7891 func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) | |
| 7892 | |
| 7893 _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl | |
| 7894 case ${1} in | |
| 7895 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; | |
| 7896 *) func_lo2o_result=${1} ;; | |
| 7897 esac]) | |
| 7898 | |
| 7899 _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) | |
| 7900 | |
| 7901 _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) | |
| 7902 | |
| 7903 _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) | |
| 7904 fi | |
| 7905 | |
| 7906 if test x"$lt_shell_append" = xyes; then | |
| 7907 _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) | |
| 7908 | |
| 7909 _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl | |
| 7910 func_quote_for_eval "${2}" | |
| 7911 dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ | |
| 7912 eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) | |
| 7913 | |
| 7914 # Save a `func_append' function call where possible by direct use of '+=' | |
| 7915 sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp
\ | |
| 7916 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 7917 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") | |
| 7918 test 0 -eq $? || _lt_function_replace_fail=: | |
| 7919 else | |
| 7920 # Save a `func_append' function call even when '+=' is not available | |
| 7921 sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.t
mp \ | |
| 7922 && mv -f "$cfgfile.tmp" "$cfgfile" \ | |
| 7923 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tm
p") | |
| 7924 test 0 -eq $? || _lt_function_replace_fail=: | |
| 7925 fi | |
| 7926 | |
| 7927 if test x"$_lt_function_replace_fail" = x":"; then | |
| 7928 AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) | |
| 7929 fi | |
| 7930 ]) | |
| 7931 | |
| 7932 # _LT_PATH_CONVERSION_FUNCTIONS | 8304 # _LT_PATH_CONVERSION_FUNCTIONS |
| 7933 # ----------------------------- | 8305 # ----------------------------- |
| 7934 # Determine which file name conversion functions should be used by | 8306 # Determine what file name conversion functions should be used by |
| 7935 # func_to_host_file (and, implicitly, by func_to_host_path). These are needed | 8307 # func_to_host_file (and, implicitly, by func_to_host_path). These are needed |
| 7936 # for certain cross-compile configurations and native mingw. | 8308 # for certain cross-compile configurations and native mingw. |
| 7937 m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], | 8309 m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], |
| 7938 [AC_REQUIRE([AC_CANONICAL_HOST])dnl | 8310 [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 7939 AC_REQUIRE([AC_CANONICAL_BUILD])dnl | 8311 AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
| 7940 AC_MSG_CHECKING([how to convert $build file names to $host format]) | 8312 AC_MSG_CHECKING([how to convert $build file names to $host format]) |
| 7941 AC_CACHE_VAL(lt_cv_to_host_file_cmd, | 8313 AC_CACHE_VAL(lt_cv_to_host_file_cmd, |
| 7942 [case $host in | 8314 [case $host in |
| 7943 *-*-mingw* ) | 8315 *-*-mingw* ) |
| 7944 case $build in | 8316 case $build in |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7991 esac | 8363 esac |
| 7992 ]) | 8364 ]) |
| 7993 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 8365 to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
| 7994 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) | 8366 AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) |
| 7995 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], | 8367 _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], |
| 7996 [0], [convert $build files to toolchain format])dnl | 8368 [0], [convert $build files to toolchain format])dnl |
| 7997 ])# _LT_PATH_CONVERSION_FUNCTIONS | 8369 ])# _LT_PATH_CONVERSION_FUNCTIONS |
| 7998 | 8370 |
| 7999 # Helper functions for option handling. -*- Autoconf -*- | 8371 # Helper functions for option handling. -*- Autoconf -*- |
| 8000 # | 8372 # |
| 8001 # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, | 8373 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software |
| 8002 # Inc. | 8374 # Foundation, Inc. |
| 8003 # Written by Gary V. Vaughan, 2004 | 8375 # Written by Gary V. Vaughan, 2004 |
| 8004 # | 8376 # |
| 8005 # This file is free software; the Free Software Foundation gives | 8377 # This file is free software; the Free Software Foundation gives |
| 8006 # unlimited permission to copy and/or distribute it, with or without | 8378 # unlimited permission to copy and/or distribute it, with or without |
| 8007 # modifications, as long as this notice is preserved. | 8379 # modifications, as long as this notice is preserved. |
| 8008 | 8380 |
| 8009 # serial 7 ltoptions.m4 | 8381 # serial 8 ltoptions.m4 |
| 8010 | 8382 |
| 8011 # This is to help aclocal find these macros, as it can't see m4_define. | 8383 # This is to help aclocal find these macros, as it can't see m4_define. |
| 8012 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) | 8384 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) |
| 8013 | 8385 |
| 8014 | 8386 |
| 8015 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) | 8387 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) |
| 8016 # ------------------------------------------ | 8388 # ------------------------------------------ |
| 8017 m4_define([_LT_MANGLE_OPTION], | 8389 m4_define([_LT_MANGLE_OPTION], |
| 8018 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) | 8390 [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) |
| 8019 | 8391 |
| 8020 | 8392 |
| 8021 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) | 8393 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) |
| 8022 # --------------------------------------- | 8394 # --------------------------------------- |
| 8023 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a | 8395 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a |
| 8024 # matching handler defined, dispatch to it. Other OPTION-NAMEs are | 8396 # matching handler defined, dispatch to it. Other OPTION-NAMEs are |
| 8025 # saved as a flag. | 8397 # saved as a flag. |
| 8026 m4_define([_LT_SET_OPTION], | 8398 m4_define([_LT_SET_OPTION], |
| 8027 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl | 8399 [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl |
| 8028 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), | 8400 m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), |
| 8029 _LT_MANGLE_DEFUN([$1], [$2]), | 8401 _LT_MANGLE_DEFUN([$1], [$2]), |
| 8030 [m4_warning([Unknown $1 option `$2'])])[]dnl | 8402 [m4_warning([Unknown $1 option '$2'])])[]dnl |
| 8031 ]) | 8403 ]) |
| 8032 | 8404 |
| 8033 | 8405 |
| 8034 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) | 8406 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) |
| 8035 # ------------------------------------------------------------ | 8407 # ------------------------------------------------------------ |
| 8036 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | 8408 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
| 8037 m4_define([_LT_IF_OPTION], | 8409 m4_define([_LT_IF_OPTION], |
| 8038 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) | 8410 [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) |
| 8039 | 8411 |
| 8040 | 8412 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 8066 dnl | 8438 dnl |
| 8067 dnl Simply set some default values (i.e off) if boolean options were not | 8439 dnl Simply set some default values (i.e off) if boolean options were not |
| 8068 dnl specified: | 8440 dnl specified: |
| 8069 _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no | 8441 _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no |
| 8070 ]) | 8442 ]) |
| 8071 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no | 8443 _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no |
| 8072 ]) | 8444 ]) |
| 8073 dnl | 8445 dnl |
| 8074 dnl If no reference was made to various pairs of opposing options, then | 8446 dnl If no reference was made to various pairs of opposing options, then |
| 8075 dnl we run the default mode handler for the pair. For example, if neither | 8447 dnl we run the default mode handler for the pair. For example, if neither |
| 8076 dnl `shared' nor `disable-shared' was passed, we enable building of shared | 8448 dnl 'shared' nor 'disable-shared' was passed, we enable building of shared |
| 8077 dnl archives by default: | 8449 dnl archives by default: |
| 8078 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) | 8450 _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) |
| 8079 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) | 8451 _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) |
| 8080 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) | 8452 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) |
| 8081 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], | 8453 _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], |
| 8082 » » [_LT_ENABLE_FAST_INSTALL]) | 8454 » » [_LT_ENABLE_FAST_INSTALL]) |
| 8455 _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4]
, |
| 8456 » » [_LT_WITH_AIX_SONAME([aix])]) |
| 8083 ]) | 8457 ]) |
| 8084 ])# _LT_SET_OPTIONS | 8458 ])# _LT_SET_OPTIONS |
| 8085 | 8459 |
| 8086 | 8460 |
| 8087 | 8461 |
| 8088 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) | 8462 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) |
| 8089 # ----------------------------------------- | 8463 # ----------------------------------------- |
| 8090 m4_define([_LT_MANGLE_DEFUN], | 8464 m4_define([_LT_MANGLE_DEFUN], |
| 8091 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) | 8465 [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) |
| 8092 | 8466 |
| 8093 | 8467 |
| 8094 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) | 8468 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) |
| 8095 # ----------------------------------------------- | 8469 # ----------------------------------------------- |
| 8096 m4_define([LT_OPTION_DEFINE], | 8470 m4_define([LT_OPTION_DEFINE], |
| 8097 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl | 8471 [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl |
| 8098 ])# LT_OPTION_DEFINE | 8472 ])# LT_OPTION_DEFINE |
| 8099 | 8473 |
| 8100 | 8474 |
| 8101 # dlopen | 8475 # dlopen |
| 8102 # ------ | 8476 # ------ |
| 8103 LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes | 8477 LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes |
| 8104 ]) | 8478 ]) |
| 8105 | 8479 |
| 8106 AU_DEFUN([AC_LIBTOOL_DLOPEN], | 8480 AU_DEFUN([AC_LIBTOOL_DLOPEN], |
| 8107 [_LT_SET_OPTION([LT_INIT], [dlopen]) | 8481 [_LT_SET_OPTION([LT_INIT], [dlopen]) |
| 8108 AC_DIAGNOSE([obsolete], | 8482 AC_DIAGNOSE([obsolete], |
| 8109 [$0: Remove this warning and the call to _LT_SET_OPTION when you | 8483 [$0: Remove this warning and the call to _LT_SET_OPTION when you |
| 8110 put the `dlopen' option into LT_INIT's first parameter.]) | 8484 put the 'dlopen' option into LT_INIT's first parameter.]) |
| 8111 ]) | 8485 ]) |
| 8112 | 8486 |
| 8113 dnl aclocal-1.4 backwards compatibility: | 8487 dnl aclocal-1.4 backwards compatibility: |
| 8114 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) | 8488 dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) |
| 8115 | 8489 |
| 8116 | 8490 |
| 8117 # win32-dll | 8491 # win32-dll |
| 8118 # --------- | 8492 # --------- |
| 8119 # Declare package support for building win32 dll's. | 8493 # Declare package support for building win32 dll's. |
| 8120 LT_OPTION_DEFINE([LT_INIT], [win32-dll], | 8494 LT_OPTION_DEFINE([LT_INIT], [win32-dll], |
| (...skipping 15 matching lines...) Expand all Loading... |
| 8136 | 8510 |
| 8137 test -z "$OBJDUMP" && OBJDUMP=objdump | 8511 test -z "$OBJDUMP" && OBJDUMP=objdump |
| 8138 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl | 8512 _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl |
| 8139 ])# win32-dll | 8513 ])# win32-dll |
| 8140 | 8514 |
| 8141 AU_DEFUN([AC_LIBTOOL_WIN32_DLL], | 8515 AU_DEFUN([AC_LIBTOOL_WIN32_DLL], |
| 8142 [AC_REQUIRE([AC_CANONICAL_HOST])dnl | 8516 [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 8143 _LT_SET_OPTION([LT_INIT], [win32-dll]) | 8517 _LT_SET_OPTION([LT_INIT], [win32-dll]) |
| 8144 AC_DIAGNOSE([obsolete], | 8518 AC_DIAGNOSE([obsolete], |
| 8145 [$0: Remove this warning and the call to _LT_SET_OPTION when you | 8519 [$0: Remove this warning and the call to _LT_SET_OPTION when you |
| 8146 put the `win32-dll' option into LT_INIT's first parameter.]) | 8520 put the 'win32-dll' option into LT_INIT's first parameter.]) |
| 8147 ]) | 8521 ]) |
| 8148 | 8522 |
| 8149 dnl aclocal-1.4 backwards compatibility: | 8523 dnl aclocal-1.4 backwards compatibility: |
| 8150 dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) | 8524 dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) |
| 8151 | 8525 |
| 8152 | 8526 |
| 8153 # _LT_ENABLE_SHARED([DEFAULT]) | 8527 # _LT_ENABLE_SHARED([DEFAULT]) |
| 8154 # ---------------------------- | 8528 # ---------------------------- |
| 8155 # implement the --enable-shared flag, and supports the `shared' and | 8529 # implement the --enable-shared flag, and supports the 'shared' and |
| 8156 # `disable-shared' LT_INIT options. | 8530 # 'disable-shared' LT_INIT options. |
| 8157 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. | 8531 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. |
| 8158 m4_define([_LT_ENABLE_SHARED], | 8532 m4_define([_LT_ENABLE_SHARED], |
| 8159 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl | 8533 [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl |
| 8160 AC_ARG_ENABLE([shared], | 8534 AC_ARG_ENABLE([shared], |
| 8161 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], | 8535 [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], |
| 8162 [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], | 8536 [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], |
| 8163 [p=${PACKAGE-default} | 8537 [p=${PACKAGE-default} |
| 8164 case $enableval in | 8538 case $enableval in |
| 8165 yes) enable_shared=yes ;; | 8539 yes) enable_shared=yes ;; |
| 8166 no) enable_shared=no ;; | 8540 no) enable_shared=no ;; |
| 8167 *) | 8541 *) |
| 8168 enable_shared=no | 8542 enable_shared=no |
| 8169 # Look at the argument we got. We use all the common list separators. | 8543 # Look at the argument we got. We use all the common list separators. |
| 8170 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 8544 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8171 for pkg in $enableval; do | 8545 for pkg in $enableval; do |
| 8172 » IFS="$lt_save_ifs" | 8546 » IFS=$lt_save_ifs |
| 8173 if test "X$pkg" = "X$p"; then | 8547 if test "X$pkg" = "X$p"; then |
| 8174 enable_shared=yes | 8548 enable_shared=yes |
| 8175 fi | 8549 fi |
| 8176 done | 8550 done |
| 8177 IFS="$lt_save_ifs" | 8551 IFS=$lt_save_ifs |
| 8178 ;; | 8552 ;; |
| 8179 esac], | 8553 esac], |
| 8180 [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) | 8554 [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) |
| 8181 | 8555 |
| 8182 _LT_DECL([build_libtool_libs], [enable_shared], [0], | 8556 _LT_DECL([build_libtool_libs], [enable_shared], [0], |
| 8183 [Whether or not to build shared libraries]) | 8557 [Whether or not to build shared libraries]) |
| 8184 ])# _LT_ENABLE_SHARED | 8558 ])# _LT_ENABLE_SHARED |
| 8185 | 8559 |
| 8186 LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) | 8560 LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) |
| 8187 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) | 8561 LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 8199 AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) | 8573 AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) |
| 8200 | 8574 |
| 8201 dnl aclocal-1.4 backwards compatibility: | 8575 dnl aclocal-1.4 backwards compatibility: |
| 8202 dnl AC_DEFUN([AM_ENABLE_SHARED], []) | 8576 dnl AC_DEFUN([AM_ENABLE_SHARED], []) |
| 8203 dnl AC_DEFUN([AM_DISABLE_SHARED], []) | 8577 dnl AC_DEFUN([AM_DISABLE_SHARED], []) |
| 8204 | 8578 |
| 8205 | 8579 |
| 8206 | 8580 |
| 8207 # _LT_ENABLE_STATIC([DEFAULT]) | 8581 # _LT_ENABLE_STATIC([DEFAULT]) |
| 8208 # ---------------------------- | 8582 # ---------------------------- |
| 8209 # implement the --enable-static flag, and support the `static' and | 8583 # implement the --enable-static flag, and support the 'static' and |
| 8210 # `disable-static' LT_INIT options. | 8584 # 'disable-static' LT_INIT options. |
| 8211 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. | 8585 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. |
| 8212 m4_define([_LT_ENABLE_STATIC], | 8586 m4_define([_LT_ENABLE_STATIC], |
| 8213 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl | 8587 [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl |
| 8214 AC_ARG_ENABLE([static], | 8588 AC_ARG_ENABLE([static], |
| 8215 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], | 8589 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], |
| 8216 [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], | 8590 [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], |
| 8217 [p=${PACKAGE-default} | 8591 [p=${PACKAGE-default} |
| 8218 case $enableval in | 8592 case $enableval in |
| 8219 yes) enable_static=yes ;; | 8593 yes) enable_static=yes ;; |
| 8220 no) enable_static=no ;; | 8594 no) enable_static=no ;; |
| 8221 *) | 8595 *) |
| 8222 enable_static=no | 8596 enable_static=no |
| 8223 # Look at the argument we got. We use all the common list separators. | 8597 # Look at the argument we got. We use all the common list separators. |
| 8224 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 8598 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8225 for pkg in $enableval; do | 8599 for pkg in $enableval; do |
| 8226 » IFS="$lt_save_ifs" | 8600 » IFS=$lt_save_ifs |
| 8227 if test "X$pkg" = "X$p"; then | 8601 if test "X$pkg" = "X$p"; then |
| 8228 enable_static=yes | 8602 enable_static=yes |
| 8229 fi | 8603 fi |
| 8230 done | 8604 done |
| 8231 IFS="$lt_save_ifs" | 8605 IFS=$lt_save_ifs |
| 8232 ;; | 8606 ;; |
| 8233 esac], | 8607 esac], |
| 8234 [enable_static=]_LT_ENABLE_STATIC_DEFAULT) | 8608 [enable_static=]_LT_ENABLE_STATIC_DEFAULT) |
| 8235 | 8609 |
| 8236 _LT_DECL([build_old_libs], [enable_static], [0], | 8610 _LT_DECL([build_old_libs], [enable_static], [0], |
| 8237 [Whether or not to build static libraries]) | 8611 [Whether or not to build static libraries]) |
| 8238 ])# _LT_ENABLE_STATIC | 8612 ])# _LT_ENABLE_STATIC |
| 8239 | 8613 |
| 8240 LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) | 8614 LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) |
| 8241 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) | 8615 LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 8253 AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) | 8627 AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) |
| 8254 | 8628 |
| 8255 dnl aclocal-1.4 backwards compatibility: | 8629 dnl aclocal-1.4 backwards compatibility: |
| 8256 dnl AC_DEFUN([AM_ENABLE_STATIC], []) | 8630 dnl AC_DEFUN([AM_ENABLE_STATIC], []) |
| 8257 dnl AC_DEFUN([AM_DISABLE_STATIC], []) | 8631 dnl AC_DEFUN([AM_DISABLE_STATIC], []) |
| 8258 | 8632 |
| 8259 | 8633 |
| 8260 | 8634 |
| 8261 # _LT_ENABLE_FAST_INSTALL([DEFAULT]) | 8635 # _LT_ENABLE_FAST_INSTALL([DEFAULT]) |
| 8262 # ---------------------------------- | 8636 # ---------------------------------- |
| 8263 # implement the --enable-fast-install flag, and support the `fast-install' | 8637 # implement the --enable-fast-install flag, and support the 'fast-install' |
| 8264 # and `disable-fast-install' LT_INIT options. | 8638 # and 'disable-fast-install' LT_INIT options. |
| 8265 # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. | 8639 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. |
| 8266 m4_define([_LT_ENABLE_FAST_INSTALL], | 8640 m4_define([_LT_ENABLE_FAST_INSTALL], |
| 8267 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl | 8641 [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl |
| 8268 AC_ARG_ENABLE([fast-install], | 8642 AC_ARG_ENABLE([fast-install], |
| 8269 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], | 8643 [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], |
| 8270 [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT
[@:>@])], | 8644 [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT
[@:>@])], |
| 8271 [p=${PACKAGE-default} | 8645 [p=${PACKAGE-default} |
| 8272 case $enableval in | 8646 case $enableval in |
| 8273 yes) enable_fast_install=yes ;; | 8647 yes) enable_fast_install=yes ;; |
| 8274 no) enable_fast_install=no ;; | 8648 no) enable_fast_install=no ;; |
| 8275 *) | 8649 *) |
| 8276 enable_fast_install=no | 8650 enable_fast_install=no |
| 8277 # Look at the argument we got. We use all the common list separators. | 8651 # Look at the argument we got. We use all the common list separators. |
| 8278 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 8652 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8279 for pkg in $enableval; do | 8653 for pkg in $enableval; do |
| 8280 » IFS="$lt_save_ifs" | 8654 » IFS=$lt_save_ifs |
| 8281 if test "X$pkg" = "X$p"; then | 8655 if test "X$pkg" = "X$p"; then |
| 8282 enable_fast_install=yes | 8656 enable_fast_install=yes |
| 8283 fi | 8657 fi |
| 8284 done | 8658 done |
| 8285 IFS="$lt_save_ifs" | 8659 IFS=$lt_save_ifs |
| 8286 ;; | 8660 ;; |
| 8287 esac], | 8661 esac], |
| 8288 [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) | 8662 [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) |
| 8289 | 8663 |
| 8290 _LT_DECL([fast_install], [enable_fast_install], [0], | 8664 _LT_DECL([fast_install], [enable_fast_install], [0], |
| 8291 [Whether or not to optimize for fast installation])dnl | 8665 [Whether or not to optimize for fast installation])dnl |
| 8292 ])# _LT_ENABLE_FAST_INSTALL | 8666 ])# _LT_ENABLE_FAST_INSTALL |
| 8293 | 8667 |
| 8294 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) | 8668 LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) |
| 8295 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no
])]) | 8669 LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no
])]) |
| 8296 | 8670 |
| 8297 # Old names: | 8671 # Old names: |
| 8298 AU_DEFUN([AC_ENABLE_FAST_INSTALL], | 8672 AU_DEFUN([AC_ENABLE_FAST_INSTALL], |
| 8299 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) | 8673 [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) |
| 8300 AC_DIAGNOSE([obsolete], | 8674 AC_DIAGNOSE([obsolete], |
| 8301 [$0: Remove this warning and the call to _LT_SET_OPTION when you put | 8675 [$0: Remove this warning and the call to _LT_SET_OPTION when you put |
| 8302 the `fast-install' option into LT_INIT's first parameter.]) | 8676 the 'fast-install' option into LT_INIT's first parameter.]) |
| 8303 ]) | 8677 ]) |
| 8304 | 8678 |
| 8305 AU_DEFUN([AC_DISABLE_FAST_INSTALL], | 8679 AU_DEFUN([AC_DISABLE_FAST_INSTALL], |
| 8306 [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) | 8680 [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) |
| 8307 AC_DIAGNOSE([obsolete], | 8681 AC_DIAGNOSE([obsolete], |
| 8308 [$0: Remove this warning and the call to _LT_SET_OPTION when you put | 8682 [$0: Remove this warning and the call to _LT_SET_OPTION when you put |
| 8309 the `disable-fast-install' option into LT_INIT's first parameter.]) | 8683 the 'disable-fast-install' option into LT_INIT's first parameter.]) |
| 8310 ]) | 8684 ]) |
| 8311 | 8685 |
| 8312 dnl aclocal-1.4 backwards compatibility: | 8686 dnl aclocal-1.4 backwards compatibility: |
| 8313 dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) | 8687 dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) |
| 8314 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) | 8688 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) |
| 8315 | 8689 |
| 8316 | 8690 |
| 8691 # _LT_WITH_AIX_SONAME([DEFAULT]) |
| 8692 # ---------------------------------- |
| 8693 # implement the --with-aix-soname flag, and support the `aix-soname=aix' |
| 8694 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT |
| 8695 # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. |
| 8696 m4_define([_LT_WITH_AIX_SONAME], |
| 8697 [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both,
both, aix))])dnl |
| 8698 shared_archive_member_spec= |
| 8699 case $host,$enable_shared in |
| 8700 power*-*-aix[[5-9]]*,yes) |
| 8701 AC_MSG_CHECKING([which variant of shared library versioning to provide]) |
| 8702 AC_ARG_WITH([aix-soname], |
| 8703 [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], |
| 8704 [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@d
efault=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], |
| 8705 [case $withval in |
| 8706 aix|svr4|both) |
| 8707 ;; |
| 8708 *) |
| 8709 AC_MSG_ERROR([Unknown argument to --with-aix-soname]) |
| 8710 ;; |
| 8711 esac |
| 8712 lt_cv_with_aix_soname=$with_aix_soname], |
| 8713 [AC_CACHE_VAL([lt_cv_with_aix_soname], |
| 8714 [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) |
| 8715 with_aix_soname=$lt_cv_with_aix_soname]) |
| 8716 AC_MSG_RESULT([$with_aix_soname]) |
| 8717 if test aix != "$with_aix_soname"; then |
| 8718 # For the AIX way of multilib, we name the shared archive member |
| 8719 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', |
| 8720 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. |
| 8721 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, |
| 8722 # the AIX toolchain works better with OBJECT_MODE set (default 32). |
| 8723 if test 64 = "${OBJECT_MODE-32}"; then |
| 8724 shared_archive_member_spec=shr_64 |
| 8725 else |
| 8726 shared_archive_member_spec=shr |
| 8727 fi |
| 8728 fi |
| 8729 ;; |
| 8730 *) |
| 8731 with_aix_soname=aix |
| 8732 ;; |
| 8733 esac |
| 8734 |
| 8735 _LT_DECL([], [shared_archive_member_spec], [0], |
| 8736 [Shared archive member basename, for filename based shared library versionin
g on AIX])dnl |
| 8737 ])# _LT_WITH_AIX_SONAME |
| 8738 |
| 8739 LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) |
| 8740 LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) |
| 8741 LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) |
| 8742 |
| 8743 |
| 8317 # _LT_WITH_PIC([MODE]) | 8744 # _LT_WITH_PIC([MODE]) |
| 8318 # -------------------- | 8745 # -------------------- |
| 8319 # implement the --with-pic flag, and support the `pic-only' and `no-pic' | 8746 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' |
| 8320 # LT_INIT options. | 8747 # LT_INIT options. |
| 8321 # MODE is either `yes' or `no'. If omitted, it defaults to `both'. | 8748 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. |
| 8322 m4_define([_LT_WITH_PIC], | 8749 m4_define([_LT_WITH_PIC], |
| 8323 [AC_ARG_WITH([pic], | 8750 [AC_ARG_WITH([pic], |
| 8324 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], | 8751 [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], |
| 8325 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], | 8752 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], |
| 8326 [lt_p=${PACKAGE-default} | 8753 [lt_p=${PACKAGE-default} |
| 8327 case $withval in | 8754 case $withval in |
| 8328 yes|no) pic_mode=$withval ;; | 8755 yes|no) pic_mode=$withval ;; |
| 8329 *) | 8756 *) |
| 8330 pic_mode=default | 8757 pic_mode=default |
| 8331 # Look at the argument we got. We use all the common list separators. | 8758 # Look at the argument we got. We use all the common list separators. |
| 8332 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 8759 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, |
| 8333 for lt_pkg in $withval; do | 8760 for lt_pkg in $withval; do |
| 8334 » IFS="$lt_save_ifs" | 8761 » IFS=$lt_save_ifs |
| 8335 if test "X$lt_pkg" = "X$lt_p"; then | 8762 if test "X$lt_pkg" = "X$lt_p"; then |
| 8336 pic_mode=yes | 8763 pic_mode=yes |
| 8337 fi | 8764 fi |
| 8338 done | 8765 done |
| 8339 IFS="$lt_save_ifs" | 8766 IFS=$lt_save_ifs |
| 8340 ;; | 8767 ;; |
| 8341 esac], | 8768 esac], |
| 8342 [pic_mode=default]) | 8769 [pic_mode=m4_default([$1], [default])]) |
| 8343 | |
| 8344 test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) | |
| 8345 | 8770 |
| 8346 _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl | 8771 _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl |
| 8347 ])# _LT_WITH_PIC | 8772 ])# _LT_WITH_PIC |
| 8348 | 8773 |
| 8349 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) | 8774 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) |
| 8350 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) | 8775 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) |
| 8351 | 8776 |
| 8352 # Old name: | 8777 # Old name: |
| 8353 AU_DEFUN([AC_LIBTOOL_PICMODE], | 8778 AU_DEFUN([AC_LIBTOOL_PICMODE], |
| 8354 [_LT_SET_OPTION([LT_INIT], [pic-only]) | 8779 [_LT_SET_OPTION([LT_INIT], [pic-only]) |
| 8355 AC_DIAGNOSE([obsolete], | 8780 AC_DIAGNOSE([obsolete], |
| 8356 [$0: Remove this warning and the call to _LT_SET_OPTION when you | 8781 [$0: Remove this warning and the call to _LT_SET_OPTION when you |
| 8357 put the `pic-only' option into LT_INIT's first parameter.]) | 8782 put the 'pic-only' option into LT_INIT's first parameter.]) |
| 8358 ]) | 8783 ]) |
| 8359 | 8784 |
| 8360 dnl aclocal-1.4 backwards compatibility: | 8785 dnl aclocal-1.4 backwards compatibility: |
| 8361 dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) | 8786 dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) |
| 8362 | 8787 |
| 8363 | 8788 |
| 8364 m4_define([_LTDL_MODE], []) | 8789 m4_define([_LTDL_MODE], []) |
| 8365 LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], | 8790 LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], |
| 8366 [m4_define([_LTDL_MODE], [nonrecursive])]) | 8791 [m4_define([_LTDL_MODE], [nonrecursive])]) |
| 8367 LT_OPTION_DEFINE([LTDL_INIT], [recursive], | 8792 LT_OPTION_DEFINE([LTDL_INIT], [recursive], |
| 8368 [m4_define([_LTDL_MODE], [recursive])]) | 8793 [m4_define([_LTDL_MODE], [recursive])]) |
| 8369 LT_OPTION_DEFINE([LTDL_INIT], [subproject], | 8794 LT_OPTION_DEFINE([LTDL_INIT], [subproject], |
| 8370 [m4_define([_LTDL_MODE], [subproject])]) | 8795 [m4_define([_LTDL_MODE], [subproject])]) |
| 8371 | 8796 |
| 8372 m4_define([_LTDL_TYPE], []) | 8797 m4_define([_LTDL_TYPE], []) |
| 8373 LT_OPTION_DEFINE([LTDL_INIT], [installable], | 8798 LT_OPTION_DEFINE([LTDL_INIT], [installable], |
| 8374 [m4_define([_LTDL_TYPE], [installable])]) | 8799 [m4_define([_LTDL_TYPE], [installable])]) |
| 8375 LT_OPTION_DEFINE([LTDL_INIT], [convenience], | 8800 LT_OPTION_DEFINE([LTDL_INIT], [convenience], |
| 8376 [m4_define([_LTDL_TYPE], [convenience])]) | 8801 [m4_define([_LTDL_TYPE], [convenience])]) |
| 8377 | 8802 |
| 8378 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- | 8803 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- |
| 8379 # | 8804 # |
| 8380 # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. | 8805 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software |
| 8806 # Foundation, Inc. |
| 8381 # Written by Gary V. Vaughan, 2004 | 8807 # Written by Gary V. Vaughan, 2004 |
| 8382 # | 8808 # |
| 8383 # This file is free software; the Free Software Foundation gives | 8809 # This file is free software; the Free Software Foundation gives |
| 8384 # unlimited permission to copy and/or distribute it, with or without | 8810 # unlimited permission to copy and/or distribute it, with or without |
| 8385 # modifications, as long as this notice is preserved. | 8811 # modifications, as long as this notice is preserved. |
| 8386 | 8812 |
| 8387 # serial 6 ltsugar.m4 | 8813 # serial 6 ltsugar.m4 |
| 8388 | 8814 |
| 8389 # This is to help aclocal find these macros, as it can't see m4_define. | 8815 # This is to help aclocal find these macros, as it can't see m4_define. |
| 8390 AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) | 8816 AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 8403 m4_define([_lt_join], | 8829 m4_define([_lt_join], |
| 8404 [m4_if([$#$2], [2], [], | 8830 [m4_if([$#$2], [2], [], |
| 8405 [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) | 8831 [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) |
| 8406 | 8832 |
| 8407 | 8833 |
| 8408 # lt_car(LIST) | 8834 # lt_car(LIST) |
| 8409 # lt_cdr(LIST) | 8835 # lt_cdr(LIST) |
| 8410 # ------------ | 8836 # ------------ |
| 8411 # Manipulate m4 lists. | 8837 # Manipulate m4 lists. |
| 8412 # These macros are necessary as long as will still need to support | 8838 # These macros are necessary as long as will still need to support |
| 8413 # Autoconf-2.59 which quotes differently. | 8839 # Autoconf-2.59, which quotes differently. |
| 8414 m4_define([lt_car], [[$1]]) | 8840 m4_define([lt_car], [[$1]]) |
| 8415 m4_define([lt_cdr], | 8841 m4_define([lt_cdr], |
| 8416 [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], | 8842 [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], |
| 8417 [$#], 1, [], | 8843 [$#], 1, [], |
| 8418 [m4_dquote(m4_shift($@))])]) | 8844 [m4_dquote(m4_shift($@))])]) |
| 8419 m4_define([lt_unquote], $1) | 8845 m4_define([lt_unquote], $1) |
| 8420 | 8846 |
| 8421 | 8847 |
| 8422 # lt_append(MACRO-NAME, STRING, [SEPARATOR]) | 8848 # lt_append(MACRO-NAME, STRING, [SEPARATOR]) |
| 8423 # ------------------------------------------ | 8849 # ------------------------------------------ |
| 8424 # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. | 8850 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. |
| 8425 # Note that neither SEPARATOR nor STRING are expanded; they are appended | 8851 # Note that neither SEPARATOR nor STRING are expanded; they are appended |
| 8426 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). | 8852 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). |
| 8427 # No SEPARATOR is output if MACRO-NAME was previously undefined (different | 8853 # No SEPARATOR is output if MACRO-NAME was previously undefined (different |
| 8428 # than defined and empty). | 8854 # than defined and empty). |
| 8429 # | 8855 # |
| 8430 # This macro is needed until we can rely on Autoconf 2.62, since earlier | 8856 # This macro is needed until we can rely on Autoconf 2.62, since earlier |
| 8431 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. | 8857 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. |
| 8432 m4_define([lt_append], | 8858 m4_define([lt_append], |
| 8433 [m4_define([$1], | 8859 [m4_define([$1], |
| 8434 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) | 8860 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8494 # -------------------------------------------------------------- | 8920 # -------------------------------------------------------------- |
| 8495 m4_define([lt_dict_filter], | 8921 m4_define([lt_dict_filter], |
| 8496 [m4_if([$5], [], [], | 8922 [m4_if([$5], [], [], |
| 8497 [lt_join(m4_quote(m4_default([$4], [[, ]])), | 8923 [lt_join(m4_quote(m4_default([$4], [[, ]])), |
| 8498 lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shift
n(4, $@)]), | 8924 lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shift
n(4, $@)]), |
| 8499 [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])
))))])[]dnl | 8925 [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])
))))])[]dnl |
| 8500 ]) | 8926 ]) |
| 8501 | 8927 |
| 8502 # ltversion.m4 -- version numbers -*- Autoconf -*- | 8928 # ltversion.m4 -- version numbers -*- Autoconf -*- |
| 8503 # | 8929 # |
| 8504 # Copyright (C) 2004 Free Software Foundation, Inc. | 8930 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. |
| 8505 # Written by Scott James Remnant, 2004 | 8931 # Written by Scott James Remnant, 2004 |
| 8506 # | 8932 # |
| 8507 # This file is free software; the Free Software Foundation gives | 8933 # This file is free software; the Free Software Foundation gives |
| 8508 # unlimited permission to copy and/or distribute it, with or without | 8934 # unlimited permission to copy and/or distribute it, with or without |
| 8509 # modifications, as long as this notice is preserved. | 8935 # modifications, as long as this notice is preserved. |
| 8510 | 8936 |
| 8511 # @configure_input@ | 8937 # @configure_input@ |
| 8512 | 8938 |
| 8513 # serial 3337 ltversion.m4 | 8939 # serial 4179 ltversion.m4 |
| 8514 # This file is part of GNU Libtool | 8940 # This file is part of GNU Libtool |
| 8515 | 8941 |
| 8516 m4_define([LT_PACKAGE_VERSION], [2.4.2]) | 8942 m4_define([LT_PACKAGE_VERSION], [2.4.6]) |
| 8517 m4_define([LT_PACKAGE_REVISION], [1.3337]) | 8943 m4_define([LT_PACKAGE_REVISION], [2.4.6]) |
| 8518 | 8944 |
| 8519 AC_DEFUN([LTVERSION_VERSION], | 8945 AC_DEFUN([LTVERSION_VERSION], |
| 8520 [macro_version='2.4.2' | 8946 [macro_version='2.4.6' |
| 8521 macro_revision='1.3337' | 8947 macro_revision='2.4.6' |
| 8522 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) | 8948 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
| 8523 _LT_DECL(, macro_revision, 0) | 8949 _LT_DECL(, macro_revision, 0) |
| 8524 ]) | 8950 ]) |
| 8525 | 8951 |
| 8526 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- | 8952 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
| 8527 # | 8953 # |
| 8528 # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. | 8954 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software |
| 8955 # Foundation, Inc. |
| 8529 # Written by Scott James Remnant, 2004. | 8956 # Written by Scott James Remnant, 2004. |
| 8530 # | 8957 # |
| 8531 # This file is free software; the Free Software Foundation gives | 8958 # This file is free software; the Free Software Foundation gives |
| 8532 # unlimited permission to copy and/or distribute it, with or without | 8959 # unlimited permission to copy and/or distribute it, with or without |
| 8533 # modifications, as long as this notice is preserved. | 8960 # modifications, as long as this notice is preserved. |
| 8534 | 8961 |
| 8535 # serial 5 lt~obsolete.m4 | 8962 # serial 5 lt~obsolete.m4 |
| 8536 | 8963 |
| 8537 # These exist entirely to fool aclocal when bootstrapping libtool. | 8964 # These exist entirely to fool aclocal when bootstrapping libtool. |
| 8538 # | 8965 # |
| 8539 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) | 8966 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), |
| 8540 # which have later been changed to m4_define as they aren't part of the | 8967 # which have later been changed to m4_define as they aren't part of the |
| 8541 # exported API, or moved to Autoconf or Automake where they belong. | 8968 # exported API, or moved to Autoconf or Automake where they belong. |
| 8542 # | 8969 # |
| 8543 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN | 8970 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN |
| 8544 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us | 8971 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us |
| 8545 # using a macro with the same name in our local m4/libtool.m4 it'll | 8972 # using a macro with the same name in our local m4/libtool.m4 it'll |
| 8546 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define | 8973 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define |
| 8547 # and doesn't know about Autoconf macros at all.) | 8974 # and doesn't know about Autoconf macros at all.) |
| 8548 # | 8975 # |
| 8549 # So we provide this file, which has a silly filename so it's always | 8976 # So we provide this file, which has a silly filename so it's always |
| 8550 # included after everything else. This provides aclocal with the | 8977 # included after everything else. This provides aclocal with the |
| 8551 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything | 8978 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything |
| 8552 # because those macros already exist, or will be overwritten later. | 8979 # because those macros already exist, or will be overwritten later. |
| 8553 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. | 8980 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. |
| 8554 # | 8981 # |
| 8555 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. | 8982 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. |
| 8556 # Yes, that means every name once taken will need to remain here until | 8983 # Yes, that means every name once taken will need to remain here until |
| 8557 # we give up compatibility with versions before 1.7, at which point | 8984 # we give up compatibility with versions before 1.7, at which point |
| 8558 # we need to keep only those names which we still refer to. | 8985 # we need to keep only those names which we still refer to. |
| 8559 | 8986 |
| 8560 # This is to help aclocal find these macros, as it can't see m4_define. | 8987 # This is to help aclocal find these macros, as it can't see m4_define. |
| 8561 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) | 8988 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) |
| 8562 | 8989 |
| 8563 m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) | 8990 m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8615 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) | 9042 m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
| 8616 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) | 9043 m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) |
| 8617 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]
) | 9044 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]
) |
| 8618 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) | 9045 m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) |
| 8619 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]
) | 9046 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]
) |
| 8620 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) | 9047 m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) |
| 8621 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) | 9048 m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) |
| 8622 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) | 9049 m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
| 8623 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) | 9050 m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
| 8624 | 9051 |
| 8625 # Copyright (C) 2002-2013 Free Software Foundation, Inc. | 9052 # Copyright (C) 2002-2014 Free Software Foundation, Inc. |
| 8626 # | 9053 # |
| 8627 # This file is free software; the Free Software Foundation | 9054 # This file is free software; the Free Software Foundation |
| 8628 # gives unlimited permission to copy and/or distribute it, | 9055 # gives unlimited permission to copy and/or distribute it, |
| 8629 # with or without modifications, as long as this notice is preserved. | 9056 # with or without modifications, as long as this notice is preserved. |
| 8630 | 9057 |
| 8631 # AM_AUTOMAKE_VERSION(VERSION) | 9058 # AM_AUTOMAKE_VERSION(VERSION) |
| 8632 # ---------------------------- | 9059 # ---------------------------- |
| 8633 # Automake X.Y traces this macro to ensure aclocal.m4 has been | 9060 # Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 8634 # generated from the m4 files accompanying Automake X.Y. | 9061 # generated from the m4 files accompanying Automake X.Y. |
| 8635 # (This private macro should not be called outside this file.) | 9062 # (This private macro should not be called outside this file.) |
| 8636 AC_DEFUN([AM_AUTOMAKE_VERSION], | 9063 AC_DEFUN([AM_AUTOMAKE_VERSION], |
| 8637 [am__api_version='1.14' | 9064 [am__api_version='1.15' |
| 8638 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | 9065 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
| 8639 dnl require some minimum version. Point them to the right macro. | 9066 dnl require some minimum version. Point them to the right macro. |
| 8640 m4_if([$1], [1.14.1], [], | 9067 m4_if([$1], [1.15], [], |
| 8641 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | 9068 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 8642 ]) | 9069 ]) |
| 8643 | 9070 |
| 8644 # _AM_AUTOCONF_VERSION(VERSION) | 9071 # _AM_AUTOCONF_VERSION(VERSION) |
| 8645 # ----------------------------- | 9072 # ----------------------------- |
| 8646 # aclocal traces this macro to find the Autoconf version. | 9073 # aclocal traces this macro to find the Autoconf version. |
| 8647 # This is a private macro too. Using m4_define simplifies | 9074 # This is a private macro too. Using m4_define simplifies |
| 8648 # the logic in aclocal, which can simply ignore this definition. | 9075 # the logic in aclocal, which can simply ignore this definition. |
| 8649 m4_define([_AM_AUTOCONF_VERSION], []) | 9076 m4_define([_AM_AUTOCONF_VERSION], []) |
| 8650 | 9077 |
| 8651 # AM_SET_CURRENT_AUTOMAKE_VERSION | 9078 # AM_SET_CURRENT_AUTOMAKE_VERSION |
| 8652 # ------------------------------- | 9079 # ------------------------------- |
| 8653 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | 9080 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 8654 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | 9081 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
| 8655 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 9082 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 8656 [AM_AUTOMAKE_VERSION([1.14.1])dnl | 9083 [AM_AUTOMAKE_VERSION([1.15])dnl |
| 8657 m4_ifndef([AC_AUTOCONF_VERSION], | 9084 m4_ifndef([AC_AUTOCONF_VERSION], |
| 8658 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 9085 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 8659 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | 9086 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
| 8660 | 9087 |
| 8661 # AM_AUX_DIR_EXPAND -*- Autoconf -*- | 9088 # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 8662 | 9089 |
| 8663 # Copyright (C) 2001-2013 Free Software Foundation, Inc. | 9090 # Copyright (C) 2001-2014 Free Software Foundation, Inc. |
| 8664 # | 9091 # |
| 8665 # This file is free software; the Free Software Foundation | 9092 # This file is free software; the Free Software Foundation |
| 8666 # gives unlimited permission to copy and/or distribute it, | 9093 # gives unlimited permission to copy and/or distribute it, |
| 8667 # with or without modifications, as long as this notice is preserved. | 9094 # with or without modifications, as long as this notice is preserved. |
| 8668 | 9095 |
| 8669 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | 9096 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
| 8670 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to | 9097 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to |
| 8671 # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | 9098 # '$srcdir', '$srcdir/..', or '$srcdir/../..'. |
| 8672 # | 9099 # |
| 8673 # Of course, Automake must honor this variable whenever it calls a | 9100 # Of course, Automake must honor this variable whenever it calls a |
| (...skipping 24 matching lines...) Expand all Loading... |
| 8698 # This will work as long as MISSING is not called from configure, because | 9125 # This will work as long as MISSING is not called from configure, because |
| 8699 # unfortunately $(top_srcdir) has no meaning in configure. | 9126 # unfortunately $(top_srcdir) has no meaning in configure. |
| 8700 # However there are other variables, like CC, which are often used in | 9127 # However there are other variables, like CC, which are often used in |
| 8701 # configure, and could therefore not use this "fixed" $ac_aux_dir. | 9128 # configure, and could therefore not use this "fixed" $ac_aux_dir. |
| 8702 # | 9129 # |
| 8703 # Another solution, used here, is to always expand $ac_aux_dir to an | 9130 # Another solution, used here, is to always expand $ac_aux_dir to an |
| 8704 # absolute PATH. The drawback is that using absolute paths prevent a | 9131 # absolute PATH. The drawback is that using absolute paths prevent a |
| 8705 # configured tree to be moved without reconfiguration. | 9132 # configured tree to be moved without reconfiguration. |
| 8706 | 9133 |
| 8707 AC_DEFUN([AM_AUX_DIR_EXPAND], | 9134 AC_DEFUN([AM_AUX_DIR_EXPAND], |
| 8708 [dnl Rely on autoconf to set up CDPATH properly. | 9135 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
| 8709 AC_PREREQ([2.50])dnl | 9136 # Expand $ac_aux_dir to an absolute path. |
| 8710 # expand $ac_aux_dir to an absolute path | 9137 am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 8711 am_aux_dir=`cd $ac_aux_dir && pwd` | |
| 8712 ]) | 9138 ]) |
| 8713 | 9139 |
| 8714 # AM_CONDITIONAL -*- Autoconf -*- | 9140 # AM_CONDITIONAL -*- Autoconf -*- |
| 8715 | 9141 |
| 8716 # Copyright (C) 1997-2013 Free Software Foundation, Inc. | 9142 # Copyright (C) 1997-2014 Free Software Foundation, Inc. |
| 8717 # | 9143 # |
| 8718 # This file is free software; the Free Software Foundation | 9144 # This file is free software; the Free Software Foundation |
| 8719 # gives unlimited permission to copy and/or distribute it, | 9145 # gives unlimited permission to copy and/or distribute it, |
| 8720 # with or without modifications, as long as this notice is preserved. | 9146 # with or without modifications, as long as this notice is preserved. |
| 8721 | 9147 |
| 8722 # AM_CONDITIONAL(NAME, SHELL-CONDITION) | 9148 # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 8723 # ------------------------------------- | 9149 # ------------------------------------- |
| 8724 # Define a conditional. | 9150 # Define a conditional. |
| 8725 AC_DEFUN([AM_CONDITIONAL], | 9151 AC_DEFUN([AM_CONDITIONAL], |
| 8726 [AC_PREREQ([2.52])dnl | 9152 [AC_PREREQ([2.52])dnl |
| (...skipping 10 matching lines...) Expand all Loading... |
| 8737 else | 9163 else |
| 8738 $1_TRUE='#' | 9164 $1_TRUE='#' |
| 8739 $1_FALSE= | 9165 $1_FALSE= |
| 8740 fi | 9166 fi |
| 8741 AC_CONFIG_COMMANDS_PRE( | 9167 AC_CONFIG_COMMANDS_PRE( |
| 8742 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | 9168 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
| 8743 AC_MSG_ERROR([[conditional "$1" was never defined. | 9169 AC_MSG_ERROR([[conditional "$1" was never defined. |
| 8744 Usually this means the macro was only invoked conditionally.]]) | 9170 Usually this means the macro was only invoked conditionally.]]) |
| 8745 fi])]) | 9171 fi])]) |
| 8746 | 9172 |
| 8747 # Copyright (C) 1999-2013 Free Software Foundation, Inc. | 9173 # Copyright (C) 1999-2014 Free Software Foundation, Inc. |
| 8748 # | 9174 # |
| 8749 # This file is free software; the Free Software Foundation | 9175 # This file is free software; the Free Software Foundation |
| 8750 # gives unlimited permission to copy and/or distribute it, | 9176 # gives unlimited permission to copy and/or distribute it, |
| 8751 # with or without modifications, as long as this notice is preserved. | 9177 # with or without modifications, as long as this notice is preserved. |
| 8752 | 9178 |
| 8753 | 9179 |
| 8754 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | 9180 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be |
| 8755 # written in clear, in which case automake, when reading aclocal.m4, | 9181 # written in clear, in which case automake, when reading aclocal.m4, |
| 8756 # will think it sees a *use*, and therefore will trigger all it's | 9182 # will think it sees a *use*, and therefore will trigger all it's |
| 8757 # C support machinery. Also note that it means that autoscan, seeing | 9183 # C support machinery. Also note that it means that autoscan, seeing |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8928 fi | 9354 fi |
| 8929 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | 9355 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 8930 AC_SUBST([AMDEPBACKSLASH])dnl | 9356 AC_SUBST([AMDEPBACKSLASH])dnl |
| 8931 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | 9357 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 8932 AC_SUBST([am__nodep])dnl | 9358 AC_SUBST([am__nodep])dnl |
| 8933 _AM_SUBST_NOTMAKE([am__nodep])dnl | 9359 _AM_SUBST_NOTMAKE([am__nodep])dnl |
| 8934 ]) | 9360 ]) |
| 8935 | 9361 |
| 8936 # Generate code to set up dependency tracking. -*- Autoconf -*- | 9362 # Generate code to set up dependency tracking. -*- Autoconf -*- |
| 8937 | 9363 |
| 8938 # Copyright (C) 1999-2013 Free Software Foundation, Inc. | 9364 # Copyright (C) 1999-2014 Free Software Foundation, Inc. |
| 8939 # | 9365 # |
| 8940 # This file is free software; the Free Software Foundation | 9366 # This file is free software; the Free Software Foundation |
| 8941 # gives unlimited permission to copy and/or distribute it, | 9367 # gives unlimited permission to copy and/or distribute it, |
| 8942 # with or without modifications, as long as this notice is preserved. | 9368 # with or without modifications, as long as this notice is preserved. |
| 8943 | 9369 |
| 8944 | 9370 |
| 8945 # _AM_OUTPUT_DEPENDENCY_COMMANDS | 9371 # _AM_OUTPUT_DEPENDENCY_COMMANDS |
| 8946 # ------------------------------ | 9372 # ------------------------------ |
| 8947 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | 9373 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 8948 [{ | 9374 [{ |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9004 # is enabled. FIXME. This creates each '.P' file that we will | 9430 # is enabled. FIXME. This creates each '.P' file that we will |
| 9005 # need in order to bootstrap the dependency handling code. | 9431 # need in order to bootstrap the dependency handling code. |
| 9006 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | 9432 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 9007 [AC_CONFIG_COMMANDS([depfiles], | 9433 [AC_CONFIG_COMMANDS([depfiles], |
| 9008 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | 9434 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
| 9009 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | 9435 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
| 9010 ]) | 9436 ]) |
| 9011 | 9437 |
| 9012 # Do all the work for Automake. -*- Autoconf -*- | 9438 # Do all the work for Automake. -*- Autoconf -*- |
| 9013 | 9439 |
| 9014 # Copyright (C) 1996-2013 Free Software Foundation, Inc. | 9440 # Copyright (C) 1996-2014 Free Software Foundation, Inc. |
| 9015 # | 9441 # |
| 9016 # This file is free software; the Free Software Foundation | 9442 # This file is free software; the Free Software Foundation |
| 9017 # gives unlimited permission to copy and/or distribute it, | 9443 # gives unlimited permission to copy and/or distribute it, |
| 9018 # with or without modifications, as long as this notice is preserved. | 9444 # with or without modifications, as long as this notice is preserved. |
| 9019 | 9445 |
| 9020 # This macro actually does too much. Some checks are only needed if | 9446 # This macro actually does too much. Some checks are only needed if |
| 9021 # your package does certain things. But this isn't really a big deal. | 9447 # your package does certain things. But this isn't really a big deal. |
| 9022 | 9448 |
| 9023 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | 9449 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. |
| 9024 m4_define([AC_PROG_CC], | 9450 m4_define([AC_PROG_CC], |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9094 AM_MISSING_PROG([AUTOHEADER], [autoheader]) | 9520 AM_MISSING_PROG([AUTOHEADER], [autoheader]) |
| 9095 AM_MISSING_PROG([MAKEINFO], [makeinfo]) | 9521 AM_MISSING_PROG([MAKEINFO], [makeinfo]) |
| 9096 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | 9522 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 9097 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | 9523 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
| 9098 AC_REQUIRE([AC_PROG_MKDIR_P])dnl | 9524 AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| 9099 # For better backward compatibility. To be removed once Automake 1.9.x | 9525 # For better backward compatibility. To be removed once Automake 1.9.x |
| 9100 # dies out for good. For more background, see: | 9526 # dies out for good. For more background, see: |
| 9101 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | 9527 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 9102 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | 9528 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 9103 AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | 9529 AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
| 9104 # We need awk for the "check" target. The system "awk" is bad on | 9530 # We need awk for the "check" target (and possibly the TAP driver). The |
| 9105 # some platforms. | 9531 # system "awk" is bad on some platforms. |
| 9106 AC_REQUIRE([AC_PROG_AWK])dnl | 9532 AC_REQUIRE([AC_PROG_AWK])dnl |
| 9107 AC_REQUIRE([AC_PROG_MAKE_SET])dnl | 9533 AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
| 9108 AC_REQUIRE([AM_SET_LEADING_DOT])dnl | 9534 AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| 9109 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | 9535 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
| 9110 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | 9536 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
| 9111 [_AM_PROG_TAR([v7])])]) | 9537 [_AM_PROG_TAR([v7])])]) |
| 9112 _AM_IF_OPTION([no-dependencies],, | 9538 _AM_IF_OPTION([no-dependencies],, |
| 9113 [AC_PROVIDE_IFELSE([AC_PROG_CC], | 9539 [AC_PROVIDE_IFELSE([AC_PROG_CC], |
| 9114 [_AM_DEPENDENCIES([CC])], | 9540 [_AM_DEPENDENCIES([CC])], |
| 9115 [m4_define([AC_PROG_CC], | 9541 [m4_define([AC_PROG_CC], |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9168 You can download and install GNU coreutils to get an 'rm' implementation | 9594 You can download and install GNU coreutils to get an 'rm' implementation |
| 9169 that behaves properly: <http://www.gnu.org/software/coreutils/>. | 9595 that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 9170 | 9596 |
| 9171 If you want to complete the configuration process using your problematic | 9597 If you want to complete the configuration process using your problematic |
| 9172 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | 9598 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 9173 to "yes", and re-run configure. | 9599 to "yes", and re-run configure. |
| 9174 | 9600 |
| 9175 END | 9601 END |
| 9176 AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | 9602 AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) |
| 9177 fi | 9603 fi |
| 9178 fi]) | 9604 fi |
| 9605 dnl The trailing newline in this macro's definition is deliberate, for |
| 9606 dnl backward compatibility and to allow trailing 'dnl'-style comments |
| 9607 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. |
| 9608 ]) |
| 9179 | 9609 |
| 9180 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not | 9610 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
| 9181 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | 9611 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
| 9182 dnl mangled by Autoconf and run in a shell conditional statement. | 9612 dnl mangled by Autoconf and run in a shell conditional statement. |
| 9183 m4_define([_AC_COMPILER_EXEEXT], | 9613 m4_define([_AC_COMPILER_EXEEXT], |
| 9184 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | 9614 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
| 9185 | 9615 |
| 9186 # When config.status generates a header, we must update the stamp-h file. | 9616 # When config.status generates a header, we must update the stamp-h file. |
| 9187 # This file resides in the same directory as the config header | 9617 # This file resides in the same directory as the config header |
| 9188 # that is generated. The stamp files are numbered to have different names. | 9618 # that is generated. The stamp files are numbered to have different names. |
| 9189 | 9619 |
| 9190 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | 9620 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
| 9191 # loop where config.status creates the headers, so we can generate | 9621 # loop where config.status creates the headers, so we can generate |
| 9192 # our stamp files there. | 9622 # our stamp files there. |
| 9193 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | 9623 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| 9194 [# Compute $1's index in $config_headers. | 9624 [# Compute $1's index in $config_headers. |
| 9195 _am_arg=$1 | 9625 _am_arg=$1 |
| 9196 _am_stamp_count=1 | 9626 _am_stamp_count=1 |
| 9197 for _am_header in $config_headers :; do | 9627 for _am_header in $config_headers :; do |
| 9198 case $_am_header in | 9628 case $_am_header in |
| 9199 $_am_arg | $_am_arg:* ) | 9629 $_am_arg | $_am_arg:* ) |
| 9200 break ;; | 9630 break ;; |
| 9201 * ) | 9631 * ) |
| 9202 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 9632 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 9203 esac | 9633 esac |
| 9204 done | 9634 done |
| 9205 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
unt]) | 9635 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
unt]) |
| 9206 | 9636 |
| 9207 # Copyright (C) 2001-2013 Free Software Foundation, Inc. | 9637 # Copyright (C) 2001-2014 Free Software Foundation, Inc. |
| 9208 # | 9638 # |
| 9209 # This file is free software; the Free Software Foundation | 9639 # This file is free software; the Free Software Foundation |
| 9210 # gives unlimited permission to copy and/or distribute it, | 9640 # gives unlimited permission to copy and/or distribute it, |
| 9211 # with or without modifications, as long as this notice is preserved. | 9641 # with or without modifications, as long as this notice is preserved. |
| 9212 | 9642 |
| 9213 # AM_PROG_INSTALL_SH | 9643 # AM_PROG_INSTALL_SH |
| 9214 # ------------------ | 9644 # ------------------ |
| 9215 # Define $install_sh. | 9645 # Define $install_sh. |
| 9216 AC_DEFUN([AM_PROG_INSTALL_SH], | 9646 AC_DEFUN([AM_PROG_INSTALL_SH], |
| 9217 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 9647 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 9218 if test x"${install_sh}" != xset; then | 9648 if test x"${install_sh+set}" != xset; then |
| 9219 case $am_aux_dir in | 9649 case $am_aux_dir in |
| 9220 *\ * | *\ *) | 9650 *\ * | *\ *) |
| 9221 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | 9651 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 9222 *) | 9652 *) |
| 9223 install_sh="\${SHELL} $am_aux_dir/install-sh" | 9653 install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 9224 esac | 9654 esac |
| 9225 fi | 9655 fi |
| 9226 AC_SUBST([install_sh])]) | 9656 AC_SUBST([install_sh])]) |
| 9227 | 9657 |
| 9228 # Copyright (C) 2003-2013 Free Software Foundation, Inc. | 9658 # Copyright (C) 2003-2014 Free Software Foundation, Inc. |
| 9229 # | 9659 # |
| 9230 # This file is free software; the Free Software Foundation | 9660 # This file is free software; the Free Software Foundation |
| 9231 # gives unlimited permission to copy and/or distribute it, | 9661 # gives unlimited permission to copy and/or distribute it, |
| 9232 # with or without modifications, as long as this notice is preserved. | 9662 # with or without modifications, as long as this notice is preserved. |
| 9233 | 9663 |
| 9234 # Check whether the underlying file-system supports filenames | 9664 # Check whether the underlying file-system supports filenames |
| 9235 # with a leading dot. For instance MS-DOS doesn't. | 9665 # with a leading dot. For instance MS-DOS doesn't. |
| 9236 AC_DEFUN([AM_SET_LEADING_DOT], | 9666 AC_DEFUN([AM_SET_LEADING_DOT], |
| 9237 [rm -rf .tst 2>/dev/null | 9667 [rm -rf .tst 2>/dev/null |
| 9238 mkdir .tst 2>/dev/null | 9668 mkdir .tst 2>/dev/null |
| 9239 if test -d .tst; then | 9669 if test -d .tst; then |
| 9240 am__leading_dot=. | 9670 am__leading_dot=. |
| 9241 else | 9671 else |
| 9242 am__leading_dot=_ | 9672 am__leading_dot=_ |
| 9243 fi | 9673 fi |
| 9244 rmdir .tst 2>/dev/null | 9674 rmdir .tst 2>/dev/null |
| 9245 AC_SUBST([am__leading_dot])]) | 9675 AC_SUBST([am__leading_dot])]) |
| 9246 | 9676 |
| 9247 # Check to see how 'make' treats includes. -*- Autoconf -*- | 9677 # Check to see how 'make' treats includes. -*- Autoconf -*- |
| 9248 | 9678 |
| 9249 # Copyright (C) 2001-2013 Free Software Foundation, Inc. | 9679 # Copyright (C) 2001-2014 Free Software Foundation, Inc. |
| 9250 # | 9680 # |
| 9251 # This file is free software; the Free Software Foundation | 9681 # This file is free software; the Free Software Foundation |
| 9252 # gives unlimited permission to copy and/or distribute it, | 9682 # gives unlimited permission to copy and/or distribute it, |
| 9253 # with or without modifications, as long as this notice is preserved. | 9683 # with or without modifications, as long as this notice is preserved. |
| 9254 | 9684 |
| 9255 # AM_MAKE_INCLUDE() | 9685 # AM_MAKE_INCLUDE() |
| 9256 # ----------------- | 9686 # ----------------- |
| 9257 # Check to see how make treats includes. | 9687 # Check to see how make treats includes. |
| 9258 AC_DEFUN([AM_MAKE_INCLUDE], | 9688 AC_DEFUN([AM_MAKE_INCLUDE], |
| 9259 [am_make=${MAKE-make} | 9689 [am_make=${MAKE-make} |
| (...skipping 29 matching lines...) Expand all Loading... |
| 9289 esac | 9719 esac |
| 9290 fi | 9720 fi |
| 9291 AC_SUBST([am__include]) | 9721 AC_SUBST([am__include]) |
| 9292 AC_SUBST([am__quote]) | 9722 AC_SUBST([am__quote]) |
| 9293 AC_MSG_RESULT([$_am_result]) | 9723 AC_MSG_RESULT([$_am_result]) |
| 9294 rm -f confinc confmf | 9724 rm -f confinc confmf |
| 9295 ]) | 9725 ]) |
| 9296 | 9726 |
| 9297 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- | 9727 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
| 9298 | 9728 |
| 9299 # Copyright (C) 1997-2013 Free Software Foundation, Inc. | 9729 # Copyright (C) 1997-2014 Free Software Foundation, Inc. |
| 9300 # | 9730 # |
| 9301 # This file is free software; the Free Software Foundation | 9731 # This file is free software; the Free Software Foundation |
| 9302 # gives unlimited permission to copy and/or distribute it, | 9732 # gives unlimited permission to copy and/or distribute it, |
| 9303 # with or without modifications, as long as this notice is preserved. | 9733 # with or without modifications, as long as this notice is preserved. |
| 9304 | 9734 |
| 9305 # AM_MISSING_PROG(NAME, PROGRAM) | 9735 # AM_MISSING_PROG(NAME, PROGRAM) |
| 9306 # ------------------------------ | 9736 # ------------------------------ |
| 9307 AC_DEFUN([AM_MISSING_PROG], | 9737 AC_DEFUN([AM_MISSING_PROG], |
| 9308 [AC_REQUIRE([AM_MISSING_HAS_RUN]) | 9738 [AC_REQUIRE([AM_MISSING_HAS_RUN]) |
| 9309 $1=${$1-"${am_missing_run}$2"} | 9739 $1=${$1-"${am_missing_run}$2"} |
| (...skipping 18 matching lines...) Expand all Loading... |
| 9328 if eval "$MISSING --is-lightweight"; then | 9758 if eval "$MISSING --is-lightweight"; then |
| 9329 am_missing_run="$MISSING " | 9759 am_missing_run="$MISSING " |
| 9330 else | 9760 else |
| 9331 am_missing_run= | 9761 am_missing_run= |
| 9332 AC_MSG_WARN(['missing' script is too old or missing]) | 9762 AC_MSG_WARN(['missing' script is too old or missing]) |
| 9333 fi | 9763 fi |
| 9334 ]) | 9764 ]) |
| 9335 | 9765 |
| 9336 # Helper functions for option handling. -*- Autoconf -*- | 9766 # Helper functions for option handling. -*- Autoconf -*- |
| 9337 | 9767 |
| 9338 # Copyright (C) 2001-2013 Free Software Foundation, Inc. | 9768 # Copyright (C) 2001-2014 Free Software Foundation, Inc. |
| 9339 # | 9769 # |
| 9340 # This file is free software; the Free Software Foundation | 9770 # This file is free software; the Free Software Foundation |
| 9341 # gives unlimited permission to copy and/or distribute it, | 9771 # gives unlimited permission to copy and/or distribute it, |
| 9342 # with or without modifications, as long as this notice is preserved. | 9772 # with or without modifications, as long as this notice is preserved. |
| 9343 | 9773 |
| 9344 # _AM_MANGLE_OPTION(NAME) | 9774 # _AM_MANGLE_OPTION(NAME) |
| 9345 # ----------------------- | 9775 # ----------------------- |
| 9346 AC_DEFUN([_AM_MANGLE_OPTION], | 9776 AC_DEFUN([_AM_MANGLE_OPTION], |
| 9347 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | 9777 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
| 9348 | 9778 |
| 9349 # _AM_SET_OPTION(NAME) | 9779 # _AM_SET_OPTION(NAME) |
| 9350 # -------------------- | 9780 # -------------------- |
| 9351 # Set option NAME. Presently that only means defining a flag for this option. | 9781 # Set option NAME. Presently that only means defining a flag for this option. |
| 9352 AC_DEFUN([_AM_SET_OPTION], | 9782 AC_DEFUN([_AM_SET_OPTION], |
| 9353 [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | 9783 [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) |
| 9354 | 9784 |
| 9355 # _AM_SET_OPTIONS(OPTIONS) | 9785 # _AM_SET_OPTIONS(OPTIONS) |
| 9356 # ------------------------ | 9786 # ------------------------ |
| 9357 # OPTIONS is a space-separated list of Automake options. | 9787 # OPTIONS is a space-separated list of Automake options. |
| 9358 AC_DEFUN([_AM_SET_OPTIONS], | 9788 AC_DEFUN([_AM_SET_OPTIONS], |
| 9359 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | 9789 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
| 9360 | 9790 |
| 9361 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | 9791 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
| 9362 # ------------------------------------------- | 9792 # ------------------------------------------- |
| 9363 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | 9793 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
| 9364 AC_DEFUN([_AM_IF_OPTION], | 9794 AC_DEFUN([_AM_IF_OPTION], |
| 9365 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | 9795 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
| 9366 | 9796 |
| 9367 # Copyright (C) 1999-2013 Free Software Foundation, Inc. | 9797 # Copyright (C) 1999-2014 Free Software Foundation, Inc. |
| 9368 # | 9798 # |
| 9369 # This file is free software; the Free Software Foundation | 9799 # This file is free software; the Free Software Foundation |
| 9370 # gives unlimited permission to copy and/or distribute it, | 9800 # gives unlimited permission to copy and/or distribute it, |
| 9371 # with or without modifications, as long as this notice is preserved. | 9801 # with or without modifications, as long as this notice is preserved. |
| 9372 | 9802 |
| 9373 # _AM_PROG_CC_C_O | 9803 # _AM_PROG_CC_C_O |
| 9374 # --------------- | 9804 # --------------- |
| 9375 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC | 9805 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC |
| 9376 # to automatically call this. | 9806 # to automatically call this. |
| 9377 AC_DEFUN([_AM_PROG_CC_C_O], | 9807 AC_DEFUN([_AM_PROG_CC_C_O], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 9404 # But if we don't then we get into trouble of one sort or another. | 9834 # But if we don't then we get into trouble of one sort or another. |
| 9405 # A longer-term fix would be to have automake use am__CC in this case, | 9835 # A longer-term fix would be to have automake use am__CC in this case, |
| 9406 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | 9836 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 9407 CC="$am_aux_dir/compile $CC" | 9837 CC="$am_aux_dir/compile $CC" |
| 9408 fi | 9838 fi |
| 9409 AC_LANG_POP([C])]) | 9839 AC_LANG_POP([C])]) |
| 9410 | 9840 |
| 9411 # For backward compatibility. | 9841 # For backward compatibility. |
| 9412 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | 9842 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
| 9413 | 9843 |
| 9414 # Copyright (C) 2001-2013 Free Software Foundation, Inc. | 9844 # Copyright (C) 2001-2014 Free Software Foundation, Inc. |
| 9415 # | 9845 # |
| 9416 # This file is free software; the Free Software Foundation | 9846 # This file is free software; the Free Software Foundation |
| 9417 # gives unlimited permission to copy and/or distribute it, | 9847 # gives unlimited permission to copy and/or distribute it, |
| 9418 # with or without modifications, as long as this notice is preserved. | 9848 # with or without modifications, as long as this notice is preserved. |
| 9419 | 9849 |
| 9420 # AM_RUN_LOG(COMMAND) | 9850 # AM_RUN_LOG(COMMAND) |
| 9421 # ------------------- | 9851 # ------------------- |
| 9422 # Run COMMAND, save the exit status in ac_status, and log it. | 9852 # Run COMMAND, save the exit status in ac_status, and log it. |
| 9423 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | 9853 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) |
| 9424 AC_DEFUN([AM_RUN_LOG], | 9854 AC_DEFUN([AM_RUN_LOG], |
| 9425 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | 9855 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD |
| 9426 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | 9856 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD |
| 9427 ac_status=$? | 9857 ac_status=$? |
| 9428 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | 9858 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 9429 (exit $ac_status); }]) | 9859 (exit $ac_status); }]) |
| 9430 | 9860 |
| 9431 # Check to make sure that the build environment is sane. -*- Autoconf -*- | 9861 # Check to make sure that the build environment is sane. -*- Autoconf -*- |
| 9432 | 9862 |
| 9433 # Copyright (C) 1996-2013 Free Software Foundation, Inc. | 9863 # Copyright (C) 1996-2014 Free Software Foundation, Inc. |
| 9434 # | 9864 # |
| 9435 # This file is free software; the Free Software Foundation | 9865 # This file is free software; the Free Software Foundation |
| 9436 # gives unlimited permission to copy and/or distribute it, | 9866 # gives unlimited permission to copy and/or distribute it, |
| 9437 # with or without modifications, as long as this notice is preserved. | 9867 # with or without modifications, as long as this notice is preserved. |
| 9438 | 9868 |
| 9439 # AM_SANITY_CHECK | 9869 # AM_SANITY_CHECK |
| 9440 # --------------- | 9870 # --------------- |
| 9441 AC_DEFUN([AM_SANITY_CHECK], | 9871 AC_DEFUN([AM_SANITY_CHECK], |
| 9442 [AC_MSG_CHECKING([whether build environment is sane]) | 9872 [AC_MSG_CHECKING([whether build environment is sane]) |
| 9443 # Reject unsafe characters in $srcdir or the absolute working directory | 9873 # Reject unsafe characters in $srcdir or the absolute working directory |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9504 AC_CONFIG_COMMANDS_PRE( | 9934 AC_CONFIG_COMMANDS_PRE( |
| 9505 [AC_MSG_CHECKING([that generated files are newer than configure]) | 9935 [AC_MSG_CHECKING([that generated files are newer than configure]) |
| 9506 if test -n "$am_sleep_pid"; then | 9936 if test -n "$am_sleep_pid"; then |
| 9507 # Hide warnings about reused PIDs. | 9937 # Hide warnings about reused PIDs. |
| 9508 wait $am_sleep_pid 2>/dev/null | 9938 wait $am_sleep_pid 2>/dev/null |
| 9509 fi | 9939 fi |
| 9510 AC_MSG_RESULT([done])]) | 9940 AC_MSG_RESULT([done])]) |
| 9511 rm -f conftest.file | 9941 rm -f conftest.file |
| 9512 ]) | 9942 ]) |
| 9513 | 9943 |
| 9514 # Copyright (C) 2009-2013 Free Software Foundation, Inc. | 9944 # Copyright (C) 2009-2014 Free Software Foundation, Inc. |
| 9515 # | 9945 # |
| 9516 # This file is free software; the Free Software Foundation | 9946 # This file is free software; the Free Software Foundation |
| 9517 # gives unlimited permission to copy and/or distribute it, | 9947 # gives unlimited permission to copy and/or distribute it, |
| 9518 # with or without modifications, as long as this notice is preserved. | 9948 # with or without modifications, as long as this notice is preserved. |
| 9519 | 9949 |
| 9520 # AM_SILENT_RULES([DEFAULT]) | 9950 # AM_SILENT_RULES([DEFAULT]) |
| 9521 # -------------------------- | 9951 # -------------------------- |
| 9522 # Enable less verbose build rules; with the default set to DEFAULT | 9952 # Enable less verbose build rules; with the default set to DEFAULT |
| 9523 # ("yes" being less verbose, "no" or empty being verbose). | 9953 # ("yes" being less verbose, "no" or empty being verbose). |
| 9524 AC_DEFUN([AM_SILENT_RULES], | 9954 AC_DEFUN([AM_SILENT_RULES], |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9564 AC_SUBST([AM_V])dnl | 9994 AC_SUBST([AM_V])dnl |
| 9565 AM_SUBST_NOTMAKE([AM_V])dnl | 9995 AM_SUBST_NOTMAKE([AM_V])dnl |
| 9566 AC_SUBST([AM_DEFAULT_V])dnl | 9996 AC_SUBST([AM_DEFAULT_V])dnl |
| 9567 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | 9997 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
| 9568 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | 9998 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
| 9569 AM_BACKSLASH='\' | 9999 AM_BACKSLASH='\' |
| 9570 AC_SUBST([AM_BACKSLASH])dnl | 10000 AC_SUBST([AM_BACKSLASH])dnl |
| 9571 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | 10001 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
| 9572 ]) | 10002 ]) |
| 9573 | 10003 |
| 9574 # Copyright (C) 2001-2013 Free Software Foundation, Inc. | 10004 # Copyright (C) 2001-2014 Free Software Foundation, Inc. |
| 9575 # | 10005 # |
| 9576 # This file is free software; the Free Software Foundation | 10006 # This file is free software; the Free Software Foundation |
| 9577 # gives unlimited permission to copy and/or distribute it, | 10007 # gives unlimited permission to copy and/or distribute it, |
| 9578 # with or without modifications, as long as this notice is preserved. | 10008 # with or without modifications, as long as this notice is preserved. |
| 9579 | 10009 |
| 9580 # AM_PROG_INSTALL_STRIP | 10010 # AM_PROG_INSTALL_STRIP |
| 9581 # --------------------- | 10011 # --------------------- |
| 9582 # One issue with vendor 'install' (even GNU) is that you can't | 10012 # One issue with vendor 'install' (even GNU) is that you can't |
| 9583 # specify the program used to strip binaries. This is especially | 10013 # specify the program used to strip binaries. This is especially |
| 9584 # annoying in cross-compiling environments, where the build's strip | 10014 # annoying in cross-compiling environments, where the build's strip |
| 9585 # is unlikely to handle the host's binaries. | 10015 # is unlikely to handle the host's binaries. |
| 9586 # Fortunately install-sh will honor a STRIPPROG variable, so we | 10016 # Fortunately install-sh will honor a STRIPPROG variable, so we |
| 9587 # always use install-sh in "make install-strip", and initialize | 10017 # always use install-sh in "make install-strip", and initialize |
| 9588 # STRIPPROG with the value of the STRIP variable (set by the user). | 10018 # STRIPPROG with the value of the STRIP variable (set by the user). |
| 9589 AC_DEFUN([AM_PROG_INSTALL_STRIP], | 10019 AC_DEFUN([AM_PROG_INSTALL_STRIP], |
| 9590 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | 10020 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| 9591 # Installed binaries are usually stripped using 'strip' when the user | 10021 # Installed binaries are usually stripped using 'strip' when the user |
| 9592 # run "make install-strip". However 'strip' might not be the right | 10022 # run "make install-strip". However 'strip' might not be the right |
| 9593 # tool to use in cross-compilation environments, therefore Automake | 10023 # tool to use in cross-compilation environments, therefore Automake |
| 9594 # will honor the 'STRIP' environment variable to overrule this program. | 10024 # will honor the 'STRIP' environment variable to overrule this program. |
| 9595 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | 10025 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. |
| 9596 if test "$cross_compiling" != no; then | 10026 if test "$cross_compiling" != no; then |
| 9597 AC_CHECK_TOOL([STRIP], [strip], :) | 10027 AC_CHECK_TOOL([STRIP], [strip], :) |
| 9598 fi | 10028 fi |
| 9599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 10029 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 9600 AC_SUBST([INSTALL_STRIP_PROGRAM])]) | 10030 AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 9601 | 10031 |
| 9602 # Copyright (C) 2006-2013 Free Software Foundation, Inc. | 10032 # Copyright (C) 2006-2014 Free Software Foundation, Inc. |
| 9603 # | 10033 # |
| 9604 # This file is free software; the Free Software Foundation | 10034 # This file is free software; the Free Software Foundation |
| 9605 # gives unlimited permission to copy and/or distribute it, | 10035 # gives unlimited permission to copy and/or distribute it, |
| 9606 # with or without modifications, as long as this notice is preserved. | 10036 # with or without modifications, as long as this notice is preserved. |
| 9607 | 10037 |
| 9608 # _AM_SUBST_NOTMAKE(VARIABLE) | 10038 # _AM_SUBST_NOTMAKE(VARIABLE) |
| 9609 # --------------------------- | 10039 # --------------------------- |
| 9610 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | 10040 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
| 9611 # This macro is traced by Automake. | 10041 # This macro is traced by Automake. |
| 9612 AC_DEFUN([_AM_SUBST_NOTMAKE]) | 10042 AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 9613 | 10043 |
| 9614 # AM_SUBST_NOTMAKE(VARIABLE) | 10044 # AM_SUBST_NOTMAKE(VARIABLE) |
| 9615 # -------------------------- | 10045 # -------------------------- |
| 9616 # Public sister of _AM_SUBST_NOTMAKE. | 10046 # Public sister of _AM_SUBST_NOTMAKE. |
| 9617 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | 10047 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
| 9618 | 10048 |
| 9619 # Check how to create a tarball. -*- Autoconf -*- | 10049 # Check how to create a tarball. -*- Autoconf -*- |
| 9620 | 10050 |
| 9621 # Copyright (C) 2004-2013 Free Software Foundation, Inc. | 10051 # Copyright (C) 2004-2014 Free Software Foundation, Inc. |
| 9622 # | 10052 # |
| 9623 # This file is free software; the Free Software Foundation | 10053 # This file is free software; the Free Software Foundation |
| 9624 # gives unlimited permission to copy and/or distribute it, | 10054 # gives unlimited permission to copy and/or distribute it, |
| 9625 # with or without modifications, as long as this notice is preserved. | 10055 # with or without modifications, as long as this notice is preserved. |
| 9626 | 10056 |
| 9627 # _AM_PROG_TAR(FORMAT) | 10057 # _AM_PROG_TAR(FORMAT) |
| 9628 # -------------------- | 10058 # -------------------- |
| 9629 # Check how to create a tarball in format FORMAT. | 10059 # Check how to create a tarball in format FORMAT. |
| 9630 # FORMAT should be one of 'v7', 'ustar', or 'pax'. | 10060 # FORMAT should be one of 'v7', 'ustar', or 'pax'. |
| 9631 # | 10061 # |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9742 done | 10172 done |
| 9743 rm -rf conftest.dir | 10173 rm -rf conftest.dir |
| 9744 | 10174 |
| 9745 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | 10175 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
| 9746 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | 10176 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
| 9747 | 10177 |
| 9748 AC_SUBST([am__tar]) | 10178 AC_SUBST([am__tar]) |
| 9749 AC_SUBST([am__untar]) | 10179 AC_SUBST([am__untar]) |
| 9750 ]) # _AM_PROG_TAR | 10180 ]) # _AM_PROG_TAR |
| 9751 | 10181 |
| OLD | NEW |