X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=acinclude.m4;fp=acinclude.m4;h=728359ec46a30d317d70ab32ea844bc2e16a7c25;hb=8fb130b44c911531772c259c8db06cf097cf6821;hp=11154ee37bfa7ac54f6411bce7ebb6e7b8a680fb;hpb=fd43ef3ede38295240747ec306a44d7c0fb33a4a;p=pspp-builds.git diff --git a/acinclude.m4 b/acinclude.m4 index 11154ee3..728359ec 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -5,9 +5,11 @@ dnl with or without modifications, as long as this notice is preserved. dnl Prerequisites. -dnl Instead of giving an error about each prerequisite as we encounter it, -dnl group them all together at the end of the run, to be user-friendly. -AC_DEFUN([PSPP_REQUIRED_PREREQ], [pspp_required_prereqs="$pspp_required_prereqs +dnl Summarize all the missing prerequisites at the end of the run to +dnl increase user-friendliness. +AC_DEFUN([PSPP_REQUIRED_PREREQ], + [AC_MSG_WARN([You must install $1 before building PSPP.]) +pspp_required_prereqs="$pspp_required_prereqs $1"]) AC_DEFUN([PSPP_OPTIONAL_PREREQ], [pspp_optional_prereqs="$pspp_optional_prereqs $1"])