]> granicus.if.org Git - gc/commit
Group common defines for POSIX platforms in configure and CMake scripts
authorIvan Maidanski <ivmai@mail.ru>
Wed, 7 Jun 2017 08:53:14 +0000 (11:53 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 7 Jun 2017 08:53:14 +0000 (11:53 +0300)
commit8106b298c43efe8319a680f11ef4855a29615698
treecfc23090f0adbbf26d0918709367be90d6b92afc
parent224643ec4ca3d1534dc1ef78e4fc2c62ea35d007
Group common defines for POSIX platforms in configure and CMake scripts
(code refactoring)

* CMakeLists.txt [CMAKE_USE_PTHREADS_INIT]: Eliminate duplication of
ADD_DEFINITIONS of GC_THREADS, _REENTRANT, PARALLEL_MARK,
THREAD_LOCAL_ALLOC (and AC_MSG_WARN) for aix, cygwin, darwin, freebsd,
gnu (including kfreebsd), hpux11, irix, linux, nacl, netbsd, openbsd,
osf, solaris platforms; add comment.
* configure.ac [THREADS=posix]: Likewise.
* configure.ac [THREADS=posix]: Remove explicit hpux10 case handling.
CMakeLists.txt
configure.ac