Date: Sat, 2 Jul 2011 18:12:45 +0200 `-lubacktrace` needs to appended to `LDFLAGS` [1] building htop 0.9 in OpenEmbedded with `minimal-uclibc` for `MACHINE = "beagleboard"`.
Using the Autoconf macro `AC_SEARCH_LIBS` [2]
AC_SEARCH_LIBS([backtrace], [execinfo ubacktrace])
searches for the function `backtrace` in the listed libraries.
PulseAudio uses something similar [3].
[1]
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=acc025bb6748ebb34020c21a04176b41e6a3dcbd
[2] http://www.gnu.org/s/hello/manual/autoconf/Libraries.html
[3]
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=ad1e0431fb42086351ccc25b3af47e84604895a1
---
1. I do not know if the checks introduced in revision 213 are still needed or
can be removed. I am sorry to not have time to test the changes.
2. Please CC me as I am not subscribed.
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0eb41ec..741aae3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@ AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h
curses.h],[:],[
missing_headers="$missing_headers $ac_header"
])
-AC_CHECK_HEADERS([execinfo.h],[:],[:])
+AC_SEARCH_LIBS([backtrace], [execinfo ubacktrace])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
--
1.7.5.4
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ htop-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/htop-general
