diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-19 14:53:56 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-19 14:53:56 +0000 |
commit | 539431015db3525807f77ed9cd6eaabc51df2eeb (patch) | |
tree | d414ae535f98d8ffb40e4716ab8b7cb003141c0b /Makefile | |
parent | 98971f1ec18003b5eec192b534956f04e7be6041 (diff) |
make version-testing and echo constructs more shell-portable
add proper attribution to vercomp.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5736 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 27 |
1 files changed, 15 insertions, 12 deletions
@@ -357,22 +357,25 @@ ast_expr.a: $(FLEXOBJS) ar r $@ $(FLEXOBJS) ranlib $@ +ifeq ($(BISONVER_GE_1_85),false) .y.c: - @if (($(BISONVER_GE_1_85) = false)); then \ - echo ================================================================================= ;\ - echo NOTE: You may have trouble if you do not have bison-1.85 or higher installed! ;\ - echo NOTE: You can pick up a copy at: http://ftp.gnu.org/ or its mirrors ;\ - echo NOTE: You have: $(BISONVER) ;\ - echo ================================================================================; \ - fi + @echo "=================================================================================" ;\ + echo "NOTE: You may have trouble if you do not have bison-1.85 or higher installed!" ;\ + echo "NOTE: You can pick up a copy at: http://ftp.gnu.org/ or its mirrors" ;\ + echo "NOTE: You have: $(BISONVER)" ;\ + echo "================================================================================" ;\ bison -v -d --name-prefix=ast_yy $< -o $@ +else +.y.c: + bison -v -d --name-prefix=ast_yy $< -o $@ +endif ast_expr.o:: ast_expr.c - @echo ================================================================================= ;\ - echo NOTE: Using older version of expression parser. To use the newer version, ;\ - echo NOTE: upgrade to flex 2.5.31 or higher, which can be found at ;\ - echo NOTE: http://sourceforge.net/project/showfiles.php?group_id=72099 ;\ - echo ================================================================================= ;\ + @echo "=================================================================================" ;\ + echo "NOTE: Using older version of expression parser. To use the newer version," ;\ + echo "NOTE: upgrade to flex 2.5.31 or higher, which can be found at" ;\ + echo "NOTE: http://sourceforge.net/project/showfiles.php?group_id=72099" ;\ + echo "=================================================================================" ;\ ast_expr.o:: ast_expr.c |