Changeset 185


Ignore:
Timestamp:
Dec 18, 2006 8:35:56 PM (15 years ago)
Author:
andreasw
Message:

made sure that MS compiler is also understood if given in capital letters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/0.5/coin.m4

    r179 r185  
    485485      *-cygwin* | *-mingw*)
    486486        case "$CXX" in
    487           cl* | */cl*)
     487          cl* | */cl* | CL* | */CL*)
    488488            coin_opt_cxxflags='-O2'
    489489            coin_add_cxxflags='-nologo -EHsc -GR -MT'
     
    596596
    597597case "$CXX" in
    598   cl*)
     598  cl* | */cl* | CL* | */CL* )
    599599    AC_COIN_MINGW_LD_FIX
    600600    ;;
     
    630630     *-mingw32 | *-cygwin-* )
    631631      case "$CXX" in
    632       cl*)
     632      cl* | */cl* | CL* | */CL*)
    633633        CXXLIBS=nothing;;
    634634      esac;;
     
    724724if test x"$CXX" != x; then
    725725  case "$CXX" in
    726     cl*)
     726    cl* | */cl* | CL* | */CL*)
    727727      if test x"$CC" = x; then
    728728        CC="$CXX"
     
    794794      *-cygwin* | *-mingw*)
    795795        case "$CC" in
    796           cl* | */cl*)
     796          cl* | */cl* | CL* | */CL*)
    797797            coin_opt_cflags='-O2'
    798798            coin_add_cflags='-nologo'
     
    912912# Correct ADDLIBS initialization if we are using the MS compiler
    913913case "$CC" in
    914   cl*)
     914  cl* | */cl* | CL* | */CL*)
    915915    ADDLIBS=
    916916    AC_COIN_MINGW_LD_FIX
     
    14521452  *-cygwin* | *-mingw*)
    14531453  case "$CXX" in
    1454     cl* | */cl*)
     1454    cl* | */cl* | CL* | */CL*)
    14551455      AC_MSG_NOTICE(Applying patches to libtool for cl compiler)
    14561456      sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
     
    15671567AC_SUBST(LIBEXT)
    15681568case "$CC" in
    1569   cl*) LIBEXT=lib ;;
     1569  cl* | */cl* | CL* | */CL*) LIBEXT=lib ;;
    15701570    *) LIBEXT=a ;;
    15711571esac
     
    15841584  fi
    15851585  case "$CC" in
    1586     cl* | */cl*)
     1586    cl* | */cl* | CL* | */CL*)
    15871587      lnkcmd=cp ;;
    15881588  esac
     
    18161816  fi
    18171817  case "$CC" in
    1818     cl* | */cl*)
     1818    cl* | */cl* | CL* | */CL*)
    18191819      lnkcmd=cp ;;
    18201820  esac
     
    20082008# Determine the name of the ASL library
    20092009case "$CXX" in
    2010   cl* | */cl*)
     2010  cl* | */cl* | CL* | */CL*)
    20112011    ampllib=amplsolv.lib ;;
    20122012  *)
Note: See TracChangeset for help on using the changeset viewer.