diff options
author | toni <matzeton@googlemail.com> | 2016-07-29 18:03:52 +0200 |
---|---|---|
committer | toni <matzeton@googlemail.com> | 2016-07-29 18:03:52 +0200 |
commit | c0eb5798acaea17314de1a18cd0f4ce3d82c7e73 (patch) | |
tree | bf939c48443c7775135aae3c4d99e23afc7873eb /configure | |
parent | 3efa929992f3d255843a32199d38e1699def5989 (diff) |
ac
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 41 |
1 files changed, 39 insertions, 2 deletions
@@ -7639,7 +7639,7 @@ if ac_fn_c_try_compile "$LINENO"; then : $as_echo "yes" >&6; } cat >>confdefs.h <<_ACEOF -#define HAVE_TIMESPEC 1 +#define HAVE_STRUCTSTAT 1 _ACEOF @@ -7649,7 +7649,44 @@ else $as_echo "no" >&6; } cat >>confdefs.h <<_ACEOF -#define HAVE_TIMESPEC 0 +#define HAVE_STRUCTSTAT 0 +_ACEOF + + + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread/mutex/cond" >&5 +$as_echo_n "checking for pthread/mutex/cond... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <pthread.h> +int +main () +{ +pthread_t thrd; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_PTHREADS 1 +_ACEOF + + +else + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +cat >>confdefs.h <<_ACEOF +#define HAVE_PTHREADS 0 _ACEOF |