Merge libitm changes to configure.ac from gcc master.
This commit is contained in:
parent
6eb43d82ab
commit
068a111af0
@ -1,3 +1,12 @@
|
|||||||
|
2011-11-08 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* configure.ac: Test for libitm directory present first.
|
||||||
|
|
||||||
|
* configure.ac: Adjust srcdir for running libitm/configure.tgt.
|
||||||
|
|
||||||
|
* configure.ac: Test libitm/configure.tgt to disable libitm.
|
||||||
|
* configure: Rebuild.
|
||||||
|
|
||||||
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
* Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS,
|
* Makefile.tpl (EXTRA_GCC_FLAGS): Remove LIBGCC2_CFLAGS,
|
||||||
|
20
configure
vendored
20
configure
vendored
@ -2681,6 +2681,7 @@ target_libraries="target-libgcc \
|
|||||||
target-libgloss \
|
target-libgloss \
|
||||||
target-newlib \
|
target-newlib \
|
||||||
target-libgomp \
|
target-libgomp \
|
||||||
|
target-libitm \
|
||||||
target-libstdc++-v3 \
|
target-libstdc++-v3 \
|
||||||
target-libmudflap \
|
target-libmudflap \
|
||||||
target-libssp \
|
target-libssp \
|
||||||
@ -3056,6 +3057,25 @@ if test x$enable_libgomp = x ; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Disable libitm on unsupported systems.
|
||||||
|
if test -d ${srcdir}/libitm; then
|
||||||
|
if test x$enable_libitm = x; then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
|
||||||
|
$as_echo_n "checking for libitm support... " >&6; }
|
||||||
|
if (srcdir=${srcdir}/libitm; \
|
||||||
|
. ${srcdir}/configure.tgt; \
|
||||||
|
test -n "$UNSUPPORTED")
|
||||||
|
then
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
$as_echo "no" >&6; }
|
||||||
|
noconfigdirs="$noconfigdirs target-libitm"
|
||||||
|
else
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
|
$as_echo "yes" >&6; }
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Disable libssp for some systems.
|
# Disable libssp for some systems.
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
avr-*-*)
|
avr-*-*)
|
||||||
|
17
configure.ac
17
configure.ac
@ -154,6 +154,7 @@ target_libraries="target-libgcc \
|
|||||||
target-libgloss \
|
target-libgloss \
|
||||||
target-newlib \
|
target-newlib \
|
||||||
target-libgomp \
|
target-libgomp \
|
||||||
|
target-libitm \
|
||||||
target-libstdc++-v3 \
|
target-libstdc++-v3 \
|
||||||
target-libmudflap \
|
target-libmudflap \
|
||||||
target-libssp \
|
target-libssp \
|
||||||
@ -492,6 +493,22 @@ if test x$enable_libgomp = x ; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Disable libitm on unsupported systems.
|
||||||
|
if test -d ${srcdir}/libitm; then
|
||||||
|
if test x$enable_libitm = x; then
|
||||||
|
AC_MSG_CHECKING([for libitm support])
|
||||||
|
if (srcdir=${srcdir}/libitm; \
|
||||||
|
. ${srcdir}/configure.tgt; \
|
||||||
|
test -n "$UNSUPPORTED")
|
||||||
|
then
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
noconfigdirs="$noconfigdirs target-libitm"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Disable libssp for some systems.
|
# Disable libssp for some systems.
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
avr-*-*)
|
avr-*-*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user