+
+#### The following exported variables are set by "make check". Ensure
+#### that they are set here so that individual tests can be run
+#### outside of make. Requires that MH_OBJ_DIR be set on entry.
+test -z "$MH_TEST_DIR" && MH_TEST_DIR="$MH_OBJ_DIR/test/testdir"
+test -z "$prefix" && prefix=@prefix@
+test -z "$datarootdir" && datarootdir=@datarootdir@
+test -z "$exec_prefix" && exec_prefix=@exec_prefix@
+test -z "$auxexecdir" && auxexecdir="@libdir@"
+test -z "$bindir" && bindir="@bindir@"
+test -z "$mandir" && mandir="@mandir@"
+test -z "$sysconfdir" && sysconfdir="@sysconfdir@"
+export MH_TEST_DIR auxexecdir bindir mandir sysconfdir
+
+test -z "$MH_INST_DIR" && MH_INST_DIR=${MH_TEST_DIR}/inst
+export MH_INST_DIR
+
+