add wxBase framework library
[openwrt/svn-archive/archive.git] / admin / htop / patches / 001_remove_proc_check.patch
1 Index: htop-0.6.6/configure
2 ===================================================================
3 --- htop-0.6.6.orig/configure 2007-09-20 10:45:31.000000000 -0500
4 +++ htop-0.6.6/configure 2007-09-20 10:45:31.000000000 -0500
5 @@ -6207,62 +6207,6 @@
6
7 fi
8
9 -
10 -as_ac_File=`echo "ac_cv_file_$PROCDIR/stat" | $as_tr_sh`
11 -{ echo "$as_me:$LINENO: checking for $PROCDIR/stat" >&5
12 -echo $ECHO_N "checking for $PROCDIR/stat... $ECHO_C" >&6; }
13 -if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
14 - echo $ECHO_N "(cached) $ECHO_C" >&6
15 -else
16 - test "$cross_compiling" = yes &&
17 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
18 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
19 - { (exit 1); exit 1; }; }
20 -if test -r "$PROCDIR/stat"; then
21 - eval "$as_ac_File=yes"
22 -else
23 - eval "$as_ac_File=no"
24 -fi
25 -fi
26 -ac_res=`eval echo '${'$as_ac_File'}'`
27 - { echo "$as_me:$LINENO: result: $ac_res" >&5
28 -echo "${ECHO_T}$ac_res" >&6; }
29 -if test `eval echo '${'$as_ac_File'}'` = yes; then
30 - :
31 -else
32 - { { 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
33 -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;}
34 - { (exit 1); exit 1; }; }
35 -fi
36 -
37 -as_ac_File=`echo "ac_cv_file_$PROCDIR/meminfo" | $as_tr_sh`
38 -{ echo "$as_me:$LINENO: checking for $PROCDIR/meminfo" >&5
39 -echo $ECHO_N "checking for $PROCDIR/meminfo... $ECHO_C" >&6; }
40 -if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
41 - echo $ECHO_N "(cached) $ECHO_C" >&6
42 -else
43 - test "$cross_compiling" = yes &&
44 - { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
45 -echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
46 - { (exit 1); exit 1; }; }
47 -if test -r "$PROCDIR/meminfo"; then
48 - eval "$as_ac_File=yes"
49 -else
50 - eval "$as_ac_File=no"
51 -fi
52 -fi
53 -ac_res=`eval echo '${'$as_ac_File'}'`
54 - { echo "$as_me:$LINENO: result: $ac_res" >&5
55 -echo "${ECHO_T}$ac_res" >&6; }
56 -if test `eval echo '${'$as_ac_File'}'` = yes; then
57 - :
58 -else
59 - { { 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
60 -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;}
61 - { (exit 1); exit 1; }; }
62 -fi
63 -
64 -
65 ac_config_files="$ac_config_files Makefile"
66
67 cat >confcache <<\_ACEOF