aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2016-07-29 18:03:52 +0200
committertoni <matzeton@googlemail.com>2016-07-29 18:03:52 +0200
commitc0eb5798acaea17314de1a18cd0f4ce3d82c7e73 (patch)
treebf939c48443c7775135aae3c4d99e23afc7873eb /configure
parent3efa929992f3d255843a32199d38e1699def5989 (diff)
ac
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure41
1 files changed, 39 insertions, 2 deletions
diff --git a/configure b/configure
index c6c7802..6769887 100755
--- a/configure
+++ b/configure
@@ -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