[PATCH] Add missing undef directives in configure.ac"