[PATCH v2 libdrm 1/7] configure: Support symbol visibility when available

2014-05-02 Thread Erik Faye-Lund
On Fri, May 2, 2014 at 4:12 PM, Thierry Reding wrote: > On Thu, Apr 10, 2014 at 07:15:14PM +0200, Erik Faye-Lund wrote: >> On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding >> wrote: >> > diff --git a/libdrm.h b/libdrm.h >> > new file mode 100644 >> > index ..23926e6f6741 >> > --- /dev

[PATCH v2 libdrm 1/7] configure: Support symbol visibility when available

2014-05-02 Thread Thierry Reding
On Thu, Apr 10, 2014 at 07:15:14PM +0200, Erik Faye-Lund wrote: > On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding > wrote: > > diff --git a/libdrm.h b/libdrm.h > > new file mode 100644 > > index ..23926e6f6741 > > --- /dev/null > > +++ b/libdrm.h > > @@ -0,0 +1,34 @@ > > +/* > > + * Co

[PATCH v2 libdrm 1/7] configure: Support symbol visibility when available

2014-04-10 Thread Erik Faye-Lund
On Wed, Apr 9, 2014 at 1:40 PM, Thierry Reding wrote: > diff --git a/libdrm.h b/libdrm.h > new file mode 100644 > index ..23926e6f6741 > --- /dev/null > +++ b/libdrm.h > @@ -0,0 +1,34 @@ > +/* > + * Copyright ? 2014 NVIDIA Corporation > + * > + * Permission is hereby granted, free of

[PATCH v2 libdrm 1/7] configure: Support symbol visibility when available

2014-04-09 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. By default all symbols will be hidden via the VISIBILITY_CFLAGS. The drm_public macro can be