blob: 5c9ed92b80b1dd8246140a86d19896950008620a [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From 7dd40db6606c3b3559365a03944cb99aee5ceabc Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Thu, 4 Apr 2013 12:57:58 +0200
4Subject: [PATCH] don't try to run /sbin/dhclient to get the version number,
5 this break cross-compiling
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Upstream-Status: Inappropriate [build system specific]
11
12Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
13---
14 configure.ac | 6 ------
15 1 files changed, 0 insertions(+), 6 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index cc66e9b..7163287 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -488,12 +488,6 @@ AS_IF([test -z "$with_dhcpcd"], with_dhcpcd=yes)
22 # Search and check the executables
23 if test "$with_dhclient" = "yes"; then
24 AC_PATH_PROGS(with_dhclient, dhclient, no, /sbin:/usr/sbin:/usr/local/sbin)
25- if test "$with_dhclient" != "no"; then
26- if ! $with_dhclient --version 2>&1 | grep -q "^isc-dhclient-4\."; then
27- AC_MSG_WARN([Cannot use dhclient, version 4.x is required])
28- with_dhclient=no
29- fi
30- fi
31 fi
32 if test "$with_dhcpcd" = "yes"; then
33 AC_PATH_PROGS(with_dhcpcd, dhcpcd, no, /sbin:/usr/sbin:/usr/local/sbin)
34--
351.7.6.5
36