Browse Source

Silly workaround for silly bug in gmp.h:

* m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.
master
Richard Kreckel 17 years ago
parent
commit
71b5519690
  1. 5
      ChangeLog
  2. 4
      m4/gmp.m4

5
ChangeLog

@ -1,3 +1,8 @@
2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
Silly workaround for silly bug in gmp.h:
* m4/gmp.m4 (CL_GMP_SET_UINTD): Swap #include <gmp.h> and <stdio.h>.
2007-12-17 Richard B. Kreckel <kreckel@ginac.de>
* src/polynomial/elem/cl_UP_GF2.h (gf2_mul_table): define for sparc64.

4
m4/gmp.m4

@ -36,8 +36,8 @@ cl_cv_new_libgmp="yes", cl_cv_new_libgmp="no")
dnl What is sizeof(mp_limb_t)? (It has to match sizeof(uintD) later.)
AC_DEFUN([CL_GMP_SET_UINTD],
[AC_CACHE_CHECK([how large gmp demands uintD to be], cl_cv_gmp_set_uintd, [
AC_TRY_RUN([#include <stdio.h>
#include <gmp.h>
AC_TRY_RUN([#include <gmp.h>
#include <stdio.h>
int main() {
FILE *f=fopen("conftestval", "w");
if (!f) return(255);

Loading…
Cancel
Save