|
From: <sv...@va...> - 2009-04-04 14:37:03
|
Author: bart
Date: 2009-04-04 15:36:51 +0100 (Sat, 04 Apr 2009)
New Revision: 9515
Log:
Fixed bug #188046: replaced a bashism by a POSIX compliant shell statement.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2009-04-04 10:21:19 UTC (rev 9514)
+++ trunk/configure.in 2009-04-04 14:36:51 UTC (rev 9515)
@@ -67,7 +67,7 @@
# 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])
|