changeset 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 8d0795fedf4a
children 66c8e8252d85
files ChangeLog aclocal.m4
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-08-04  John W. Eaton  <jwe@octave.org>
 
+	* aclocal.m4: Fail if no usable version of sed is found.
+
 	* Makefile.in (header-msg): Mention GNU Make requirement.
 	Update GCC version info.
 
--- 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])