John R. Cary wrote:
> Brad King wrote:
>> John, how do autotools detect this?
> 
> hdf5par=`grep "HAVE_PARALLEL 1" $HDF5_INCDIR/H5config.h`
> 
> I suppose there are other ways, but we have been doing this through
> several versions of hdf5.

Great, thanks John.

Will, you should be able to use the file(STRINGS) command
to grep through H5config.h after finding it.

-Brad
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to