From 2214804976565fae6266bdd53466504dff8d11c1 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 31 Oct 2022 12:01:39 -1000 Subject: [PATCH] makefile: Clarify advice when libpcap is needed but not found. --- makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/makefile b/makefile index e4bd2e5c..bcbbae6d 100644 --- a/makefile +++ b/makefile @@ -921,14 +921,12 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin) $(info *** Warning *** libpcap networking support) $(info *** Warning ***) $(info *** Warning *** To build simulator(s) with libpcap networking support you) - ifneq (,$(and $(findstring Linux,$(OSTYPE)),$(call find_exe,apt-get))) - $(info *** Warning *** should install the libpcap development components for) - $(info *** Warning *** for your Linux system:) - $(info *** Warning *** $$ sudo apt-get install libpcap-dev) - else - $(info *** Warning *** should read 0readme_ethernet.txt and follow the instructions) + $(info *** Warning *** should install the libpcap development components for) + $(info *** Warning *** for your $(OSNAME) system.) + ifeq (,$(or $(findstring Linux,$(OSTYPE)),$(findstring OSX,$(OSNAME)))) + $(info *** Warning *** You should read 0readme_ethernet.txt and follow the instructions) $(info *** Warning *** regarding the needed libpcap development components for your) - $(info *** Warning *** $(OSTYPE) platform) + $(info *** Warning *** $(OSNAME) platform.) endif $(info *** Warning ***) endif