diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-02-11 19:03:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-02-11 19:03:04 +0000 |
commit | ae135907ba2daedbd418e2005bbec7f5ac8fdea7 (patch) | |
tree | 8442409122a3f268afaf51bfa543154af6dbc04f /libgo/configure.ac | |
parent | cc999d030035b7ad8cda2a1743f3cc4f76fede00 (diff) | |
download | gcc-ae135907ba2daedbd418e2005bbec7f5ac8fdea7.zip gcc-ae135907ba2daedbd418e2005bbec7f5ac8fdea7.tar.gz gcc-ae135907ba2daedbd418e2005bbec7f5ac8fdea7.tar.bz2 |
re PR go/56171 (syscall FAILs on Solaris)
PR go/56171
libgo: Solaris portability for syscall package.
From Rainer Orth.
From-SVN: r195950
Diffstat (limited to 'libgo/configure.ac')
-rw-r--r-- | libgo/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/configure.ac b/libgo/configure.ac index ff0b7bd..58cc045 100644 --- a/libgo/configure.ac +++ b/libgo/configure.ac @@ -413,8 +413,9 @@ PTHREAD_LIBS= AC_CHECK_LIB([pthread], [pthread_create], PTHREAD_LIBS=-lpthread) AC_SUBST(PTHREAD_LIBS) -dnl Test if -lrt is required for sched_yield. +dnl Test if -lrt is required for sched_yield and/or nanosleep. AC_SEARCH_LIBS([sched_yield], [rt]) +AC_SEARCH_LIBS([nanosleep], [rt]) AC_C_BIGENDIAN |