Browse Source

* m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache enabled.

master
Richard Kreckel 21 years ago
parent
commit
eb40e45ebc
  1. 5
      ChangeLog
  2. 8
      autoconf/aclocal.m4
  3. 8
      m4/gmp.m4

5
ChangeLog

@ -1,3 +1,8 @@
2004-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
enabled.
2004-03-08 Bruno Haible <bruno@clisp.org>
* src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second

8
autoconf/aclocal.m4

@ -4517,8 +4517,12 @@ AC_DEFUN([CL_GMP_CHECK],
SAVELIBS=$LIBS
LIBS="$LIBS -lgmp"
AC_TRY_LINK([#include <gmp.h>],[mpn_divexact_by3(0,0,0)],
cl_cv_new_libgmp="yes", cl_cv_new_libgmp="no"; LIBS=$SAVELIBS)
])])
cl_cv_new_libgmp="yes", cl_cv_new_libgmp="no")
LIBS=$SAVELIBS])
if test x"$cl_cv_new_libgmp" = xyes; then
LIBS="$LIBS -lgmp"
fi
])
dnl What is sizeof(mp_limb_t)? (It has to match sizeof(uintD) later.)
AC_DEFUN([CL_GMP_SET_UINTD],

8
m4/gmp.m4

@ -26,8 +26,12 @@ AC_DEFUN([CL_GMP_CHECK],
SAVELIBS=$LIBS
LIBS="$LIBS -lgmp"
AC_TRY_LINK([#include <gmp.h>],[mpn_divexact_by3(0,0,0)],
cl_cv_new_libgmp="yes", cl_cv_new_libgmp="no"; LIBS=$SAVELIBS)
])])
cl_cv_new_libgmp="yes", cl_cv_new_libgmp="no")
LIBS=$SAVELIBS])
if test x"$cl_cv_new_libgmp" = xyes; then
LIBS="$LIBS -lgmp"
fi
])
dnl What is sizeof(mp_limb_t)? (It has to match sizeof(uintD) later.)
AC_DEFUN([CL_GMP_SET_UINTD],

Loading…
Cancel
Save