GNU Binutils with patches for OS216
Révision | 516b62eb709689f9d6f91edbed871c57d2d44b7f (tree) |
---|---|
l'heure | 2005-04-29 23:39:21 |
Auteur | Paul Brook <paul@code...> |
Commiter | Paul Brook |
2005-04-29 Paul Brook <paul@codesourcery.com>
* sim/common/callback.c (PIPE_BUF): Provide default refinition.
(os_lstat): Use stat if lstat is not available on the host.
(os_ftruncate): Return EINVAL if not available on the host.
(os_truncate): Ditto.
* sim/common/configure.ac: Check for lstat, truncate and ftruncate.
* sim/common/configure: Regenerate.
* sim/common/config.in: Regenerate.
@@ -1,5 +1,15 @@ | ||
1 | 1 | 2005-04-29 Paul Brook <paul@codesourcery.com> |
2 | 2 | |
3 | + * sim/common/callback.c (PIPE_BUF): Provide default refinition. | |
4 | + (os_lstat): Use stat if lstat is not available on the host. | |
5 | + (os_ftruncate): Return EINVAL if not available on the host. | |
6 | + (os_truncate): Ditto. | |
7 | + * sim/common/configure.ac: Check for lstat, truncate and ftruncate. | |
8 | + * sim/common/configure: Regenerate. | |
9 | + * sim/common/config.in: Regenerate. | |
10 | + | |
11 | +2005-04-29 Paul Brook <paul@codesourcery.com> | |
12 | + | |
3 | 13 | * gdb/remote-sim.c (SIGTRAP): Provide default defnition. |
4 | 14 | * gdb/signals/signals.c (SIGRAP): Ditto. |
5 | 15 |
@@ -60,6 +60,10 @@ | ||
60 | 60 | #include <unistd.h> |
61 | 61 | #endif |
62 | 62 | |
63 | +#ifndef PIPE_BUF | |
64 | +#define PIPE_BUF 512 | |
65 | +#endif | |
66 | + | |
63 | 67 | /* ??? sim_cb_printf should be cb_printf, but until the callback support is |
64 | 68 | broken out of the simulator directory, these are here to not require |
65 | 69 | sim-utils.h. */ |
@@ -577,7 +581,11 @@ os_lstat (p, file, buf) | ||
577 | 581 | struct stat *buf; |
578 | 582 | { |
579 | 583 | /* NOTE: hpn/2004-12-12: Same issue here as with os_fstat. */ |
584 | +#ifdef HAVE_LSTAT | |
580 | 585 | return wrap (p, lstat (file, buf)); |
586 | +#else | |
587 | + return wrap (p, stat (file, buf)); | |
588 | +#endif | |
581 | 589 | } |
582 | 590 | |
583 | 591 | static int |
@@ -596,7 +604,12 @@ os_ftruncate (p, fd, len) | ||
596 | 604 | } |
597 | 605 | if (result) |
598 | 606 | return result; |
607 | +#ifdef HAVE_FTRUNCATE | |
599 | 608 | result = wrap (p, ftruncate (fdmap (p, fd), len)); |
609 | +#else | |
610 | + p->last_errno = EINVAL; | |
611 | + result = -1; | |
612 | +#endif | |
600 | 613 | return result; |
601 | 614 | } |
602 | 615 |
@@ -606,7 +619,12 @@ os_truncate (p, file, len) | ||
606 | 619 | const char *file; |
607 | 620 | long len; |
608 | 621 | { |
622 | +#ifdef HAVE_TRUNCATE | |
609 | 623 | return wrap (p, truncate (file, len)); |
624 | +#else | |
625 | + p->last_errno = EINVAL; | |
626 | + return -1; | |
627 | +#endif | |
610 | 628 | } |
611 | 629 | |
612 | 630 | static int |
@@ -1,222 +1,267 @@ | ||
1 | -/* config.in. Generated automatically from configure.in by autoheader. */ | |
1 | +/* config.in. Generated from configure.ac by autoheader. */ | |
2 | 2 | |
3 | -/* Define if using alloca.c. */ | |
4 | -#undef C_ALLOCA | |
3 | +/* Define to 1 if NLS is requested. */ | |
4 | +#undef ENABLE_NLS | |
5 | 5 | |
6 | -/* Define to empty if the keyword does not work. */ | |
7 | -#undef const | |
6 | +/* Define as 1 if you have catgets and don't want to use GNU gettext. */ | |
7 | +#undef HAVE_CATGETS | |
8 | + | |
9 | +/* Define as 1 if you have gettext and don't want to use GNU gettext. */ | |
10 | +#undef HAVE_GETTEXT | |
11 | + | |
12 | +/* Define as 1 if you have the stpcpy function. */ | |
13 | +#undef HAVE_STPCPY | |
14 | + | |
15 | +/* Define if your locale.h file contains LC_MESSAGES. */ | |
16 | +#undef HAVE_LC_MESSAGES | |
8 | 17 | |
9 | -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. | |
10 | - This function is required for alloca.c support on those systems. */ | |
18 | +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP | |
19 | + systems. This function is required for `alloca.c' support on those systems. | |
20 | + */ | |
11 | 21 | #undef CRAY_STACKSEG_END |
12 | 22 | |
13 | -/* Define if you have alloca, as a function or macro. */ | |
23 | +/* Define to 1 if using `alloca.c'. */ | |
24 | +#undef C_ALLOCA | |
25 | + | |
26 | +/* Define to 1 if NLS is requested */ | |
27 | +#undef ENABLE_NLS | |
28 | + | |
29 | +/* Define to 1 if you have `alloca', as a function or macro. */ | |
14 | 30 | #undef HAVE_ALLOCA |
15 | 31 | |
16 | -/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ | |
32 | +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). | |
33 | + */ | |
17 | 34 | #undef HAVE_ALLOCA_H |
18 | 35 | |
19 | -/* Define if you have a working `mmap' system call. */ | |
20 | -#undef HAVE_MMAP | |
36 | +/* Define to 1 if you have the <argz.h> header file. */ | |
37 | +#undef HAVE_ARGZ_H | |
21 | 38 | |
22 | -/* Define as __inline if that's what the C compiler calls it. */ | |
23 | -#undef inline | |
39 | +/* Define to 1 if you have the `dcgettext' function. */ | |
40 | +#undef HAVE_DCGETTEXT | |
24 | 41 | |
25 | -/* Define to `long' if <sys/types.h> doesn't define. */ | |
26 | -#undef off_t | |
42 | +/* Define to 1 if you have the <dlfcn.h> header file. */ | |
43 | +#undef HAVE_DLFCN_H | |
27 | 44 | |
28 | -/* Define if you need to in order for stat and other things to work. */ | |
29 | -#undef _POSIX_SOURCE | |
45 | +/* Define to 1 if you have the <errno.h> header file. */ | |
46 | +#undef HAVE_ERRNO_H | |
30 | 47 | |
31 | -/* Define as the return type of signal handlers (int or void). */ | |
32 | -#undef RETSIGTYPE | |
48 | +/* Define to 1 if you have the <fcntl.h> header file. */ | |
49 | +#undef HAVE_FCNTL_H | |
33 | 50 | |
34 | -/* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
35 | -#undef size_t | |
51 | +/* Define to 1 if you have the <fpu_control.h> header file. */ | |
52 | +#undef HAVE_FPU_CONTROL_H | |
36 | 53 | |
37 | -/* If using the C implementation of alloca, define if you know the | |
38 | - direction of stack growth for your system; otherwise it will be | |
39 | - automatically deduced at run-time. | |
40 | - STACK_DIRECTION > 0 => grows toward higher addresses | |
41 | - STACK_DIRECTION < 0 => grows toward lower addresses | |
42 | - STACK_DIRECTION = 0 => direction of growth unknown | |
43 | - */ | |
44 | -#undef STACK_DIRECTION | |
54 | +/* Define to 1 if you have the `ftruncate' function. */ | |
55 | +#undef HAVE_FTRUNCATE | |
45 | 56 | |
46 | -/* Define if you have the ANSI C header files. */ | |
47 | -#undef STDC_HEADERS | |
57 | +/* Define to 1 if you have the `getcwd' function. */ | |
58 | +#undef HAVE_GETCWD | |
48 | 59 | |
49 | -/* Define to 1 if NLS is requested. */ | |
50 | -#undef ENABLE_NLS | |
60 | +/* Define to 1 if you have the `getpagesize' function. */ | |
61 | +#undef HAVE_GETPAGESIZE | |
51 | 62 | |
52 | -/* Define as 1 if you have gettext and don't want to use GNU gettext. */ | |
63 | +/* Define to 1 if you have the `getrusage' function. */ | |
64 | +#undef HAVE_GETRUSAGE | |
65 | + | |
66 | +/* Define as 1 if you have gettext and don't want to use GNU gettext. */ | |
53 | 67 | #undef HAVE_GETTEXT |
54 | 68 | |
55 | -/* Define as 1 if you have the stpcpy function. */ | |
56 | -#undef HAVE_STPCPY | |
69 | +/* Define to 1 if you have the <inttypes.h> header file. */ | |
70 | +#undef HAVE_INTTYPES_H | |
57 | 71 | |
58 | -/* Define if your locale.h file contains LC_MESSAGES. */ | |
72 | +/* Define if your locale.h file contains LC_MESSAGES. */ | |
59 | 73 | #undef HAVE_LC_MESSAGES |
60 | 74 | |
61 | -/* Define if you have the __argz_count function. */ | |
62 | -#undef HAVE___ARGZ_COUNT | |
63 | - | |
64 | -/* Define if you have the __argz_next function. */ | |
65 | -#undef HAVE___ARGZ_NEXT | |
75 | +/* Define to 1 if you have the `nsl' library (-lnsl). */ | |
76 | +#undef HAVE_LIBNSL | |
66 | 77 | |
67 | -/* Define if you have the __argz_stringify function. */ | |
68 | -#undef HAVE___ARGZ_STRINGIFY | |
78 | +/* Define to 1 if you have the `socket' library (-lsocket). */ | |
79 | +#undef HAVE_LIBSOCKET | |
69 | 80 | |
70 | -/* Define if you have the __setfpucw function. */ | |
71 | -#undef HAVE___SETFPUCW | |
81 | +/* Define to 1 if you have the <limits.h> header file. */ | |
82 | +#undef HAVE_LIMITS_H | |
72 | 83 | |
73 | -/* Define if you have the dcgettext function. */ | |
74 | -#undef HAVE_DCGETTEXT | |
84 | +/* Define to 1 if you have the <locale.h> header file. */ | |
85 | +#undef HAVE_LOCALE_H | |
75 | 86 | |
76 | -/* Define if you have the getcwd function. */ | |
77 | -#undef HAVE_GETCWD | |
87 | +/* Define to 1 if you have the `lstat' function. */ | |
88 | +#undef HAVE_LSTAT | |
78 | 89 | |
79 | -/* Define if you have the getpagesize function. */ | |
80 | -#undef HAVE_GETPAGESIZE | |
90 | +/* Define to 1 if you have the <malloc.h> header file. */ | |
91 | +#undef HAVE_MALLOC_H | |
81 | 92 | |
82 | -/* Define if you have the getrusage function. */ | |
83 | -#undef HAVE_GETRUSAGE | |
93 | +/* Define to 1 if you have the <memory.h> header file. */ | |
94 | +#undef HAVE_MEMORY_H | |
84 | 95 | |
85 | -/* Define if you have the mmap function. */ | |
96 | +/* Define to 1 if you have the `mmap' function. */ | |
86 | 97 | #undef HAVE_MMAP |
87 | 98 | |
88 | -/* Define if you have the munmap function. */ | |
99 | +/* Define to 1 if you have the `munmap' function. */ | |
89 | 100 | #undef HAVE_MUNMAP |
90 | 101 | |
91 | -/* Define if you have the putenv function. */ | |
102 | +/* Define to 1 if you have the <nl_types.h> header file. */ | |
103 | +#undef HAVE_NL_TYPES_H | |
104 | + | |
105 | +/* Define to 1 if you have the `putenv' function. */ | |
92 | 106 | #undef HAVE_PUTENV |
93 | 107 | |
94 | -/* Define if you have the setenv function. */ | |
108 | +/* Define to 1 if you have the `setenv' function. */ | |
95 | 109 | #undef HAVE_SETENV |
96 | 110 | |
97 | -/* Define if you have the setlocale function. */ | |
111 | +/* Define to 1 if you have the `setlocale' function. */ | |
98 | 112 | #undef HAVE_SETLOCALE |
99 | 113 | |
100 | -/* Define if you have the sigaction function. */ | |
114 | +/* Define to 1 if you have the `sigaction' function. */ | |
101 | 115 | #undef HAVE_SIGACTION |
102 | 116 | |
103 | -/* Define if you have the stpcpy function. */ | |
117 | +/* Define to 1 if you have the <stdint.h> header file. */ | |
118 | +#undef HAVE_STDINT_H | |
119 | + | |
120 | +/* Define to 1 if you have the <stdlib.h> header file. */ | |
121 | +#undef HAVE_STDLIB_H | |
122 | + | |
123 | +/* Define if you have the stpcpy function */ | |
104 | 124 | #undef HAVE_STPCPY |
105 | 125 | |
106 | -/* Define if you have the strcasecmp function. */ | |
126 | +/* Define to 1 if you have the `strcasecmp' function. */ | |
107 | 127 | #undef HAVE_STRCASECMP |
108 | 128 | |
109 | -/* Define if you have the strchr function. */ | |
129 | +/* Define to 1 if you have the `strchr' function. */ | |
110 | 130 | #undef HAVE_STRCHR |
111 | 131 | |
112 | -/* Define if you have the time function. */ | |
113 | -#undef HAVE_TIME | |
132 | +/* Define to 1 if you have the <strings.h> header file. */ | |
133 | +#undef HAVE_STRINGS_H | |
114 | 134 | |
115 | -/* Define if you have the <argz.h> header file. */ | |
116 | -#undef HAVE_ARGZ_H | |
135 | +/* Define to 1 if you have the <string.h> header file. */ | |
136 | +#undef HAVE_STRING_H | |
117 | 137 | |
118 | -/* Define if you have the <dlfcn.h> header file. */ | |
119 | -#undef HAVE_DLFCN_H | |
138 | +/* Define to 1 if st_atime is a member of struct stat. */ | |
139 | +#undef HAVE_STRUCT_STAT_ST_ATIME | |
120 | 140 | |
121 | -/* Define if you have the <errno.h> header file. */ | |
122 | -#undef HAVE_ERRNO_H | |
141 | +/* Define to 1 if st_blksize is a member of struct stat. */ | |
142 | +#undef HAVE_STRUCT_STAT_ST_BLKSIZE | |
123 | 143 | |
124 | -/* Define if you have the <fcntl.h> header file. */ | |
125 | -#undef HAVE_FCNTL_H | |
144 | +/* Define to 1 if st_blocks is a member of struct stat. */ | |
145 | +#undef HAVE_STRUCT_STAT_ST_BLOCKS | |
126 | 146 | |
127 | -/* Define if you have the <fpu_control.h> header file. */ | |
128 | -#undef HAVE_FPU_CONTROL_H | |
147 | +/* Define to 1 if st_ctime is a member of struct stat. */ | |
148 | +#undef HAVE_STRUCT_STAT_ST_CTIME | |
129 | 149 | |
130 | -/* Define if you have the <limits.h> header file. */ | |
131 | -#undef HAVE_LIMITS_H | |
150 | +/* Define to 1 if st_dev is a member of struct stat. */ | |
151 | +#undef HAVE_STRUCT_STAT_ST_DEV | |
132 | 152 | |
133 | -/* Define if you have the <locale.h> header file. */ | |
134 | -#undef HAVE_LOCALE_H | |
153 | +/* Define to 1 if st_gid is a member of struct stat. */ | |
154 | +#undef HAVE_STRUCT_STAT_ST_GID | |
135 | 155 | |
136 | -/* Define if you have the <malloc.h> header file. */ | |
137 | -#undef HAVE_MALLOC_H | |
156 | +/* Define to 1 if st_ino is a member of struct stat. */ | |
157 | +#undef HAVE_STRUCT_STAT_ST_INO | |
138 | 158 | |
139 | -/* Define if you have the <nl_types.h> header file. */ | |
140 | -#undef HAVE_NL_TYPES_H | |
159 | +/* Define to 1 if st_mode is a member of struct stat. */ | |
160 | +#undef HAVE_STRUCT_STAT_ST_MODE | |
141 | 161 | |
142 | -/* Define if you have the <stdlib.h> header file. */ | |
143 | -#undef HAVE_STDLIB_H | |
162 | +/* Define to 1 if st_mtime is a member of struct stat. */ | |
163 | +#undef HAVE_STRUCT_STAT_ST_MTIME | |
144 | 164 | |
145 | -/* Define if you have the <string.h> header file. */ | |
146 | -#undef HAVE_STRING_H | |
165 | +/* Define to 1 if st_nlink is a member of struct stat. */ | |
166 | +#undef HAVE_STRUCT_STAT_ST_NLINK | |
147 | 167 | |
148 | -/* Define if you have the <strings.h> header file. */ | |
149 | -#undef HAVE_STRINGS_H | |
168 | +/* Define to 1 if st_rdev is a member of struct stat. */ | |
169 | +#undef HAVE_STRUCT_STAT_ST_RDEV | |
150 | 170 | |
151 | -/* Define if you have the <sys/mman.h> header file. */ | |
171 | +/* Define to 1 if st_size is a member of struct stat. */ | |
172 | +#undef HAVE_STRUCT_STAT_ST_SIZE | |
173 | + | |
174 | +/* Define to 1 if st_uid is a member of struct stat. */ | |
175 | +#undef HAVE_STRUCT_STAT_ST_UID | |
176 | + | |
177 | +/* Define to 1 if you have the <sys/mman.h> header file. */ | |
152 | 178 | #undef HAVE_SYS_MMAN_H |
153 | 179 | |
154 | -/* Define if you have the <sys/param.h> header file. */ | |
180 | +/* Define to 1 if you have the <sys/param.h> header file. */ | |
155 | 181 | #undef HAVE_SYS_PARAM_H |
156 | 182 | |
157 | -/* Define if you have the <sys/resource.h> header file. */ | |
183 | +/* Define to 1 if you have the <sys/resource.h> header file. */ | |
158 | 184 | #undef HAVE_SYS_RESOURCE_H |
159 | 185 | |
160 | -/* Define if you have the <sys/stat.h> header file. */ | |
186 | +/* Define to 1 if you have the <sys/stat.h> header file. */ | |
161 | 187 | #undef HAVE_SYS_STAT_H |
162 | 188 | |
163 | -/* Define if you have the <sys/time.h> header file. */ | |
189 | +/* Define to 1 if you have the <sys/times.h> header file. */ | |
190 | +#undef HAVE_SYS_TIMES_H | |
191 | + | |
192 | +/* Define to 1 if you have the <sys/time.h> header file. */ | |
164 | 193 | #undef HAVE_SYS_TIME_H |
165 | 194 | |
166 | -/* Define if you have the <sys/times.h> header file. */ | |
167 | -#undef HAVE_SYS_TIMES_H | |
195 | +/* Define to 1 if you have the <sys/types.h> header file. */ | |
196 | +#undef HAVE_SYS_TYPES_H | |
168 | 197 | |
169 | -/* Define if you have the <time.h> header file. */ | |
198 | +/* Define to 1 if you have the `time' function. */ | |
199 | +#undef HAVE_TIME | |
200 | + | |
201 | +/* Define to 1 if you have the <time.h> header file. */ | |
170 | 202 | #undef HAVE_TIME_H |
171 | 203 | |
172 | -/* Define if you have the <unistd.h> header file. */ | |
204 | +/* Define to 1 if you have the `truncate' function. */ | |
205 | +#undef HAVE_TRUNCATE | |
206 | + | |
207 | +/* Define to 1 if you have the <unistd.h> header file. */ | |
173 | 208 | #undef HAVE_UNISTD_H |
174 | 209 | |
175 | -/* Define if you have the <values.h> header file. */ | |
210 | +/* Define to 1 if you have the <values.h> header file. */ | |
176 | 211 | #undef HAVE_VALUES_H |
177 | 212 | |
178 | -/* Define if you have the nsl library (-lnsl). */ | |
179 | -#undef HAVE_LIBNSL | |
213 | +/* Define to 1 if you have the `__argz_count' function. */ | |
214 | +#undef HAVE___ARGZ_COUNT | |
180 | 215 | |
181 | -/* Define if you have the socket library (-lsocket). */ | |
182 | -#undef HAVE_LIBSOCKET | |
216 | +/* Define to 1 if you have the `__argz_next' function. */ | |
217 | +#undef HAVE___ARGZ_NEXT | |
183 | 218 | |
184 | -/* Define to 1 if st_dev is a member of struct stat. */ | |
185 | -#undef HAVE_STRUCT_STAT_ST_DEV | |
219 | +/* Define to 1 if you have the `__argz_stringify' function. */ | |
220 | +#undef HAVE___ARGZ_STRINGIFY | |
186 | 221 | |
187 | -/* Define to 1 if st_ino is a member of struct stat. */ | |
188 | -#undef HAVE_STRUCT_STAT_ST_INO | |
222 | +/* Define to 1 if you have the `__setfpucw' function. */ | |
223 | +#undef HAVE___SETFPUCW | |
189 | 224 | |
190 | -/* Define to 1 if st_mode is a member of struct stat. */ | |
191 | -#undef HAVE_STRUCT_STAT_ST_MODE | |
225 | +/* Define to the address where bug reports for this package should be sent. */ | |
226 | +#undef PACKAGE_BUGREPORT | |
192 | 227 | |
193 | -/* Define to 1 if st_nlink is a member of struct stat. */ | |
194 | -#undef HAVE_STRUCT_STAT_ST_NLINK | |
228 | +/* Define to the full name of this package. */ | |
229 | +#undef PACKAGE_NAME | |
195 | 230 | |
196 | -/* Define to 1 if st_uid is a member of struct stat. */ | |
197 | -#undef HAVE_STRUCT_STAT_ST_UID | |
231 | +/* Define to the full name and version of this package. */ | |
232 | +#undef PACKAGE_STRING | |
198 | 233 | |
199 | -/* Define to 1 if st_gid is a member of struct stat. */ | |
200 | -#undef HAVE_STRUCT_STAT_ST_GID | |
234 | +/* Define to the one symbol short name of this package. */ | |
235 | +#undef PACKAGE_TARNAME | |
201 | 236 | |
202 | -/* Define to 1 if st_rdev is a member of struct stat. */ | |
203 | -#undef HAVE_STRUCT_STAT_ST_RDEV | |
237 | +/* Define to the version of this package. */ | |
238 | +#undef PACKAGE_VERSION | |
204 | 239 | |
205 | -/* Define to 1 if st_size is a member of struct stat. */ | |
206 | -#undef HAVE_STRUCT_STAT_ST_SIZE | |
240 | +/* Define as the return type of signal handlers (`int' or `void'). */ | |
241 | +#undef RETSIGTYPE | |
207 | 242 | |
208 | -/* Define to 1 if st_blksize is a member of struct stat. */ | |
209 | -#undef HAVE_STRUCT_STAT_ST_BLKSIZE | |
243 | +/* If using the C implementation of alloca, define if you know the | |
244 | + direction of stack growth for your system; otherwise it will be | |
245 | + automatically deduced at run-time. | |
246 | + STACK_DIRECTION > 0 => grows toward higher addresses | |
247 | + STACK_DIRECTION < 0 => grows toward lower addresses | |
248 | + STACK_DIRECTION = 0 => direction of growth unknown */ | |
249 | +#undef STACK_DIRECTION | |
210 | 250 | |
211 | -/* Define to 1 if st_blocks is a member of struct stat. */ | |
212 | -#undef HAVE_STRUCT_STAT_ST_BLOCKS | |
251 | +/* Define to 1 if you have the ANSI C header files. */ | |
252 | +#undef STDC_HEADERS | |
213 | 253 | |
214 | -/* Define to 1 if st_atime is a member of struct stat. */ | |
215 | -#undef HAVE_STRUCT_STAT_ST_ATIME | |
254 | +/* Define to empty if `const' does not conform to ANSI C. */ | |
255 | +#undef const | |
216 | 256 | |
217 | -/* Define to 1 if st_mtime is a member of struct stat. */ | |
218 | -#undef HAVE_STRUCT_STAT_ST_MTIME | |
257 | +/* Define to `__inline__' or `__inline' if that's what the C compiler | |
258 | + calls it, or to nothing if 'inline' is not supported under any name. */ | |
259 | +#ifndef __cplusplus | |
260 | +#undef inline | |
261 | +#endif | |
219 | 262 | |
220 | -/* Define to 1 if st_ctime is a member of struct stat. */ | |
221 | -#undef HAVE_STRUCT_STAT_ST_CTIME | |
263 | +/* Define to `long' if <sys/types.h> does not define. */ | |
264 | +#undef off_t | |
222 | 265 | |
266 | +/* Define to `unsigned' if <sys/types.h> does not define. */ | |
267 | +#undef size_t |
@@ -964,7 +964,7 @@ esac | ||
964 | 964 | else |
965 | 965 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
966 | 966 | fi |
967 | - cd $ac_popdir | |
967 | + cd "$ac_popdir" | |
968 | 968 | done |
969 | 969 | fi |
970 | 970 |
@@ -2023,8 +2023,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2023 | 2023 | cat conftest.err >&5 |
2024 | 2024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2025 | 2025 | (exit $ac_status); } && |
2026 | - { ac_try='test -z "$ac_c_werror_flag" | |
2027 | - || test ! -s conftest.err' | |
2026 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2028 | 2027 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2029 | 2028 | (eval $ac_try) 2>&5 |
2030 | 2029 | ac_status=$? |
@@ -2082,8 +2081,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2082 | 2081 | cat conftest.err >&5 |
2083 | 2082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2084 | 2083 | (exit $ac_status); } && |
2085 | - { ac_try='test -z "$ac_c_werror_flag" | |
2086 | - || test ! -s conftest.err' | |
2084 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2087 | 2085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2088 | 2086 | (eval $ac_try) 2>&5 |
2089 | 2087 | ac_status=$? |
@@ -2199,8 +2197,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2199 | 2197 | cat conftest.err >&5 |
2200 | 2198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2201 | 2199 | (exit $ac_status); } && |
2202 | - { ac_try='test -z "$ac_c_werror_flag" | |
2203 | - || test ! -s conftest.err' | |
2200 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2204 | 2201 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2205 | 2202 | (eval $ac_try) 2>&5 |
2206 | 2203 | ac_status=$? |
@@ -2254,8 +2251,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2254 | 2251 | cat conftest.err >&5 |
2255 | 2252 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2256 | 2253 | (exit $ac_status); } && |
2257 | - { ac_try='test -z "$ac_c_werror_flag" | |
2258 | - || test ! -s conftest.err' | |
2254 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2259 | 2255 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2260 | 2256 | (eval $ac_try) 2>&5 |
2261 | 2257 | ac_status=$? |
@@ -2300,8 +2296,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2300 | 2296 | cat conftest.err >&5 |
2301 | 2297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2302 | 2298 | (exit $ac_status); } && |
2303 | - { ac_try='test -z "$ac_c_werror_flag" | |
2304 | - || test ! -s conftest.err' | |
2299 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2305 | 2300 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2306 | 2301 | (eval $ac_try) 2>&5 |
2307 | 2302 | ac_status=$? |
@@ -2345,8 +2340,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2345 | 2340 | cat conftest.err >&5 |
2346 | 2341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2347 | 2342 | (exit $ac_status); } && |
2348 | - { ac_try='test -z "$ac_c_werror_flag" | |
2349 | - || test ! -s conftest.err' | |
2343 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2350 | 2344 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2351 | 2345 | (eval $ac_try) 2>&5 |
2352 | 2346 | ac_status=$? |
@@ -2627,8 +2621,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2627 | 2621 | cat conftest.err >&5 |
2628 | 2622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2629 | 2623 | (exit $ac_status); } && |
2630 | - { ac_try='test -z "$ac_c_werror_flag" | |
2631 | - || test ! -s conftest.err' | |
2624 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2632 | 2625 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2633 | 2626 | (eval $ac_try) 2>&5 |
2634 | 2627 | ac_status=$? |
@@ -2682,8 +2675,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
2682 | 2675 | cat conftest.err >&5 |
2683 | 2676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2684 | 2677 | (exit $ac_status); } && |
2685 | - { ac_try='test -z "$ac_c_werror_flag" | |
2686 | - || test ! -s conftest.err' | |
2678 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
2687 | 2679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2688 | 2680 | (eval $ac_try) 2>&5 |
2689 | 2681 | ac_status=$? |
@@ -2998,8 +2990,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
2998 | 2990 | cat conftest.err >&5 |
2999 | 2991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3000 | 2992 | (exit $ac_status); } && |
3001 | - { ac_try='test -z "$ac_c_werror_flag" | |
3002 | - || test ! -s conftest.err' | |
2993 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3003 | 2994 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3004 | 2995 | (eval $ac_try) 2>&5 |
3005 | 2996 | ac_status=$? |
@@ -3206,8 +3197,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3206 | 3197 | cat conftest.err >&5 |
3207 | 3198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3208 | 3199 | (exit $ac_status); } && |
3209 | - { ac_try='test -z "$ac_c_werror_flag" | |
3210 | - || test ! -s conftest.err' | |
3200 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3211 | 3201 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3212 | 3202 | (eval $ac_try) 2>&5 |
3213 | 3203 | ac_status=$? |
@@ -3267,8 +3257,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3267 | 3257 | cat conftest.err >&5 |
3268 | 3258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3269 | 3259 | (exit $ac_status); } && |
3270 | - { ac_try='test -z "$ac_c_werror_flag" | |
3271 | - || test ! -s conftest.err' | |
3260 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3272 | 3261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3273 | 3262 | (eval $ac_try) 2>&5 |
3274 | 3263 | ac_status=$? |
@@ -3347,8 +3336,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3347 | 3336 | cat conftest.err >&5 |
3348 | 3337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3349 | 3338 | (exit $ac_status); } && |
3350 | - { ac_try='test -z "$ac_c_werror_flag" | |
3351 | - || test ! -s conftest.err' | |
3339 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3352 | 3340 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3353 | 3341 | (eval $ac_try) 2>&5 |
3354 | 3342 | ac_status=$? |
@@ -3413,8 +3401,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3413 | 3401 | cat conftest.err >&5 |
3414 | 3402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3415 | 3403 | (exit $ac_status); } && |
3416 | - { ac_try='test -z "$ac_c_werror_flag" | |
3417 | - || test ! -s conftest.err' | |
3404 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3418 | 3405 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3419 | 3406 | (eval $ac_try) 2>&5 |
3420 | 3407 | ac_status=$? |
@@ -3479,8 +3466,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3479 | 3466 | cat conftest.err >&5 |
3480 | 3467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3481 | 3468 | (exit $ac_status); } && |
3482 | - { ac_try='test -z "$ac_c_werror_flag" | |
3483 | - || test ! -s conftest.err' | |
3469 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3484 | 3470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3485 | 3471 | (eval $ac_try) 2>&5 |
3486 | 3472 | ac_status=$? |
@@ -3544,8 +3530,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3544 | 3530 | cat conftest.err >&5 |
3545 | 3531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3546 | 3532 | (exit $ac_status); } && |
3547 | - { ac_try='test -z "$ac_c_werror_flag" | |
3548 | - || test ! -s conftest.err' | |
3533 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3549 | 3534 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3550 | 3535 | (eval $ac_try) 2>&5 |
3551 | 3536 | ac_status=$? |
@@ -3626,8 +3611,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3626 | 3611 | cat conftest.err >&5 |
3627 | 3612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3628 | 3613 | (exit $ac_status); } && |
3629 | - { ac_try='test -z "$ac_c_werror_flag" | |
3630 | - || test ! -s conftest.err' | |
3614 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3631 | 3615 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3632 | 3616 | (eval $ac_try) 2>&5 |
3633 | 3617 | ac_status=$? |
@@ -3768,8 +3752,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
3768 | 3752 | cat conftest.err >&5 |
3769 | 3753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3770 | 3754 | (exit $ac_status); } && |
3771 | - { ac_try='test -z "$ac_c_werror_flag" | |
3772 | - || test ! -s conftest.err' | |
3755 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3773 | 3756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3774 | 3757 | (eval $ac_try) 2>&5 |
3775 | 3758 | ac_status=$? |
@@ -3907,8 +3890,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
3907 | 3890 | cat conftest.err >&5 |
3908 | 3891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3909 | 3892 | (exit $ac_status); } && |
3910 | - { ac_try='test -z "$ac_c_werror_flag" | |
3911 | - || test ! -s conftest.err' | |
3893 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3912 | 3894 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3913 | 3895 | (eval $ac_try) 2>&5 |
3914 | 3896 | ac_status=$? |
@@ -4092,8 +4074,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4092 | 4074 | cat conftest.err >&5 |
4093 | 4075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4094 | 4076 | (exit $ac_status); } && |
4095 | - { ac_try='test -z "$ac_c_werror_flag" | |
4096 | - || test ! -s conftest.err' | |
4077 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4097 | 4078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4098 | 4079 | (eval $ac_try) 2>&5 |
4099 | 4080 | ac_status=$? |
@@ -4344,8 +4325,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4344 | 4325 | cat conftest.err >&5 |
4345 | 4326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4346 | 4327 | (exit $ac_status); } && |
4347 | - { ac_try='test -z "$ac_c_werror_flag" | |
4348 | - || test ! -s conftest.err' | |
4328 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4349 | 4329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4350 | 4330 | (eval $ac_try) 2>&5 |
4351 | 4331 | ac_status=$? |
@@ -4539,8 +4519,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4539 | 4519 | cat conftest.err >&5 |
4540 | 4520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4541 | 4521 | (exit $ac_status); } && |
4542 | - { ac_try='test -z "$ac_c_werror_flag" | |
4543 | - || test ! -s conftest.err' | |
4522 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4544 | 4523 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4545 | 4524 | (eval $ac_try) 2>&5 |
4546 | 4525 | ac_status=$? |
@@ -4643,8 +4622,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4643 | 4622 | cat conftest.err >&5 |
4644 | 4623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4645 | 4624 | (exit $ac_status); } && |
4646 | - { ac_try='test -z "$ac_c_werror_flag" | |
4647 | - || test ! -s conftest.err' | |
4625 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4648 | 4626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4649 | 4627 | (eval $ac_try) 2>&5 |
4650 | 4628 | ac_status=$? |
@@ -4715,8 +4693,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4715 | 4693 | cat conftest.err >&5 |
4716 | 4694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4717 | 4695 | (exit $ac_status); } && |
4718 | - { ac_try='test -z "$ac_c_werror_flag" | |
4719 | - || test ! -s conftest.err' | |
4696 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4720 | 4697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4721 | 4698 | (eval $ac_try) 2>&5 |
4722 | 4699 | ac_status=$? |
@@ -4813,8 +4790,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
4813 | 4790 | cat conftest.err >&5 |
4814 | 4791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4815 | 4792 | (exit $ac_status); } && |
4816 | - { ac_try='test -z "$ac_c_werror_flag" | |
4817 | - || test ! -s conftest.err' | |
4793 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4818 | 4794 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4819 | 4795 | (eval $ac_try) 2>&5 |
4820 | 4796 | ac_status=$? |
@@ -4950,8 +4926,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
4950 | 4926 | cat conftest.err >&5 |
4951 | 4927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4952 | 4928 | (exit $ac_status); } && |
4953 | - { ac_try='test -z "$ac_c_werror_flag" | |
4954 | - || test ! -s conftest.err' | |
4929 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
4955 | 4930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4956 | 4931 | (eval $ac_try) 2>&5 |
4957 | 4932 | ac_status=$? |
@@ -5015,8 +4990,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5015 | 4990 | cat conftest.err >&5 |
5016 | 4991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5017 | 4992 | (exit $ac_status); } && |
5018 | - { ac_try='test -z "$ac_c_werror_flag" | |
5019 | - || test ! -s conftest.err' | |
4993 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5020 | 4994 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5021 | 4995 | (eval $ac_try) 2>&5 |
5022 | 4996 | ac_status=$? |
@@ -5071,8 +5045,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5071 | 5045 | cat conftest.err >&5 |
5072 | 5046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5073 | 5047 | (exit $ac_status); } && |
5074 | - { ac_try='test -z "$ac_c_werror_flag" | |
5075 | - || test ! -s conftest.err' | |
5048 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5076 | 5049 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5077 | 5050 | (eval $ac_try) 2>&5 |
5078 | 5051 | ac_status=$? |
@@ -5212,8 +5185,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5212 | 5185 | cat conftest.err >&5 |
5213 | 5186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5214 | 5187 | (exit $ac_status); } && |
5215 | - { ac_try='test -z "$ac_c_werror_flag" | |
5216 | - || test ! -s conftest.err' | |
5188 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5217 | 5189 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5218 | 5190 | (eval $ac_try) 2>&5 |
5219 | 5191 | ac_status=$? |
@@ -5346,8 +5318,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
5346 | 5318 | cat conftest.err >&5 |
5347 | 5319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5348 | 5320 | (exit $ac_status); } && |
5349 | - { ac_try='test -z "$ac_c_werror_flag" | |
5350 | - || test ! -s conftest.err' | |
5321 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5351 | 5322 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5352 | 5323 | (eval $ac_try) 2>&5 |
5353 | 5324 | ac_status=$? |
@@ -5624,8 +5595,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5624 | 5595 | cat conftest.err >&5 |
5625 | 5596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5626 | 5597 | (exit $ac_status); } && |
5627 | - { ac_try='test -z "$ac_c_werror_flag" | |
5628 | - || test ! -s conftest.err' | |
5598 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5629 | 5599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5630 | 5600 | (eval $ac_try) 2>&5 |
5631 | 5601 | ac_status=$? |
@@ -5819,8 +5789,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5819 | 5789 | cat conftest.err >&5 |
5820 | 5790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5821 | 5791 | (exit $ac_status); } && |
5822 | - { ac_try='test -z "$ac_c_werror_flag" | |
5823 | - || test ! -s conftest.err' | |
5792 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5824 | 5793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5825 | 5794 | (eval $ac_try) 2>&5 |
5826 | 5795 | ac_status=$? |
@@ -5970,8 +5939,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
5970 | 5939 | cat conftest.err >&5 |
5971 | 5940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5972 | 5941 | (exit $ac_status); } && |
5973 | - { ac_try='test -z "$ac_c_werror_flag" | |
5974 | - || test ! -s conftest.err' | |
5942 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
5975 | 5943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5976 | 5944 | (eval $ac_try) 2>&5 |
5977 | 5945 | ac_status=$? |
@@ -6121,8 +6089,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
6121 | 6089 | cat conftest.err >&5 |
6122 | 6090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6123 | 6091 | (exit $ac_status); } && |
6124 | - { ac_try='test -z "$ac_c_werror_flag" | |
6125 | - || test ! -s conftest.err' | |
6092 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
6126 | 6093 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6127 | 6094 | (eval $ac_try) 2>&5 |
6128 | 6095 | ac_status=$? |
@@ -6273,8 +6240,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
6273 | 6240 | cat conftest.err >&5 |
6274 | 6241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6275 | 6242 | (exit $ac_status); } && |
6276 | - { ac_try='test -z "$ac_c_werror_flag" | |
6277 | - || test ! -s conftest.err' | |
6243 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
6278 | 6244 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6279 | 6245 | (eval $ac_try) 2>&5 |
6280 | 6246 | ac_status=$? |
@@ -6461,8 +6427,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6461 | 6427 | cat conftest.err >&5 |
6462 | 6428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6463 | 6429 | (exit $ac_status); } && |
6464 | - { ac_try='test -z "$ac_c_werror_flag" | |
6465 | - || test ! -s conftest.err' | |
6430 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
6466 | 6431 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6467 | 6432 | (eval $ac_try) 2>&5 |
6468 | 6433 | ac_status=$? |
@@ -6535,8 +6500,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6535 | 6500 | cat conftest.err >&5 |
6536 | 6501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6537 | 6502 | (exit $ac_status); } && |
6538 | - { ac_try='test -z "$ac_c_werror_flag" | |
6539 | - || test ! -s conftest.err' | |
6503 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
6540 | 6504 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6541 | 6505 | (eval $ac_try) 2>&5 |
6542 | 6506 | ac_status=$? |
@@ -6609,8 +6573,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
6609 | 6573 | cat conftest.err >&5 |
6610 | 6574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6611 | 6575 | (exit $ac_status); } && |
6612 | - { ac_try='test -z "$ac_c_werror_flag" | |
6613 | - || test ! -s conftest.err' | |
6576 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
6614 | 6577 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6615 | 6578 | (eval $ac_try) 2>&5 |
6616 | 6579 | ac_status=$? |
@@ -6832,8 +6795,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
6832 | 6795 | cat conftest.err >&5 |
6833 | 6796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6834 | 6797 | (exit $ac_status); } && |
6835 | - { ac_try='test -z "$ac_c_werror_flag" | |
6836 | - || test ! -s conftest.err' | |
6798 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
6837 | 6799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6838 | 6800 | (eval $ac_try) 2>&5 |
6839 | 6801 | ac_status=$? |
@@ -6953,8 +6915,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
6953 | 6915 | cat conftest.err >&5 |
6954 | 6916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6955 | 6917 | (exit $ac_status); } && |
6956 | - { ac_try='test -z "$ac_c_werror_flag" | |
6957 | - || test ! -s conftest.err' | |
6918 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
6958 | 6919 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6959 | 6920 | (eval $ac_try) 2>&5 |
6960 | 6921 | ac_status=$? |
@@ -7071,7 +7032,10 @@ done | ||
7071 | 7032 | |
7072 | 7033 | |
7073 | 7034 | |
7074 | -for ac_func in mmap munmap | |
7035 | + | |
7036 | + | |
7037 | + | |
7038 | +for ac_func in mmap munmap lstat truncate ftruncate | |
7075 | 7039 | do |
7076 | 7040 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7077 | 7041 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
@@ -7139,8 +7103,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
7139 | 7103 | cat conftest.err >&5 |
7140 | 7104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7141 | 7105 | (exit $ac_status); } && |
7142 | - { ac_try='test -z "$ac_c_werror_flag" | |
7143 | - || test ! -s conftest.err' | |
7106 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7144 | 7107 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7145 | 7108 | (eval $ac_try) 2>&5 |
7146 | 7109 | ac_status=$? |
@@ -7210,8 +7173,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7210 | 7173 | cat conftest.err >&5 |
7211 | 7174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7212 | 7175 | (exit $ac_status); } && |
7213 | - { ac_try='test -z "$ac_c_werror_flag" | |
7214 | - || test ! -s conftest.err' | |
7176 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7215 | 7177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7216 | 7178 | (eval $ac_try) 2>&5 |
7217 | 7179 | ac_status=$? |
@@ -7260,8 +7222,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7260 | 7222 | cat conftest.err >&5 |
7261 | 7223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7262 | 7224 | (exit $ac_status); } && |
7263 | - { ac_try='test -z "$ac_c_werror_flag" | |
7264 | - || test ! -s conftest.err' | |
7225 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7265 | 7226 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7266 | 7227 | (eval $ac_try) 2>&5 |
7267 | 7228 | ac_status=$? |
@@ -7332,8 +7293,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7332 | 7293 | cat conftest.err >&5 |
7333 | 7294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7334 | 7295 | (exit $ac_status); } && |
7335 | - { ac_try='test -z "$ac_c_werror_flag" | |
7336 | - || test ! -s conftest.err' | |
7296 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7337 | 7297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7338 | 7298 | (eval $ac_try) 2>&5 |
7339 | 7299 | ac_status=$? |
@@ -7382,8 +7342,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7382 | 7342 | cat conftest.err >&5 |
7383 | 7343 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7384 | 7344 | (exit $ac_status); } && |
7385 | - { ac_try='test -z "$ac_c_werror_flag" | |
7386 | - || test ! -s conftest.err' | |
7345 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7387 | 7346 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7388 | 7347 | (eval $ac_try) 2>&5 |
7389 | 7348 | ac_status=$? |
@@ -7454,8 +7413,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7454 | 7413 | cat conftest.err >&5 |
7455 | 7414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7456 | 7415 | (exit $ac_status); } && |
7457 | - { ac_try='test -z "$ac_c_werror_flag" | |
7458 | - || test ! -s conftest.err' | |
7416 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7459 | 7417 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7460 | 7418 | (eval $ac_try) 2>&5 |
7461 | 7419 | ac_status=$? |
@@ -7504,8 +7462,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7504 | 7462 | cat conftest.err >&5 |
7505 | 7463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7506 | 7464 | (exit $ac_status); } && |
7507 | - { ac_try='test -z "$ac_c_werror_flag" | |
7508 | - || test ! -s conftest.err' | |
7465 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7509 | 7466 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7510 | 7467 | (eval $ac_try) 2>&5 |
7511 | 7468 | ac_status=$? |
@@ -7576,8 +7533,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7576 | 7533 | cat conftest.err >&5 |
7577 | 7534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7578 | 7535 | (exit $ac_status); } && |
7579 | - { ac_try='test -z "$ac_c_werror_flag" | |
7580 | - || test ! -s conftest.err' | |
7536 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7581 | 7537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7582 | 7538 | (eval $ac_try) 2>&5 |
7583 | 7539 | ac_status=$? |
@@ -7626,8 +7582,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7626 | 7582 | cat conftest.err >&5 |
7627 | 7583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7628 | 7584 | (exit $ac_status); } && |
7629 | - { ac_try='test -z "$ac_c_werror_flag" | |
7630 | - || test ! -s conftest.err' | |
7585 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7631 | 7586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7632 | 7587 | (eval $ac_try) 2>&5 |
7633 | 7588 | ac_status=$? |
@@ -7698,8 +7653,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7698 | 7653 | cat conftest.err >&5 |
7699 | 7654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7700 | 7655 | (exit $ac_status); } && |
7701 | - { ac_try='test -z "$ac_c_werror_flag" | |
7702 | - || test ! -s conftest.err' | |
7656 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7703 | 7657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7704 | 7658 | (eval $ac_try) 2>&5 |
7705 | 7659 | ac_status=$? |
@@ -7748,8 +7702,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7748 | 7702 | cat conftest.err >&5 |
7749 | 7703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7750 | 7704 | (exit $ac_status); } && |
7751 | - { ac_try='test -z "$ac_c_werror_flag" | |
7752 | - || test ! -s conftest.err' | |
7705 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7753 | 7706 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7754 | 7707 | (eval $ac_try) 2>&5 |
7755 | 7708 | ac_status=$? |
@@ -7820,8 +7773,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7820 | 7773 | cat conftest.err >&5 |
7821 | 7774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7822 | 7775 | (exit $ac_status); } && |
7823 | - { ac_try='test -z "$ac_c_werror_flag" | |
7824 | - || test ! -s conftest.err' | |
7776 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7825 | 7777 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7826 | 7778 | (eval $ac_try) 2>&5 |
7827 | 7779 | ac_status=$? |
@@ -7870,8 +7822,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7870 | 7822 | cat conftest.err >&5 |
7871 | 7823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7872 | 7824 | (exit $ac_status); } && |
7873 | - { ac_try='test -z "$ac_c_werror_flag" | |
7874 | - || test ! -s conftest.err' | |
7825 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7875 | 7826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7876 | 7827 | (eval $ac_try) 2>&5 |
7877 | 7828 | ac_status=$? |
@@ -7942,8 +7893,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7942 | 7893 | cat conftest.err >&5 |
7943 | 7894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7944 | 7895 | (exit $ac_status); } && |
7945 | - { ac_try='test -z "$ac_c_werror_flag" | |
7946 | - || test ! -s conftest.err' | |
7896 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7947 | 7897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7948 | 7898 | (eval $ac_try) 2>&5 |
7949 | 7899 | ac_status=$? |
@@ -7992,8 +7942,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
7992 | 7942 | cat conftest.err >&5 |
7993 | 7943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7994 | 7944 | (exit $ac_status); } && |
7995 | - { ac_try='test -z "$ac_c_werror_flag" | |
7996 | - || test ! -s conftest.err' | |
7945 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
7997 | 7946 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7998 | 7947 | (eval $ac_try) 2>&5 |
7999 | 7948 | ac_status=$? |
@@ -8064,8 +8013,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8064 | 8013 | cat conftest.err >&5 |
8065 | 8014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8066 | 8015 | (exit $ac_status); } && |
8067 | - { ac_try='test -z "$ac_c_werror_flag" | |
8068 | - || test ! -s conftest.err' | |
8016 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8069 | 8017 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8070 | 8018 | (eval $ac_try) 2>&5 |
8071 | 8019 | ac_status=$? |
@@ -8114,8 +8062,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8114 | 8062 | cat conftest.err >&5 |
8115 | 8063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8116 | 8064 | (exit $ac_status); } && |
8117 | - { ac_try='test -z "$ac_c_werror_flag" | |
8118 | - || test ! -s conftest.err' | |
8065 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8119 | 8066 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8120 | 8067 | (eval $ac_try) 2>&5 |
8121 | 8068 | ac_status=$? |
@@ -8186,8 +8133,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8186 | 8133 | cat conftest.err >&5 |
8187 | 8134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8188 | 8135 | (exit $ac_status); } && |
8189 | - { ac_try='test -z "$ac_c_werror_flag" | |
8190 | - || test ! -s conftest.err' | |
8136 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8191 | 8137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8192 | 8138 | (eval $ac_try) 2>&5 |
8193 | 8139 | ac_status=$? |
@@ -8236,8 +8182,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8236 | 8182 | cat conftest.err >&5 |
8237 | 8183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8238 | 8184 | (exit $ac_status); } && |
8239 | - { ac_try='test -z "$ac_c_werror_flag" | |
8240 | - || test ! -s conftest.err' | |
8185 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8241 | 8186 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8242 | 8187 | (eval $ac_try) 2>&5 |
8243 | 8188 | ac_status=$? |
@@ -8308,8 +8253,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8308 | 8253 | cat conftest.err >&5 |
8309 | 8254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8310 | 8255 | (exit $ac_status); } && |
8311 | - { ac_try='test -z "$ac_c_werror_flag" | |
8312 | - || test ! -s conftest.err' | |
8256 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8313 | 8257 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8314 | 8258 | (eval $ac_try) 2>&5 |
8315 | 8259 | ac_status=$? |
@@ -8358,8 +8302,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8358 | 8302 | cat conftest.err >&5 |
8359 | 8303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8360 | 8304 | (exit $ac_status); } && |
8361 | - { ac_try='test -z "$ac_c_werror_flag" | |
8362 | - || test ! -s conftest.err' | |
8305 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8363 | 8306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8364 | 8307 | (eval $ac_try) 2>&5 |
8365 | 8308 | ac_status=$? |
@@ -8430,8 +8373,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8430 | 8373 | cat conftest.err >&5 |
8431 | 8374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8432 | 8375 | (exit $ac_status); } && |
8433 | - { ac_try='test -z "$ac_c_werror_flag" | |
8434 | - || test ! -s conftest.err' | |
8376 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8435 | 8377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8436 | 8378 | (eval $ac_try) 2>&5 |
8437 | 8379 | ac_status=$? |
@@ -8480,8 +8422,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8480 | 8422 | cat conftest.err >&5 |
8481 | 8423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8482 | 8424 | (exit $ac_status); } && |
8483 | - { ac_try='test -z "$ac_c_werror_flag" | |
8484 | - || test ! -s conftest.err' | |
8425 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8485 | 8426 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8486 | 8427 | (eval $ac_try) 2>&5 |
8487 | 8428 | ac_status=$? |
@@ -8552,8 +8493,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8552 | 8493 | cat conftest.err >&5 |
8553 | 8494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8554 | 8495 | (exit $ac_status); } && |
8555 | - { ac_try='test -z "$ac_c_werror_flag" | |
8556 | - || test ! -s conftest.err' | |
8496 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8557 | 8497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8558 | 8498 | (eval $ac_try) 2>&5 |
8559 | 8499 | ac_status=$? |
@@ -8602,8 +8542,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8602 | 8542 | cat conftest.err >&5 |
8603 | 8543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8604 | 8544 | (exit $ac_status); } && |
8605 | - { ac_try='test -z "$ac_c_werror_flag" | |
8606 | - || test ! -s conftest.err' | |
8545 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8607 | 8546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8608 | 8547 | (eval $ac_try) 2>&5 |
8609 | 8548 | ac_status=$? |
@@ -8674,8 +8613,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8674 | 8613 | cat conftest.err >&5 |
8675 | 8614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8676 | 8615 | (exit $ac_status); } && |
8677 | - { ac_try='test -z "$ac_c_werror_flag" | |
8678 | - || test ! -s conftest.err' | |
8616 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8679 | 8617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8680 | 8618 | (eval $ac_try) 2>&5 |
8681 | 8619 | ac_status=$? |
@@ -8724,8 +8662,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
8724 | 8662 | cat conftest.err >&5 |
8725 | 8663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8726 | 8664 | (exit $ac_status); } && |
8727 | - { ac_try='test -z "$ac_c_werror_flag" | |
8728 | - || test ! -s conftest.err' | |
8665 | + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8729 | 8666 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8730 | 8667 | (eval $ac_try) 2>&5 |
8731 | 8668 | ac_status=$? |
@@ -9625,11 +9562,6 @@ esac | ||
9625 | 9562 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
9626 | 9563 | esac |
9627 | 9564 | |
9628 | - if test x"$ac_file" != x-; then | |
9629 | - { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
9630 | -echo "$as_me: creating $ac_file" >&6;} | |
9631 | - rm -f "$ac_file" | |
9632 | - fi | |
9633 | 9565 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
9634 | 9566 | # use $as_me), people would be surprised to read: |
9635 | 9567 | # /* config.h. Generated by config.status. */ |
@@ -9668,6 +9600,12 @@ echo "$as_me: error: cannot find input file: $f" >&2;} | ||
9668 | 9600 | fi;; |
9669 | 9601 | esac |
9670 | 9602 | done` || { (exit 1); exit 1; } |
9603 | + | |
9604 | + if test x"$ac_file" != x-; then | |
9605 | + { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
9606 | +echo "$as_me: creating $ac_file" >&6;} | |
9607 | + rm -f "$ac_file" | |
9608 | + fi | |
9671 | 9609 | _ACEOF |
9672 | 9610 | cat >>$CONFIG_STATUS <<_ACEOF |
9673 | 9611 | sed "$ac_vpsub |
@@ -37,7 +37,7 @@ AC_SUBST(TARGET_SUBDIR) | ||
37 | 37 | |
38 | 38 | # These aren't all needed yet, but will be eventually. |
39 | 39 | AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h sys/stat.h sys/mman.h) |
40 | -AC_CHECK_FUNCS(mmap munmap) | |
40 | +AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate) | |
41 | 41 | SIM_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino], |
42 | 42 | [struct stat.st_mode], [struct stat.st_nlink], [struct stat.st_uid], |
43 | 43 | [struct stat.st_gid], [struct stat.st_rdev], [struct stat.st_size], |