+2003-03-16 Charles Wilson <cwilson@ece.gatech.edu>
+
+ * ltmain.in (win32_libid): use $SED, not head.
+
2003-03-02 Alexandre Oliva <aoliva@redhat.com>
* libtool.m4 (AC_PROG_LD): Use $CC instead of GCC.
win32_libid_type="x86 archive import"
;;
*ar\ archive*) # could be an import, or static
- if eval $OBJDUMP -f $1 | head -n 10 2>/dev/null | \
+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
grep -E '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;}}'`