aboutsummaryrefslogtreecommitdiff
path: root/libphobos/m4
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-04-09 00:16:57 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-04-09 00:16:57 +0200
commit6e286c8df452787fffe4fb4bd3dbba4d80bc6c12 (patch)
treee29c2928a095b57c9bf9de822f87ac68a633e42a /libphobos/m4
parent48242b2c3ac96c0bd5265e77013583ac9ceee97d (diff)
downloadgcc-6e286c8df452787fffe4fb4bd3dbba4d80bc6c12.zip
gcc-6e286c8df452787fffe4fb4bd3dbba4d80bc6c12.tar.gz
gcc-6e286c8df452787fffe4fb4bd3dbba4d80bc6c12.tar.bz2
libphobos: Remove --enable-thread-lib configure option.
This is another old option that doesn't make sense as a configurable. So the option has been removed, and the check for AC_SEARCH_LIBS moved into the main configure.ac file. libphobos/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_SEARCH_LIBS for pthread_create. * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
Diffstat (limited to 'libphobos/m4')
-rw-r--r--libphobos/m4/druntime/libraries.m426
1 files changed, 0 insertions, 26 deletions
diff --git a/libphobos/m4/druntime/libraries.m4 b/libphobos/m4/druntime/libraries.m4
index a7aab4d..9e8e210 100644
--- a/libphobos/m4/druntime/libraries.m4
+++ b/libphobos/m4/druntime/libraries.m4
@@ -3,32 +3,6 @@
#
-# DRUNTIME_LIBRARIES_THREAD
-# -------------------------
-# Allow specifying the thread library to link with or autodetect
-# Add thread library to LIBS if necessary.
-AC_DEFUN([DRUNTIME_LIBRARIES_THREAD],
-[
- enable_thread_lib=yes
- AC_ARG_ENABLE(thread-lib,
- AC_HELP_STRING([--enable-thread-lib=<arg>],
- [specify linker option for the system thread library (default: autodetect)]))
-
- AS_IF([test "x$enable_thread_lib" = "xyes"], [
- AC_SEARCH_LIBS([pthread_create], [pthread])
- ], [
- AS_IF([test "x$enable_thread_lib" = "xno"], [
- AC_MSG_CHECKING([for thread library])
- AC_MSG_RESULT([disabled])
- ], [
- AC_CHECK_LIB([$enable_thread_lib], [pthread_create], [], [
- AC_MSG_ERROR([Thread library not found])
- ])
- ])
- ])
-])
-
-
# DRUNTIME_LIBRARIES_DLOPEN
# -----------------------
# Autodetect and add dl library to LIBS if necessary.