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
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