remove DO_AUTOCHDIR
remove MB_{IS,TO}{UPPER,LOWER}
remove pchar from macros.h
remove reference to BROKEN_TOUPPER