diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 49e1bb120..71cac3f87 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -801,21 +801,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 84ac57192..7c4f04ca6 100755 --- a/src/configure +++ b/src/configure @@ -9226,21 +9226,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";