#if !defined(BOOTLOADER_SUPPORT) && !defined(TEENSY_SUPPORT) 

is not the same as 

ifdef(`conf_BOOTLOADER', `', `ifdef(`conf_TEENSY'.....)