Re: bug#17773: AIX build errors with coreutils-8.22

2014-06-13 Thread Paul Eggert
Pádraig Brady wrote: + case "$host_os" in + aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; + solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; Why not use AC_DEFINE([_THREAD_SAFE], 1, ...) instead? That makes for shorter command lines in projects like Emacs. I don't s

Re: bug#17773: AIX build errors with coreutils-8.22

2014-06-13 Thread Pádraig Brady
On 06/13/2014 06:57 PM, Paul Eggert wrote: > On 06/13/2014 10:29 AM, Pádraig Brady wrote: >> So I'd be inclined to add those definitions in the pthread module, >> but if not we could define at the top of sort.c at least? > > The latter doesn't sound safe, since it would mean the files in > libcor