/[libtool]/libtool/libtool.m4
ViewVC logotype

Diff of /libtool/libtool.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.314.2.79 by rwild, Tue Apr 12 17:29:33 2005 UTC revision 1.314.2.80 by rwild, Fri Apr 15 13:38:13 2005 UTC
# Line 185  if test -n "$RANLIB"; then Line 185  if test -n "$RANLIB"; then
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
# Line 233  compiler=$CC Line 232  compiler=$CC
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
# Line 2670  test -z "${LDCXX+set}" || LD=$LDCXX Line 2683  test -z "${LDCXX+set}" || LD=$LDCXX
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
# Line 3736  lt_save_CC="$CC" Line 3748  lt_save_CC="$CC"
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])
# Line 3817  lt_save_CC="$CC" Line 3828  lt_save_CC="$CC"
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
# Line 3874  lt_save_CC="$CC" Line 3884  lt_save_CC="$CC"
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)
# Line 5151  ifelse([$1],[CXX],[ Line 5160  ifelse([$1],[CXX],[
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

Legend:
Removed from v.1.314.2.79  
changed lines
  Added in v.1.314.2.80

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26