[Buildroot] Add Package: htop

Mike Frysinger vapier at gentoo.org
Mon Mar 28 16:18:22 UTC 2011


On Mon, Mar 28, 2011 at 12:02 PM, Andy Kennedy wrote:
> Adds package htop.  Changes made based upon e-mails with Mike Frysinger
> and Gerhard Heift.  The autoreconf change is important for anyone using
> uClibc as there is no widely available backtrace (yet).

this ver looks mostly sane ...

> ++AC_CHECK_HEADERS([execinfo.h],[:],[:])

no need for munging the other branches
  AC_CHECK_HEADERS([execinfo.h])

> ++if test "$cross_compiling" = "no"; then
> + AC_CHECK_FILE($PROCDIR/stat,,AC_MSG_ERROR(Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.))
> + AC_CHECK_FILE($PROCDIR/meminfo,,AC_MSG_ERROR(Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help.))
> ++fi

AC_CHECK_FILE has fallback cases for cross-compiling i thought, so you
shouldnt need to check cross_compiling yourself
-mike



More information about the buildroot mailing list