diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:12:11 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 08:13:32 +0200 |
commit | ad201afe5c348de265b92bae6688034102a4386b (patch) | |
tree | 61d621079929b61f50fd375134ce9ff45f198a71 /configure | |
parent | 23fdf8178cce3c2ec320dd5eca8b544245bcaef0 (diff) | |
download | glibc-ad201afe5c348de265b92bae6688034102a4386b.tar.gz glibc-ad201afe5c348de265b92bae6688034102a4386b.tar.xz glibc-ad201afe5c348de265b92bae6688034102a4386b.zip |
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 <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
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" |