Lines 1-11
Link Here
|
1 |
--- config/configure.orig Sun Oct 12 20:41:28 2003 |
1 |
--- config/configure.orig Tue Feb 24 19:50:54 2004 |
2 |
+++ config/configure Wed Jan 7 13:24:29 2004 |
2 |
+++ config/configure Tue Feb 24 19:55:33 2004 |
3 |
@@ -3651,7 +3651,7 @@ |
3 |
@@ -8147,7 +8147,7 @@ |
4 |
|
4 |
|
5 |
case "$OCAMLVERSION" in |
|
|
6 |
3.06) TYPE_FORMAT="";; |
7 |
- 3.07) TYPE_FORMAT="";; |
8 |
+ 3.07*) TYPE_FORMAT="";; |
9 |
*) TYPE_FORMAT="type ('a,'b,'c) ml_format = ('a,'b, 'c,'c) format type ('a,'b,'c) format = ('a,'b, 'c) ml_format";; |
10 |
esac |
11 |
|
5 |
|
|
|
6 |
|
7 |
-for ac_header in endian.h |
8 |
+for ac_header in sys/endian.h |
9 |
do |
10 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12 |
@@ -8303,167 +8303,6 @@ |
13 |
fi |
14 |
|
15 |
done |
16 |
- |
17 |
- |
18 |
- |
19 |
-for ac_header in byteswap.h |
20 |
-do |
21 |
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
22 |
-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
23 |
- echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
25 |
-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
26 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
27 |
-fi |
28 |
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
29 |
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
30 |
-else |
31 |
- # Is the header compilable? |
32 |
-echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
33 |
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
34 |
-cat >conftest.$ac_ext <<_ACEOF |
35 |
-#line $LINENO "configure" |
36 |
-/* confdefs.h. */ |
37 |
-_ACEOF |
38 |
-cat confdefs.h >>conftest.$ac_ext |
39 |
-cat >>conftest.$ac_ext <<_ACEOF |
40 |
-/* end confdefs.h. */ |
41 |
-$ac_includes_default |
42 |
-#include <$ac_header> |
43 |
-_ACEOF |
44 |
-rm -f conftest.$ac_objext |
45 |
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
46 |
- (eval $ac_compile) 2>&5 |
47 |
- ac_status=$? |
48 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
49 |
- (exit $ac_status); } && |
50 |
- { ac_try='test -s conftest.$ac_objext' |
51 |
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
52 |
- (eval $ac_try) 2>&5 |
53 |
- ac_status=$? |
54 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
55 |
- (exit $ac_status); }; }; then |
56 |
- ac_header_compiler=yes |
57 |
-else |
58 |
- echo "$as_me: failed program was:" >&5 |
59 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
60 |
- |
61 |
-ac_header_compiler=no |
62 |
-fi |
63 |
-rm -f conftest.$ac_objext conftest.$ac_ext |
64 |
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
65 |
-echo "${ECHO_T}$ac_header_compiler" >&6 |
66 |
- |
67 |
-# Is the header present? |
68 |
-echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
69 |
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
70 |
-cat >conftest.$ac_ext <<_ACEOF |
71 |
-#line $LINENO "configure" |
72 |
-/* confdefs.h. */ |
73 |
-_ACEOF |
74 |
-cat confdefs.h >>conftest.$ac_ext |
75 |
-cat >>conftest.$ac_ext <<_ACEOF |
76 |
-/* end confdefs.h. */ |
77 |
-#include <$ac_header> |
78 |
-_ACEOF |
79 |
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
80 |
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
81 |
- ac_status=$? |
82 |
- grep -v '^ *+' conftest.er1 >conftest.err |
83 |
- rm -f conftest.er1 |
84 |
- cat conftest.err >&5 |
85 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
86 |
- (exit $ac_status); } >/dev/null; then |
87 |
- if test -s conftest.err; then |
88 |
- ac_cpp_err=$ac_c_preproc_warn_flag |
89 |
- else |
90 |
- ac_cpp_err= |
91 |
- fi |
92 |
-else |
93 |
- ac_cpp_err=yes |
94 |
-fi |
95 |
-if test -z "$ac_cpp_err"; then |
96 |
- ac_header_preproc=yes |
97 |
-else |
98 |
- echo "$as_me: failed program was:" >&5 |
99 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
100 |
- |
101 |
- ac_header_preproc=no |
102 |
-fi |
103 |
-rm -f conftest.err conftest.$ac_ext |
104 |
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
105 |
-echo "${ECHO_T}$ac_header_preproc" >&6 |
106 |
- |
107 |
-# So? What about this header? |
108 |
-case $ac_header_compiler:$ac_header_preproc in |
109 |
- yes:no ) |
110 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
111 |
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
112 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
113 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
114 |
- ( |
115 |
- cat <<\_ASBOX |
116 |
-## ------------------------------------ ## |
117 |
-## Report this to bug-autoconf@gnu.org. ## |
118 |
-## ------------------------------------ ## |
119 |
-_ASBOX |
120 |
- ) | |
121 |
- sed "s/^/$as_me: WARNING: /" >&2 |
122 |
- ;; |
123 |
- no:yes ) |
124 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
125 |
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
126 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
127 |
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
128 |
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
129 |
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
130 |
- ( |
131 |
- cat <<\_ASBOX |
132 |
-## ------------------------------------ ## |
133 |
-## Report this to bug-autoconf@gnu.org. ## |
134 |
-## ------------------------------------ ## |
135 |
-_ASBOX |
136 |
- ) | |
137 |
- sed "s/^/$as_me: WARNING: /" >&2 |
138 |
- ;; |
139 |
-esac |
140 |
-echo "$as_me:$LINENO: checking for $ac_header" >&5 |
141 |
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
142 |
-if eval "test \"\${$as_ac_Header+set}\" = set"; then |
143 |
- echo $ECHO_N "(cached) $ECHO_C" >&6 |
144 |
-else |
145 |
- eval "$as_ac_Header=$ac_header_preproc" |
146 |
-fi |
147 |
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
148 |
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
149 |
- |
150 |
-fi |
151 |
-if test `eval echo '${'$as_ac_Header'}'` = yes; then |
152 |
- cat >>confdefs.h <<_ACEOF |
153 |
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
154 |
-_ACEOF |
155 |
- |
156 |
-else |
157 |
- |
158 |
- echo "Do you want this script to install byteswap.h to /usr/include (y/n)?" |
159 |
- read i |
160 |
- case "$i" in |
161 |
- y* | Y*) |
162 |
- echo "Will now try to copy byteswap.h to /usr/include/" |
163 |
- cp -i ../include/byteswap.h /usr/include |
164 |
- mkdir -vp /usr/include/bits |
165 |
- cp -i ../include/bits/byteswap.h /usr/include/bits/ |
166 |
- ;; |
167 |
- *) |
168 |
- exit 1 |
169 |
- ;; |
170 |
- esac |
171 |
- |
172 |
-fi |
173 |
- |
174 |
-done |
175 |
- |
176 |
- |
177 |
|
178 |
# On linux plaforms, we will have to check that includes from kernel are |
179 |
# available. |