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 |
997d4384cec4 |
children |
c0d7eb662384 |
files |
ChangeLog aclocal.m4 |
diffstat |
2 files changed, 5 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/ChangeLog Mon Aug 04 14:27:36 2008 -0400
+++ b/ChangeLog Mon Aug 04 14:33:38 2008 -0400
@@ -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 Mon Aug 04 14:27:36 2008 -0400
+++ b/aclocal.m4 Mon Aug 04 14:33:38 2008 -0400
@@ -799,6 +799,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])