[MOAB-dev] MOAB on MacOS X

Jason Kraftcheck kraftche at cae.wisc.edu
Tue Jun 10 12:03:51 CDT 2008


David C Thompson wrote:
>>> I decided to try MOAB on my MacOS X machine and it
>>> almost builds... except for the fact that errmem.h (both
>>> copies of it -- in parallel and tools/mbcoupler) includes
>>> malloc.h which isn't present on Darwin. What's the "MOAB
>>> way" to detect header files and select which ones get
>>> included?
>> GNU autoconf (http://www.gnu.org/software/autoconf/)
> 
> I'm sorry, perhaps I wasn't clear; while that says how to detect header
> files, it appears that MOAB doesn't use the config.h generated
> by ./configure. Does MOAB have a way to preserve information about which
> header files are present on a system for client programs to use, or is
> the philosophy to avoid including any platform-specific headers?
> 

The later when possible.  Otherwise there are headers other than config.h
(that will not conflict with every other libraries config.h when used by an
application) that are generated by the configure script.

- jason




More information about the moab-dev mailing list