libtool-patches
[Top][All Lists]
Advanced

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

Replace grep -E with $EGREP in win32_libid()


From: Albert Chin
Subject: Replace grep -E with $EGREP in win32_libid()
Date: Thu, 22 Jan 2004 01:56:11 -0600
User-agent: Mutt/1.4i

"grep -E" in win32_libid() should be $EGREP. This change is untested.

2004-01-22  Albert Chin-A-Young  <address@hidden>

        * ltmain.in (win32_libid): Change "grep -E" in win32_libid()
        to $EGREP.

-- 
albert chin (address@hidden)

-- snip snip
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.368
diff -u -3 -p -r1.368 ltmain.in
--- ltmain.in   19 Jan 2004 04:57:26 -0000      1.368
+++ ltmain.in   22 Jan 2004 07:53:16 -0000
@@ -131,7 +131,7 @@ win32_libid () {
     ;;
   *ar\ archive*) # could be an import, or static
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
-      grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
+      $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
       win32_nmres=`eval $NM -f posix -A $1 | \
        sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
       if test "X$win32_nmres" = "Ximport" ; then




reply via email to

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