set DISTCHECK_CONFIGURE flags in Makefile.am instead of configure.ac