This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [configury patch] don't add 'mpfr' to --with-mpfr-dir


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]