From a357b5ae8d079297527a84f6bbccf77dc25fc105 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 18 Nov 2006 14:08:54 +0000 Subject: 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 --- configure.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index ccb1b93..1f5e3bd 100644 --- a/configure.in +++ b/configure.in @@ -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 -- cgit v1.1