On Fri, Sep 13, 2013 at 7:58 AM, Dmitry V. Levin <[email protected]> wrote:
> On Thu, Sep 12, 2013 at 11:03:41PM -0700, Luca Clementi wrote:
>> On Thu, Sep 12, 2013 at 8:49 AM, Dmitry V. Levin <[email protected]> wrote:

...

>>
>> AFAIK if you want to avoid the LDFLAG/LIBS variable you need add the test on:
>>         AC_CHECK_LIB([unwind], [backtrace],
>>         AC_CHECK_LIB([unwind-generic], [_U${UNWIND_ARCH}_create_addr_space],
>> I know that it is not the prettiest code ever but that's the only way
>> I could get to configure with my setup.
>
> I'd prefer configure checks to be written without these libunwind internals;
> unwind.c is using unw_create_addr_space macro, so configure check should
> do the same.
>
> I've tweaked configure.ac part of the patch and re-pushed it to ldv/unwind
> branch (commit v4.8-67-g709259c).
> Please give it a try.
>

Now it works!
Thanks for fixing it.

Luca



diff --git a/configure.ac b/configure.ac
index 7f6cd2e..65c47d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -376,7 +376,7 @@ AS_IF([test "x$with_libunwind" != xno],
              LIBS="$saved_LIBS"
             ],
             [if test "x$with_libunwind" != xcheck; then
-               AC_MSG_FAILURE([failed to find libunwind])
+               AC_MSG_FAILURE([failed to find backtrace in libunwind])
              fi
             ],
             [$libunwind_LIBS]

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to