summaryrefslogtreecommitdiff
path: root/net-p2p/rtorrent/files/rtorrent-0.15.5-find_grep.patch
blob: b7db8574791028e094d5252613b9238f5efed10d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://github.com/rakshasa/rtorrent/commit/dd8281204f5365f0f6987f989e71208d3c218289
from upstream
configure fails with slibtool because it doesn't define GREP
--- a/scripts/common.m4
+++ b/scripts/common.m4
@@ -23,6 +23,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
 
 AC_DEFUN([TORRENT_REMOVE_UNWANTED],
 [
+  AC_REQUIRE([AC_PROG_GREP])
   values_to_check=`for i in $2; do echo $i; done`
   unwanted_values=`for i in $3; do echo $i; done`
   if test -z "${unwanted_values}"; then