From b32d497cafb846c4d5954a9b10f39ad1767579d0 Mon Sep 17 00:00:00 2001 From: korbb Date: Sat, 6 Sep 2008 19:57:26 +0000 Subject: fix glibc_mutex_init fix git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140071 138bc75d-0d04-0410-961f-82ee72b054a4 --- fixincludes/fixincl.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'fixincludes/fixincl.tpl') diff --git a/fixincludes/fixincl.tpl b/fixincludes/fixincl.tpl index af92d15c8d9..c8d4b2ce145 100644 --- a/fixincludes/fixincl.tpl +++ b/fixincludes/fixincl.tpl @@ -35,6 +35,10 @@ x=fixincl.x =] * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ +#ifndef SED_PROGRAM +#define SED_PROGRAM "/usr/bin/sed" +#endif +static char const sed_cmd_z[] = SED_PROGRAM; [= FOR fix =] @@ -165,7 +169,7 @@ static tTestDesc a[=(. Hack)=]Tests[] = {[= * Fix Command Arguments for [=(. Hack)=] */ static const char* apz[=(. Hack)=]Patch[] = {[= - IF (exist? "sed")=] "sed"[= + IF (exist? "sed")=] sed_cmd_z[= FOR sed=], "-e", [=(kr-string (get "sed"))=][= ENDFOR sed=],[= -- cgit v1.2.1