From: Paul Eggert Date: Fri, 4 Feb 2005 22:21:18 +0000 (+0000) Subject: (AC_PROG_SED): Don't look in X-Git-Tag: AUTOCONF-2.59c~464 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4260bd6847cb3108b7e30cde2002fa400b9c7552;p=thirdparty%2Fautoconf.git (AC_PROG_SED): Don't look in /usr/xpg4/bin since that sed dumps core (at least on Solaris 8). --- diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 05d3742e7..3a881baaf 100644 --- a/lib/autoconf/programs.m4 +++ b/lib/autoconf/programs.m4 @@ -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