basic support for EQC

crude support for EQC. I'll see if this can get integrated into the autotools stuff @vinoski is working on.