packages/admin/htop/patches/001_remove_proc_check.patch
pavlov fceeda182d htop 0.6.6 and refreshed patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 15:46:39 +00:00

68 lines
2.6 KiB
Diff

Index: htop-0.6.6/configure
===================================================================
--- htop-0.6.6.orig/configure 2007-09-20 10:45:31.000000000 -0500
+++ htop-0.6.6/configure 2007-09-20 10:45:31.000000000 -0500
@@ -6207,62 +6207,6 @@
fi
-
-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; }
-if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- test "$cross_compiling" = yes &&
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
- { (exit 1); exit 1; }; }
-if test -r "$PROCDIR/stat"; then
- eval "$as_ac_File=yes"
-else
- eval "$as_ac_File=no"
-fi
-fi
-ac_res=`eval echo '${'$as_ac_File'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_File'}'` = yes; then
- :
-else
- { { 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
-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;}
- { (exit 1); exit 1; }; }
-fi
-
-as_ac_File=`echo "ac_cv_file_$PROCDIR/meminfo" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $PROCDIR/meminfo" >&5
-echo $ECHO_N "checking for $PROCDIR/meminfo... $ECHO_C" >&6; }
-if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- test "$cross_compiling" = yes &&
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
- { (exit 1); exit 1; }; }
-if test -r "$PROCDIR/meminfo"; then
- eval "$as_ac_File=yes"
-else
- eval "$as_ac_File=no"
-fi
-fi
-ac_res=`eval echo '${'$as_ac_File'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_File'}'` = yes; then
- :
-else
- { { 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
-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
-
-
ac_config_files="$ac_config_files Makefile"
cat >confcache <<\_ACEOF