Add --disable-libstdcxx configure option
2012-11-03 H.J. Lu <hongjiu.lu@intel.com> * configure: Regenerated. 2012-11-03 Robert Mason <rbmj@verizon.net> * configure.ac: add --disable-libstdcxx configure option and handle defaulted state only for VxWorks, ARM-wince-pe and AVR.
This commit is contained in:
parent
567d11ea9a
commit
5ec30f78e3
|
@ -1,3 +1,12 @@
|
||||||
|
2012-11-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
|
2012-11-03 Robert Mason <rbmj@verizon.net>
|
||||||
|
|
||||||
|
* configure.ac: add --disable-libstdcxx configure option
|
||||||
|
and handle defaulted state only for VxWorks, ARM-wince-pe and AVR.
|
||||||
|
|
||||||
2012-10-24 Corinna Vinschen <corinna@vinschen.de>
|
2012-10-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building
|
* configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building
|
||||||
|
|
|
@ -749,6 +749,7 @@ enable_libquadmath
|
||||||
enable_libquadmath_support
|
enable_libquadmath_support
|
||||||
enable_libada
|
enable_libada
|
||||||
enable_libssp
|
enable_libssp
|
||||||
|
enable_libstdcxx
|
||||||
enable_static_libjava
|
enable_static_libjava
|
||||||
enable_bootstrap
|
enable_bootstrap
|
||||||
with_mpc
|
with_mpc
|
||||||
|
@ -1464,6 +1465,7 @@ Optional Features:
|
||||||
disable libquadmath support for Fortran
|
disable libquadmath support for Fortran
|
||||||
--enable-libada build libada directory
|
--enable-libada build libada directory
|
||||||
--enable-libssp build libssp directory
|
--enable-libssp build libssp directory
|
||||||
|
--disable-libstdcxx do not build libstdc++-v3 directory
|
||||||
--enable-static-libjava[=ARG]
|
--enable-static-libjava[=ARG]
|
||||||
build static libjava [default=no]
|
build static libjava [default=no]
|
||||||
--enable-bootstrap enable bootstrapping [yes if native build]
|
--enable-bootstrap enable bootstrapping [yes if native build]
|
||||||
|
@ -3073,6 +3075,17 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Check whether --enable-libstdcxx was given.
|
||||||
|
if test "${enable_libstdcxx+set}" = set; then :
|
||||||
|
enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
|
||||||
|
else
|
||||||
|
ENABLE_LIBSTDCXX=default
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "${ENABLE_LIBSTDCXX}" = "no" ; then
|
||||||
|
noconfigdirs="$noconfigdirs libstdc++-v3"
|
||||||
|
fi
|
||||||
|
|
||||||
# Save it here so that, even in case of --enable-libgcj, if the Java
|
# Save it here so that, even in case of --enable-libgcj, if the Java
|
||||||
# front-end isn't enabled, we still get libgcj disabled.
|
# front-end isn't enabled, we still get libgcj disabled.
|
||||||
libgcj_saved=$libgcj
|
libgcj_saved=$libgcj
|
||||||
|
@ -3216,7 +3229,9 @@ case "${target}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Disable libstdc++-v3 for some systems.
|
# Disable libstdc++-v3 for some systems.
|
||||||
case "${target}" in
|
# Allow user to override this if they pass --enable-libstdc++-v3
|
||||||
|
if test "${ENABLE_LIBSTDCXX}" = "default" ; then
|
||||||
|
case "${target}" in
|
||||||
*-*-vxworks*)
|
*-*-vxworks*)
|
||||||
# VxWorks uses the Dinkumware C++ library.
|
# VxWorks uses the Dinkumware C++ library.
|
||||||
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
||||||
|
@ -3228,7 +3243,8 @@ case "${target}" in
|
||||||
avr-*-*)
|
avr-*-*)
|
||||||
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
# Disable Fortran for some systems.
|
# Disable Fortran for some systems.
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
|
|
16
configure.ac
16
configure.ac
|
@ -427,6 +427,15 @@ AC_ARG_ENABLE(libssp,
|
||||||
ENABLE_LIBSSP=$enableval,
|
ENABLE_LIBSSP=$enableval,
|
||||||
ENABLE_LIBSSP=yes)
|
ENABLE_LIBSSP=yes)
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(libstdcxx,
|
||||||
|
AS_HELP_STRING([--disable-libstdcxx],
|
||||||
|
[do not build libstdc++-v3 directory]),
|
||||||
|
ENABLE_LIBSTDCXX=$enableval,
|
||||||
|
ENABLE_LIBSTDCXX=default)
|
||||||
|
[if test "${ENABLE_LIBSTDCXX}" = "no" ; then
|
||||||
|
noconfigdirs="$noconfigdirs libstdc++-v3"
|
||||||
|
fi]
|
||||||
|
|
||||||
# Save it here so that, even in case of --enable-libgcj, if the Java
|
# Save it here so that, even in case of --enable-libgcj, if the Java
|
||||||
# front-end isn't enabled, we still get libgcj disabled.
|
# front-end isn't enabled, we still get libgcj disabled.
|
||||||
libgcj_saved=$libgcj
|
libgcj_saved=$libgcj
|
||||||
|
@ -562,7 +571,9 @@ case "${target}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Disable libstdc++-v3 for some systems.
|
# Disable libstdc++-v3 for some systems.
|
||||||
case "${target}" in
|
# Allow user to override this if they pass --enable-libstdc++-v3
|
||||||
|
if test "${ENABLE_LIBSTDCXX}" = "default" ; then
|
||||||
|
case "${target}" in
|
||||||
*-*-vxworks*)
|
*-*-vxworks*)
|
||||||
# VxWorks uses the Dinkumware C++ library.
|
# VxWorks uses the Dinkumware C++ library.
|
||||||
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
||||||
|
@ -574,7 +585,8 @@ case "${target}" in
|
||||||
avr-*-*)
|
avr-*-*)
|
||||||
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
noconfigdirs="$noconfigdirs target-libstdc++-v3"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
# Disable Fortran for some systems.
|
# Disable Fortran for some systems.
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
|
|
Loading…
Reference in New Issue