diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2003-10-24 23:48:53 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2003-10-24 23:48:53 +0000 |
commit | b292469633752def3d03341edd956ffd542b777e (patch) | |
tree | 5d54df8bf1cebac46ba8116409622486bb03d633 /configure | |
parent | 99200baec4f9e8768bcf63abcebb2eb26a9646b4 (diff) | |
download | ffmpeg-b292469633752def3d03341edd956ffd542b777e.tar.gz |
* sh doesn't understand $(command) type of Command substitution.
It's a ksh'ism.
Originally committed as revision 2429 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -177,7 +177,7 @@ prefix="/boot/home/config" # 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 ' ' -f3-`" case "$gcc_version" in 2.9-beos-991026*|2.9-beos-000224*) echo "R5/GG gcc" mmx="no" @@ -418,10 +418,10 @@ fi #Darwin CC versions if test $targetos = Darwin; then - if test -n "$($cc -v 2>&1 | grep xlc)"; then + if test -n "`$cc -v 2>&1 | grep xlc`"; then 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 ' ' -f3-`" case "$gcc_version" in *2.95*) CFLAGS="-no-cpp-precomp -pipe -fomit-frame-pointer" @@ -510,7 +510,7 @@ fi # AltiVec flags: The FSF version of GCC differs from the Apple version if test $cpu = "powerpc"; then if test $altivec = "yes"; then - if test -n "$($cc -v 2>&1 | grep version | grep Apple)"; then + if test -n "`$cc -v 2>&1 | grep version | grep Apple`"; then CFLAGS="$CFLAGS -faltivec" else CFLAGS="$CFLAGS -maltivec -mabi=altivec" @@ -800,7 +800,7 @@ sdl=yes fi fi -case "$($cc -v 2>&1 | grep version)" in +case "`$cc -v 2>&1 | grep version`" in *gcc*) CFLAGS="-Wall $CFLAGS" ;; @@ -822,7 +822,7 @@ if test "$optimize" = "small"; then fi if test "$optimize" = "yes"; then - if test -n "$($cc -v 2>&1 | grep xlc)"; then + if test -n "`$cc -v 2>&1 | grep xlc`"; then CFLAGS="$CFLAGS -O5" LDFLAGS="$LDFLAGS -O5" else |