[Ffmpeg-cvslog] r6004 - trunk/configure

diego subversion
Wed Aug 16 13:31:17 CEST 2006


Author: diego
Date: Wed Aug 16 13:31:17 2006
New Revision: 6004

Modified:
   trunk/configure

Log:
It's not possible to portably echo a backslash, use printf instead.
patch by John Dalgliesh, johnd **at** defyne **dot** org


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Aug 16 13:31:17 2006
@@ -2107,10 +2107,11 @@
   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
 
 




More information about the ffmpeg-cvslog mailing list