File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -690,6 +690,7 @@ proc sqlite-handle-threadsafe {} {
690690 define LDFLAGS_PTHREAD " "
691691 set enable 0
692692 proj-if-opt-truthy threadsafe {
693+ msg-result " Checking for libs..."
693694 if {[ proj-check-function-in-lib pthread_create pthread]
694695 && [ proj-check-function-in-lib pthread_mutexattr_init pthread] } {
695696 set enable 1
@@ -698,11 +699,13 @@ proc sqlite-handle-threadsafe {} {
698699 undefine lib_pthread_mutexattr_init
699700 } elseif {[ proj-opt-was-provided threadsafe] } {
700701 user-error " Missing required pthread libraries. Use --disable-threadsafe to disable this check."
702+ } else {
703+ msg-result " pthread support not detected"
701704 }
702705 # Recall that LDFLAGS_PTHREAD might be empty even if pthreads if
703706 # found because it's in -lc on some platforms.
704707 } {
705- msg-result no
708+ msg-result " Disabled using --disable-threadsafe "
706709 }
707710 sqlite-add-feature-flag -DSQLITE_THREADSAFE=${enable}
708711 return $enable
You can’t perform that action at this time.
0 commit comments