Remove AX_PTHREAD autoconf macro 16/1416/2
authorRolf Badorek <rolf.badorek@nokia.com>
Fri, 8 Nov 2019 09:44:00 +0000 (11:44 +0200)
committerRolf Badorek <rolf.badorek@nokia.com>
Fri, 8 Nov 2019 10:38:08 +0000 (12:38 +0200)
commitd2a701808ecace355dfe72f6d6414fb8c9aa2070
tree1b9a78b09876ffcfd8e5ab82f485c7913932c7c5
parentfc2ea473dbca57045b279bad8e70679297d2ca3f
Remove AX_PTHREAD autoconf macro

Due the incompatible license, removed AX_PTHREAD autoconf macro.

This macro generates '$(PTHREAD_CFLAGS)' and '$(PTHREAD_LIBS)'
variables for Makefile. This makes program porting easier to
different UNIX/POSIX systems.

Only 'libgmock' and 'libgtest' really needed those Makefile variables,
added required linker options directly to Makefile. Currently used
'-lpthread' linker option should be fine for all Linux base images
which will be used in RIC, if not then some workaround (e.g. a new
configure option) will be added later.

Other usages (other than above mentioned libraries) were a leftover
of former database discovery implementation, which was not imported
to RIC. Removed these unnecessary variable usages from Makefile.

Signed-off-by: Rolf Badorek <rolf.badorek@nokia.com>
Change-Id: I895d8ce1581665b4b4816e97e782523d154a74c3
Makefile.am
configure.ac
m4/ax_pthread.m4 [deleted file]