configure.in
changeset 6910 a3d4fd1ba315
parent 6849 b9dcf6242476
child 6960 e4e9fbf6f333
     1.1 --- a/configure.in	Sat Feb 23 02:25:34 2013 -0800
     1.2 +++ b/configure.in	Sun Feb 24 12:55:51 2013 -0800
     1.3 @@ -1767,9 +1767,20 @@
     1.4              pthread_cflags="-D_REENTRANT"
     1.5              pthread_lib="-pthread"
     1.6              ;;
     1.7 +        *-*-solaris2.9)
     1.8 +            # From Solaris 9+, posix4's preferred name is rt.
     1.9 +            pthread_cflags="-D_REENTRANT"
    1.10 +            pthread_lib="-lpthread -lrt"
    1.11 +            ;;
    1.12 +        *-*-solaris2.10)
    1.13 +            # Solaris 10+ merged pthread into libc.
    1.14 +            pthread_cflags="-D_REENTRANT"
    1.15 +            pthread_lib="-lrt"
    1.16 +            ;;
    1.17          *-*-solaris*)
    1.18 +            # Solaris 11+ merged rt into libc.
    1.19              pthread_cflags="-D_REENTRANT"
    1.20 -            pthread_lib="-lpthread -lposix4"
    1.21 +            pthread_lib=""
    1.22              ;;
    1.23          *-*-sysv5*)
    1.24              pthread_cflags="-D_REENTRANT -Kthread"