diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2006-01-23 19:28:51 +0100 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2006-01-23 19:28:51 +0100 |
commit | 192a50ad41ca1582d3d7f75981681506b0615fe3 (patch) | |
tree | 8d13fe4ae78bc89d5119bc9ac9a016ba1156ce77 /libgomp/configure.ac | |
parent | 993acaec693ef81eb83b445152f5b04652f49b33 (diff) | |
download | gcc-192a50ad41ca1582d3d7f75981681506b0615fe3.zip gcc-192a50ad41ca1582d3d7f75981681506b0615fe3.tar.gz gcc-192a50ad41ca1582d3d7f75981681506b0615fe3.tar.bz2 |
proc.c: Conditional include of sys/loadavg.h for Solaris.
2006-01-23 Andreas Tobler <a.tobler@schweiz.ch>
* config/posix/proc.c: Conditional include of sys/loadavg.h for
Solaris.
* configure.ac: Add check for loadavg.h.
(link_gomp): Adjust comment.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r110141
Diffstat (limited to 'libgomp/configure.ac')
-rw-r--r-- | libgomp/configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/configure.ac b/libgomp/configure.ac index 854514a..2a00337 100644 --- a/libgomp/configure.ac +++ b/libgomp/configure.ac @@ -136,7 +136,7 @@ AC_SUBST(libtool_VERSION) # Check header files. AC_STDC_HEADERS AC_HEADER_TIME -AC_CHECK_HEADERS(unistd.h semaphore.h sys/time.h) +AC_CHECK_HEADERS(unistd.h semaphore.h sys/loadavg.h sys/time.h) AC_CHECK_HEADER([pthread.h],[], [AC_MSG_ERROR([Pthreads are required to build libgomp])]) @@ -204,7 +204,7 @@ else fi # Set up the set of libraries that we need to link against for libgomp. -# Note that the GOMP_DRIVER_SPEC in gcc.c will force -pthread for -fopenmp, +# Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp, # which will force linkage against -lpthread (or equivalent for the system). # That's not 100% ideal, but about the best we can do easily. if test $enable_shared = yes; then |