summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-05-24 15:03:30 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-05-24 15:03:30 +0000
commitb9ab19f4c17a74e109ce7960694a4d99cbc0455c (patch)
tree7c870c681c178b2b269777e242c6d5849bad97ab /configure.ac
parent8ae75654ea2c38fc182d092ed764b2a196aca8da (diff)
downloadmpfr-b9ab19f4c17a74e109ce7960694a4d99cbc0455c.tar.gz
[configure.ac] Moved LT_INIT near the top for --enable-lto, and removed
AM_PROG_AR (no longer needed as done by LT_INIT) and AC_PROG_RANLIB (obsoleted by LT_INIT). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10353 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8cbf69010..6660f104b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -286,9 +286,8 @@ AC_PROG_CC
AC_PROG_CPP
AC_LANG(C)
-dnl Support unusual archivers.
-AM_PROG_AR
-AC_PROG_RANLIB
+dnl This must done before MPFR_CONFIGS.
+LT_INIT(win32-dll)
dnl Try to determine the double format
AC_MSG_CHECKING(format of `double' floating point)
@@ -513,7 +512,6 @@ dnl but it's "ar" format and cannot be used by the MS linker. There
dnl doesn't seem to be any GNU tool for generating or converting to .lib.
AC_SUBST(MPFR_LDFLAGS)
AC_SUBST(LIBMPFR_LDFLAGS)
-LT_INIT(win32-dll)
case $host in
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
AC_MSG_CHECKING(for DLL/static GMP)