update lcd4linux to the latest svn version Signed-off-by: Michael Vogt <michu at...
[openwrt/svn-archive/archive.git] / admin / htop / patches / 001_remove_proc_check.patch
1 Index: htop-0.7/configure
2 ===================================================================
3 --- htop-0.7.orig/configure 2008-05-07 20:52:47.000000000 +0200
4 +++ htop-0.7/configure 2008-05-07 20:52:47.000000000 +0200
5 @@ -5844,61 +5844,6 @@
6
7 fi
8
9 -as_ac_File=`echo "ac_cv_file_$PROCDIR/stat" | $as_tr_sh`
10 -{ echo "$as_me:$LINENO: checking for $PROCDIR/stat" >&5
11 -echo $ECHO_N "checking for $PROCDIR/stat... $ECHO_C" >&6; }
12 -if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
13 - echo $ECHO_N "(cached) $ECHO_C" >&6
14 -else
15 - test "$cross_compiling" = yes &&
16 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
17 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
18 - { (exit 1); exit 1; }; }
19 -if test -r "$PROCDIR/stat"; then
20 - eval "$as_ac_File=yes"
21 -else
22 - eval "$as_ac_File=no"
23 -fi
24 -fi
25 -ac_res=`eval echo '${'$as_ac_File'}'`
26 - { echo "$as_me:$LINENO: result: $ac_res" >&5
27 -echo "${ECHO_T}$ac_res" >&6; }
28 -if test `eval echo '${'$as_ac_File'}'` = yes; then
29 - :
30 -else
31 - { { echo "$as_me:$LINENO: error: Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help." >&5
32 -echo "$as_me: error: Cannot find /proc/stat. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help." >&2;}
33 - { (exit 1); exit 1; }; }
34 -fi
35 -
36 -as_ac_File=`echo "ac_cv_file_$PROCDIR/meminfo" | $as_tr_sh`
37 -{ echo "$as_me:$LINENO: checking for $PROCDIR/meminfo" >&5
38 -echo $ECHO_N "checking for $PROCDIR/meminfo... $ECHO_C" >&6; }
39 -if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
40 - echo $ECHO_N "(cached) $ECHO_C" >&6
41 -else
42 - test "$cross_compiling" = yes &&
43 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
44 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
45 - { (exit 1); exit 1; }; }
46 -if test -r "$PROCDIR/meminfo"; then
47 - eval "$as_ac_File=yes"
48 -else
49 - eval "$as_ac_File=no"
50 -fi
51 -fi
52 -ac_res=`eval echo '${'$as_ac_File'}'`
53 - { echo "$as_me:$LINENO: result: $ac_res" >&5
54 -echo "${ECHO_T}$ac_res" >&6; }
55 -if test `eval echo '${'$as_ac_File'}'` = yes; then
56 - :
57 -else
58 - { { echo "$as_me:$LINENO: error: Cannot find /proc/meminfo. Make sure you have a Linux-compatible /proc filesystem mounted. See the file README for help." >&5
59 -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;}
60 - { (exit 1); exit 1; }; }
61 -fi
62 -
63 -
64 ac_config_files="$ac_config_files Makefile"
65
66 cat >confcache <<\_ACEOF