Use AS_IF instead of if.