libtool-patches
[Top][All Lists]
Advanced

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

[patch #7055] archive_cmds_need_lc macro check is broken (result check i


From: Gianluigi Tiesi
Subject: [patch #7055] archive_cmds_need_lc macro check is broken (result check is inverted)
Date: Mon, 04 Jan 2010 03:18:55 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6

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

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