URL:
  <http://savannah.gnu.org/patch/?7055>

                 Summary: archive_cmds_need_lc macro check is broken (result
check is inverted)
                 Project: GNU Libtool
            Submitted by: sherpya
            Submitted on: lun 04 gen 2010 04:18:54 CET
                Category: None
                Priority: 6
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

#
# Do we need to explicitly link libc?
#

        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \"
\>/dev/null 2\>\&1)
        then
      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
        else
      _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
        fi


gets expanded to:
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds
2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
        then
      archive_cmds_need_lc=no
        else
      archive_cmds_need_lc=yes
        fi

EXIT STATUS
       Normally,  the  exit  status  is  0  if  selected lines are found and
1 otherwise.

on mingw I'm unable to produce shared dll because libtool complains about
missing -lc






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7055>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/



Reply via email to