(AC_PROG_SED): Don't look in

/usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
This commit is contained in:
Paul Eggert 2005-02-04 22:21:18 +00:00
parent a6a18ce195
commit 4260bd6847

View File

@ -726,13 +726,11 @@ adjust the code.])
# -----------
# Check for a fully functional sed program that truncates
# as few characters as possible. Prefer GNU sed if found.
#
# Solaris /usr/xpg4/bin/sed is suitable, but /usr/bin/sed truncates output.
AC_DEFUN([AC_PROG_SED],
[AC_CACHE_CHECK([for a sed that does not truncate output], ac_cv_path_SED,
[_AC_PATH_PROG_FEATURE_CHECK(SED, [sed gsed],
[_AC_FEATURE_CHECK_LENGTH([ac_path_SED], [ac_cv_path_SED],
["$ac_path_SED" -e 's/a$//'])], [$PATH:/usr/xpg4/bin])])
["$ac_path_SED" -e 's/a$//'])])])
SED="$ac_cv_path_SED"
AC_SUBST([SED])
])# AC_PROG_SED