patchGNU tar - Patches: patch #8183, configure.ac: look for...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #8183: configure.ac: look for host-prefixed ar

Submitted by:  Benedikt Morbach <bmorbach>
Submitted on:  Thu 19 Sep 2013 11:22:15 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Sergey Poznyakoff <gray>Open/Closed: Closed

Wed 12 Feb 2014 01:14:24 PM UTC, comment #3:

I applied it. Thanks!

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Fri 24 Jan 2014 09:54:25 AM UTC, comment #2:

I only hit this with ar.
We actually only have the host-prefixed tools, so the others should be fine.

About AC_SUBST: I just wanted to keep the patch small. Why use two lines if it can be done in one.
Feel free to amend though, if you prefer
AC_CHECK_TOOL([AR], [ar])
AC_SUBST([AR])

Benedikt Morbach <bmorbach>
Thu 09 Jan 2014 04:24:36 PM UTC, comment #1:

Is it needed only for ar? What about other bintools (ld, etc)? Also, what is wrong in using AC_SUBST?

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Thu 19 Sep 2013 11:22:15 AM UTC, original submission:

This patch changes configure.ac to look for '${host}-ar' before looking for the unprefixed 'ar'.
This id useful when cross-compiling when all your binutils are prefixed.
I used AC_CHECK_TOOLS instead of AC_CHECK_TOOL, since autoconf docs say that the former calls AC_SUBST

Benedikt Morbach <bmorbach>

 

Attached Files
file #29176:  tar-1.26-look-for-host-prefixed-ar.patch added by bmorbach (828B - text/x-patch - the patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Posted a comment)
  • -unavailable- added by bmorbach (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 12 Feb 2014 01:14:24 PM UTCgrayStatusNeed Info=>Done
      Open/ClosedOpen=>Closed
      Discussion LockUnlocked=>Locked
    Thu 09 Jan 2014 04:24:36 PM UTCgrayStatusNone=>Need Info
      Assigned toNone=>gray
    Thu 19 Sep 2013 11:22:16 AM UTCbmorbachAttached File-=>Added tar-1.26-look-for-host-prefixed-ar.patch, #29176

    Back to the top


    Powered by Savane 3.1-cleanup