From 977a21bea552d622c38db7ccf0bf20264a127e8d Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 12 Jan 2010 21:12:23 +0000 Subject: 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 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') 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" -- cgit v1.2.3