aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-01-22 13:35:38 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-01-22 13:35:38 +0000
commitaae29963cf81dda2c09b9ffc07a84c788421aeb2 (patch)
treee8e77688f0a4c0c209ef99bb741123696ae9b58a /libstdc++-v3/configure
parentaddb239cd3d7a2fa96764250dbba7fc0d27dcd6b (diff)
downloadgcc-aae29963cf81dda2c09b9ffc07a84c788421aeb2.zip
gcc-aae29963cf81dda2c09b9ffc07a84c788421aeb2.tar.gz
gcc-aae29963cf81dda2c09b9ffc07a84c788421aeb2.tar.bz2
PR libstdc++/36101, PR libstdc++/42813
PR libstdc++/36101, PR libstdc++/42813 [toplevel]: * configure.ac (target_configdirs): Substitute. * Makefile.def: Bootstrap target module libgomp. Add dependency of all-target-libstdc++-v3 on configure-target-libgomp. * Makefile.tpl (TARGET_CONFIGDIRS): New makefile variable. (BASE_TARGET_EXPORTS): Export TARGET_CONFIGDIRS. * configure, Makefile.in: Regenerate. libstdc++-v3: * acinclude.m4: (enable_parallel): Test ${TARGET_CONFIGDIRS} instead of loking for omp.h . * configure: Regenerate. From-SVN: r156172
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 1c6bec4..ed611d6 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -17056,11 +17056,11 @@ $as_echo "$enable_libstdcxx_debug" >&6; }
# See if configured libgomp/omp.h exists. (libgomp may be in
# noconfigdirs but not explicitly disabled.)
- if test -f $glibcxx_builddir/../libgomp/omp.h; then
+ if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
enable_parallel=yes;
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
-$as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
+$as_echo "$as_me: target-libgomp not built" >&6;}
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5