Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | From fc9bf1ce9f1a21150b10736a1c968d4ca6d4eaa3 Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Martin Kelly <mkelly@xevo.com> |
| 3 | Date: Fri, 7 Apr 2017 15:20:30 -0700 |
| 4 | Subject: [PATCH] configure.ac: don't use dnet-config |
| 5 | |
| 6 | The dnet-config tool doesn't know about cross-compilation, so it injects |
| 7 | -I/usr/include into the path, causing compiler errors. So instead find dnet via |
| 8 | -ldnet. |
| 9 | |
| 10 | Upstream-Status: Inappropriate [embedded specific] |
| 11 | |
| 12 | Signed-off-by: Martin Kelly <mkelly@xevo.com> |
| 13 | --- |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 14 | open-vm-tools/configure.ac | 4 ++-- |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 16 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 17 | diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac |
| 18 | index 325a39f5..713ea683 100644 |
| 19 | --- a/open-vm-tools/configure.ac |
| 20 | +++ b/open-vm-tools/configure.ac |
| 21 | @@ -949,7 +949,7 @@ if test "$with_dnet" = "yes"; then |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 22 | AC_VMW_CHECK_LIB([dnet], |
| 23 | [DNET], |
| 24 | [], |
| 25 | - [dnet-config], |
| 26 | + [], |
| 27 | [], |
| 28 | [dnet.h], |
| 29 | [intf_open], |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 30 | @@ -959,7 +959,7 @@ if test "$with_dnet" = "yes"; then |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 31 | |
| 32 | if test $have_dnet = "no"; then |
| 33 | AC_MSG_ERROR( |
| 34 | - [dnet-config was not found on your PATH. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net]) |
| 35 | + [dnet was not found. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net]) |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 36 | fi |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 37 | fi |
| 38 | |