If native code is enabled, check for m4 in microcode/configure.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 17 Apr 2010 05:25:45 +0000 (01:25 -0400)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 17 Apr 2010 05:25:45 +0000 (01:25 -0400)
src/microcode/configure.ac

index 6d08886c092f9d6c6fa42bbb904c81806db6d6ed..c168297c94904d66cd099a05603537b97ba26ce0 100644 (file)
@@ -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"