changeset 30253:0fe4119d6115

Change -pipe check to avoid misdetecting it as available for Sun's compiler.
author reimar
date Tue, 12 Jan 2010 21:12:23 +0000
parents cb4e9c35fa0c
children 00300a5f2638
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Jan 12 20:26:15 2010 +0000
+++ b/configure	Tue Jan 12 21:12:23 2010 +0000
@@ -2415,7 +2415,8 @@
 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"