From 3a90241189112af13937c37e9f94363e6c7708ef Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 17 Apr 2010 01:25:45 -0400 Subject: [PATCH] If native code is enabled, check for m4 in microcode/configure. --- src/microcode/configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index 6d08886c0..c168297c9 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -993,6 +993,10 @@ svm1) OPTIONAL_BASES="${OPTIONAL_BASES} svm1-interp" ;; *) + AC_CHECK_PROG([M4], [m4], [m4]) + if test "x${M4}" != xm4; then + AC_ERROR([m4 not found]) + fi AC_CONFIG_LINKS([cmpauxmd.m4:cmpauxmd/${mit_scheme_native_code}.m4]) OPTIONAL_SOURCES="${OPTIONAL_SOURCES} cmpauxmd.m4" OPTIONAL_OBJECTS="${OPTIONAL_OBJECTS} cmpauxmd.o" -- 2.25.1