mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 23:56:22 +00:00
Added Readline build support on more *nix platforms
This commit is contained in:
parent
5151c341a4
commit
a280dd2b1f
7
makefile
7
makefile
@ -50,6 +50,13 @@ ifeq ($(WIN32),)
|
||||
OS_CCDEFS += -DHAVE_READLINE
|
||||
OS_LDFLAGS += -lreadline
|
||||
endif
|
||||
else
|
||||
ifeq (readline_h,$(shell if $(TEST) -e /usr/include/readline/readline.h; then echo readline_h; fi))
|
||||
ifeq (Linux,$(shell uname))
|
||||
OS_CCDEFS += -DHAVE_READLINE
|
||||
OS_LDFLAGS += -lreadline
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq (pcap,$(shell if $(TEST) -e /usr/include/pcap.h -o -e /opt/sfw/include/pcap.h; then echo pcap; fi))
|
||||
# Use Locally installed and available pcap support
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user