This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [configury patch] don't add 'mpfr' to --with-mpfr-dir
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org,GCC Fortran mailing list <fortran at gcc dot gnu dot org>,Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 04 Jun 2005 19:50:05 +0200
- Subject: Re: [configury patch] don't add 'mpfr' to --with-mpfr-dir
- References: <42A1DFC9.7060100@physik.uni-muenchen.de> <200506041837.55733.paul@codesourcery.com>
Paul Brook wrote:
>>2005-06-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
>>
>> * configure.in: Don't add another '/mpfr' to the directory given
>> in --with-mpfr-dir.
>> * configure: Regenerate.
>
>
> Ok.
>
> This looks like is a copy/paste error from when we assumed a combined gmp+mpfr
> build.
Also for 4.0? Mark, this patch fixes a typo which only plays a role when
configuring with '--with-mpfr-dir', but since this is in shared code I'd
prefer if you agreed with this patch.
- Tobi
Index: configure.in
===================================================================
RCS file: /cvsroot/gcc/gcc/configure.in,v
retrieving revision 1.351
diff -u -p -r1.351 configure.in
--- configure.in 2 Jun 2005 19:54:19 -0000 1.351
+++ configure.in 4 Jun 2005 17:01:23 -0000
@@ -1033,7 +1033,7 @@ have_gmp=yes
AC_ARG_WITH(mpfr-dir, [ --with-mpfr-dir=PATH Specify source directory for
MPFR library])
if test "x$with_mpfr_dir" != x; then
- gmpinc="-I$with_mpfr_dir/mpfr"
+ gmpinc="-I$with_mpfr_dir"
gmplibs="$with_mpfr_dir/libmpfr.a"
else
gmplibs="-lmpfr"