[gcc r15-1446] Build: Fix typo ac_cv_search_pthread_crate

YunQiang Su syq@gcc.gnu.org
Wed Jun 19 14:33:51 GMT 2024


https://gcc.gnu.org/g:8088374a868aacab4dff208ec3e3fde790a1d9a3

commit r15-1446-g8088374a868aacab4dff208ec3e3fde790a1d9a3
Author: YunQiang Su <syq@gcc.gnu.org>
Date:   Wed Jun 19 22:30:22 2024 +0800

    Build: Fix typo ac_cv_search_pthread_crate
    
    The correct variable name is
      ac_cv_search_pthread_create
    
    ChangeLog:
            PR bootstrap/115453
            * configure.ac: Fix typo ac_cv_search_pthread_crate.
            * configure: Regnerate.

Diff:
---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 6e95b27d9df4..1469cd735392 100755
--- a/configure
+++ b/configure
@@ -9002,7 +9002,7 @@ fi
 
 if test "$ac_cv_search_pthread_create" = -lpthread; then
     CRAB1_LIBS="$CRAB1_LIBS -lpthread"
-elif test "$ac_cv_search_pthread_crate" = no; then
+elif test "$ac_cv_search_pthread_create" = no; then
     missing_rust_dynlibs="$missing_rust_dynlibs, libpthread"
 fi
 
diff --git a/configure.ac b/configure.ac
index 88576b31bfcd..20457005e299 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2053,7 +2053,7 @@ fi
 
 if test "$ac_cv_search_pthread_create" = -lpthread; then
     CRAB1_LIBS="$CRAB1_LIBS -lpthread"
-elif test "$ac_cv_search_pthread_crate" = no; then
+elif test "$ac_cv_search_pthread_create" = no; then
     missing_rust_dynlibs="$missing_rust_dynlibs, libpthread"
 fi


More information about the Gcc-cvs mailing list