Port part of the AIX fix to Solaris.
commit50bee071548758300c40d0c5f8871ec9f3075289
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 14 Jun 2014 20:24:08 +0000 (14 13:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 14 Jun 2014 20:24:08 +0000 (14 13:24 -0700)
tree6ca49c1cff3717aa27ef2d135f88ab55396755bd
parent859488bf227da300a4d1f90a51222b163165dfae
Port part of the AIX fix to Solaris.

* configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
This ports part of the recent AIX fix to Solaris.  It is needed
for the same reason that _THREAD_SAFE is needed on AIX, e.g., to
make sure that each thread has its own 'errno'.

Fixes: debbugs:17598
ChangeLog
configure.ac