/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.172 by camm, Fri Jun 10 15:01:31 2005 UTC revision 1.173 by camm, Tue Jun 14 14:28:16 2005 UTC
# Line 3806  else Line 3806  else
3806  #include "confdefs.h"  #include "confdefs.h"
3807  #include <stdio.h>  #include <stdio.h>
3808  int main() {  int main() {
3809  FILE *fp=fopen("conftest1","w");;  FILE *fp=fopen("conftest1","w");
3810  unsigned char c;  unsigned char c;
3811  int i;  int i;
3812  for (i=0,c=1;c;c<<=1,i++);  for (i=0,c=1;c;c<<=1,i++);
# Line 3874  else Line 3874  else
3874    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3875  #line 3876 "configure"  #line 3876 "configure"
3876  #include "confdefs.h"  #include "confdefs.h"
3877  #define __ARMEB__  /*#define __ARMEB__*/
3878                  #include <endian.h>                  #include <endian.h>
3879                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
3880  EOF  EOF
# Line 4434  main() Line 4434  main()
4434    b=alloca(sizeof(b));    b=alloca(sizeof(b));
4435    c=alloca(sizeof(c));    c=alloca(sizeof(c));
4436    n=b>c ? b-c : c-b;    n=b>c ? b-c : c-b;
4437    n=n>sizeof(c) ? n : 0;    n=n>sizeof(c) ? n : 1;
4438    fprintf(fp,"%ld",n);    fprintf(fp,"%ld",n);
4439    fclose(fp);    fclose(fp);
4440    return 0;    return 0;

Legend:
Removed from v.1.172  
changed lines
  Added in v.1.173

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26