diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-10 21:37:10 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-10 21:37:10 +0000 |
commit | 61db62e7f85cdf022493bb814882292e37b54cfc (patch) | |
tree | 63bcaa4e8085b17df90076e1a605e88250b70113 /pbx/Makefile | |
parent | a707049fd42fe50120abc011cc712242bf4a3bc8 (diff) |
Applied the same fixes for ael.flex as was done in 97849 for ast_expr2.fl; overrode the normally generate yyfree func with our own version that checks the pointer for non-null before passing to free(). Also takes care of a little problem with 2.5.33 and the use of the __STDC_VERSION__ macro.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@97889 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/Makefile')
-rw-r--r-- | pbx/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx/Makefile b/pbx/Makefile index acecdccac..8d29bfbbf 100644 --- a/pbx/Makefile +++ b/pbx/Makefile @@ -44,6 +44,7 @@ $(if $(filter pbx_ael,$(EMBEDDED_MODS)),modules.link,pbx_ael.so): ael/ael.tab.o ael/ael_lex.c: (cd ael; flex ael.flex; sed -i -e "/begin standard C headers/i#include \"asterisk.h\"" ael_lex.c) + (cd ael; sed 's@#if __STDC_VERSION__ >= 199901L@#if !defined __STDC_VERSION__ || __STDC_VERSION__ >= 199901L@' ael_lex.c > zz; mv zz ael_lex.c) ael/ael.tab.c ael/ael.tab.h: (cd ael; bison -v -d ael.y) |