Commit a357b5ae by Kaveh R. Ghazi Committed by Kaveh Ghazi

configure.in (--with-mpfr-dir): Also look in .libs and _libs for libmpfr.a.

	* configure.in (--with-mpfr-dir): Also look in .libs and _libs for
	libmpfr.a.
	* configure: Regenerate.

From-SVN: r118972
parent 7b666432
2006-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (--with-mpfr-dir): Also look in .libs and _libs for
libmpfr.a.
* configure: Regenerate.
2006-11-16 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence.
......
......@@ -1058,7 +1058,13 @@ AC_ARG_WITH(mpfr-dir, [ --with-mpfr-dir=PATH Specify source directory for MP
if test "x$with_mpfr_dir" != x; then
gmpinc="-I$with_mpfr_dir"
gmplibs="$with_mpfr_dir/libmpfr.a"
if test -f "$with_mpfr_dir/.libs/libmpfr.a"; then
gmplibs="$with_mpfr_dir/.libs/libmpfr.a"
elif test -f "$with_mpfr_dir/_libs/libmpfr.a"; then
gmplibs="$with_mpfr_dir/_libs/libmpfr.a"
else
gmplibs="$with_mpfr_dir/libmpfr.a"
fi
else
gmplibs="-lmpfr"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment