mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Merge "third_party/Makefile.rules: Replace unsupported != operator with $(shell ...)" into 13
This commit is contained in:
29
third-party/Makefile.rules
vendored
29
third-party/Makefile.rules
vendored
@@ -1,25 +1,24 @@
|
||||
|
||||
ifeq ($(NOISY_BUILD),)
|
||||
SUBMAKE?=$(MAKE) --quiet --no-print-directory
|
||||
ECHO_PREFIX?=@
|
||||
CMD_PREFIX?=@
|
||||
QUIET_CONFIGURE=-q
|
||||
REALLY_QUIET=&>/dev/null
|
||||
SUBMAKE?=$(MAKE) --quiet --no-print-directory
|
||||
ECHO_PREFIX?=@
|
||||
CMD_PREFIX?=@
|
||||
QUIET_CONFIGURE=-q
|
||||
REALLY_QUIET=&>/dev/null
|
||||
else
|
||||
SUBMAKE?=$(MAKE)
|
||||
ECHO_PREFIX?=@\#
|
||||
CMD_PREFIX?=
|
||||
QUIET_CONFIGURE=
|
||||
REALLY_QUIET=
|
||||
SUBMAKE?=$(MAKE)
|
||||
ECHO_PREFIX?=@\#
|
||||
CMD_PREFIX?=
|
||||
QUIET_CONFIGURE=
|
||||
REALLY_QUIET=
|
||||
endif
|
||||
|
||||
DOWNLOAD :=
|
||||
DOWNLOAD != which wget 2>/dev/null
|
||||
DOWNLOAD:=$(if $(DOWNLOAD),$(DOWNLOAD) -O- ,)
|
||||
DOWNLOAD := $(shell which wget 2>/dev/null)
|
||||
DOWNLOAD := $(if $(DOWNLOAD),$(DOWNLOAD) -O- ,)
|
||||
|
||||
ifeq ($(DOWNLOAD),)
|
||||
DOWNLOAD != which curl 2>/dev/null
|
||||
DOWNLOAD:=$(if $(DOWNLOAD), $(DOWNLOAD) -L ,)
|
||||
DOWNLOAD := $(shell which curl 2>/dev/null)
|
||||
DOWNLOAD := $(if $(DOWNLOAD), $(DOWNLOAD) -L ,)
|
||||
endif
|
||||
|
||||
ifeq ($(DOWNLOAD),)
|
||||
|
Reference in New Issue
Block a user