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

 
 

patch #7980: Make AX_BOOST_PYTHON work out of the box

Submitter:  Daniel Müllner <muellner>
Submitted:  Mon 25 Mar 2013 07:05:33 PM UTC
   
 
Priority:  5 - Normal Status:  Done
Assigned to:  simons Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

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

Peter Simons <simons>
Group administrator
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 Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-04 simons StatusReady For Test Done
        Open/ClosedOpen Closed
    2013-03-25 simons StatusNone Ready For Test
        Assigned toNone simons
    2013-03-25 muellner Attached File- Added ax_boost_python.m4, #27685

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code