summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2016-01-16 10:05:12 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2016-01-16 10:05:12 -0500
commit4efe08193cd957291d106ee5578732d0c7c6085b (patch)
treed0c88ee4e689785afbae9001abf607f71d297d57 /m4
parent6dac2333591c096dd77c534a2b7233b12332ea43 (diff)
More debugging autoconf by pushing a change for Travis to look at: try removing Darwin special case
Diffstat (limited to 'm4')
-rw-r--r--m4/m4_ax_pthread.m418
1 files changed, 0 insertions, 18 deletions
diff --git a/m4/m4_ax_pthread.m4 b/m4/m4_ax_pthread.m4
index 935634db..0b2718f3 100644
--- a/m4/m4_ax_pthread.m4
+++ b/m4/m4_ax_pthread.m4
@@ -158,10 +158,6 @@ case ${host_os} in
ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
;;
-
- darwin*)
- ax_pthread_flags="-pthread $ax_pthread_flags"
- ;;
esac
# Clang doesn't consider unrecognized options an error unless we specify
@@ -204,24 +200,11 @@ for flag in $ax_pthread_flags; do
;;
esac
- save_LDFLAGS="$LDFLAGS"
save_LIBS="$LIBS"
save_CFLAGS="$CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
- # This check added by Adam Chlipala on January 16, 2016.
- # The documentation at the top of this file said that PTHREAD_CFLAGS needs to
- # be used at link-time, too, but this test didn't seem to do so.
- # For now, I'm patching just for the common case of '-pthread'.
- case $flag in
- -pthread)
- LDFLAGS="$LDFLAGS -pthread"
- ;;
- esac
-
- AC_MSG_NOTICE([LDFLAGS = $LDFLAGS])
-
# Check for various functions. We must include pthread.h,
# since some functions may be macros. (On the Sequent, we
# need a special flag -Kthread to make this header compile.)
@@ -243,7 +226,6 @@ for flag in $ax_pthread_flags; do
[ax_pthread_ok=yes],
[])
- LDFLAGS="$save_LDFLAGS"
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"