[RFC libdrm 1/6] configure: Support symbol visibility when available

2014-02-19 Thread Thierry Reding
On Wed, Feb 19, 2014 at 10:05:19PM +0100, Erik Faye-Lund wrote: > On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding > wrote: > > From: Thierry Reding > > > > Checks whether or not the compiler supports the -fvisibility option. If > > so it sets the VISIBILITY_CFLAGS variable which can be added to t

[RFC libdrm 1/6] configure: Support symbol visibility when available

2014-02-19 Thread Erik Faye-Lund
On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding wrote: > From: Thierry Reding > > Checks whether or not the compiler supports the -fvisibility option. If > so it sets the VISIBILITY_CFLAGS variable which can be added to the per > directory AM_CFLAGS where appropriate. > > Libraries can use the HA

[RFC libdrm 1/6] configure: Support symbol visibility when available

2014-02-19 Thread Thierry Reding
From: Thierry Reding Checks whether or not the compiler supports the -fvisibility option. If so it sets the VISIBILITY_CFLAGS variable which can be added to the per directory AM_CFLAGS where appropriate. Libraries can use the HAVE_VISIBILITY preprocessor definition to check for availability and