Ignore:
Timestamp:
May 2, 2011 2:28:30 PM (8 years ago)
Author:
lou
Message:

Add checks to configure.ac for zlib and the math, float, and ieeefp headers.
The COIN_HAS_ZLIB symbol is needed to enable the code that attempts to read
gzip'd files. The headers will be required once someone gets around to
cleaning up includes; the current code makes too many assumptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure.ac

    r1578 r1646  
    7575AC_COIN_CHECK_PACKAGE(Netlib,   [coindatanetlib])
    7676AC_COIN_CHECK_PACKAGE(Miplib3,  [coindatamiplib3])
     77
     78# Cbc really should make these tests; right now it assumes far too much about
     79# its environment. Needed for cbc-generic.
     80
     81AC_COIN_CHECK_CXX_CHEADER(math)
     82AC_COIN_CHECK_CXX_CHEADER(float)
     83AC_COIN_CHECK_CXX_CHEADER(ieeefp)
     84
     85# And this is necessary if we're going to read gzip'd files. We just need the
     86# symbol; no need to link in the library.
     87
     88AC_COIN_CHECK_GNU_ZLIB()
    7789
    7890#############################################################################
Note: See TracChangeset for help on using the changeset viewer.