185 |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
186 |
fi |
fi |
187 |
|
|
188 |
cc_basename=`$echo "X$compiler" \ |
_LT_CC_BASENAME([$compiler]) |
|
| $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'` |
|
189 |
|
|
190 |
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
191 |
case $deplibs_check_method in |
case $deplibs_check_method in |
232 |
])# _LT_AC_SYS_COMPILER |
])# _LT_AC_SYS_COMPILER |
233 |
|
|
234 |
|
|
235 |
|
# _LT_CC_BASENAME(CC) |
236 |
|
# ------------------- |
237 |
|
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. |
238 |
|
AC_DEFUN([_LT_CC_BASENAME], |
239 |
|
[for cc_temp in $1""; do |
240 |
|
case $cc_temp in |
241 |
|
ccache | *[[\\/]]ccache | distcc | *[[\\/]]distcc | purify | *[[\\/]]purify | \-*) ;; |
242 |
|
*) break;; |
243 |
|
esac |
244 |
|
done |
245 |
|
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
246 |
|
]) |
247 |
|
|
248 |
|
|
249 |
# _LT_AC_SYS_LIBPATH_AIX |
# _LT_AC_SYS_LIBPATH_AIX |
250 |
# ---------------------- |
# ---------------------- |
251 |
# Links a minimal program and checks the executable |
# Links a minimal program and checks the executable |
2683 |
CC=${CXX-"c++"} |
CC=${CXX-"c++"} |
2684 |
compiler=$CC |
compiler=$CC |
2685 |
_LT_AC_TAGVAR(compiler, $1)=$CC |
_LT_AC_TAGVAR(compiler, $1)=$CC |
2686 |
cc_basename=`$echo "X$compiler" \ |
_LT_CC_BASENAME([$compiler]) |
|
| $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'` |
|
2687 |
|
|
2688 |
# We don't want -fno-exception wen compiling C++ code, so set the |
# We don't want -fno-exception wen compiling C++ code, so set the |
2689 |
# no_builtin_flag separately |
# no_builtin_flag separately |
3748 |
CC=${F77-"f77"} |
CC=${F77-"f77"} |
3749 |
compiler=$CC |
compiler=$CC |
3750 |
_LT_AC_TAGVAR(compiler, $1)=$CC |
_LT_AC_TAGVAR(compiler, $1)=$CC |
3751 |
cc_basename=`$echo "X$compiler" \ |
_LT_CC_BASENAME([$compiler]) |
|
| $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'` |
|
3752 |
|
|
3753 |
AC_MSG_CHECKING([if libtool supports shared libraries]) |
AC_MSG_CHECKING([if libtool supports shared libraries]) |
3754 |
AC_MSG_RESULT([$can_build_shared]) |
AC_MSG_RESULT([$can_build_shared]) |
3828 |
CC=${GCJ-"gcj"} |
CC=${GCJ-"gcj"} |
3829 |
compiler=$CC |
compiler=$CC |
3830 |
_LT_AC_TAGVAR(compiler, $1)=$CC |
_LT_AC_TAGVAR(compiler, $1)=$CC |
3831 |
cc_basename=`$echo "X$compiler" \ |
_LT_CC_BASENAME([$compiler]) |
|
| $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'` |
|
3832 |
|
|
3833 |
# GCJ did not exist at the time GCC didn't implicitly link libc in. |
# GCJ did not exist at the time GCC didn't implicitly link libc in. |
3834 |
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
3884 |
CC=${RC-"windres"} |
CC=${RC-"windres"} |
3885 |
compiler=$CC |
compiler=$CC |
3886 |
_LT_AC_TAGVAR(compiler, $1)=$CC |
_LT_AC_TAGVAR(compiler, $1)=$CC |
3887 |
cc_basename=`$echo "X$compiler" \ |
_LT_CC_BASENAME([$compiler]) |
|
| $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'` |
|
3888 |
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
3889 |
|
|
3890 |
AC_LIBTOOL_CONFIG($1) |
AC_LIBTOOL_CONFIG($1) |
5160 |
# preloaded symbol tables. |
# preloaded symbol tables. |
5161 |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
5162 |
# Just being paranoid about ensuring that cc_basename is set. |
# Just being paranoid about ensuring that cc_basename is set. |
5163 |
cc_basename=`$echo "X$compiler" \ |
_LT_CC_BASENAME([$compiler]) |
|
| $Xsed -e 's%.*/%%;s%^[ ]*\([^ ]*\).*$%\1%'` |
|
5164 |
case $host_os in |
case $host_os in |
5165 |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
5166 |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |
# FIXME: the MSVC++ port hasn't been tested in a loooong time |