Link tests after GCC_NO_EXECUTABLES
Rask Ingemann Lambertsen
rask@sygehus.dk
Fri Nov 30 20:49:00 GMT 2007
On Thu, Nov 29, 2007 at 10:05:54PM +0000, Richard Sandiford wrote:
> libstdc++-v3/
> 2007-xx-xx Mark Mitchell <mark@codesourcery.com>
>
> * configure.ac: Don't check AC_LIBTOOL_DLOPEN if using newlib.
> * configure: Regenerate.
>
> Index: libstdc++-v3/configure.ac
> ===================================================================
> --- libstdc++-v3/configure.ac (revision 130491)
> +++ libstdc++-v3/configure.ac (working copy)
> @@ -82,7 +82,9 @@ AH_TEMPLATE(VERSION, [Version number of
> # up critical shell variables.
> GLIBCXX_CONFIGURE
>
> -AC_LIBTOOL_DLOPEN
> +if test "x${with_newlib}" != "xyes"; then
> + AC_LIBTOOL_DLOPEN
> +fi
> AM_PROG_LIBTOOL
> AC_SUBST(enable_shared)
> AC_SUBST(enable_static)
This bit is fine with me as it clearly improves the situation. For
example, it is now possible to build and test sparc-unknown-elf with fortran
disabled (--enable-languages=c,c++,objc,obj-c++,java) which is an
improvement over the current situation.
--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year
More information about the Gcc-patches
mailing list