From 333c6c18f8b22235d70b98647499a434c16baf61 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 4 Apr 2009 14:36:51 +0000 Subject: [PATCH] Fixed bug #188046: replaced a bashism by a POSIX compliant shell statement. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9515 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 59f4f2d930..91ed9767c5 100644 --- a/configure.in +++ b/configure.in @@ -67,7 +67,7 @@ AC_PROG_RANLIB # If no AR variable was specified, look up the name of the archiver. Otherwise # do not touch the AR variable. if test "x$AR" = "x"; then - AC_PATH_PROGS([AR], ["${LD%ld}ar" "ar"], [ar]) + AC_PATH_PROGS([AR], [`echo $LD | sed 's/ld$/ar/'` "ar"], [ar]) fi AC_ARG_VAR([AR],[Archiver command]) -- 2.47.3