]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Buildbot pointed out an error (thanks, buildbot!)
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 25 Jan 2010 05:42:22 +0000 (05:42 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 25 Jan 2010 05:42:22 +0000 (05:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@242728 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile
pbx/Makefile

index a1e6a2f4126afe817cf51c99d487ef2ce5699562..dd90f7f3dd0c37b80cd8f349448777bf28a261cc 100644 (file)
@@ -95,21 +95,21 @@ editline/libedit.a:
 db1-ast/libdb1.a:
        _ASTCFLAGS="$(_ASTCFLAGS)" ASTCFLAGS="$(ASTCFLAGS) -Wno-strict-aliasing" $(MAKE) -C db1-ast libdb1.a
 
-ifneq ($(BISON),)
+ifneq ($(BISON),:)
 ast_expr2.c ast_expr2.h: ast_expr2.y
 else
 ast_expr2.c ast_expr2.h:
 endif
        $(ECHO_PREFIX) echo "   [BISON] $< -> $@"
-       $(CMD_PREFIX) bison -o $@ -d --name-prefix=ast_yy ast_expr2.y
+       $(CMD_PREFIX) $(BISON) -o $@ -d --name-prefix=ast_yy ast_expr2.y
 
-ifneq ($(FLEX),)
+ifneq ($(FLEX),:)
 ast_expr2f.c: ast_expr2.fl
 else
 ast_expr2f.c:
 endif
        $(ECHO_PREFIX) echo "   [FLEX] $< -> $@"
-       $(CMD_PREFIX) flex -o $@ ast_expr2.fl # moved the correction of yyfree into the flex input file itself.
+       $(CMD_PREFIX) $(FLEX) -o $@ ast_expr2.fl # moved the correction of yyfree into the flex input file itself.
        $(CMD_PREFIX) sed 's@#if __STDC_VERSION__ >= 199901L@#if !defined __STDC_VERSION__ || __STDC_VERSION__ >= 199901L@' ast_expr2f.c > zz
        $(CMD_PREFIX) mv zz ast_expr2f.c
 
index a1a8aaa04307918bef65e6308e3652c97a4d9243..a494de3829ee0bd56405477088244503a8292de6 100644 (file)
@@ -44,22 +44,22 @@ ael/ael.tab.o ael/ael_lex.o: _ASTCFLAGS+=$(MENUSELECT_OPTS_pbx_ael:%=-D%) $(fore
 
 $(if $(filter pbx_ael,$(EMBEDDED_MODS)),modules.link,pbx_ael.so): ael/ael.tab.o ael/ael_lex.o
 
-ifneq ($(FLEX),)
+ifneq ($(FLEX),:)
 ael/ael_lex.c: ael/ael.flex
 else
 ael/ael_lex.c:
 endif
        $(ECHO_PREFIX) echo "   [FLEX] $< -> $@"
-       $(CMD_PREFIX) (cd ael; flex ael.flex; sed -i -e "/begin standard C headers/i#include \"asterisk.h\"" ael_lex.c)
+       $(CMD_PREFIX) (cd ael; $(FLEX) ael.flex; sed -i -e "/begin standard C headers/i#include \"asterisk.h\"" ael_lex.c)
        $(CMD_PREFIX) (cd ael; sed 's@#if __STDC_VERSION__ >= 199901L@#if !defined __STDC_VERSION__ || __STDC_VERSION__ >= 199901L@' ael_lex.c > zz; mv zz ael_lex.c)
 
-ifneq ($(BISON),)
+ifneq ($(BISON),:)
 ael/ael.tab.c ael/ael.tab.h: ael/ael.y
 else
 ael/ael.tab.c ael/ael.tab.h:
 endif
        $(ECHO_PREFIX) echo "   [BISON] $< -> $@"
-       $(CMD_PREFIX) (cd ael; bison -v -d ael.y)
+       $(CMD_PREFIX) (cd ael; $(BISON) -v -d ael.y)
 
 dundi-parser.o: dundi-parser.h
 dundi-parser.o: _ASTCFLAGS+=-I.