diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2019-11-21 16:39:02 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2019-11-21 16:39:02 +0300 |
commit | 5f56aa288082f71da956dd801c815a2dc501615a (patch) | |
tree | e3538e2cc6c93361e225307f2ada400f599f1132 /m4 | |
parent | 7a0dd3ac77eb326897969668242585e14b071c9a (diff) |
....I..... [DEV-1343] m4 pthread message output improvement
Diffstat (limited to 'm4')
-rw-r--r-- | m4/pthread.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/pthread.m4 b/m4/pthread.m4 index 1f897deb92a..142e19deb1d 100644 --- a/m4/pthread.m4 +++ b/m4/pthread.m4 @@ -102,11 +102,10 @@ AC_HELP_STRING([--with-libpthread@<:@=DIR@:>@], [use libpthread from given base ] ) - AC_MSG_CHECKING(for process shared libpthread support) - + AC_CHECK_HEADER([pthread.h],[found_libpthread=yes]) LIBPTHREAD_LIBS="-lpthread" + AC_MSG_CHECKING(for process shared libpthread support) - AC_CHECK_HEADER([pthread.h],[found_libpthread=yes]) if test -n "$_libpthread_dir_set" -o "x$found_libpthread" = xyes; then found_libpthread="yes" elif test -f /usr/local/include/pthread.h; then |