diff options
author | Mihai Moldovan <ionic@ionic.de> | 2019-04-01 09:16:43 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2019-04-04 11:19:01 +0200 |
commit | 2efaa423bdfb8067897028854a5c56086d3843fc (patch) | |
tree | d311588db57cb9452ad4123bc9c64109e42b31f0 /m4/ax_pthread.m4 | |
parent | 1b6da5992dd983a8526e91cd93dd98c01a81aa5b (diff) | |
download | nx-libs-2efaa423bdfb8067897028854a5c56086d3843fc.tar.gz nx-libs-2efaa423bdfb8067897028854a5c56086d3843fc.tar.bz2 nx-libs-2efaa423bdfb8067897028854a5c56086d3843fc.zip |
m4/: update external macros from autoconf-archive.
Diffstat (limited to 'm4/ax_pthread.m4')
-rw-r--r-- | m4/ax_pthread.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4 index 5fbf9fe0d..4920e073b 100644 --- a/m4/ax_pthread.m4 +++ b/m4/ax_pthread.m4 @@ -82,7 +82,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 24 +#serial 25 AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD]) AC_DEFUN([AX_PTHREAD], [ @@ -438,7 +438,8 @@ if test "x$ax_pthread_ok" = "xyes"; then AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT], [ax_cv_PTHREAD_PRIO_INHERIT], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]], - [[int i = PTHREAD_PRIO_INHERIT;]])], + [[int i = PTHREAD_PRIO_INHERIT; + return i;]])], [ax_cv_PTHREAD_PRIO_INHERIT=yes], [ax_cv_PTHREAD_PRIO_INHERIT=no]) ]) |