]> granicus.if.org Git - libatomic_ops/commit
Fix configure for mingw-w64/32.
authorIvan Maidanski <ivmai@mail.ru>
Wed, 21 Sep 2011 09:14:29 +0000 (13:14 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 21 Sep 2011 11:17:37 +0000 (15:17 +0400)
commitca69f7f89202a78a29d276a2ecfbc55642e5d780
tree8309612763e391baa5ad24bedc50099dea2e1fcb
parent414aff0463b8eb451f174e2a8d3908ca1444bbb2
Fix configure for mingw-w64/32.
(Apply commit ad82960)

* configure.ac (PICFLAG, THREADDLLIBS): Define as empty for MinGW.
* configure.ac (have_pthreads): New definition (set to true unless
MinGW).
* configure.ac (HAVE_PTHREAD_H): New AM conditional (based on
have_pthreads value).
* tests/Makefile.am (test_atomic_pthreads_SOURCES,
test_atomic_pthreads_CPPFLAGS, test_atomic_pthreads_LDADD): Define
only if HAVE_PTHREAD_H.
* tests/Makefile.am (TESTS): Don't include test_atomic_pthreads unless
HAVE_PTHREAD_H.
* tests/Makefile.am (check_PROGRAMS): Define to TESTS value.
configure.ac
tests/Makefile.am