Bug 6649 - configure assumes gcc
Summary: configure assumes gcc
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: All Solaris
: medium minor
Assignee: Jamey Sharp
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 12:34 UTC by Alan Coopersmith
Modified: 2006-04-19 21:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Only set CWARNFLAGS to gnu flags if $GCC is set. Otherwise check for Sun compiler and use it's enhanced warning flag. (739 bytes, patch)
2006-04-19 12:37 UTC, Alan Coopersmith
Details | Splinter Review

Description Alan Coopersmith 2006-04-19 12:34:19 UTC
Building the current sources from git on Solaris fails if you attempt to use the
Sun compilers because configure.ac hardcodes gcc flags.   It's easy to check for
gcc using the $GCC variable set by AC_PROG_CC, so this is trivial to fix.
(Patch coming momentarily.)
Comment 1 Alan Coopersmith 2006-04-19 12:37:27 UTC
Created attachment 5370 [details] [review]
Only set CWARNFLAGS to gnu flags if $GCC is set.   Otherwise check for Sun compiler and use it's enhanced warning flag.
Comment 2 Jamey Sharp 2006-04-20 14:43:02 UTC
Thanks, Alan! I've been wanting to get these sorts of portability fixes. I've
committed and pushed your patch.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.