From ad201afe5c348de265b92bae6688034102a4386b Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 3 May 2021 08:12:11 +0200 Subject: Add pthread-in-libc, libpthread-routines-var, librt-routines-var These make variables can be used to add routines to different libraries for the Hurd and Linux builds. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure') diff --git a/configure b/configure index e64b7f8efe..4cc462613c 100755 --- a/configure +++ b/configure @@ -588,6 +588,7 @@ ac_unique_file="include/features.h" enable_option_checking=no ac_subst_vars='LTLIBOBJS LIBOBJS +pthread_in_libc RELEASE VERSION mach_interface_list @@ -6780,6 +6781,7 @@ libc_cv_sysconfdir=$sysconfdir libc_cv_localstatedir=$localstatedir libc_cv_gcc_unwind_find_fde=no libc_cv_idn=no +pthread_in_libc=yes # Iterate over all the sysdep directories we will use, running their # configure fragments. @@ -6939,6 +6941,12 @@ RELEASE=`sed -n -e 's/^#define RELEASE "\([^"]*\)"/\1/p' < $srcdir/version.h` +if test "$pthread_in_libc" = yes; then + $as_echo "#define PTHREAD_IN_LIBC 1" >>confdefs.h + +fi + + ac_config_files="$ac_config_files config.make Makefile" ac_config_commands="$ac_config_commands default" -- cgit 1.4.1