mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-16 18:06:31 +00:00
?= just checks to see if a variable is not yet defined. If MENUSELECT_CFLAGS
was not found in the user level makeopts file, the variable is defined, but empty. I wish we could just require GNU make 3.81 :) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
Makefile
4
Makefile
@@ -134,7 +134,9 @@ OTHER_SUBDIR_CFLAGS=-I../include -I..
|
||||
|
||||
ifeq ($(origin MENUSELECT_CFLAGS),undefined)
|
||||
MENUSELECT_CFLAGS:=$(shell grep MENUSELECT_CFLAGS $(USER_MAKEOPTS) .)
|
||||
MENUSELECT_CFLAGS?=$(shell grep MENUSELECT_CFLAGS $(GLOBAL_MAKEOPTS) .)
|
||||
ifeq ($(MENUSELECT_CFLAGS),)
|
||||
MENUSELECT_CFLAGS:=$(shell grep MENUSELECT_CFLAGS $(GLOBAL_MAKEOPTS) .)
|
||||
endif
|
||||
ifneq ($(MENUSELECT_CFLAGS),)
|
||||
MENUSELECT_CFLAGS:=$(shell echo $(MENUSELECT_CFLAGS) | cut -f2 -d'=')
|
||||
endif
|
||||
|
Reference in New Issue
Block a user