bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnulib-tool: func_emit_initmacro_end: use $SED from configure


From: skimo
Subject: [PATCH] gnulib-tool: func_emit_initmacro_end: use $SED from configure
Date: Wed, 27 Dec 2006 10:16:18 +0100

From: Sven Verdoolaege <address@hidden>

$SED from gnulib-tool was used before, but that may not be valid
on the system where configure is run.
---
 gnulib-tool |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib-tool b/gnulib-tool
index a7395d1..8e42e3a 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -1439,7 +1439,7 @@ func_emit_initmacro_end ()
   echo "    if test -n \"\$${macro_prefix}_LIBOBJS\"; then"
   echo "      # Remove the extension."
   echo "      sed_drop_objext='s/\\.o\$//;s/\\.obj\$//'"
-  echo "      for i in \`for i in \$${macro_prefix}_LIBOBJS; do echo \"\$i\"; 
done | $SED \"\$sed_drop_objext\" | sort | uniq\`; do"
+  echo "      for i in \`for i in \$${macro_prefix}_LIBOBJS; do echo \"\$i\"; 
done | \$SED \"\$sed_drop_objext\" | sort | uniq\`; do"
   echo "        ${macro_prefix}_libobjs=\"\$${macro_prefix}_libobjs 
\$i.\$ac_objext\""
   echo "        ${macro_prefix}_ltlibobjs=\"\$${macro_prefix}_ltlibobjs 
\$i.lo\""
   echo "      done"
-- 
1.4.4.2.g8336





reply via email to

[Prev in Thread] Current Thread [Next in Thread]