diff options
author | John Dalgliesh <johnd@defyne.org> | 2006-08-16 11:31:17 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-08-16 11:31:17 +0000 |
commit | 8156056e05a6cc1e43f14c98d5835f923176eabe (patch) | |
tree | 0c37feb9788ab247968011f0e81ea461afd87a6f /configure | |
parent | d4596ae3b0be865616df798a45195772b0faf3ac (diff) | |
download | ffmpeg-8156056e05a6cc1e43f14c98d5835f923176eabe.tar.gz |
It's not possible to portably echo a backslash, use printf instead.
patch by John Dalgliesh, johnd **at** defyne **dot** org
Originally committed as revision 6004 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2107,10 +2107,11 @@ if test "$amr_if2" = "yes" ; then echo "AMR_CFLAGS=-DIF2=1" >> config.mak fi +# Apparently it's not possible to portably echo a backslash. if test "$asmalign_pot" = "yes" ; then - echo '#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"' >> $TMPH + printf '#define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\\n\\t"\n' >> $TMPH else - echo '#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"' >> $TMPH + printf '#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\\n\\t"\n' >> $TMPH fi |