autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

[patch #7980] Make AX_BOOST_PYTHON work out of the box


From: Daniel Müllner
Subject: [patch #7980] Make AX_BOOST_PYTHON work out of the box
Date: Mon, 25 Mar 2013 19:05:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

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

                 Summary: Make AX_BOOST_PYTHON work out of the box
                 Project: GNU Autoconf Archive
            Submitted by: muellner
            Submitted on: Mon 25 Mar 2013 07:05:33 PM GMT
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 25 Mar 2013 07:05:33 PM GMT  Name: ax_boost_python.m4  Size: 4kB  
By: muellner

<http://savannah.gnu.org/patch/download.php?file_id=27685>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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