mirror of
git://git.sv.gnu.org/autoconf
synced 2024-12-15 02:20:10 +08:00
(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:
parent
a6a18ce195
commit
4260bd6847
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user