Rename HAVE_PTHREAD_SETSPECIFIC to HAVE_PTHREADS
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 28 Sep 2013 05:03:55 +0000 (01:03 -0400)
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>
Tue, 1 Oct 2013 20:33:35 +0000 (23:33 +0300)
commit65829504073425362fc56995a1dcc8cc464b751a
tree99c5bdd501dde84ca974e1fd346e39cc4c6edd2d
parentb513b3dffe979056dbbbdc8e0659f8018c51c5f5
Rename HAVE_PTHREAD_SETSPECIFIC to HAVE_PTHREADS

The test for pthread_setspecific() can be used as a general test for
whether pthreads are available, so rename the variable from
HAVE_PTHREAD_SETSPECIFIC to HAVE_PTHREADS and run the test even when
better support for thread local variables are available.

However, the pthread arguments are still only added to CFLAGS and
LDFLAGS when pthread_setspecific() is used for thread local variables.

V2: AC_SUBST(PTHREAD_CFLAGS)
configure.ac
pixman/pixman-compiler.h