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 <bryanhundven@gmail.com>
This commit is contained in:
Bryan Hundven 2015-11-14 23:03:52 -08:00
parent 123dd3d683
commit c9f3827b91

View File

@ -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...