build: allow dhcpcd versions higher than 5
No reason to exclude them, just that configure.ac hasn't tracked new versions of dhcpcd.
This commit is contained in:
@@ -506,8 +506,8 @@ fi
|
||||
if test "$with_dhcpcd" = "yes"; then
|
||||
AC_PATH_PROGS(with_dhcpcd, dhcpcd, no, /sbin:/usr/sbin:/usr/local/sbin)
|
||||
if test "$with_dhcpcd" != "no"; then
|
||||
if ! $with_dhcpcd --version 2>&1 | grep -q "^dhcpcd [[45]]\."; then
|
||||
AC_MSG_WARN([Cannot use dhcpcd, version 4.x or 5.x is required])
|
||||
if ! $with_dhcpcd --version 2>&1 | grep -q "^dhcpcd [[456789]]\."; then
|
||||
AC_MSG_WARN([Cannot use dhcpcd, version 4.x or higher is required])
|
||||
with_dhcpcd=no
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user