Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-08 Thread Hans de Goede
Hi, On 03/08/2014 05:31 PM, Mark Kettenis wrote: Date: Sat, 08 Mar 2014 17:11:42 +0100 From: Hans de Goede Hi, On 03/08/2014 05:07 PM, Gaetan Nadon wrote: On 14-03-08 09:03 AM, Hans de Goede wrote: So I've just been looking into using AC_USE_SYSTEM_EXTENSIONS but that seem pretty useless,

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-08 Thread Mark Kettenis
> Date: Sat, 08 Mar 2014 17:11:42 +0100 > From: Hans de Goede > > Hi, > > On 03/08/2014 05:07 PM, Gaetan Nadon wrote: > > On 14-03-08 09:03 AM, Hans de Goede wrote: > >> So I've just been looking into using AC_USE_SYSTEM_EXTENSIONS but that > >> seem pretty > >> useless, it only adds the releva

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-08 Thread Hans de Goede
Hi, On 03/08/2014 05:07 PM, Gaetan Nadon wrote: On 14-03-08 09:03 AM, Hans de Goede wrote: So I've just been looking into using AC_USE_SYSTEM_EXTENSIONS but that seem pretty useless, it only adds the relevant defines to confdefs.h, not into cflags, and in libxtrans we want to add them to the .

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-08 Thread Gaetan Nadon
On 14-03-08 09:03 AM, Hans de Goede wrote: > So I've just been looking into using AC_USE_SYSTEM_EXTENSIONS but that > seem pretty > useless, it only adds the relevant defines to confdefs.h, not into > cflags, > and in libxtrans we want to add them to the .pc file, so we need them > in a variable. >

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-08 Thread Hans de Goede
Hi all, On 03/03/2014 03:14 PM, Daniel Stone wrote: Hi, On 3 March 2014 07:56, Hans de Goede wrote: The latest glibc considers _BSD_SOURCE deprecated, leading to the following warning being issued for pretty much every C-file in the xserver: In file included from /usr/include/stdint.h:25:0,

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-05 Thread Alan Coopersmith
On 03/ 4/14 11:18 PM, Hans de Goede wrote: Beginner question: Are the more consumers of xtrans then just the xserver ? Yes - we wouldn't have it as a separate module if there weren't. % grep -il xtrans */*/configure.ac app/lbxproxy/configure.ac app/proxymngr/configure.ac app/xauth/configure.ac

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-04 Thread Hans de Goede
Hi, On 03/05/2014 01:13 AM, Alan Coopersmith wrote: > On 03/ 4/14 08:54 AM, Hans de Goede wrote: >> Hi Daniel, >> >> On 03/03/2014 03:14 PM, Daniel Stone wrote: >>> Hi, >>> >>> On 3 March 2014 07:56, Hans de Goede wrote: The latest glibc considers _BSD_SOURCE deprecated, leading to the follo

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-04 Thread Alan Coopersmith
On 03/ 4/14 08:54 AM, Hans de Goede wrote: Hi Daniel, On 03/03/2014 03:14 PM, Daniel Stone wrote: Hi, On 3 March 2014 07:56, Hans de Goede wrote: The latest glibc considers _BSD_SOURCE deprecated, leading to the following warning being issued for pretty much every C-file in the xserver: In

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-04 Thread Hans de Goede
Hi Daniel, On 03/03/2014 03:14 PM, Daniel Stone wrote: Hi, On 3 March 2014 07:56, Hans de Goede wrote: The latest glibc considers _BSD_SOURCE deprecated, leading to the following warning being issued for pretty much every C-file in the xserver: In file included from /usr/include/stdint.h:25:

Re: [PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-03 Thread Daniel Stone
Hi, On 3 March 2014 07:56, Hans de Goede wrote: > The latest glibc considers _BSD_SOURCE deprecated, leading to the following > warning being issued for pretty much every C-file in the xserver: > > In file included from /usr/include/stdint.h:25:0, > from > /usr/lib/gcc/x86_64-re

[PATCH libxtrans] configure: under glibc define _GNU_SOURCE rather then _BSD_SOURCE

2014-03-02 Thread Hans de Goede
The latest glibc considers _BSD_SOURCE deprecated, leading to the following warning being issued for pretty much every C-file in the xserver: In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stdint.h:9, from ../