]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/configure
proc.c: Conditional include of sys/loadavg.h for Solaris.
[thirdparty/gcc.git] / libgomp / configure
index 4824adc51e999c71162618fa5e91e0b963601f1d..5855c07a67f7d2192ff0ea12e88272ff6c30297e 100755 (executable)
@@ -5317,7 +5317,8 @@ done
 
 
 
-for ac_header in unistd.h semaphore.h sys/time.h
+
+for ac_header in unistd.h semaphore.h sys/loadavg.h sys/time.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -6633,7 +6634,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