From c9f3827b91014a416d854b0de8146df1727a3912 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sat, 14 Nov 2015 23:03:52 -0800 Subject: [PATCH] configure: fix search for gpatch for FreeBSD We require GNU/patch, and when we install patch with `pkg`, crosstool-ng still only finds the BSD/patch in /usr/bin/patch. This commit fixes that and searches for gpatch first. Signed-off-by: Bryan Hundven --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9c8c09847..f5c5e1091 100644 --- a/configure.ac +++ b/configure.ac @@ -176,7 +176,7 @@ ACX_CHECK_PROGS_REQ([help2man], [help2man]) #-------------------------------------------------------------------- # Still boring, but remember the path, now... #-------------------------------------------------------------------- -ACX_PATH_PROGS_REQ([PATCH], [patch]) +ACX_PATH_TOOL_REQ([PATCH], [gpatch patch]) #-------------------------------------------------------------------- # And a bunch of less boring tests...