mirror of
https://github.com/open-simh/simh.git
synced 2026-05-05 15:43:58 +00:00
makefile: Add test for semaphore.h
This commit is contained in:
3
makefile
3
makefile
@@ -492,6 +492,9 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
|||||||
OS_CURSES_DEFS += -DHAVE_NCURSES -lncurses
|
OS_CURSES_DEFS += -DHAVE_NCURSES -lncurses
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifneq (,$(call find_include,semaphore))
|
||||||
|
OS_CCDEFS += -DHAVE_SEMAPHORE
|
||||||
|
endif
|
||||||
ifneq (,$(call find_include,dlfcn))
|
ifneq (,$(call find_include,dlfcn))
|
||||||
ifneq (,$(call find_lib,dl))
|
ifneq (,$(call find_lib,dl))
|
||||||
OS_CCDEFS += -DHAVE_DLOPEN=$(LIBEXT)
|
OS_CCDEFS += -DHAVE_DLOPEN=$(LIBEXT)
|
||||||
|
|||||||
Reference in New Issue
Block a user