summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-12 21:12:23 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-12 21:12:23 +0000
commit977a21bea552d622c38db7ccf0bf20264a127e8d (patch)
treee915d07fb1eb3450e4426d3d5034f88e37574046 /configure
parent06c2afa7500850bcf5274f05c7bf05fc4186e8b0 (diff)
downloadmpv-977a21bea552d622c38db7ccf0bf20264a127e8d.tar.bz2
mpv-977a21bea552d622c38db7ccf0bf20264a127e8d.tar.xz
Change -pipe check to avoid misdetecting it as available for Sun's compiler.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30295 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 23da910acb..a849f32376 100755
--- a/configure
+++ b/configure
@@ -2415,7 +2415,8 @@ echocheck "assembler support of -pipe option"
cat > $TMPC << EOF
int main(void) { return 0; }
EOF
-cc_check -pipe && _pipe="-pipe" && echores "yes" || echores "no"
+# -I. helps to detect compilers that just misunderstand -pipe like Sun C
+cc_check -pipe -I. && _pipe="-pipe" && echores "yes" || echores "no"
echocheck "compiler support of named assembler arguments"