diff aclocal.m4 @ 11798:bc2ead6b4d6c release-3-0-x

aclocal.m4 (OCTAVE_PROG_SED): fail if no usable sed is found
author John W. Eaton <jwe@octave.org>
date Mon, 04 Aug 2008 14:33:38 -0400
parents 5a9561046b89
children
line wrap: on
line diff
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -885,6 +885,9 @@
     rm -rf "$tmp"
   ])
   SED=$octave_cv_path_sed
+  if test -z "$SED"; then
+    AC_MSG_ERROR([no usable version of sed found])
+  fi
 fi
 AC_SUBST(SED)
 AC_MSG_RESULT([$SED])