1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 11:55:43 +00:00

SCP: Add PCRE version to SHOW VERSION output

This commit is contained in:
Mark Pizzolato
2018-04-08 17:13:54 -07:00
parent 1d22b488a9
commit 114a29bc2f
3 changed files with 6 additions and 5 deletions

View File

@@ -453,11 +453,11 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
endif
endif
# Find available RegEx library. Prefer libpcreposix.
ifneq (,$(call find_include,pcreposix))
ifneq (,$(call find_lib,pcreposix))
ifneq (,$(and $(call find_include,pcreposix),$(call find_include,pcre)))
ifneq (,$(and $(call find_lib,pcreposix),$(call find_lib,pcre)))
OS_CCDEFS += -DHAVE_PCREPOSIX_H
OS_LDFLAGS += -lpcreposix
$(info using libpcreposix: $(call find_lib,pcreposix) $(call find_include,pcreposix))
OS_LDFLAGS += -lpcreposix -lpcre
$(info using libpcreposix: $(call find_lib,pcreposix) $(call find_lib,pcre) $(call find_include,pcreposix) $(call find_include,pcre))
ifeq ($(LD_SEARCH_NEEDED),$(call need_search,pcreposix))
OS_LDFLAGS += -L$(dir $(call find_lib,pcreposix))
endif