diff options
Diffstat (limited to 'config-scripts/cups-threads.m4')
-rw-r--r-- | config-scripts/cups-threads.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config-scripts/cups-threads.m4 b/config-scripts/cups-threads.m4 index d4e3f01ba..ae6044ded 100644 --- a/config-scripts/cups-threads.m4 +++ b/config-scripts/cups-threads.m4 @@ -1,7 +1,7 @@ dnl dnl Threading stuff for CUPS. dnl -dnl Copyright 2007-2011 by Apple Inc. +dnl Copyright 2007-2017 by Apple Inc. dnl Copyright 1997-2005 by Easy Software Products, all rights reserved. dnl dnl These coded instructions, statements, and computer programs are the @@ -36,7 +36,7 @@ if test "x$enable_threads" != xno; then # Solaris requires -D_POSIX_PTHREAD_SEMANTICS to # be POSIX-compliant... :( - if test $uname = SunOS; then + if test $host_os_name = sunos; then PTHREAD_FLAGS="$PTHREAD_FLAGS -D_POSIX_PTHREAD_SEMANTICS" fi break |