modified to simultaneously check for multiple spellings of the SMACK macro