+ # NB: libstdc++ may be configured before libgomp: can't check for the actual
+ # dependencies (omp.h and libgomp).
enable_parallel=no;
- if test -f "${glibcxx_builddir}/../libgomp/omp.h"; then
+ if test -f $glibcxx_builddir/../libgomp/omp.h; then
enable_parallel=yes;
+ else
+ { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
+echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
fi
+ # Check to see if it's explicitly disabled.
+# GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
+# [permit yes|no])
+
+# if test x$enable_libgomp = xno; then
+# enable_parallel=no
+# fi
+
echo "$as_me:$LINENO: checking for parallel mode support" >&5
echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $enable_parallel" >&5
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
cat > conftest.$ac_ext << EOF
-#line 17295 "configure"
+#line 17308 "configure"
int main()
{
// NB: _Atomic_word not necessarily int.