diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index ba6c370..9db9678 100644 --- a/configure.ac +++ b/configure.ac @@ -637,9 +637,9 @@ if test "$gl_threads_api" = posix; then if test x$ac_cv_header_sys_single_threaded_h = xyes; then have_lock_optimization=yes else - case "$gl_cv_have_weak" in - *yes) have_lock_optimization=yes ;; - * ) ;; + case "${host_os}" in + *-gnu*) have_lock_optimization=yes ;; + * ) ;; esac fi fi |