diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 084ebbbbf2628b835b8f40ae57aeb4f4993972e7..a4bfb923c1835ba215821cd81b19c2a9dc5ed81c 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -727,21 +727,7 @@ int main() { int bits; FILE *f=fopen("conftestval", "w"); if (!f) exit(1); - if (sizeof(int) >= sizeof(void*)) { - unsigned int t = 1; - signed int l = 0; - int_type="int"; - for (bits=1; ((t << 1) >> 1) == t; bits++, t <<= 1); - l = (~l) << (bits - 3); -#if 1 - fprintf(f,"CL_FIXNUM_MIN='%d';",l); - fprintf(f,"CL_FIXNUM_MAX='%d';",-(l+1)); -#else - l++; - fprintf(f,"CL_FIXNUM_MIN='%d';",l); - fprintf(f,"CL_FIXNUM_MAX='%d';",-l); -#endif - } else if (sizeof(long) >= sizeof(void*)) { + if (sizeof(long) >= sizeof(void*)) { unsigned long int t = 1; signed long int l = 0; int_type="long int"; diff --git a/src/configure b/src/configure index b0322104b1423c26bf389f2ce171c62c652914b8..2f25c581efe459813e93299f045879eec59791b5 100755 --- a/src/configure +++ b/src/configure @@ -8749,21 +8749,7 @@ int main() { int bits; FILE *f=fopen("conftestval", "w"); if (!f) exit(1); - if (sizeof(int) >= sizeof(void*)) { - unsigned int t = 1; - signed int l = 0; - int_type="int"; - for (bits=1; ((t << 1) >> 1) == t; bits++, t <<= 1); - l = (~l) << (bits - 3); -#if 1 - fprintf(f,"CL_FIXNUM_MIN='%d';",l); - fprintf(f,"CL_FIXNUM_MAX='%d';",-(l+1)); -#else - l++; - fprintf(f,"CL_FIXNUM_MIN='%d';",l); - fprintf(f,"CL_FIXNUM_MAX='%d';",-l); -#endif - } else if (sizeof(long) >= sizeof(void*)) { + if (sizeof(long) >= sizeof(void*)) { unsigned long int t = 1; signed long int l = 0; int_type="long int";