summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-19 05:40:19 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-19 05:40:19 +0000
commita2fda39c21217c6bfe964e765a9c5015af42a46b (patch)
treeef1736846f8ba6ab4c5f087a54de09dd517949cf /configure
parent745662aafa3ad219b72571ba9caad278f3521e11 (diff)
downloadmpv-a2fda39c21217c6bfe964e765a9c5015af42a46b.tar.bz2
mpv-a2fda39c21217c6bfe964e765a9c5015af42a46b.tar.xz
Do not run second AltiVec CFLAG check in a subshell; the variable that is
set as a result is needed in the calling shell. noticed by Michael Kostylev git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26837 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e8daf4c03d..16082cac3d 100755
--- a/configure
+++ b/configure
@@ -2424,7 +2424,7 @@ int main(void) { return 0; }
EOF
cc_check -maltivec -mabi=altivec \
&& _altivec_gcc_flags="-maltivec -mabi=altivec" \
- || ( cc_check -faltivec && _altivec_gcc_flags=-faltivec ) \
+ || { cc_check -faltivec && _altivec_gcc_flags=-faltivec ; } \
|| _altivec=no
echores "$_altivec_gcc_flags"