1
0
mirror of https://github.com/simh/simh.git synced 2026-03-02 17:55:17 +00:00

makefile: Clarify advice when libpcap is needed but not found.

This commit is contained in:
Mark Pizzolato
2022-10-31 12:01:39 -10:00
parent 04f6217c22
commit 2214804976

View File

@@ -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