aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-25 05:42:22 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-25 05:42:22 +0000
commitafcac316df44f74f76c25477f3e264829173d72e (patch)
tree6c4ed7917f51a7b123ebd83f60e6752b828b14a2 /main
parent70e2d65f49ec4cdad8ef222c845f5ab074d5b0c8 (diff)
Buildbot pointed out an error (thanks, buildbot!)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242728 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/Makefile b/main/Makefile
index a1e6a2f41..dd90f7f3d 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -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