comparison configure @ 2564:d96db265d893

[xemacs-hg @ 2005-02-04 03:04:04 by ben] Remove out-of-date doc files * BUGS, README.packages: Delete, incorporate into FAQ. README: Incorporate into FAQ. Delete everything but text pointing to FAQ.
author ben
date Fri, 04 Feb 2005 03:04:06 +0000
parents b880fa9b5d8a
children bafa01f3cb06
comparison
equal deleted inserted replaced
2563:6bee993389f3 2564:d96db265d893
4851 4851
4852 cat > conftest.$ac_ext <<EOF 4852 cat > conftest.$ac_ext <<EOF
4853 #line 4854 "configure" 4853 #line 4854 "configure"
4854 #include "confdefs.h" 4854 #include "confdefs.h"
4855 #include <stdio.h> 4855 #include <stdio.h>
4856 int main() 4856 main()
4857 { 4857 {
4858 FILE *f=fopen("conftestval", "w"); 4858 FILE *f=fopen("conftestval", "w");
4859 if (!f) return(1); 4859 if (!f) exit(1);
4860 fprintf(f, "%d\n", sizeof(short)); 4860 fprintf(f, "%d\n", sizeof(short));
4861 return(0); 4861 exit(0);
4862 } 4862 }
4863 EOF 4863 EOF
4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4864 if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4865 then 4865 then
4866 ac_cv_sizeof_short=`cat conftestval` 4866 ac_cv_sizeof_short=`cat conftestval`
4893 4893
4894 cat > conftest.$ac_ext <<EOF 4894 cat > conftest.$ac_ext <<EOF
4895 #line 4896 "configure" 4895 #line 4896 "configure"
4896 #include "confdefs.h" 4896 #include "confdefs.h"
4897 #include <stdio.h> 4897 #include <stdio.h>
4898 int main() 4898 main()
4899 { 4899 {
4900 FILE *f=fopen("conftestval", "w"); 4900 FILE *f=fopen("conftestval", "w");
4901 if (!f) return(1); 4901 if (!f) exit(1);
4902 fprintf(f, "%d\n", sizeof(int)); 4902 fprintf(f, "%d\n", sizeof(int));
4903 return(0); 4903 exit(0);
4904 } 4904 }
4905 EOF 4905 EOF
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4907 then 4907 then
4908 ac_cv_sizeof_int=`cat conftestval` 4908 ac_cv_sizeof_int=`cat conftestval`
4929 4929
4930 cat > conftest.$ac_ext <<EOF 4930 cat > conftest.$ac_ext <<EOF
4931 #line 4932 "configure" 4931 #line 4932 "configure"
4932 #include "confdefs.h" 4932 #include "confdefs.h"
4933 #include <stdio.h> 4933 #include <stdio.h>
4934 int main() 4934 main()
4935 { 4935 {
4936 FILE *f=fopen("conftestval", "w"); 4936 FILE *f=fopen("conftestval", "w");
4937 if (!f) return(1); 4937 if (!f) exit(1);
4938 fprintf(f, "%d\n", sizeof(long)); 4938 fprintf(f, "%d\n", sizeof(long));
4939 return(0); 4939 exit(0);
4940 } 4940 }
4941 EOF 4941 EOF
4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4942 if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4943 then 4943 then
4944 ac_cv_sizeof_long=`cat conftestval` 4944 ac_cv_sizeof_long=`cat conftestval`
4965 4965
4966 cat > conftest.$ac_ext <<EOF 4966 cat > conftest.$ac_ext <<EOF
4967 #line 4968 "configure" 4967 #line 4968 "configure"
4968 #include "confdefs.h" 4968 #include "confdefs.h"
4969 #include <stdio.h> 4969 #include <stdio.h>
4970 int main() 4970 main()
4971 { 4971 {
4972 FILE *f=fopen("conftestval", "w"); 4972 FILE *f=fopen("conftestval", "w");
4973 if (!f) return(1); 4973 if (!f) exit(1);
4974 fprintf(f, "%d\n", sizeof(long long)); 4974 fprintf(f, "%d\n", sizeof(long long));
4975 return(0); 4975 exit(0);
4976 } 4976 }
4977 EOF 4977 EOF
4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4979 then 4979 then
4980 ac_cv_sizeof_long_long=`cat conftestval` 4980 ac_cv_sizeof_long_long=`cat conftestval`
5001 5001
5002 cat > conftest.$ac_ext <<EOF 5002 cat > conftest.$ac_ext <<EOF
5003 #line 5004 "configure" 5003 #line 5004 "configure"
5004 #include "confdefs.h" 5004 #include "confdefs.h"
5005 #include <stdio.h> 5005 #include <stdio.h>
5006 int main() 5006 main()
5007 { 5007 {
5008 FILE *f=fopen("conftestval", "w"); 5008 FILE *f=fopen("conftestval", "w");
5009 if (!f) return(1); 5009 if (!f) exit(1);
5010 fprintf(f, "%d\n", sizeof(void *)); 5010 fprintf(f, "%d\n", sizeof(void *));
5011 return(0); 5011 exit(0);
5012 } 5012 }
5013 EOF 5013 EOF
5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5014 if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
5015 then 5015 then
5016 ac_cv_sizeof_void_p=`cat conftestval` 5016 ac_cv_sizeof_void_p=`cat conftestval`
5037 5037
5038 cat > conftest.$ac_ext <<EOF 5038 cat > conftest.$ac_ext <<EOF
5039 #line 5040 "configure" 5039 #line 5040 "configure"
5040 #include "confdefs.h" 5040 #include "confdefs.h"
5041 #include <stdio.h> 5041 #include <stdio.h>
5042 int main() 5042 main()
5043 { 5043 {
5044 FILE *f=fopen("conftestval", "w"); 5044 FILE *f=fopen("conftestval", "w");
5045 if (!f) return(1); 5045 if (!f) exit(1);
5046 fprintf(f, "%d\n", sizeof(double)); 5046 fprintf(f, "%d\n", sizeof(double));
5047 return(0); 5047 exit(0);
5048 } 5048 }
5049 EOF 5049 EOF
5050 if { (eval echo configure:5051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 5050 if { (eval echo configure:5051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
5051 then 5051 then
5052 ac_cv_sizeof_double=`cat conftestval` 5052 ac_cv_sizeof_double=`cat conftestval`