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