parent
01f3428caf
commit
3d3b05ff4f
|
@ -1,5 +1,7 @@
|
||||||
2011-11-08 Richard Henderson <rth@redhat.com>
|
2011-11-08 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* configure.ac: Adjust srcdir for running libitm/configure.tgt.
|
||||||
|
|
||||||
* configure.ac: Test libitm/configure.tgt to disable libitm.
|
* configure.ac: Test libitm/configure.tgt to disable libitm.
|
||||||
* configure: Rebuild.
|
* configure: Rebuild.
|
||||||
|
|
||||||
|
|
|
@ -3061,7 +3061,9 @@ fi
|
||||||
if test x$enable_libitm = x; then
|
if test x$enable_libitm = x; then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
|
||||||
$as_echo_n "checking for libitm support... " >&6; }
|
$as_echo_n "checking for libitm support... " >&6; }
|
||||||
if (. ${srcdir}/libitm/configure.tgt; test -n "$UNSUPPORTED"); then
|
if (srcdir=${srcdir}/libitm; \
|
||||||
|
. ${srcdir}/configure.tgt; \
|
||||||
|
test -n "$UNSUPPORTED"); then
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
$as_echo "no" >&6; }
|
||||||
noconfigdirs="$noconfigdirs target-libitm"
|
noconfigdirs="$noconfigdirs target-libitm"
|
||||||
|
|
|
@ -496,7 +496,9 @@ fi
|
||||||
# Disable libitm on unsupported hosted systems.
|
# Disable libitm on unsupported hosted systems.
|
||||||
if test x$enable_libitm = x; then
|
if test x$enable_libitm = x; then
|
||||||
AC_MSG_CHECKING([for libitm support])
|
AC_MSG_CHECKING([for libitm support])
|
||||||
if (. ${srcdir}/libitm/configure.tgt; test -n "$UNSUPPORTED"); then
|
if (srcdir=${srcdir}/libitm; \
|
||||||
|
. ${srcdir}/configure.tgt; \
|
||||||
|
test -n "$UNSUPPORTED"); then
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
noconfigdirs="$noconfigdirs target-libitm"
|
noconfigdirs="$noconfigdirs target-libitm"
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
2011-11-08 Richard Henderson <rth@redhat.com>
|
2011-11-08 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* configure.tgt: Test correct directory for supported cpus.
|
||||||
|
|
||||||
* configure.ac: Exit if unsupported.
|
* configure.ac: Exit if unsupported.
|
||||||
* configure: Rebuild.
|
* configure: Rebuild.
|
||||||
* configure.tgt: Delete boilerplate from libgomp for unsupported
|
* configure.tgt: Delete boilerplate from libgomp for unsupported
|
||||||
|
|
|
@ -77,7 +77,7 @@ case "${target_cpu}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# For the benefit of top-level configure, determine if the cpu is supported.
|
# For the benefit of top-level configure, determine if the cpu is supported.
|
||||||
test -d ${srcdir}/$ARCH || UNSUPPORTED=1
|
test -d ${srcdir}/config/$ARCH || UNSUPPORTED=1
|
||||||
|
|
||||||
# Since we require POSIX threads, assume a POSIX system by default.
|
# Since we require POSIX threads, assume a POSIX system by default.
|
||||||
config_path="$ARCH posix generic"
|
config_path="$ARCH posix generic"
|
||||||
|
|
Loading…
Reference in New Issue