]> 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 09:14:29 +0000 (13:14 +0400)
commitad82960e07f9e9b8431778d3e99e548212713ce7
treea6620b0040be968eb04def426f0ccf64e3152a21
parenta57f21af8336f875080b8bb73cdbff05ce72cb5d
Fix configure for mingw-w64/32.

* 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