patchGNU Autoconf Archive - Patches: patch #7980, Make AX_BOOST_PYTHON work out of...

 
 

patch #7980: Make AX_BOOST_PYTHON work out of the box

Submitted by:  Daniel Müllner <muellner>
Submitted on:  Mon 25 Mar 2013 07:05:33 PM UTC  
 
Priority: 5 - NormalStatus: Done
Assigned to: Peter Simons <simons>Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 25 Mar 2013 10:57:38 PM UTC, comment #1:

Pushed in 7df1624efd4985e44a65566afcff68f6de58dfe1. Thank you very much for the patch!

Peter Simons <simons>
Project AdministratorIn charge of this item.
Mon 25 Mar 2013 07:05:33 PM UTC, original submission:

This is a follow up to patch #7979: it is about an independent issue, but with the changes proposed there, it is trivial to also fix the following problem:

Currently, it is necessary to supply the Python-related linker flags to AX_BOOST_PYTHON. That means, code like the following is necessary to make it work:

AX_PYTHON_DEVEL
LDFLAGS_SAVE="$LDFLAGS"
LDFLAGS=${LDFLAGS:+${LDFLAGS} }$PYTHON_LDFLAGS
AX_BOOST_PYTHON
LDFLAGS="$LDFLAGS_SAVE"

With the patch submitted here, AX_BOOST_PYTHON takes care of the temporary change to the linker flags itself. The single line

AX_BOOST_PYTHON

suffices now. The patch is backward compatible, in the sense that the first solution above still works.

Daniel Müllner <muellner>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #27685:  ax_boost_python.m4 added by muellner (4kB - application/x-m4)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Apr 2013 10:12:18 AM UTCsimonsStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Mon 25 Mar 2013 10:57:38 PM UTCsimonsStatusNone=>Ready For Test
      Assigned toNone=>simons
    Mon 25 Mar 2013 07:05:33 PM UTCmuellnerAttached File-=>Added ax_boost_python.m4, #27685

    Back to the top


    Powered by Savane 3.1-cleanup