Changeset 2543


Ignore:
Timestamp:
Feb 12, 2012 10:16:35 AM (9 years ago)
Author:
stefan
Message:

add public define COINHSL_HAS_METIS

Location:
ThirdParty/HSL/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/HSL/trunk/config.h.in

    r2458 r2543  
    2424/* Define to 1 if MC68 is available. */
    2525#undef COINHSL_HAS_MC68
     26
     27/* Define to 1 if METIS is available */
     28#undef COINHSL_HAS_METIS
    2629
    2730/* SVN revision number of project */
  • ThirdParty/HSL/trunk/config_coinhsl.h.in

    r2458 r2543  
    2828#undef COINHSL_HAS_MC68
    2929
     30/* Define to 1 if METIS is available */
     31#undef COINHSL_HAS_METIS
     32
    3033/* Version number of project */
    3134#undef COINHSL_VERSION
  • ThirdParty/HSL/trunk/configure

    r2542 r2543  
    2623126231
    2623226232
     26233  if test $coin_has_metis = yes ; then
     26234
     26235cat >>confdefs.h <<\_ACEOF
     26236#define COINHSL_HAS_METIS 1
     26237_ACEOF
     26238
     26239  fi
    2623326240else
    2623426241  # do as if we had metis, so metis.f is not compiled
  • ThirdParty/HSL/trunk/configure.ac

    r2542 r2543  
    174174if test $coin_has_ma57$coin_has_hsl_ma77$coin_has_hsl_mc68 != nonono ; then
    175175  AC_COIN_CHECK_PACKAGE(Metis, [coinmetis], HSL)
     176  if test $coin_has_metis = yes ; then
     177    AC_DEFINE(COINHSL_HAS_METIS, [1], Define to 1 if METIS is available)
     178  fi
    176179else
    177180  # do as if we had metis, so metis.f is not compiled
Note: See TracChangeset for help on using the changeset viewer.