mirror of
https://github.com/simh/simh.git
synced 2026-05-01 13:56:02 +00:00
Added Readline build support on more *nix platforms
This commit is contained in:
7
makefile
7
makefile
@@ -50,6 +50,13 @@ ifeq ($(WIN32),)
|
|||||||
OS_CCDEFS += -DHAVE_READLINE
|
OS_CCDEFS += -DHAVE_READLINE
|
||||||
OS_LDFLAGS += -lreadline
|
OS_LDFLAGS += -lreadline
|
||||||
endif
|
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
|
endif
|
||||||
ifeq (pcap,$(shell if $(TEST) -e /usr/include/pcap.h -o -e /opt/sfw/include/pcap.h; then echo pcap; fi))
|
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
|
# Use Locally installed and available pcap support
|
||||||
|
|||||||
Reference in New Issue
Block a user