1 --- illumos-gcc-0f5ed4c/configure.orig
2 +++ illumos-gcc-0f5ed4c/configure
4 gmplibs="-L$with_mpfr_lib $gmplibs"
6 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
7 - gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
8 + gmplibs='$$r/$(HOST_SUBDIR)/mpfr/src/.libs/libmpfr.a '
9 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
10 # Do not test the mpfr version. Assume that it is sufficient, since
11 # it is in the source tree, and the library has not been built yet
13 gmplibs="-L$with_gmp_lib $gmplibs"
15 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
16 - gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
17 + gmplibs="$gmplibs"'$$r/$(HOST_SUBDIR)/gmp/.libs/libgmp.a '
18 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
19 extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
20 # Do not test the gmp version. Assume that it is sufficient, since