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