On Tuesday 02 July 2013 21:54:17 Luca Clementi wrote:
> Regarding PKG_CHECKS_MODULE I am not too convinced (although I must
> say that I am not an expert of autoconf).
> For example Ubuntu 12.04 the system libunwind7 and libunwind7-dev do
> not include the .pc files needed by PKG_CHECKS_MODULE.

looks like they're new to the 1.1 release.  you should still default to 
checking the .pc files.  just add fallback logic to support older versions.

something like this untested snippet:
PKG_CHECK_MODULES([LIBUNWIND], [libunwind-generic],
        [CFLAGS="$CFLAGS $LIBUNWIND_CFLAGS" LIBS="$LIBS $LIBUNWIND_LIBS"],
        [... AC_CHECK_LIB fallback logic ...])
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to