1 $NetBSD: patch-configure,v 1.1 2012/05/03 12:20:19 hans Exp $
3 --- configure.orig 2012-02-02 10:20:32.000000000 +0000
5 @@ -5191,9 +5191,11 @@ if test "x$with_mpfr_lib" != x; then
6 gmplibs="-L$with_mpfr_lib $gmplibs"
8 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
9 - gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
10 - gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
11 - extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
13 + test -d "${srcdir}/mpfr/src" && sdir=/src
14 + gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr'"$sdir/$lt_cv_objdir $gmplibs"
15 + gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr'"$sdir "'-I$$s/mpfr'"$sdir $gmpinc"
16 + extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr'"$sdir "'--with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr'"$sdir/$lt_cv_objdir"
17 # Do not test the mpfr version. Assume that it is sufficient, since
18 # it is in the source tree, and the library has not been built yet
19 # but it would be included on the link line in the version check below