mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 04:50:07 +01:00
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:
parent
c370c04fee
commit
89512ec5c4
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue