When cross compiling, the configure script fails due to not being able
to validate the existence of /proc.  This should be disabled during
cross compile.:

Signed-off-by:  Andy Kennedy <[email protected]>
---
diff -Naur a/configure b/configure
--- a/configure 2010-11-23 10:33:53.000000000 -0600
+++ b/configure 2011-03-22 09:52:46.000000000 -0500
@@ -13605,6 +13605,7 @@



+if test "$cross_compiling" = no ; then
 as_ac_File=`echo "ac_cv_file_$PROCDIR/stat" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for $PROCDIR/stat" >&5
 echo $ECHO_N "checking for $PROCDIR/stat... $ECHO_C" >&6; }
@@ -13658,6 +13659,7 @@
 echo "$as_me: error: Cannot find /proc/meminfo. Make sure you have a 
Linux-compatible /proc filesystem mounted. See the file README for help." >&2;}
    { (exit 1); exit 1; }; }
 fi
+fi #cross_compiling = no (Andy Kennedy)


 # Check whether --enable-plpa was given.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
htop-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htop-general

Reply via email to