From: Taylor R Campbell Date: Sat, 17 Apr 2010 05:25:45 +0000 (-0400) Subject: If native code is enabled, check for m4 in microcode/configure. X-Git-Tag: 20100708-Gtk~73 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=3a90241189112af13937c37e9f94363e6c7708ef;p=mit-scheme.git If native code is enabled, check for m4 in microcode/configure. --- 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"