[Ffmpeg-devel] [patch] consistent use of 'cut' in configure
Jacob Meuser
jakemsr
Sun Dec 18 08:50:11 CET 2005
subject says all. these 3 differed from the others.
--
<jakemsr at jakemsr.com>
Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.220
diff -u -r1.220 configure
--- configure 17 Dec 2005 18:14:25 -0000 1.220
+++ configure 18 Dec 2005 07:46:46 -0000
@@ -249,7 +250,7 @@
# helps building libavcodec
CFLAGS="-DPIC -fomit-frame-pointer"
# 3 gcc releases known for BeOS, each with ugly bugs
-gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f3-`"
+gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f 3`"
case "$gcc_version" in
2.9-beos-991026*|2.9-beos-000224*) echo "R5/GG gcc"
mmx="no"
@@ -442,7 +443,7 @@
;;
--cross-prefix=*) cross_prefix=`echo $opt | cut -d '=' -f 2`
;;
- --cc=*) cc=`echo $opt | cut -d '=' -f 2-`
+ --cc=*) cc=`echo $opt | cut -d '=' -f 2`
;;
--make=*) make=`echo $opt | cut -d '=' -f 2`
;;
@@ -690,7 +693,7 @@
if test -n "`$cc -v 2>&1 | grep xlc`"; then
CFLAGS="$CFLAGS -qpdf2 -qlanglvl=extc99 -qmaxmem=-1 -qarch=auto -qtune=auto"
else
- gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f3-`"
+ gcc_version="`$cc -v 2>&1 | grep version | cut -d ' ' -f 3`"
case "$gcc_version" in
*2.95*)
CFLAGS="$CFLAGS -no-cpp-precomp -pipe -fomit-frame-pointer"
More information about the ffmpeg-devel
mailing list