Changeset 2963


Ignore:
Timestamp:
Sep 18, 2013 9:14:27 AM (6 years ago)
Author:
stefan
Message:

fixup --enable-msvc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2962 r2963  
    265265[AC_REQUIRE([AC_CANONICAL_BUILD])
    266266
    267   enable_msvc=no
     267  # for backward compatibility
     268  AC_ARG_ENABLE([doscompile],,[enable_doscompile=$enableval],[enable_doscompile=no])
    268269 
    269270  AC_ARG_ENABLE([msvc],
    270271    [AC_HELP_STRING([--enable-msvc],
    271272                    [Prefer (i)cl/ifort/link over GNU on MinGW/Cygwin.])],
    272     [],
    273     [AC_ARG_ENABLE([doscompile],[],
    274        [if test "$enable_doscompile" = msvc ; then
    275           enable_msvc=yes
    276         elif test "$enable_doscompile" != no ; then
    277           AC_MSG_ERROR([--enable-doscompile=$enable_doscompile not supported anymore.])
    278         fi
    279        ])
     273    [enable_msvc=$enableval],
     274    [enable_msvc=no
     275     if test "$enable_doscompile" = msvc ; then
     276       enable_msvc=yes
     277     elif test "$enable_doscompile" != no ; then
     278       AC_MSG_ERROR([--enable-doscompile=$enable_doscompile not supported anymore.])
     279     fi
    280280    ])
    281281
Note: See TracChangeset for help on using the changeset viewer.