/[libtool]/libtool/ltmain.in
ViewVC logotype

Diff of /libtool/ltmain.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.334.2.88 by pekberg, Wed Sep 21 12:47:54 2005 UTC revision 1.334.2.89 by rwild, Sun Sep 25 07:37:09 2005 UTC
# Line 157  func_win32_libid () Line 157  func_win32_libid ()
157      if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \      if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
158        $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then        $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
159        win32_nmres=`eval $NM -f posix -A $1 | \        win32_nmres=`eval $NM -f posix -A $1 | \
160          sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`          sed -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
161        if test "X$win32_nmres" = "Ximport" ; then        case $win32_nmres in
162          win32_libid_type="x86 archive import"        import*)  win32_libid_type="x86 archive import";;
163        else        *)        win32_libid_type="x86 archive static";;
164          win32_libid_type="x86 archive static"        esac
       fi  
165      fi      fi
166      ;;      ;;
167    *DLL*)    *DLL*)
# Line 1479  EOF Line 1478  EOF
1478        -l*)        -l*)
1479          if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then          if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
1480            case $host in            case $host in
1481            *-*-cygwin* | *-*-pw32* | *-*-beos*)            *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*)
1482              # These systems don't actually have a C or math library (as such)              # These systems don't actually have a C or math library (as such)
1483              continue              continue
1484              ;;              ;;
1485            *-*-mingw* | *-*-os2*)            *-*-os2*)
1486              # These systems don't actually have a C library (as such)              # These systems don't actually have a C library (as such)
1487              test "X$arg" = "X-lc" && continue              test "X$arg" = "X-lc" && continue
1488              ;;              ;;

Legend:
Removed from v.1.334.2.88  
changed lines
  Added in v.1.334.2.89

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26