BTW, I was able to build SDP Toolkit 5.2.16v1.00, M-API 2.3.4 (10 Mar 2003) and then MODIS Cloud Mask (MOD35_L2) and Atmospheric Profiles (MOD07_L2) on top of the hdf-eos4 and hdf-eos5 packages modified as suggested. (Albeit not without some hacking all along the way.)
So far, the programs seem to run fine. Now, I'm experimenting with MODIS L2 Land Surface Reflectance (i. e., ``no atmosphere'' reflectance.) -- FSF associate member #7257
pgpVHuU5tz8oz.pgp
Description: PGP signature