1 diff -Naur ../PRISTINE/newlib-1.16.0/config.sub newlib-1.16.0/config.sub
2 --- ../PRISTINE/newlib-1.16.0/config.sub 2007-12-04 19:27:21.000000000 -0800
3 +++ newlib-1.16.0/config.sub 2008-08-25 21:31:02.385498000 -0700
6 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
7 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
8 - storm-chaos* | os2-emx* | rtmk-nova*)
9 + storm-chaos* | os2-emx* | rtmk-nova* | nacl*)
11 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
14 basic_machine=i370-ibm
18 + basic_machine=i686-pc
22 basic_machine=i486-ncr
25 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
26 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
27 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
28 - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
29 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -nacl*)
30 # Remember, each alternative MUST END IN *, to match a version number.
33 diff -Naur ../PRISTINE/newlib-1.16.0/configure newlib-1.16.0/configure
34 --- ../PRISTINE/newlib-1.16.0/configure 2007-12-17 23:37:34.000000000 -0800
35 +++ newlib-1.16.0/configure 2008-08-25 21:31:02.475407000 -0700
37 # Disable libmudflap on some systems.
38 if test x$enable_libmudflap = x ; then
40 - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux*)
41 + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-nacl*)
42 # Enable libmudflap by default in GNU and friends.
46 if test x$enable_libgomp = x ; then
47 # Enable libgomp by default on hosted POSIX systems.
49 - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
50 + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-nacl*)
52 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
56 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
59 + noconfigdirs="$noconfigdirs ${libgcj}"
61 # The tpf target doesn't support gdb yet.
63 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
64 @@ -2606,11 +2609,15 @@
66 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
69 + noconfigdirs="$noconfigdirs target-libgloss"
72 noconfigdirs="$noconfigdirs ${libgcj}"
76 +echo "NOCONFIGDIRS = " ${noconfigdirs}
77 # If we aren't building newlib, then don't build libgloss, since libgloss
78 # depends upon some newlib header files.
79 case "${noconfigdirs}" in
82 target_makefile_frag="config/mt-netware"
84 - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
85 + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-nacl*)
86 target_makefile_frag="config/mt-gnu"
88 *-*-aix4.[3456789]* | *-*-aix[56789].*)
89 diff -Naur ../PRISTINE/newlib-1.16.0/configure.ac newlib-1.16.0/configure.ac
90 --- ../PRISTINE/newlib-1.16.0/configure.ac 2007-12-17 23:37:34.000000000 -0800
91 +++ newlib-1.16.0/configure.ac 2008-08-25 21:31:02.523357000 -0700
93 # Disable libmudflap on some systems.
94 if test x$enable_libmudflap = x ; then
96 - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux*)
97 + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-nacl*)
98 # Enable libmudflap by default in GNU and friends.
102 if test x$enable_libgomp = x ; then
103 # Enable libgomp by default on hosted POSIX systems.
105 - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
106 + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-nacl*)
108 *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
112 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
115 + noconfigdirs="$noconfigdirs ${libgcj}"
117 # The tpf target doesn't support gdb yet.
119 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
122 noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
124 - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
125 + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-nacl*)
126 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
129 @@ -1827,7 +1830,7 @@
131 target_makefile_frag="config/mt-netware"
133 - *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
134 + *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-nacl*)
135 target_makefile_frag="config/mt-gnu"
137 *-*-aix4.[[3456789]]* | *-*-aix[[56789]].*)
138 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/configure.host newlib-1.16.0/newlib/configure.host
139 --- ../PRISTINE/newlib-1.16.0/newlib/configure.host 2007-11-07 13:42:24.000000000 -0800
140 +++ newlib-1.16.0/newlib/configure.host 2008-08-28 10:12:38.042281000 -0700
152 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/include/machine/setjmp.h newlib-1.16.0/newlib/libc/include/machine/setjmp.h
153 --- ../PRISTINE/newlib-1.16.0/newlib/libc/include/machine/setjmp.h 2007-11-07 13:42:24.000000000 -0800
154 +++ newlib-1.16.0/newlib/libc/include/machine/setjmp.h 2008-12-15 09:15:59.779969000 -0800
159 +#if defined(__native_client__)
160 +# define _setjmp(buf) setjmp(buf)
161 +# define _longjmp(buf, val) longjmp(buf, val)
164 #if defined(__arm__) || defined(__thumb__)
166 * All callee preserved registers:
167 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/config.h newlib-1.16.0/newlib/libc/include/sys/config.h
168 --- ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/config.h 2007-03-15 14:32:12.000000000 -0700
169 +++ newlib-1.16.0/newlib/libc/include/sys/config.h 2008-08-25 21:31:02.605279000 -0700
171 /* in other words, go32 */
172 #define _FLOAT_RET double
174 -#if defined(__linux__) || defined(__RDOS__)
175 +#if (defined(__linux__) || defined(__RDOS__)) && !defined(__native_client__)
176 /* we want the reentrancy structure to be returned by a function */
177 #define __DYNAMIC_REENT__
179 #define _HAVE_SYSTYPES
180 #define _READ_WRITE_RETURN_TYPE _ssize_t
181 +#if !defined(__native_client__)
182 #define __LARGE64_FILES 1
183 /* we use some glibc header files so turn on glibc large file feature */
184 #define _LARGEFILE64_SOURCE 1
185 +#endif /* __native_client__ */
189 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/lock.h newlib_patch/newlib-1.16.0/newlib/libc/include/sys/lock.h
190 --- ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/lock.h 2004-09-16 14:30:50.000000000 -0700
191 +++ newlib-1.16.0/newlib/libc/include/sys/lock.h 2008-11-03 16:31:55.312348000 -0800
193 #ifndef __SYS_LOCK_H__
194 #define __SYS_LOCK_H__
196 -/* dummy lock routines for single-threaded aps */
198 -typedef int _LOCK_T;
199 -typedef int _LOCK_RECURSIVE_T;
201 -#define __LOCK_INIT(class,lock) static int lock = 0;
202 -#define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
203 -#define __lock_init(lock) (0)
204 -#define __lock_init_recursive(lock) (0)
205 -#define __lock_close(lock) (0)
206 -#define __lock_close_recursive(lock) (0)
207 -#define __lock_acquire(lock) (0)
208 -#define __lock_acquire_recursive(lock) (0)
209 -#define __lock_try_acquire(lock) (0)
210 -#define __lock_try_acquire_recursive(lock) (0)
211 -#define __lock_release(lock) (0)
212 -#define __lock_release_recursive(lock) (0)
215 + * The structure below mimics the layout of pthread_mutex_t as defined in
216 + * pthread.h (native_client/tools/nc_threads/pthread.h). Including pthread.h
217 + * from here causes include conflicts. When changing any the definition in
218 + * pthreads.h, make sure to change this file too.
221 +typedef struct __local_pthread_mutex_t {
224 + int owner_thread_id;
225 + int recursion_counter;
228 +typedef _LOCK_T _LOCK_RECURSIVE_T;
230 +#define __LOCAL_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \
231 + {0, 1, (0xffffffff), 0, -1}
232 +#define __LOCAL_PTHREAD_MUTEX_INITIALIZER {0, 0, (0xffffffff), 0, -1}
236 + * The locking functions are declared as weak symbols in libnacl
237 + * and as strong symbols in libpthread
239 +extern void __local_lock_init(_LOCK_T* lock);
240 +extern void __local_lock_init_recursive(_LOCK_T* lock);
241 +extern void __local_lock_close(_LOCK_T* lock);
242 +extern void __local_lock_close_recursive(_LOCK_T* lock);
243 +extern void __local_lock_acquire(_LOCK_T* lock);
244 +extern void __local_lock_acquire_recursive(_LOCK_T* lock);
245 +extern int __local_lock_try_acquire(_LOCK_T* lock);
246 +extern int __local_lock_try_acquire_recursive(_LOCK_T* lock);
247 +extern void __local_lock_release(_LOCK_T* lock);
248 +extern void __local_lock_release_recursive(_LOCK_T* lock);
250 +#define __LOCK_INIT(CLASS,NAME) \
251 + CLASS _LOCK_T NAME = __LOCAL_PTHREAD_MUTEX_INITIALIZER;
252 +#define __LOCK_INIT_RECURSIVE(CLASS,NAME) \
253 + CLASS _LOCK_RECURSIVE_T NAME= \
254 + __LOCAL_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
256 +#define __lock_init(NAME) __local_lock_init(&(NAME))
257 +#define __lock_init_recursive(NAME) __local_lock_init_recursive(&(NAME))
258 +#define __lock_close(NAME) __local_lock_close(&(NAME))
259 +#define __lock_close_recursive(NAME) __local_lock_close_recursive(&(NAME))
260 +#define __lock_acquire(NAME) __local_lock_acquire(&(NAME))
261 +#define __lock_acquire_recursive(NAME) __local_lock_acquire_recursive(&(NAME))
262 +#define __lock_try_acquire(NAME) __local_lock_try_acquire(&(NAME))
263 +#define __lock_try_acquire_recursive(NAME) \
264 + __local_lock_try_acquire_recursive(&(NAME))
265 +#define __lock_release(NAME) __local_lock_release(&(NAME))
266 +#define __lock_release_recursive(NAME) __local_lock_release_recursive(&(NAME))
268 #endif /* __SYS_LOCK_H__ */
269 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/reent.h newlib_patch/newlib-1.16.0/newlib/libc/include/sys/reent.h
270 --- ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/reent.h 2007-09-07 14:16:25.000000000 -0700
271 +++ newlib-1.16.0/newlib/libc/include/sys/reent.h 2008-10-15 16:41:19.287778000 -0700
273 #define __ATTRIBUTE_IMPURE_PTR__
276 -extern struct _reent *_impure_ptr __ATTRIBUTE_IMPURE_PTR__;
277 +extern __thread struct _reent *_impure_ptr __ATTRIBUTE_IMPURE_PTR__;
278 extern struct _reent *_CONST _global_impure_ptr __ATTRIBUTE_IMPURE_PTR__;
280 void _reclaim_reent _PARAMS ((struct _reent *));
281 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/sched.h newlib_patch/newlib-1.16.0/newlib/libc/include/sys/sched.h
282 --- ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/sched.h 2002-06-20 12:51:24.000000000 -0700
283 +++ newlib-1.16.0/newlib/libc/include/sys/sched.h 2008-11-21 16:36:00.271320000 -0800
288 +int sched_yield(void);
293 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/types.h newlib-1.16.0/newlib/libc/include/sys/types.h
294 --- ../PRISTINE/newlib-1.16.0/newlib/libc/include/sys/types.h 2007-09-18 13:05:17.000000000 -0700
295 +++ newlib-1.16.0/newlib/libc/include/sys/types.h 2008-08-25 21:31:02.646231000 -0700
297 defined(__sparc__) || defined(__SPU__)
298 typedef unsigned long ino_t;
300 +#ifdef __ino_t_defined
301 +typedef __ino_t ino_t;
303 typedef unsigned short ino_t;
306 #endif /*__CYGWIN__*/
308 @@ -183,12 +187,20 @@
309 typedef unsigned short mode_t;
312 +#ifdef __mode_t_defined
313 +typedef __mode_t mode_t _ST_INT32;
315 typedef unsigned int mode_t _ST_INT32;
316 +#endif /* __mode_t_defined */
318 #endif /* ! __MS_types__ */
319 #endif /*__CYGWIN__*/
321 +#ifdef __nlink_t_defined
322 +typedef __nlink_t nlink_t;
324 typedef unsigned short nlink_t;
327 /* We don't define fd_set and friends if we are compiling POSIX
328 source, or if we have included (or may include as indicated
329 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_atan2.S newlib-1.16.0/newlib/libc/machine/i386/f_atan2.S
330 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_atan2.S 2002-12-20 13:31:19.000000000 -0800
331 +++ newlib-1.16.0/newlib/libc/machine/i386/f_atan2.S 2008-08-25 21:31:02.697180000 -0700
333 .global SYM (_f_atan2)
334 SOTYPE_FUNCTION(_f_atan2)
336 + .p2align NACLENTRYALIGN
350 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_atan2f.S newlib-1.16.0/newlib/libc/machine/i386/f_atan2f.S
351 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_atan2f.S 2002-12-20 13:31:19.000000000 -0800
352 +++ newlib-1.16.0/newlib/libc/machine/i386/f_atan2f.S 2008-08-25 21:31:02.735142000 -0700
354 .global SYM (_f_atan2f)
355 SOTYPE_FUNCTION(_f_atan2f)
357 + .p2align NACLENTRYALIGN
371 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_frexp.S newlib-1.16.0/newlib/libc/machine/i386/f_frexp.S
372 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_frexp.S 2002-12-20 13:31:19.000000000 -0800
373 +++ newlib-1.16.0/newlib/libc/machine/i386/f_frexp.S 2008-08-25 21:31:02.783094000 -0700
375 .global SYM (_f_frexp)
376 SOTYPE_FUNCTION(_f_frexp)
378 + .p2align NACLENTRYALIGN
392 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_frexpf.S newlib-1.16.0/newlib/libc/machine/i386/f_frexpf.S
393 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_frexpf.S 2002-12-20 13:31:19.000000000 -0800
394 +++ newlib-1.16.0/newlib/libc/machine/i386/f_frexpf.S 2008-08-25 21:31:02.822055000 -0700
396 .global SYM (_f_frexpf)
397 SOTYPE_FUNCTION(_f_frexpf)
399 + .p2align NACLENTRYALIGN
413 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_ldexp.S newlib-1.16.0/newlib/libc/machine/i386/f_ldexp.S
414 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_ldexp.S 2002-12-20 13:31:19.000000000 -0800
415 +++ newlib-1.16.0/newlib/libc/machine/i386/f_ldexp.S 2008-08-25 21:31:02.860018000 -0700
417 .global SYM (_f_ldexp)
418 SOTYPE_FUNCTION(_f_ldexp)
420 + .p2align NACLENTRYALIGN
434 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_ldexpf.S newlib-1.16.0/newlib/libc/machine/i386/f_ldexpf.S
435 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_ldexpf.S 2002-12-20 13:31:19.000000000 -0800
436 +++ newlib-1.16.0/newlib/libc/machine/i386/f_ldexpf.S 2008-08-25 21:31:02.900977000 -0700
438 .global SYM (_f_ldexpf)
439 SOTYPE_FUNCTION(_f_ldexpf)
441 + .p2align NACLENTRYALIGN
455 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_log.S newlib-1.16.0/newlib/libc/machine/i386/f_log.S
456 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_log.S 2002-12-20 13:31:19.000000000 -0800
457 +++ newlib-1.16.0/newlib/libc/machine/i386/f_log.S 2008-08-25 21:31:02.938945000 -0700
460 SOTYPE_FUNCTION(_f_log)
462 + .p2align NACLENTRYALIGN
476 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_log10.S newlib-1.16.0/newlib/libc/machine/i386/f_log10.S
477 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_log10.S 2002-12-20 13:31:19.000000000 -0800
478 +++ newlib-1.16.0/newlib/libc/machine/i386/f_log10.S 2008-08-25 21:31:02.988947000 -0700
480 .global SYM (_f_log10)
481 SOTYPE_FUNCTION(_f_log10)
483 + .p2align NACLENTRYALIGN
497 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_log10f.S newlib-1.16.0/newlib/libc/machine/i386/f_log10f.S
498 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_log10f.S 2002-12-20 13:31:19.000000000 -0800
499 +++ newlib-1.16.0/newlib/libc/machine/i386/f_log10f.S 2008-08-25 21:31:03.031945000 -0700
501 .global SYM (_f_log10f)
502 SOTYPE_FUNCTION(_f_log10f)
504 + .p2align NACLENTRYALIGN
518 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_logf.S newlib-1.16.0/newlib/libc/machine/i386/f_logf.S
519 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_logf.S 2002-12-20 13:31:19.000000000 -0800
520 +++ newlib-1.16.0/newlib/libc/machine/i386/f_logf.S 2008-08-25 21:31:03.077949000 -0700
522 .global SYM (_f_logf)
523 SOTYPE_FUNCTION(_f_logf)
525 + .p2align NACLENTRYALIGN
539 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_tan.S newlib-1.16.0/newlib/libc/machine/i386/f_tan.S
540 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_tan.S 2002-12-20 13:31:19.000000000 -0800
541 +++ newlib-1.16.0/newlib/libc/machine/i386/f_tan.S 2008-08-25 21:31:03.128942000 -0700
544 SOTYPE_FUNCTION(_f_tan)
546 + .p2align NACLENTRYALIGN
560 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_tanf.S newlib-1.16.0/newlib/libc/machine/i386/f_tanf.S
561 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/f_tanf.S 2002-12-20 13:31:19.000000000 -0800
562 +++ newlib-1.16.0/newlib/libc/machine/i386/f_tanf.S 2008-08-25 21:31:03.172943000 -0700
564 .global SYM (_f_tanf)
565 SOTYPE_FUNCTION(_f_tanf)
567 + .p2align NACLENTRYALIGN
581 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memchr.S newlib-1.16.0/newlib/libc/machine/i386/memchr.S
582 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memchr.S 2002-12-20 13:31:19.000000000 -0800
583 +++ newlib-1.16.0/newlib/libc/machine/i386/memchr.S 2008-08-25 21:31:03.222948000 -0700
586 SOTYPE_FUNCTION(memchr)
588 + .p2align NACLENTRYALIGN
600 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memcmp.S newlib-1.16.0/newlib/libc/machine/i386/memcmp.S
601 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memcmp.S 2002-12-20 13:31:19.000000000 -0800
602 +++ newlib-1.16.0/newlib/libc/machine/i386/memcmp.S 2008-08-25 21:31:03.271942000 -0700
605 SOTYPE_FUNCTION(memcmp)
607 + .p2align NACLENTRYALIGN
619 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memcpy.S newlib-1.16.0/newlib/libc/machine/i386/memcpy.S
620 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memcpy.S 2002-12-20 13:31:19.000000000 -0800
621 +++ newlib-1.16.0/newlib/libc/machine/i386/memcpy.S 2008-08-25 21:31:03.316898000 -0700
624 SOTYPE_FUNCTION(memcpy)
626 + .p2align NACLENTRYALIGN
638 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memmove.S newlib-1.16.0/newlib/libc/machine/i386/memmove.S
639 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memmove.S 2002-12-20 13:31:19.000000000 -0800
640 +++ newlib-1.16.0/newlib/libc/machine/i386/memmove.S 2008-08-25 21:31:03.356857000 -0700
642 .global SYM (memmove)
643 SOTYPE_FUNCTION(memmove)
645 + .p2align NACLENTRYALIGN
657 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memset.S newlib-1.16.0/newlib/libc/machine/i386/memset.S
658 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/memset.S 2002-12-20 13:31:19.000000000 -0800
659 +++ newlib-1.16.0/newlib/libc/machine/i386/memset.S 2008-08-25 21:31:03.395819000 -0700
662 SOTYPE_FUNCTION(memset)
664 + .p2align NACLENTRYALIGN
676 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/setjmp.S newlib-1.16.0/newlib/libc/machine/i386/setjmp.S
677 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/setjmp.S 2001-02-22 14:12:39.000000000 -0800
678 +++ newlib-1.16.0/newlib/libc/machine/i386/setjmp.S 2008-08-28 10:26:10.427009000 -0700
680 SOTYPE_FUNCTION(setjmp)
681 SOTYPE_FUNCTION(longjmp)
683 + .p2align NACLENTRYALIGN
696 + .p2align NACLENTRYALIGN
718 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/strchr.S newlib-1.16.0/newlib/libc/machine/i386/strchr.S
719 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/strchr.S 2002-12-20 13:31:19.000000000 -0800
720 +++ newlib-1.16.0/newlib/libc/machine/i386/strchr.S 2008-08-25 21:31:03.472741000 -0700
723 SOTYPE_FUNCTION(strchr)
725 + .p2align NACLENTRYALIGN
738 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/strlen.S newlib-1.16.0/newlib/libc/machine/i386/strlen.S
739 --- ../PRISTINE/newlib-1.16.0/newlib/libc/machine/i386/strlen.S 2002-12-20 13:31:19.000000000 -0800
740 +++ newlib-1.16.0/newlib/libc/machine/i386/strlen.S 2008-08-25 21:31:03.521693000 -0700
743 SOTYPE_FUNCTION(strlen)
745 + .p2align NACLENTRYALIGN
757 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/reent/impure.c newlib-1.16.0/newlib/libc/reent/impure.c
758 --- ../PRISTINE/newlib-1.16.0/newlib/libc/reent/impure.c 2004-09-15 14:44:39.000000000 -0700
759 +++ newlib-1.16.0/newlib/libc/reent/impure.c 2008-10-15 14:21:32.958242000 -0700
761 #define __ATTRIBUTE_IMPURE_DATA__
764 -static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (impure_data);
765 +static struct _reent __ATTRIBUTE_IMPURE_DATA__ global_impure_data = _REENT_INIT (global_impure_data);
766 +static __thread struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (global_impure_data);
768 extern struct _reent reent_data __attribute__ ((alias("impure_data")));
770 -struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &impure_data;
771 -struct _reent *_CONST __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &impure_data;
772 +__thread struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = -1; //NULL; - try to avoid tbss until its alignment is fixed
773 +struct _reent *_CONST __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &global_impure_data;
776 + * This function should be called on thread startup (for each thread).
778 +void __newlib_thread_init()
781 + * Fix the initialization - REENT_INIT pointed
782 + * the pointers to the global structure.
784 + impure_data._stdin = &impure_data.__sf[0];
785 + impure_data._stdout = &impure_data.__sf[1];
786 + impure_data._stderr = &impure_data.__sf[2];
787 + /* Set the pointer to point to the thread-specific structure. */
788 + _impure_ptr = &impure_data;
790 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/configure newlib-1.16.0/newlib/libc/sys/configure
791 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/configure 2007-05-24 10:33:36.000000000 -0700
792 +++ newlib-1.16.0/newlib/libc/sys/configure 2008-08-25 21:31:03.632581000 -0700
794 ac_subdirs_all="$ac_subdirs_all linux"
795 ac_subdirs_all="$ac_subdirs_all m88kbug"
796 ac_subdirs_all="$ac_subdirs_all mmixware"
797 +ac_subdirs_all="$ac_subdirs_all nacl"
798 ac_subdirs_all="$ac_subdirs_all netware"
799 ac_subdirs_all="$ac_subdirs_all rdos"
800 ac_subdirs_all="$ac_subdirs_all rtems"
801 @@ -10713,6 +10714,10 @@
803 subdirs="$subdirs mmixware"
807 +subdirs="$subdirs nacl"
811 subdirs="$subdirs netware"
812 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/Makefile.am newlib-1.16.0/newlib/libc/sys/nacl/Makefile.am
813 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/Makefile.am 1969-12-31 16:00:00.000000000 -0800
814 +++ newlib-1.16.0/newlib/libc/sys/nacl/Makefile.am 2008-08-25 21:31:03.762457000 -0700
816 +## Process this file with automake to generate Makefile.in
818 +AUTOMAKE_OPTIONS = cygnus
820 +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
822 +AM_CCASFLAGS = $(INCLUDES)
824 +noinst_LIBRARIES = lib.a
826 +lib_a_SOURCES = dummysys.c
827 +lib_a_CCASFLAGS = $(AM_CCASFLAGS)
828 +lib_a_CFLAGS = $(AM_CFLAGS)
832 +ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
833 +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
834 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/Makefile.in newlib-1.16.0/newlib/libc/sys/nacl/Makefile.in
835 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/Makefile.in 1969-12-31 16:00:00.000000000 -0800
836 +++ newlib-1.16.0/newlib/libc/sys/nacl/Makefile.in 2008-08-25 21:31:05.536020800 -0700
838 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
841 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
842 +# 2003, 2004, 2005 Free Software Foundation, Inc.
843 +# This Makefile.in is free software; the Free Software Foundation
844 +# gives unlimited permission to copy and/or distribute it,
845 +# with or without modifications, as long as this notice is preserved.
847 +# This program is distributed in the hope that it will be useful,
848 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
849 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
850 +# PARTICULAR PURPOSE.
855 +top_srcdir = @top_srcdir@
857 +pkgdatadir = $(datadir)/@PACKAGE@
858 +pkglibdir = $(libdir)/@PACKAGE@
859 +pkgincludedir = $(includedir)/@PACKAGE@
861 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
863 +install_sh_DATA = $(install_sh) -c -m 644
864 +install_sh_PROGRAM = $(install_sh) -c
865 +install_sh_SCRIPT = $(install_sh) -c
866 +INSTALL_HEADER = $(INSTALL_DATA)
867 +transform = $(program_transform_name)
871 +NORMAL_UNINSTALL = :
874 +build_triplet = @build@
875 +host_triplet = @host@
876 +DIST_COMMON = $(srcdir)/../../../../config.guess \
877 + $(srcdir)/../../../../config.sub $(srcdir)/Makefile.in \
878 + $(srcdir)/Makefile.am $(top_srcdir)/configure \
879 + $(am__configure_deps) $(srcdir)/../../../../mkinstalldirs \
880 + $(srcdir)/../../../../compile
882 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
883 +am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
884 + $(top_srcdir)/configure.in
885 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
887 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
888 + configure.lineno configure.status.lineno
889 +mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
890 +CONFIG_CLEAN_FILES =
891 +LIBRARIES = $(noinst_LIBRARIES)
893 +lib_a_AR = $(AR) $(ARFLAGS)
895 +am_lib_a_OBJECTS = lib_a-dummysys.$(OBJEXT)
896 +lib_a_OBJECTS = $(am_lib_a_OBJECTS)
897 +DEFAULT_INCLUDES = -I. -I$(srcdir)
899 +am__depfiles_maybe =
900 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
901 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
903 +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
904 +SOURCES = $(lib_a_SOURCES)
908 +AMDEP_FALSE = @AMDEP_FALSE@
909 +AMDEP_TRUE = @AMDEP_TRUE@
913 +AUTOCONF = @AUTOCONF@
914 +AUTOHEADER = @AUTOHEADER@
915 +AUTOMAKE = @AUTOMAKE@
919 +CCASFLAGS = @CCASFLAGS@
920 +CCDEPMODE = @CCDEPMODE@
921 +CYGPATH_W = @CYGPATH_W@
927 +ELIX_LEVEL_0_FALSE = @ELIX_LEVEL_0_FALSE@
928 +ELIX_LEVEL_0_TRUE = @ELIX_LEVEL_0_TRUE@
929 +ELIX_LEVEL_1_FALSE = @ELIX_LEVEL_1_FALSE@
930 +ELIX_LEVEL_1_TRUE = @ELIX_LEVEL_1_TRUE@
931 +ELIX_LEVEL_2_FALSE = @ELIX_LEVEL_2_FALSE@
932 +ELIX_LEVEL_2_TRUE = @ELIX_LEVEL_2_TRUE@
933 +ELIX_LEVEL_3_FALSE = @ELIX_LEVEL_3_FALSE@
934 +ELIX_LEVEL_3_TRUE = @ELIX_LEVEL_3_TRUE@
935 +ELIX_LEVEL_4_FALSE = @ELIX_LEVEL_4_FALSE@
936 +ELIX_LEVEL_4_TRUE = @ELIX_LEVEL_4_TRUE@
937 +INSTALL_DATA = @INSTALL_DATA@
938 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
939 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
940 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
944 +LTLIBOBJS = @LTLIBOBJS@
946 +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
947 +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
948 +MAKEINFO = @MAKEINFO@
949 +MAY_SUPPLY_SYSCALLS_FALSE = @MAY_SUPPLY_SYSCALLS_FALSE@
950 +MAY_SUPPLY_SYSCALLS_TRUE = @MAY_SUPPLY_SYSCALLS_TRUE@
951 +NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
954 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
955 +PACKAGE_NAME = @PACKAGE_NAME@
956 +PACKAGE_STRING = @PACKAGE_STRING@
957 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
958 +PACKAGE_VERSION = @PACKAGE_VERSION@
959 +PATH_SEPARATOR = @PATH_SEPARATOR@
962 +SET_MAKE = @SET_MAKE@
965 +USE_LIBTOOL_FALSE = @USE_LIBTOOL_FALSE@
966 +USE_LIBTOOL_TRUE = @USE_LIBTOOL_TRUE@
969 +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
970 +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
971 +am__include = @am__include@
972 +am__leading_dot = @am__leading_dot@
973 +am__quote = @am__quote@
975 +am__untar = @am__untar@
978 +build_alias = @build_alias@
979 +build_cpu = @build_cpu@
980 +build_os = @build_os@
981 +build_vendor = @build_vendor@
983 +datarootdir = @datarootdir@
986 +exec_prefix = @exec_prefix@
988 +host_alias = @host_alias@
989 +host_cpu = @host_cpu@
991 +host_vendor = @host_vendor@
993 +includedir = @includedir@
995 +install_sh = @install_sh@
997 +libexecdir = @libexecdir@
998 +libm_machine_dir = @libm_machine_dir@
999 +localedir = @localedir@
1000 +localstatedir = @localstatedir@
1002 +machine_dir = @machine_dir@
1004 +mkdir_p = @mkdir_p@
1005 +newlib_basedir = @newlib_basedir@
1007 +oldincludedir = @oldincludedir@
1010 +program_transform_name = @program_transform_name@
1012 +sbindir = @sbindir@
1013 +sharedstatedir = @sharedstatedir@
1014 +sys_dir = @sys_dir@
1015 +sysconfdir = @sysconfdir@
1016 +target_alias = @target_alias@
1017 +AUTOMAKE_OPTIONS = cygnus
1018 +INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
1019 +AM_CCASFLAGS = $(INCLUDES)
1020 +noinst_LIBRARIES = lib.a
1021 +lib_a_SOURCES = dummysys.c
1022 +lib_a_CCASFLAGS = $(AM_CCASFLAGS)
1023 +lib_a_CFLAGS = $(AM_CFLAGS)
1024 +ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
1025 +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
1029 +.SUFFIXES: .c .o .obj
1032 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
1033 + @for dep in $?; do \
1034 + case '$(am__configure_deps)' in \
1036 + echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
1037 + cd $(srcdir) && $(AUTOMAKE) --cygnus \
1042 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
1043 + cd $(top_srcdir) && \
1044 + $(AUTOMAKE) --cygnus Makefile
1045 +.PRECIOUS: Makefile
1046 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1048 + *config.status*) \
1049 + echo ' $(SHELL) ./config.status'; \
1050 + $(SHELL) ./config.status;; \
1052 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
1053 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
1056 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1057 + $(SHELL) ./config.status --recheck
1059 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1060 + cd $(srcdir) && $(AUTOCONF)
1061 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1062 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
1064 +clean-noinstLIBRARIES:
1065 + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
1066 +lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
1068 + $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
1071 +mostlyclean-compile:
1072 + -rm -f *.$(OBJEXT)
1081 + $(COMPILE) -c `$(CYGPATH_W) '$<'`
1083 +lib_a-dummysys.o: dummysys.c
1084 + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-dummysys.o `test -f 'dummysys.c' || echo '$(srcdir)/'`dummysys.c
1086 +lib_a-dummysys.obj: dummysys.c
1087 + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-dummysys.obj `if test -f 'dummysys.c'; then $(CYGPATH_W) 'dummysys.c'; else $(CYGPATH_W) '$(srcdir)/dummysys.c'; fi`
1090 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1091 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1092 + unique=`for i in $$list; do \
1093 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1095 + $(AWK) ' { files[$$0] = 1; } \
1096 + END { for (i in files) print i; }'`; \
1097 + mkid -fID $$unique
1100 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1101 + $(TAGS_FILES) $(LISP)
1104 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1105 + unique=`for i in $$list; do \
1106 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1108 + $(AWK) ' { files[$$0] = 1; } \
1109 + END { for (i in files) print i; }'`; \
1110 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1111 + test -n "$$unique" || unique=$$empty_fix; \
1112 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1113 + $$tags $$unique; \
1116 +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1117 + $(TAGS_FILES) $(LISP)
1120 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1121 + unique=`for i in $$list; do \
1122 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1124 + $(AWK) ' { files[$$0] = 1; } \
1125 + END { for (i in files) print i; }'`; \
1126 + test -z "$(CTAGS_ARGS)$$tags$$unique" \
1127 + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1131 + here=`$(am__cd) $(top_builddir) && pwd` \
1132 + && cd $(top_srcdir) \
1133 + && gtags -i $(GTAGS_ARGS) $$here
1136 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1139 +all-am: Makefile $(LIBRARIES)
1141 +install: install-am
1142 +install-exec: install-exec-am
1143 +install-data: install-data-am
1144 +uninstall: uninstall-am
1147 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1149 +installcheck: installcheck-am
1151 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1152 + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1153 + `test -z '$(STRIP)' || \
1154 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1155 +mostlyclean-generic:
1160 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1162 +maintainer-clean-generic:
1163 + @echo "This command is intended for maintainers to use"
1164 + @echo "it deletes files that may require special tools to rebuild."
1167 +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
1169 +distclean: distclean-am
1170 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1172 +distclean-am: clean-am distclean-compile distclean-generic \
1189 +install-info: install-info-am
1195 +maintainer-clean: maintainer-clean-am
1196 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1197 + -rm -rf $(top_srcdir)/autom4te.cache
1199 +maintainer-clean-am: distclean-am maintainer-clean-generic
1201 +mostlyclean: mostlyclean-am
1203 +mostlyclean-am: mostlyclean-compile mostlyclean-generic
1215 +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
1216 + clean-generic clean-noinstLIBRARIES ctags distclean \
1217 + distclean-compile distclean-generic distclean-tags dvi dvi-am \
1218 + html html-am info info-am install install-am install-data \
1219 + install-data-am install-exec install-exec-am install-info \
1220 + install-info-am install-man install-strip installcheck \
1221 + installcheck-am installdirs maintainer-clean \
1222 + maintainer-clean-generic mostlyclean mostlyclean-compile \
1223 + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
1224 + uninstall-am uninstall-info-am
1228 +# Tell versions [3.59,3.63) of GNU make to not export all variables.
1229 +# Otherwise a system limit (for SysV at least) may be exceeded.
1231 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/aclocal.m4 newlib-1.16.0/newlib/libc/sys/nacl/aclocal.m4
1232 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/aclocal.m4 1969-12-31 16:00:00.000000000 -0800
1233 +++ newlib-1.16.0/newlib/libc/sys/nacl/aclocal.m4 2008-08-25 21:31:05.661020800 -0700
1235 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1237 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1238 +# 2005 Free Software Foundation, Inc.
1239 +# This file is free software; the Free Software Foundation
1240 +# gives unlimited permission to copy and/or distribute it,
1241 +# with or without modifications, as long as this notice is preserved.
1243 +# This program is distributed in the hope that it will be useful,
1244 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
1245 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1246 +# PARTICULAR PURPOSE.
1248 +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
1250 +# This file is free software; the Free Software Foundation
1251 +# gives unlimited permission to copy and/or distribute it,
1252 +# with or without modifications, as long as this notice is preserved.
1254 +# AM_AUTOMAKE_VERSION(VERSION)
1255 +# ----------------------------
1256 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
1257 +# generated from the m4 files accompanying Automake X.Y.
1258 +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
1260 +# AM_SET_CURRENT_AUTOMAKE_VERSION
1261 +# -------------------------------
1262 +# Call AM_AUTOMAKE_VERSION so it can be traced.
1263 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1264 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1265 + [AM_AUTOMAKE_VERSION([1.9.6])])
1267 +# AM_AUX_DIR_EXPAND -*- Autoconf -*-
1269 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1271 +# This file is free software; the Free Software Foundation
1272 +# gives unlimited permission to copy and/or distribute it,
1273 +# with or without modifications, as long as this notice is preserved.
1275 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1276 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
1277 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1279 +# Of course, Automake must honor this variable whenever it calls a
1280 +# tool from the auxiliary directory. The problem is that $srcdir (and
1281 +# therefore $ac_aux_dir as well) can be either absolute or relative,
1282 +# depending on how configure is run. This is pretty annoying, since
1283 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1284 +# source directory, any form will work fine, but in subdirectories a
1285 +# relative path needs to be adjusted first.
1287 +# $ac_aux_dir/missing
1288 +# fails when called from a subdirectory if $ac_aux_dir is relative
1289 +# $top_srcdir/$ac_aux_dir/missing
1290 +# fails if $ac_aux_dir is absolute,
1291 +# fails when called from a subdirectory in a VPATH build with
1292 +# a relative $ac_aux_dir
1294 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1295 +# are both prefixed by $srcdir. In an in-source build this is usually
1296 +# harmless because $srcdir is `.', but things will broke when you
1297 +# start a VPATH build or use an absolute $srcdir.
1299 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1300 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
1301 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1302 +# and then we would define $MISSING as
1303 +# MISSING="\${SHELL} $am_aux_dir/missing"
1304 +# This will work as long as MISSING is not called from configure, because
1305 +# unfortunately $(top_srcdir) has no meaning in configure.
1306 +# However there are other variables, like CC, which are often used in
1307 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
1309 +# Another solution, used here, is to always expand $ac_aux_dir to an
1310 +# absolute PATH. The drawback is that using absolute paths prevent a
1311 +# configured tree to be moved without reconfiguration.
1313 +AC_DEFUN([AM_AUX_DIR_EXPAND],
1314 +[dnl Rely on autoconf to set up CDPATH properly.
1315 +AC_PREREQ([2.50])dnl
1316 +# expand $ac_aux_dir to an absolute path
1317 +am_aux_dir=`cd $ac_aux_dir && pwd`
1320 +# AM_CONDITIONAL -*- Autoconf -*-
1322 +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
1323 +# Free Software Foundation, Inc.
1325 +# This file is free software; the Free Software Foundation
1326 +# gives unlimited permission to copy and/or distribute it,
1327 +# with or without modifications, as long as this notice is preserved.
1331 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1332 +# -------------------------------------
1333 +# Define a conditional.
1334 +AC_DEFUN([AM_CONDITIONAL],
1335 +[AC_PREREQ(2.52)dnl
1336 + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1337 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1338 +AC_SUBST([$1_TRUE])
1339 +AC_SUBST([$1_FALSE])
1347 +AC_CONFIG_COMMANDS_PRE(
1348 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1349 + AC_MSG_ERROR([[conditional "$1" was never defined.
1350 +Usually this means the macro was only invoked conditionally.]])
1354 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
1355 +# Free Software Foundation, Inc.
1357 +# This file is free software; the Free Software Foundation
1358 +# gives unlimited permission to copy and/or distribute it,
1359 +# with or without modifications, as long as this notice is preserved.
1363 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1364 +# written in clear, in which case automake, when reading aclocal.m4,
1365 +# will think it sees a *use*, and therefore will trigger all it's
1366 +# C support machinery. Also note that it means that autoscan, seeing
1367 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1370 +# _AM_DEPENDENCIES(NAME)
1371 +# ----------------------
1372 +# See how the compiler implements dependency checking.
1373 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
1374 +# We try a few techniques and use that to set a single cache variable.
1376 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1377 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1378 +# dependency, and given that the user is not expected to run this macro,
1379 +# just rely on AC_PROG_CC.
1380 +AC_DEFUN([_AM_DEPENDENCIES],
1381 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
1382 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1383 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1384 +AC_REQUIRE([AM_DEP_TRACK])dnl
1386 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1387 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
1388 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1389 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1390 + [depcc="$$1" am_compiler_list=])
1392 +AC_CACHE_CHECK([dependency style of $depcc],
1393 + [am_cv_$1_dependencies_compiler_type],
1394 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1395 + # We make a subdir and do the tests there. Otherwise we can end up
1396 + # making bogus files that we don't know about and never remove. For
1397 + # instance it was reported that on HP-UX the gcc test will end up
1398 + # making a dummy file named `D' -- because `-MD' means `put the output
1400 + mkdir conftest.dir
1401 + # Copy depcomp to subdir because otherwise we won't find it if we're
1402 + # using a relative directory.
1403 + cp "$am_depcomp" conftest.dir
1405 + # We will build objects and dependencies in a subdirectory because
1406 + # it helps to detect inapplicable dependency modes. For instance
1407 + # both Tru64's cc and ICC support -MD to output dependencies as a
1408 + # side effect of compilation, but ICC will put the dependencies in
1409 + # the current directory while Tru64 will put them in the object
1413 + am_cv_$1_dependencies_compiler_type=none
1414 + if test "$am_compiler_list" = ""; then
1415 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1417 + for depmode in $am_compiler_list; do
1418 + # Setup a source with many dependencies, because some compilers
1419 + # like to wrap large dependency lists on column 80 (with \), and
1420 + # we should not choose a depcomp mode which is confused by this.
1422 + # We need to recreate these files for each test, as the compiler may
1423 + # overwrite some of them when testing with obscure command lines.
1424 + # This happens at least with the AIX C compiler.
1425 + : > sub/conftest.c
1426 + for i in 1 2 3 4 5 6; do
1427 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
1428 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1429 + # Solaris 8's {/usr,}/bin/sh.
1430 + touch sub/conftst$i.h
1432 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1436 + # after this tag, mechanisms are not by side-effect, so they'll
1437 + # only be used when explicitly requested
1438 + if test "x$enable_dependency_tracking" = xyes; then
1446 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
1447 + # mode. It turns out that the SunPro C++ compiler does not properly
1448 + # handle `-M -o', and we need to detect this.
1449 + if depmode=$depmode \
1450 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1451 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1452 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1453 + >/dev/null 2>conftest.err &&
1454 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1455 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1456 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1457 + # icc doesn't choke on unknown options, it will just issue warnings
1458 + # or remarks (even with -Werror). So we grep stderr for any message
1459 + # that says an option was ignored or not supported.
1460 + # When given -MP, icc 7.0 and 7.1 complain thusly:
1461 + # icc: Command line warning: ignoring option '-M'; no argument required
1462 + # The diagnosis changed in icc 8.0:
1463 + # icc: Command line remark: option '-MP' not supported
1464 + if (grep 'ignoring option' conftest.err ||
1465 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1466 + am_cv_$1_dependencies_compiler_type=$depmode
1473 + rm -rf conftest.dir
1475 + am_cv_$1_dependencies_compiler_type=none
1478 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1479 +AM_CONDITIONAL([am__fastdep$1], [
1480 + test "x$enable_dependency_tracking" != xno \
1481 + && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1487 +# Choose a directory name for dependency files.
1488 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
1489 +AC_DEFUN([AM_SET_DEPDIR],
1490 +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1491 +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1497 +AC_DEFUN([AM_DEP_TRACK],
1498 +[AC_ARG_ENABLE(dependency-tracking,
1499 +[ --disable-dependency-tracking speeds up one-time build
1500 + --enable-dependency-tracking do not reject slow dependency extractors])
1501 +if test "x$enable_dependency_tracking" != xno; then
1502 + am_depcomp="$ac_aux_dir/depcomp"
1503 + AMDEPBACKSLASH='\'
1505 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1506 +AC_SUBST([AMDEPBACKSLASH])
1509 +# Generate code to set up dependency tracking. -*- Autoconf -*-
1511 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
1512 +# Free Software Foundation, Inc.
1514 +# This file is free software; the Free Software Foundation
1515 +# gives unlimited permission to copy and/or distribute it,
1516 +# with or without modifications, as long as this notice is preserved.
1520 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
1521 +# ------------------------------
1522 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1523 +[for mf in $CONFIG_FILES; do
1524 + # Strip MF so we end up with the name of the file.
1525 + mf=`echo "$mf" | sed -e 's/:.*$//'`
1526 + # Check whether this is an Automake generated Makefile or not.
1527 + # We used to match only the files named `Makefile.in', but
1528 + # some people rename them; so instead we look at the file content.
1529 + # Grep'ing the first line is not enough: some people post-process
1530 + # each Makefile.in and add a new line on top of each file to say so.
1531 + # So let's grep whole file.
1532 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1533 + dirpart=`AS_DIRNAME("$mf")`
1537 + # Extract the definition of DEPDIR, am__include, and am__quote
1538 + # from the Makefile without running `make'.
1539 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1540 + test -z "$DEPDIR" && continue
1541 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
1542 + test -z "am__include" && continue
1543 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1544 + # When using ansi2knr, U may be empty or an underscore; expand it
1545 + U=`sed -n 's/^U = //p' < "$mf"`
1546 + # Find all dependency output files, they are included files with
1547 + # $(DEPDIR) in their names. We invoke sed twice because it is the
1548 + # simplest approach to changing $(DEPDIR) to its actual value in the
1550 + for file in `sed -n "
1551 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1552 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1553 + # Make sure the directory exists.
1554 + test -f "$dirpart/$file" && continue
1555 + fdir=`AS_DIRNAME(["$file"])`
1556 + AS_MKDIR_P([$dirpart/$fdir])
1557 + # echo "creating $dirpart/$file"
1558 + echo '# dummy' > "$dirpart/$file"
1561 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1564 +# AM_OUTPUT_DEPENDENCY_COMMANDS
1565 +# -----------------------------
1566 +# This macro should only be invoked once -- use via AC_REQUIRE.
1568 +# This code is only required when automatic dependency tracking
1569 +# is enabled. FIXME. This creates each `.P' file that we will
1570 +# need in order to bootstrap the dependency handling code.
1571 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1572 +[AC_CONFIG_COMMANDS([depfiles],
1573 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1574 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1577 +# Do all the work for Automake. -*- Autoconf -*-
1579 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
1580 +# Free Software Foundation, Inc.
1582 +# This file is free software; the Free Software Foundation
1583 +# gives unlimited permission to copy and/or distribute it,
1584 +# with or without modifications, as long as this notice is preserved.
1588 +# This macro actually does too much. Some checks are only needed if
1589 +# your package does certain things. But this isn't really a big deal.
1591 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1592 +# AM_INIT_AUTOMAKE([OPTIONS])
1593 +# -----------------------------------------------
1594 +# The call with PACKAGE and VERSION arguments is the old style
1595 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
1596 +# and VERSION should now be passed to AC_INIT and removed from
1597 +# the call to AM_INIT_AUTOMAKE.
1598 +# We support both call styles for the transition. After
1599 +# the next Automake release, Autoconf can make the AC_INIT
1600 +# arguments mandatory, and then we can depend on a new Autoconf
1601 +# release and drop the old call support.
1602 +AC_DEFUN([AM_INIT_AUTOMAKE],
1603 +[AC_PREREQ([2.58])dnl
1604 +dnl Autoconf wants to disallow AM_ names. We explicitly allow
1605 +dnl the ones we care about.
1606 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1607 +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1608 +AC_REQUIRE([AC_PROG_INSTALL])dnl
1609 +# test to see if srcdir already configured
1610 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
1611 + test -f $srcdir/config.status; then
1612 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1615 +# test whether we have cygpath
1616 +if test -z "$CYGPATH_W"; then
1617 + if (cygpath --version) >/dev/null 2>/dev/null; then
1618 + CYGPATH_W='cygpath -w'
1623 +AC_SUBST([CYGPATH_W])
1625 +# Define the identity of the package.
1626 +dnl Distinguish between old-style and new-style calls.
1628 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1629 + AC_SUBST([PACKAGE], [$1])dnl
1630 + AC_SUBST([VERSION], [$2])],
1631 +[_AM_SET_OPTIONS([$1])dnl
1632 + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1633 + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1635 +_AM_IF_OPTION([no-define],,
1636 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1637 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1639 +# Some tools Automake needs.
1640 +AC_REQUIRE([AM_SANITY_CHECK])dnl
1641 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
1642 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1643 +AM_MISSING_PROG(AUTOCONF, autoconf)
1644 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1645 +AM_MISSING_PROG(AUTOHEADER, autoheader)
1646 +AM_MISSING_PROG(MAKEINFO, makeinfo)
1648 +AM_PROG_INSTALL_STRIP
1649 +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1650 +# We need awk for the "check" target. The system "awk" is bad on
1652 +AC_REQUIRE([AC_PROG_AWK])dnl
1653 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1654 +AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1655 +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1656 + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1657 + [_AM_PROG_TAR([v7])])])
1658 +_AM_IF_OPTION([no-dependencies],,
1659 +[AC_PROVIDE_IFELSE([AC_PROG_CC],
1660 + [_AM_DEPENDENCIES(CC)],
1661 + [define([AC_PROG_CC],
1662 + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1663 +AC_PROVIDE_IFELSE([AC_PROG_CXX],
1664 + [_AM_DEPENDENCIES(CXX)],
1665 + [define([AC_PROG_CXX],
1666 + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1671 +# When config.status generates a header, we must update the stamp-h file.
1672 +# This file resides in the same directory as the config header
1673 +# that is generated. The stamp files are numbered to have different names.
1675 +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1676 +# loop where config.status creates the headers, so we can generate
1677 +# our stamp files there.
1678 +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1679 +[# Compute $1's index in $config_headers.
1681 +for _am_header in $config_headers :; do
1682 + case $_am_header in
1686 + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1689 +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1691 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1693 +# This file is free software; the Free Software Foundation
1694 +# gives unlimited permission to copy and/or distribute it,
1695 +# with or without modifications, as long as this notice is preserved.
1697 +# AM_PROG_INSTALL_SH
1698 +# ------------------
1699 +# Define $install_sh.
1700 +AC_DEFUN([AM_PROG_INSTALL_SH],
1701 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1702 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
1703 +AC_SUBST(install_sh)])
1705 +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
1707 +# This file is free software; the Free Software Foundation
1708 +# gives unlimited permission to copy and/or distribute it,
1709 +# with or without modifications, as long as this notice is preserved.
1713 +# Check whether the underlying file-system supports filenames
1714 +# with a leading dot. For instance MS-DOS doesn't.
1715 +AC_DEFUN([AM_SET_LEADING_DOT],
1716 +[rm -rf .tst 2>/dev/null
1717 +mkdir .tst 2>/dev/null
1718 +if test -d .tst; then
1723 +rmdir .tst 2>/dev/null
1724 +AC_SUBST([am__leading_dot])])
1726 +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1727 +# From Jim Meyering
1729 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
1730 +# Free Software Foundation, Inc.
1732 +# This file is free software; the Free Software Foundation
1733 +# gives unlimited permission to copy and/or distribute it,
1734 +# with or without modifications, as long as this notice is preserved.
1738 +AC_DEFUN([AM_MAINTAINER_MODE],
1739 +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1740 + dnl maintainer-mode is disabled by default
1741 + AC_ARG_ENABLE(maintainer-mode,
1742 +[ --enable-maintainer-mode enable make rules and dependencies not useful
1743 + (and sometimes confusing) to the casual installer],
1744 + USE_MAINTAINER_MODE=$enableval,
1745 + USE_MAINTAINER_MODE=no)
1746 + AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1747 + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
1748 + MAINT=$MAINTAINER_MODE_TRUE
1749 + AC_SUBST(MAINT)dnl
1753 +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1755 +# Check to see how 'make' treats includes. -*- Autoconf -*-
1757 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
1759 +# This file is free software; the Free Software Foundation
1760 +# gives unlimited permission to copy and/or distribute it,
1761 +# with or without modifications, as long as this notice is preserved.
1765 +# AM_MAKE_INCLUDE()
1766 +# -----------------
1767 +# Check to see how make treats includes.
1768 +AC_DEFUN([AM_MAKE_INCLUDE],
1769 +[am_make=${MAKE-make}
1770 +cat > confinc << 'END'
1775 +# If we don't find an include directive, just comment out the code.
1776 +AC_MSG_CHECKING([for style of include used by $am_make])
1780 +# First try GNU make style include.
1781 +echo "include confinc" > confmf
1782 +# We grep out `Entering directory' and `Leaving directory'
1783 +# messages which can occur if `w' ends up in MAKEFLAGS.
1784 +# In particular we don't look at `^make:' because GNU make might
1785 +# be invoked under some other name (usually "gmake"), in which
1786 +# case it prints its new name instead of `make'.
1787 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1788 + am__include=include
1792 +# Now try BSD make style include.
1793 +if test "$am__include" = "#"; then
1794 + echo '.include "confinc"' > confmf
1795 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1796 + am__include=.include
1801 +AC_SUBST([am__include])
1802 +AC_SUBST([am__quote])
1803 +AC_MSG_RESULT([$_am_result])
1804 +rm -f confinc confmf
1807 +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1809 +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
1810 +# Free Software Foundation, Inc.
1812 +# This file is free software; the Free Software Foundation
1813 +# gives unlimited permission to copy and/or distribute it,
1814 +# with or without modifications, as long as this notice is preserved.
1818 +# AM_MISSING_PROG(NAME, PROGRAM)
1819 +# ------------------------------
1820 +AC_DEFUN([AM_MISSING_PROG],
1821 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
1822 +$1=${$1-"${am_missing_run}$2"}
1826 +# AM_MISSING_HAS_RUN
1827 +# ------------------
1828 +# Define MISSING if not defined so far and test if it supports --run.
1829 +# If it does, set am_missing_run to use it, otherwise, to nothing.
1830 +AC_DEFUN([AM_MISSING_HAS_RUN],
1831 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1832 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1833 +# Use eval to expand $SHELL
1834 +if eval "$MISSING --run true"; then
1835 + am_missing_run="$MISSING --run "
1838 + AC_MSG_WARN([`missing' script is too old or missing])
1842 +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
1844 +# This file is free software; the Free Software Foundation
1845 +# gives unlimited permission to copy and/or distribute it,
1846 +# with or without modifications, as long as this notice is preserved.
1850 +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
1852 +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
1853 +# created by `make install' are always world readable, even if the
1854 +# installer happens to have an overly restrictive umask (e.g. 077).
1855 +# This was a mistake. There are at least two reasons why we must not
1857 +# - it causes special bits like SGID to be ignored,
1858 +# - it may be too restrictive (some setups expect 775 directories).
1860 +# Do not use -m 0755 and let people choose whatever they expect by
1863 +# We cannot accept any implementation of `mkdir' that recognizes `-p'.
1864 +# Some implementations (such as Solaris 8's) are not thread-safe: if a
1865 +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
1866 +# concurrently, both version can detect that a/ is missing, but only
1867 +# one can create it and the other will error out. Consequently we
1868 +# restrict ourselves to GNU make (using the --version option ensures
1870 +AC_DEFUN([AM_PROG_MKDIR_P],
1871 +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1872 + # We used to keeping the `.' as first argument, in order to
1873 + # allow $(mkdir_p) to be used without argument. As in
1874 + # $(mkdir_p) $(somedir)
1875 + # where $(somedir) is conditionally defined. However this is wrong
1876 + # for two reasons:
1877 + # 1. if the package is installed by a user who cannot write `.'
1878 + # make install will fail,
1879 + # 2. the above comment should most certainly read
1880 + # $(mkdir_p) $(DESTDIR)$(somedir)
1881 + # so it does not work when $(somedir) is undefined and
1882 + # $(DESTDIR) is not.
1883 + # To support the latter case, we have to write
1884 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1885 + # so the `.' trick is pointless.
1886 + mkdir_p='mkdir -p --'
1888 + # On NextStep and OpenStep, the `mkdir' command does not
1889 + # recognize any option. It will interpret all options as
1890 + # directories to create, and then abort because `.' already
1892 + for d in ./-p ./--version;
1894 + test -d $d && rmdir $d
1896 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1897 + if test -f "$ac_aux_dir/mkinstalldirs"; then
1898 + mkdir_p='$(mkinstalldirs)'
1900 + mkdir_p='$(install_sh) -d'
1903 +AC_SUBST([mkdir_p])])
1905 +# Helper functions for option handling. -*- Autoconf -*-
1907 +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
1909 +# This file is free software; the Free Software Foundation
1910 +# gives unlimited permission to copy and/or distribute it,
1911 +# with or without modifications, as long as this notice is preserved.
1915 +# _AM_MANGLE_OPTION(NAME)
1916 +# -----------------------
1917 +AC_DEFUN([_AM_MANGLE_OPTION],
1918 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1920 +# _AM_SET_OPTION(NAME)
1921 +# ------------------------------
1922 +# Set option NAME. Presently that only means defining a flag for this option.
1923 +AC_DEFUN([_AM_SET_OPTION],
1924 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1926 +# _AM_SET_OPTIONS(OPTIONS)
1927 +# ----------------------------------
1928 +# OPTIONS is a space-separated list of Automake options.
1929 +AC_DEFUN([_AM_SET_OPTIONS],
1930 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1932 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1933 +# -------------------------------------------
1934 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1935 +AC_DEFUN([_AM_IF_OPTION],
1936 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1938 +# Check to make sure that the build environment is sane. -*- Autoconf -*-
1940 +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1941 +# Free Software Foundation, Inc.
1943 +# This file is free software; the Free Software Foundation
1944 +# gives unlimited permission to copy and/or distribute it,
1945 +# with or without modifications, as long as this notice is preserved.
1951 +AC_DEFUN([AM_SANITY_CHECK],
1952 +[AC_MSG_CHECKING([whether build environment is sane])
1955 +echo timestamp > conftest.file
1956 +# Do `set' in a subshell so we don't clobber the current shell's
1957 +# arguments. Must try -L first in case configure is actually a
1958 +# symlink; some systems play weird games with the mod time of symlinks
1959 +# (eg FreeBSD returns the mod time of the symlink's containing
1962 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1963 + if test "$[*]" = "X"; then
1965 + set X `ls -t $srcdir/configure conftest.file`
1967 + rm -f conftest.file
1968 + if test "$[*]" != "X $srcdir/configure conftest.file" \
1969 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
1971 + # If neither matched, then we have a broken ls. This can happen
1972 + # if, for instance, CONFIG_SHELL is bash and it inherits a
1973 + # broken ls alias from the environment. This has actually
1974 + # happened. Such a system could not be considered "sane".
1975 + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1976 +alias in your environment])
1979 + test "$[2]" = conftest.file
1985 + AC_MSG_ERROR([newly created file is older than distributed files!
1986 +Check your system clock])
1988 +AC_MSG_RESULT(yes)])
1990 +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1992 +# This file is free software; the Free Software Foundation
1993 +# gives unlimited permission to copy and/or distribute it,
1994 +# with or without modifications, as long as this notice is preserved.
1996 +# AM_PROG_INSTALL_STRIP
1997 +# ---------------------
1998 +# One issue with vendor `install' (even GNU) is that you can't
1999 +# specify the program used to strip binaries. This is especially
2000 +# annoying in cross-compiling environments, where the build's strip
2001 +# is unlikely to handle the host's binaries.
2002 +# Fortunately install-sh will honor a STRIPPROG variable, so we
2003 +# always use install-sh in `make install-strip', and initialize
2004 +# STRIPPROG with the value of the STRIP variable (set by the user).
2005 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
2006 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2007 +# Installed binaries are usually stripped using `strip' when the user
2008 +# run `make install-strip'. However `strip' might not be the right
2009 +# tool to use in cross-compilation environments, therefore Automake
2010 +# will honor the `STRIP' environment variable to overrule this program.
2011 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2012 +if test "$cross_compiling" != no; then
2013 + AC_CHECK_TOOL([STRIP], [strip], :)
2015 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2016 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
2018 +# Check how to create a tarball. -*- Autoconf -*-
2020 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
2022 +# This file is free software; the Free Software Foundation
2023 +# gives unlimited permission to copy and/or distribute it,
2024 +# with or without modifications, as long as this notice is preserved.
2028 +# _AM_PROG_TAR(FORMAT)
2029 +# --------------------
2030 +# Check how to create a tarball in format FORMAT.
2031 +# FORMAT should be one of `v7', `ustar', or `pax'.
2033 +# Substitute a variable $(am__tar) that is a command
2034 +# writing to stdout a FORMAT-tarball containing the directory
2036 +# tardir=directory && $(am__tar) > result.tar
2038 +# Substitute a variable $(am__untar) that extract such
2039 +# a tarball read from stdin.
2040 +# $(am__untar) < result.tar
2041 +AC_DEFUN([_AM_PROG_TAR],
2042 +[# Always define AMTAR for backward compatibility.
2043 +AM_MISSING_PROG([AMTAR], [tar])
2045 + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
2046 + [m4_case([$1], [ustar],, [pax],,
2047 + [m4_fatal([Unknown tar format])])
2048 +AC_MSG_CHECKING([how to create a $1 tar archive])
2049 +# Loop over all known methods to create a tar archive until one works.
2050 +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2051 +_am_tools=${am_cv_prog_tar_$1-$_am_tools}
2052 +# Do not fold the above two line into one, because Tru64 sh and
2053 +# Solaris sh will not grok spaces in the rhs of `-'.
2054 +for _am_tool in $_am_tools
2058 + for _am_tar in tar gnutar gtar;
2060 + AM_RUN_LOG([$_am_tar --version]) && break
2062 + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
2063 + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2064 + am__untar="$_am_tar -xf -"
2067 + # Must skip GNU tar: if it does not support --format= it doesn't create
2068 + # ustar tarball either.
2069 + (tar --version) >/dev/null 2>&1 && continue
2070 + am__tar='tar chf - "$$tardir"'
2071 + am__tar_='tar chf - "$tardir"'
2072 + am__untar='tar xf -'
2075 + am__tar='pax -L -x $1 -w "$$tardir"'
2076 + am__tar_='pax -L -x $1 -w "$tardir"'
2077 + am__untar='pax -r'
2080 + am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2081 + am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2082 + am__untar='cpio -i -H $1 -d'
2091 + # If the value was cached, stop now. We just wanted to have am__tar
2092 + # and am__untar set.
2093 + test -n "${am_cv_prog_tar_$1}" && break
2095 + # tar/untar a dummy directory, and stop if the command works
2096 + rm -rf conftest.dir
2097 + mkdir conftest.dir
2098 + echo GrepMe > conftest.dir/file
2099 + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2100 + rm -rf conftest.dir
2101 + if test -s conftest.tar; then
2102 + AM_RUN_LOG([$am__untar <conftest.tar])
2103 + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2106 +rm -rf conftest.dir
2108 +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2109 +AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2110 +AC_SUBST([am__tar])
2111 +AC_SUBST([am__untar])
2114 +m4_include([../../../acinclude.m4])
2115 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/configure newlib-1.16.0/newlib/libc/sys/nacl/configure
2116 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/configure 1969-12-31 16:00:00.000000000 -0800
2117 +++ newlib-1.16.0/newlib/libc/sys/nacl/configure 2008-08-25 21:31:05.801645800 -0700
2120 +# Guess values for system-dependent variables and create Makefiles.
2121 +# Generated by GNU Autoconf 2.61 for newlib 1.16.0.
2123 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2124 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2125 +# This configure script is free software; the Free Software Foundation
2126 +# gives unlimited permission to copy, distribute and modify it.
2127 +## --------------------- ##
2128 +## M4sh Initialization. ##
2129 +## --------------------- ##
2131 +# Be more Bourne compatible
2132 +DUALCASE=1; export DUALCASE # for MKS sh
2133 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2136 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2137 + # is contrary to our usage. Disable this feature.
2138 + alias -g '${1+"$@"}'='"$@"'
2139 + setopt NO_GLOB_SUBST
2141 + case `(set -o) 2>/dev/null` in
2142 + *posix*) set -o posix ;;
2151 +# Avoid depending upon Character Ranges.
2152 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2153 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2154 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2155 +as_cr_digits='0123456789'
2156 +as_cr_alnum=$as_cr_Letters$as_cr_digits
2158 +# The user is always right.
2159 +if test "${PATH_SEPARATOR+set}" != set; then
2160 + echo "#! /bin/sh" >conf$$.sh
2161 + echo "exit 0" >>conf$$.sh
2162 + chmod +x conf$$.sh
2163 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2164 + PATH_SEPARATOR=';'
2171 +# Support unset when possible.
2172 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2180 +# We need space, tab and new line, in precisely that order. Quoting is
2181 +# there to prevent editors from complaining about space-tab.
2182 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2183 +# splitting by setting IFS to empty value.)
2188 +# Find who we are. Look in the path if we contain no directory separator.
2190 + *[\\/]* ) as_myself=$0 ;;
2191 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 +for as_dir in $PATH
2195 + test -z "$as_dir" && as_dir=.
2196 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2202 +# We did not find ourselves, most probably we were run as `sh COMMAND'
2203 +# in which case we are not to be found in the path.
2204 +if test "x$as_myself" = x; then
2207 +if test ! -f "$as_myself"; then
2208 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2209 + { (exit 1); exit 1; }
2212 +# Work around bugs in pre-3.0 UWIN ksh.
2213 +for as_var in ENV MAIL MAILPATH
2214 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2222 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2223 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2224 + LC_TELEPHONE LC_TIME
2226 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2227 + eval $as_var=C; export $as_var
2229 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2233 +# Required to use basename.
2234 +if expr a : '\(a\)' >/dev/null 2>&1 &&
2235 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
2241 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2242 + as_basename=basename
2248 +# Name of the executable.
2249 +as_me=`$as_basename -- "$0" ||
2250 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2251 + X"$0" : 'X\(//\)$' \| \
2252 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2254 + sed '/^.*\/\([^/][^/]*\)\/*$/{
2272 +if test "x$CONFIG_SHELL" = x; then
2273 + if (eval ":") 2>/dev/null; then
2274 + as_have_required=yes
2276 + as_have_required=no
2279 + if test $as_have_required = yes && (eval ":
2280 +(as_func_return () {
2283 +as_func_success () {
2286 +as_func_failure () {
2289 +as_func_ret_success () {
2292 +as_func_ret_failure () {
2297 +if as_func_success; then
2301 + echo as_func_success failed.
2304 +if as_func_failure; then
2306 + echo as_func_failure succeeded.
2309 +if as_func_ret_success; then
2313 + echo as_func_ret_success failed.
2316 +if as_func_ret_failure; then
2318 + echo as_func_ret_failure succeeded.
2321 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2325 + echo positional parameters were not saved.
2328 +test \$exitcode = 0) || { (exit 1); exit 1; }
2331 + as_lineno_1=\$LINENO
2332 + as_lineno_2=\$LINENO
2333 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2334 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2335 +") 2> /dev/null; then
2338 + as_candidate_shells=
2339 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2343 + test -z "$as_dir" && as_dir=.
2346 + for as_base in sh bash ksh sh5; do
2347 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2354 + for as_shell in $as_candidate_shells $SHELL; do
2355 + # Try only shells that exist, to save several forks.
2356 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2357 + { ("$as_shell") 2> /dev/null <<\_ASEOF
2358 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2361 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2362 + # is contrary to our usage. Disable this feature.
2363 + alias -g '${1+"$@"}'='"$@"'
2364 + setopt NO_GLOB_SUBST
2366 + case `(set -o) 2>/dev/null` in
2367 + *posix*) set -o posix ;;
2376 + CONFIG_SHELL=$as_shell
2377 + as_have_required=yes
2378 + if { "$as_shell" 2> /dev/null <<\_ASEOF
2379 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2382 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2383 + # is contrary to our usage. Disable this feature.
2384 + alias -g '${1+"$@"}'='"$@"'
2385 + setopt NO_GLOB_SUBST
2387 + case `(set -o) 2>/dev/null` in
2388 + *posix*) set -o posix ;;
2395 +(as_func_return () {
2398 +as_func_success () {
2401 +as_func_failure () {
2404 +as_func_ret_success () {
2407 +as_func_ret_failure () {
2412 +if as_func_success; then
2416 + echo as_func_success failed.
2419 +if as_func_failure; then
2421 + echo as_func_failure succeeded.
2424 +if as_func_ret_success; then
2428 + echo as_func_ret_success failed.
2431 +if as_func_ret_failure; then
2433 + echo as_func_ret_failure succeeded.
2436 +if ( set x; as_func_ret_success y && test x = "$1" ); then
2440 + echo positional parameters were not saved.
2443 +test $exitcode = 0) || { (exit 1); exit 1; }
2446 + as_lineno_1=$LINENO
2447 + as_lineno_2=$LINENO
2448 + test "x$as_lineno_1" != "x$as_lineno_2" &&
2449 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
2460 + if test "x$CONFIG_SHELL" != x; then
2461 + for as_var in BASH_ENV ENV
2462 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2464 + export CONFIG_SHELL
2465 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
2469 + if test $as_have_required = no; then
2470 + echo This script requires a shell more modern than all the
2471 + echo shells that I found on your system. Please install a
2472 + echo modern shell, or manually run the script under such a
2473 + echo shell if you do have one.
2474 + { (exit 1); exit 1; }
2484 +(eval "as_func_return () {
2487 +as_func_success () {
2490 +as_func_failure () {
2493 +as_func_ret_success () {
2496 +as_func_ret_failure () {
2501 +if as_func_success; then
2505 + echo as_func_success failed.
2508 +if as_func_failure; then
2510 + echo as_func_failure succeeded.
2513 +if as_func_ret_success; then
2517 + echo as_func_ret_success failed.
2520 +if as_func_ret_failure; then
2522 + echo as_func_ret_failure succeeded.
2525 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2529 + echo positional parameters were not saved.
2532 +test \$exitcode = 0") || {
2533 + echo No shell found that supports shell functions.
2534 + echo Please tell autoconf@gnu.org about your system,
2535 + echo including any error possibly output before this
2541 + as_lineno_1=$LINENO
2542 + as_lineno_2=$LINENO
2543 + test "x$as_lineno_1" != "x$as_lineno_2" &&
2544 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2546 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2547 + # uniformly replaced by the line number. The first 'sed' inserts a
2548 + # line-number line after each line using $LINENO; the second 'sed'
2549 + # does the real work. The second script uses 'N' to pair each
2550 + # line-number line with the line containing $LINENO, and appends
2551 + # trailing '-' during substitution so that $LINENO is not a special
2552 + # case at line end.
2553 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2554 + # scripts with optimization help from Paolo Bonzini. Blame Lee
2555 + # E. McMahon (1931-1989) for sed's syntax. :-)
2567 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2570 + ' >$as_me.lineno &&
2571 + chmod +x "$as_me.lineno" ||
2572 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2573 + { (exit 1); exit 1; }; }
2575 + # Don't try to exec as it changes $[0], causing all sort of problems
2576 + # (the dirname of $[0] is not the place where we might find the
2577 + # original and so on. Autoconf is especially sensitive to this).
2578 + . "./$as_me.lineno"
2579 + # Exit status is that of the last command.
2584 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2585 + as_dirname=dirname
2590 +ECHO_C= ECHO_N= ECHO_T=
2591 +case `echo -n x` in
2593 + case `echo 'x\c'` in
2594 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2601 +if expr a : '\(a\)' >/dev/null 2>&1 &&
2602 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
2608 +rm -f conf$$ conf$$.exe conf$$.file
2609 +if test -d conf$$.dir; then
2610 + rm -f conf$$.dir/conf$$.file
2616 +if ln -s conf$$.file conf$$ 2>/dev/null; then
2618 + # ... but there are two gotchas:
2619 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2620 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2621 + # In both cases, we have to default to `cp -p'.
2622 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2624 +elif ln conf$$.file conf$$ 2>/dev/null; then
2629 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2630 +rmdir conf$$.dir 2>/dev/null
2632 +if mkdir -p . 2>/dev/null; then
2635 + test -d ./-p && rmdir ./-p
2639 +if test -x / >/dev/null 2>&1; then
2640 + as_test_x='test -x'
2642 + if ls -dL / >/dev/null 2>&1; then
2649 + if test -d "$1"; then
2655 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2656 + ???[sx]*):;;*)false;;esac;fi
2660 +as_executable_p=$as_test_x
2662 +# Sed expression to map a string onto a valid CPP name.
2663 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2665 +# Sed expression to map a string onto a valid variable name.
2666 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2670 +exec 7<&0 </dev/null 6>&1
2672 +# Name of the host.
2673 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
2674 +# so uname gets run too.
2675 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2680 +ac_default_prefix=/usr/local
2682 +ac_config_libobj_dir=.
2688 +SHELL=${CONFIG_SHELL-/bin/sh}
2690 +# Identity of this package.
2691 +PACKAGE_NAME='newlib'
2692 +PACKAGE_TARNAME='newlib'
2693 +PACKAGE_VERSION='1.16.0'
2694 +PACKAGE_STRING='newlib 1.16.0'
2695 +PACKAGE_BUGREPORT=''
2697 +ac_unique_file="dummysys.c"
2698 +ac_subst_vars='SHELL
2707 +program_transform_name
2735 +MAY_SUPPLY_SYSCALLS_TRUE
2736 +MAY_SUPPLY_SYSCALLS_FALSE
2759 +INSTALL_STRIP_PROGRAM
2776 +am__fastdepCC_FALSE
2781 +MAINTAINER_MODE_TRUE
2782 +MAINTAINER_MODE_FALSE
2810 + ac_precious_vars='build_alias
2817 +# Initialize some variables set by options.
2819 +ac_init_version=false
2820 +# The variables have the same names as the options, with
2821 +# dashes changed to underlines.
2822 +cache_file=/dev/null
2827 +program_prefix=NONE
2828 +program_suffix=NONE
2829 +program_transform_name=s,x,x,
2837 +# Installation directory options.
2838 +# These are left unexpanded so users can "make install exec_prefix=/foo"
2839 +# and all the variables that are supposed to be based on exec_prefix
2840 +# by default will actually change.
2841 +# Use braces instead of parens because sh, perl, etc. also accept them.
2842 +# (The list follows the same order as the GNU Coding Standards.)
2843 +bindir='${exec_prefix}/bin'
2844 +sbindir='${exec_prefix}/sbin'
2845 +libexecdir='${exec_prefix}/libexec'
2846 +datarootdir='${prefix}/share'
2847 +datadir='${datarootdir}'
2848 +sysconfdir='${prefix}/etc'
2849 +sharedstatedir='${prefix}/com'
2850 +localstatedir='${prefix}/var'
2851 +includedir='${prefix}/include'
2852 +oldincludedir='/usr/include'
2853 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2854 +infodir='${datarootdir}/info'
2855 +htmldir='${docdir}'
2859 +libdir='${exec_prefix}/lib'
2860 +localedir='${datarootdir}/locale'
2861 +mandir='${datarootdir}/man'
2867 + # If the previous option needs an argument, assign it.
2868 + if test -n "$ac_prev"; then
2869 + eval $ac_prev=\$ac_option
2874 + case $ac_option in
2875 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2876 + *) ac_optarg=yes ;;
2879 + # Accept the important Cygnus configure options, so we can diagnose typos.
2881 + case $ac_dashdash$ac_option in
2883 + ac_dashdash=yes ;;
2885 + -bindir | --bindir | --bindi | --bind | --bin | --bi)
2887 + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2888 + bindir=$ac_optarg ;;
2890 + -build | --build | --buil | --bui | --bu)
2891 + ac_prev=build_alias ;;
2892 + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2893 + build_alias=$ac_optarg ;;
2895 + -cache-file | --cache-file | --cache-fil | --cache-fi \
2896 + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2897 + ac_prev=cache_file ;;
2898 + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2899 + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2900 + cache_file=$ac_optarg ;;
2902 + --config-cache | -C)
2903 + cache_file=config.cache ;;
2905 + -datadir | --datadir | --datadi | --datad)
2906 + ac_prev=datadir ;;
2907 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
2908 + datadir=$ac_optarg ;;
2910 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2911 + | --dataroo | --dataro | --datar)
2912 + ac_prev=datarootdir ;;
2913 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2914 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2915 + datarootdir=$ac_optarg ;;
2917 + -disable-* | --disable-*)
2918 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2919 + # Reject names that are not valid shell variable names.
2920 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2921 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2922 + { (exit 1); exit 1; }; }
2923 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
2924 + eval enable_$ac_feature=no ;;
2926 + -docdir | --docdir | --docdi | --doc | --do)
2928 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2929 + docdir=$ac_optarg ;;
2931 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2933 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2934 + dvidir=$ac_optarg ;;
2936 + -enable-* | --enable-*)
2937 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2938 + # Reject names that are not valid shell variable names.
2939 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2940 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2941 + { (exit 1); exit 1; }; }
2942 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
2943 + eval enable_$ac_feature=\$ac_optarg ;;
2945 + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2946 + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2947 + | --exec | --exe | --ex)
2948 + ac_prev=exec_prefix ;;
2949 + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2950 + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2951 + | --exec=* | --exe=* | --ex=*)
2952 + exec_prefix=$ac_optarg ;;
2954 + -gas | --gas | --ga | --g)
2955 + # Obsolete; use --with-gas.
2958 + -help | --help | --hel | --he | -h)
2959 + ac_init_help=long ;;
2960 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2961 + ac_init_help=recursive ;;
2962 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2963 + ac_init_help=short ;;
2965 + -host | --host | --hos | --ho)
2966 + ac_prev=host_alias ;;
2967 + -host=* | --host=* | --hos=* | --ho=*)
2968 + host_alias=$ac_optarg ;;
2970 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2971 + ac_prev=htmldir ;;
2972 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2974 + htmldir=$ac_optarg ;;
2976 + -includedir | --includedir | --includedi | --included | --include \
2977 + | --includ | --inclu | --incl | --inc)
2978 + ac_prev=includedir ;;
2979 + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2980 + | --includ=* | --inclu=* | --incl=* | --inc=*)
2981 + includedir=$ac_optarg ;;
2983 + -infodir | --infodir | --infodi | --infod | --info | --inf)
2984 + ac_prev=infodir ;;
2985 + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2986 + infodir=$ac_optarg ;;
2988 + -libdir | --libdir | --libdi | --libd)
2990 + -libdir=* | --libdir=* | --libdi=* | --libd=*)
2991 + libdir=$ac_optarg ;;
2993 + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2994 + | --libexe | --libex | --libe)
2995 + ac_prev=libexecdir ;;
2996 + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2997 + | --libexe=* | --libex=* | --libe=*)
2998 + libexecdir=$ac_optarg ;;
3000 + -localedir | --localedir | --localedi | --localed | --locale)
3001 + ac_prev=localedir ;;
3002 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
3003 + localedir=$ac_optarg ;;
3005 + -localstatedir | --localstatedir | --localstatedi | --localstated \
3006 + | --localstate | --localstat | --localsta | --localst | --locals)
3007 + ac_prev=localstatedir ;;
3008 + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3009 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
3010 + localstatedir=$ac_optarg ;;
3012 + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
3014 + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
3015 + mandir=$ac_optarg ;;
3017 + -nfp | --nfp | --nf)
3018 + # Obsolete; use --without-fp.
3021 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3022 + | --no-cr | --no-c | -n)
3025 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3026 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
3027 + no_recursion=yes ;;
3029 + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
3030 + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
3031 + | --oldin | --oldi | --old | --ol | --o)
3032 + ac_prev=oldincludedir ;;
3033 + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
3034 + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
3035 + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
3036 + oldincludedir=$ac_optarg ;;
3038 + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3040 + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3041 + prefix=$ac_optarg ;;
3043 + -program-prefix | --program-prefix | --program-prefi | --program-pref \
3044 + | --program-pre | --program-pr | --program-p)
3045 + ac_prev=program_prefix ;;
3046 + -program-prefix=* | --program-prefix=* | --program-prefi=* \
3047 + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
3048 + program_prefix=$ac_optarg ;;
3050 + -program-suffix | --program-suffix | --program-suffi | --program-suff \
3051 + | --program-suf | --program-su | --program-s)
3052 + ac_prev=program_suffix ;;
3053 + -program-suffix=* | --program-suffix=* | --program-suffi=* \
3054 + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
3055 + program_suffix=$ac_optarg ;;
3057 + -program-transform-name | --program-transform-name \
3058 + | --program-transform-nam | --program-transform-na \
3059 + | --program-transform-n | --program-transform- \
3060 + | --program-transform | --program-transfor \
3061 + | --program-transfo | --program-transf \
3062 + | --program-trans | --program-tran \
3063 + | --progr-tra | --program-tr | --program-t)
3064 + ac_prev=program_transform_name ;;
3065 + -program-transform-name=* | --program-transform-name=* \
3066 + | --program-transform-nam=* | --program-transform-na=* \
3067 + | --program-transform-n=* | --program-transform-=* \
3068 + | --program-transform=* | --program-transfor=* \
3069 + | --program-transfo=* | --program-transf=* \
3070 + | --program-trans=* | --program-tran=* \
3071 + | --progr-tra=* | --program-tr=* | --program-t=*)
3072 + program_transform_name=$ac_optarg ;;
3074 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
3076 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
3077 + pdfdir=$ac_optarg ;;
3079 + -psdir | --psdir | --psdi | --psd | --ps)
3081 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
3082 + psdir=$ac_optarg ;;
3084 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3085 + | -silent | --silent | --silen | --sile | --sil)
3088 + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3089 + ac_prev=sbindir ;;
3090 + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3091 + | --sbi=* | --sb=*)
3092 + sbindir=$ac_optarg ;;
3094 + -sharedstatedir | --sharedstatedir | --sharedstatedi \
3095 + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3096 + | --sharedst | --shareds | --shared | --share | --shar \
3098 + ac_prev=sharedstatedir ;;
3099 + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
3100 + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3101 + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3102 + | --sha=* | --sh=*)
3103 + sharedstatedir=$ac_optarg ;;
3105 + -site | --site | --sit)
3107 + -site=* | --site=* | --sit=*)
3108 + site=$ac_optarg ;;
3110 + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3112 + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3113 + srcdir=$ac_optarg ;;
3115 + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
3116 + | --syscon | --sysco | --sysc | --sys | --sy)
3117 + ac_prev=sysconfdir ;;
3118 + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
3119 + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
3120 + sysconfdir=$ac_optarg ;;
3122 + -target | --target | --targe | --targ | --tar | --ta | --t)
3123 + ac_prev=target_alias ;;
3124 + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
3125 + target_alias=$ac_optarg ;;
3127 + -v | -verbose | --verbose | --verbos | --verbo | --verb)
3130 + -version | --version | --versio | --versi | --vers | -V)
3131 + ac_init_version=: ;;
3133 + -with-* | --with-*)
3134 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3135 + # Reject names that are not valid shell variable names.
3136 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3137 + { echo "$as_me: error: invalid package name: $ac_package" >&2
3138 + { (exit 1); exit 1; }; }
3139 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
3140 + eval with_$ac_package=\$ac_optarg ;;
3142 + -without-* | --without-*)
3143 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3144 + # Reject names that are not valid shell variable names.
3145 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3146 + { echo "$as_me: error: invalid package name: $ac_package" >&2
3147 + { (exit 1); exit 1; }; }
3148 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
3149 + eval with_$ac_package=no ;;
3152 + # Obsolete; use --with-x.
3155 + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
3156 + | --x-incl | --x-inc | --x-in | --x-i)
3157 + ac_prev=x_includes ;;
3158 + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
3159 + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
3160 + x_includes=$ac_optarg ;;
3162 + -x-libraries | --x-libraries | --x-librarie | --x-librari \
3163 + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
3164 + ac_prev=x_libraries ;;
3165 + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
3166 + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
3167 + x_libraries=$ac_optarg ;;
3169 + -*) { echo "$as_me: error: unrecognized option: $ac_option
3170 +Try \`$0 --help' for more information." >&2
3171 + { (exit 1); exit 1; }; }
3175 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
3176 + # Reject names that are not valid shell variable names.
3177 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
3178 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
3179 + { (exit 1); exit 1; }; }
3180 + eval $ac_envvar=\$ac_optarg
3181 + export $ac_envvar ;;
3184 + # FIXME: should be removed in autoconf 3.0.
3185 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
3186 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3187 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
3188 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
3194 +if test -n "$ac_prev"; then
3195 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
3196 + { echo "$as_me: error: missing argument to $ac_option" >&2
3197 + { (exit 1); exit 1; }; }
3200 +# Be sure to have absolute directory names.
3201 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
3202 + datadir sysconfdir sharedstatedir localstatedir includedir \
3203 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
3204 + libdir localedir mandir
3206 + eval ac_val=\$$ac_var
3208 + [\\/$]* | ?:[\\/]* ) continue;;
3209 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
3211 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3212 + { (exit 1); exit 1; }; }
3215 +# There might be people who depend on the old broken behavior: `$host'
3216 +# used to hold the argument of --host etc.
3217 +# FIXME: To remove some day.
3220 +target=$target_alias
3222 +# FIXME: To remove some day.
3223 +if test "x$host_alias" != x; then
3224 + if test "x$build_alias" = x; then
3225 + cross_compiling=maybe
3226 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
3227 + If a cross compiler is detected then cross compile mode will be used." >&2
3228 + elif test "x$build_alias" != "x$host_alias"; then
3229 + cross_compiling=yes
3234 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
3236 +test "$silent" = yes && exec 6>/dev/null
3239 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
3240 +ac_ls_di=`ls -di .` &&
3241 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
3242 + { echo "$as_me: error: Working directory cannot be determined" >&2
3243 + { (exit 1); exit 1; }; }
3244 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
3245 + { echo "$as_me: error: pwd does not report name of working directory" >&2
3246 + { (exit 1); exit 1; }; }
3249 +# Find the source files, if location was not specified.
3250 +if test -z "$srcdir"; then
3251 + ac_srcdir_defaulted=yes
3252 + # Try the directory containing this script, then the parent directory.
3253 + ac_confdir=`$as_dirname -- "$0" ||
3254 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3255 + X"$0" : 'X\(//\)[^/]' \| \
3256 + X"$0" : 'X\(//\)$' \| \
3257 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3259 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3263 + /^X\(\/\/\)[^/].*/{
3276 + srcdir=$ac_confdir
3277 + if test ! -r "$srcdir/$ac_unique_file"; then
3281 + ac_srcdir_defaulted=no
3283 +if test ! -r "$srcdir/$ac_unique_file"; then
3284 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
3285 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
3286 + { (exit 1); exit 1; }; }
3288 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
3290 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
3291 + { (exit 1); exit 1; }; }
3293 +# When building in place, set srcdir=.
3294 +if test "$ac_abs_confdir" = "$ac_pwd"; then
3297 +# Remove unnecessary trailing slashes from srcdir.
3298 +# Double slashes in file names in object file debugging info
3299 +# mess up M-x gdb in Emacs.
3301 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
3303 +for ac_var in $ac_precious_vars; do
3304 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
3305 + eval ac_env_${ac_var}_value=\$${ac_var}
3306 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
3307 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
3311 +# Report the --help message.
3313 +if test "$ac_init_help" = "long"; then
3314 + # Omit some internal or obsolete options to make the list less imposing.
3315 + # This message is too long to be a string in the A/UX 3.1 sh.
3317 +\`configure' configures newlib 1.16.0 to adapt to many kinds of systems.
3319 +Usage: $0 [OPTION]... [VAR=VALUE]...
3321 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
3322 +VAR=VALUE. See below for descriptions of some of the useful variables.
3324 +Defaults for the options are specified in brackets.
3327 + -h, --help display this help and exit
3328 + --help=short display options specific to this package
3329 + --help=recursive display the short help of all the included packages
3330 + -V, --version display version information and exit
3331 + -q, --quiet, --silent do not print \`checking...' messages
3332 + --cache-file=FILE cache test results in FILE [disabled]
3333 + -C, --config-cache alias for \`--cache-file=config.cache'
3334 + -n, --no-create do not create output files
3335 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
3337 +Installation directories:
3338 + --prefix=PREFIX install architecture-independent files in PREFIX
3339 + [$ac_default_prefix]
3340 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
3343 +By default, \`make install' will install all the files in
3344 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
3345 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
3346 +for instance \`--prefix=\$HOME'.
3348 +For better control, use the options below.
3350 +Fine tuning of the installation directories:
3351 + --bindir=DIR user executables [EPREFIX/bin]
3352 + --sbindir=DIR system admin executables [EPREFIX/sbin]
3353 + --libexecdir=DIR program executables [EPREFIX/libexec]
3354 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
3355 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
3356 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
3357 + --libdir=DIR object code libraries [EPREFIX/lib]
3358 + --includedir=DIR C header files [PREFIX/include]
3359 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
3360 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
3361 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
3362 + --infodir=DIR info documentation [DATAROOTDIR/info]
3363 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
3364 + --mandir=DIR man documentation [DATAROOTDIR/man]
3365 + --docdir=DIR documentation root [DATAROOTDIR/doc/newlib]
3366 + --htmldir=DIR html documentation [DOCDIR]
3367 + --dvidir=DIR dvi documentation [DOCDIR]
3368 + --pdfdir=DIR pdf documentation [DOCDIR]
3369 + --psdir=DIR ps documentation [DOCDIR]
3375 + --program-prefix=PREFIX prepend PREFIX to installed program names
3376 + --program-suffix=SUFFIX append SUFFIX to installed program names
3377 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
3380 + --build=BUILD configure for building on BUILD [guessed]
3381 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
3385 +if test -n "$ac_init_help"; then
3386 + case $ac_init_help in
3387 + short | recursive ) echo "Configuration of newlib 1.16.0:";;
3392 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
3393 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
3394 + --enable-multilib build many library versions (default)
3395 + --enable-target-optspace optimize for space
3396 + --enable-malloc-debugging indicate malloc debugging requested
3397 + --enable-newlib-multithread enable support for multiple threads
3398 + --enable-newlib-iconv enable iconv library support
3399 + --enable-newlib-elix-level supply desired elix library level (1-4)
3400 + --disable-newlib-io-float disable printf/scanf family float support
3401 + --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
3402 + --disable-dependency-tracking speeds up one-time build
3403 + --enable-dependency-tracking do not reject slow dependency extractors
3404 + --enable-maintainer-mode enable make rules and dependencies not useful
3405 + (and sometimes confusing) to the casual installer
3407 +Some influential environment variables:
3408 + CCAS assembler compiler command (defaults to CC)
3409 + CCASFLAGS assembler compiler flags (defaults to CFLAGS)
3411 +Use these variables to override the choices made by `configure' or to help
3412 +it to find libraries and programs with nonstandard names/locations.
3418 +if test "$ac_init_help" = "recursive"; then
3419 + # If there are subdirs, report their specific --help.
3420 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
3421 + test -d "$ac_dir" || continue
3425 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3427 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3428 + # A ".." for each directory in $ac_dir_suffix.
3429 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3430 + case $ac_top_builddir_sub in
3431 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3432 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3435 +ac_abs_top_builddir=$ac_pwd
3436 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
3437 +# for backward compatibility:
3438 +ac_top_builddir=$ac_top_build_prefix
3441 + .) # We are building in place.
3443 + ac_top_srcdir=$ac_top_builddir_sub
3444 + ac_abs_top_srcdir=$ac_pwd ;;
3445 + [\\/]* | ?:[\\/]* ) # Absolute name.
3446 + ac_srcdir=$srcdir$ac_dir_suffix;
3447 + ac_top_srcdir=$srcdir
3448 + ac_abs_top_srcdir=$srcdir ;;
3449 + *) # Relative name.
3450 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3451 + ac_top_srcdir=$ac_top_build_prefix$srcdir
3452 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3454 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3456 + cd "$ac_dir" || { ac_status=$?; continue; }
3457 + # Check for guested configure.
3458 + if test -f "$ac_srcdir/configure.gnu"; then
3460 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
3461 + elif test -f "$ac_srcdir/configure"; then
3463 + $SHELL "$ac_srcdir/configure" --help=recursive
3465 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3466 + fi || ac_status=$?
3467 + cd "$ac_pwd" || { ac_status=$?; break; }
3471 +test -n "$ac_init_help" && exit $ac_status
3472 +if $ac_init_version; then
3474 +newlib configure 1.16.0
3475 +generated by GNU Autoconf 2.61
3477 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
3478 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3479 +This configure script is free software; the Free Software Foundation
3480 +gives unlimited permission to copy, distribute and modify it.
3484 +cat >config.log <<_ACEOF
3485 +This file contains any messages produced by compilers while
3486 +running configure, to aid debugging if configure makes a mistake.
3488 +It was created by newlib $as_me 1.16.0, which was
3489 +generated by GNU Autoconf 2.61. Invocation command line was
3501 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3502 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
3503 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
3504 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
3505 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
3507 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3508 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3510 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3511 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3512 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3513 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3514 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3515 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3516 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3520 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 +for as_dir in $PATH
3524 + test -z "$as_dir" && as_dir=.
3525 + echo "PATH: $as_dir"
3541 +# Keep a trace of the command line.
3542 +# Strip out --no-create and --no-recursion so they do not pile up.
3543 +# Strip out --silent because we don't want to record it for future runs.
3544 +# Also quote any args containing shell meta-characters.
3545 +# Make two passes to allow for proper duplicate-argument suppression.
3547 +ac_configure_args0=
3548 +ac_configure_args1=
3549 +ac_must_keep_next=false
3555 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3556 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3557 + | -silent | --silent | --silen | --sile | --sil)
3560 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3563 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
3565 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
3566 + if test $ac_must_keep_next = true; then
3567 + ac_must_keep_next=false # Got value, back to normal.
3570 + *=* | --config-cache | -C | -disable-* | --disable-* \
3571 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3572 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3573 + | -with-* | --with-* | -without-* | --without-* | --x)
3574 + case "$ac_configure_args0 " in
3575 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3578 + -* ) ac_must_keep_next=true ;;
3581 + ac_configure_args="$ac_configure_args '$ac_arg'"
3586 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
3587 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
3589 +# When interrupted or exit'd, cleanup temporary files, and complete
3590 +# config.log. We remove comments because anyway the quotes in there
3591 +# would cause problems or look ugly.
3592 +# WARNING: Use '\'' to represent an apostrophe within the trap.
3593 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3594 +trap 'exit_status=$?
3595 + # Save into config.log some information that might help in debugging.
3600 +## ---------------- ##
3601 +## Cache variables. ##
3602 +## ---------------- ##
3605 + # The following way of writing the cache mishandles newlines in values,
3607 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3608 + eval ac_val=\$$ac_var
3609 + case $ac_val in #(
3611 + case $ac_var in #(
3612 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3613 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3615 + case $ac_var in #(
3616 + _ | IFS | as_nl) ;; #(
3617 + *) $as_unset $ac_var ;;
3622 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3623 + *${as_nl}ac_space=\ *)
3625 + "s/'\''/'\''\\\\'\'''\''/g;
3626 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3629 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3637 +## ----------------- ##
3638 +## Output variables. ##
3639 +## ----------------- ##
3642 + for ac_var in $ac_subst_vars
3644 + eval ac_val=\$$ac_var
3646 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3648 + echo "$ac_var='\''$ac_val'\''"
3652 + if test -n "$ac_subst_files"; then
3654 +## ------------------- ##
3655 +## File substitutions. ##
3656 +## ------------------- ##
3659 + for ac_var in $ac_subst_files
3661 + eval ac_val=\$$ac_var
3663 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3665 + echo "$ac_var='\''$ac_val'\''"
3670 + if test -s confdefs.h; then
3680 + test "$ac_signal" != 0 &&
3681 + echo "$as_me: caught signal $ac_signal"
3682 + echo "$as_me: exit $exit_status"
3684 + rm -f core *.core core.conftest.* &&
3685 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3688 +for ac_signal in 1 2 13 15; do
3689 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
3693 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
3694 +rm -f -r conftest* confdefs.h
3696 +# Predefined preprocessor variables.
3698 +cat >>confdefs.h <<_ACEOF
3699 +#define PACKAGE_NAME "$PACKAGE_NAME"
3703 +cat >>confdefs.h <<_ACEOF
3704 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3708 +cat >>confdefs.h <<_ACEOF
3709 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
3713 +cat >>confdefs.h <<_ACEOF
3714 +#define PACKAGE_STRING "$PACKAGE_STRING"
3718 +cat >>confdefs.h <<_ACEOF
3719 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3723 +# Let the site file select an alternate cache file if it wants to.
3724 +# Prefer explicitly selected file to automatically selected ones.
3725 +if test -n "$CONFIG_SITE"; then
3726 + set x "$CONFIG_SITE"
3727 +elif test "x$prefix" != xNONE; then
3728 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
3730 + set x "$ac_default_prefix/share/config.site" \
3731 + "$ac_default_prefix/etc/config.site"
3736 + if test -r "$ac_site_file"; then
3737 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
3738 +echo "$as_me: loading site script $ac_site_file" >&6;}
3739 + sed 's/^/| /' "$ac_site_file" >&5
3744 +if test -r "$cache_file"; then
3745 + # Some versions of bash will fail to source /dev/null (special
3746 + # files actually), so we avoid doing that.
3747 + if test -f "$cache_file"; then
3748 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3749 +echo "$as_me: loading cache $cache_file" >&6;}
3750 + case $cache_file in
3751 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
3752 + *) . "./$cache_file";;
3756 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3757 +echo "$as_me: creating cache $cache_file" >&6;}
3761 +# Check that the precious variables saved in the cache have kept the same
3763 +ac_cache_corrupted=false
3764 +for ac_var in $ac_precious_vars; do
3765 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
3766 + eval ac_new_set=\$ac_env_${ac_var}_set
3767 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
3768 + eval ac_new_val=\$ac_env_${ac_var}_value
3769 + case $ac_old_set,$ac_new_set in
3771 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3772 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3773 + ac_cache_corrupted=: ;;
3775 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
3776 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3777 + ac_cache_corrupted=: ;;
3780 + if test "x$ac_old_val" != "x$ac_new_val"; then
3781 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
3782 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3783 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
3784 +echo "$as_me: former value: $ac_old_val" >&2;}
3785 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
3786 +echo "$as_me: current value: $ac_new_val" >&2;}
3787 + ac_cache_corrupted=:
3790 + # Pass precious variables to config.status.
3791 + if test "$ac_new_set" = set; then
3792 + case $ac_new_val in
3793 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3794 + *) ac_arg=$ac_var=$ac_new_val ;;
3796 + case " $ac_configure_args " in
3797 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3798 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
3802 +if $ac_cache_corrupted; then
3803 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
3804 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3805 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
3806 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
3807 + { (exit 1); exit 1; }; }
3835 +ac_cpp='$CPP $CPPFLAGS'
3836 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844 +for ac_dir in ../../../.. "$srcdir"/../../../..; do
3845 + if test -f "$ac_dir/install-sh"; then
3846 + ac_aux_dir=$ac_dir
3847 + ac_install_sh="$ac_aux_dir/install-sh -c"
3849 + elif test -f "$ac_dir/install.sh"; then
3850 + ac_aux_dir=$ac_dir
3851 + ac_install_sh="$ac_aux_dir/install.sh -c"
3853 + elif test -f "$ac_dir/shtool"; then
3854 + ac_aux_dir=$ac_dir
3855 + ac_install_sh="$ac_aux_dir/shtool install -c"
3859 +if test -z "$ac_aux_dir"; then
3860 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&5
3861 +echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. \"$srcdir\"/../../../.." >&2;}
3862 + { (exit 1); exit 1; }; }
3865 +# These three variables are undocumented and unsupported,
3866 +# and are intended to be withdrawn in a future Autoconf release.
3867 +# They can cause serious problems if a builder's source tree is in a directory
3868 +# whose full name contains unusual characters.
3869 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3870 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3871 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3876 +# Make sure we can run config.sub.
3877 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3878 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3879 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3880 + { (exit 1); exit 1; }; }
3882 +{ echo "$as_me:$LINENO: checking build system type" >&5
3883 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3884 +if test "${ac_cv_build+set}" = set; then
3885 + echo $ECHO_N "(cached) $ECHO_C" >&6
3887 + ac_build_alias=$build_alias
3888 +test "x$ac_build_alias" = x &&
3889 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3890 +test "x$ac_build_alias" = x &&
3891 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3892 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3893 + { (exit 1); exit 1; }; }
3894 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3895 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3896 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3897 + { (exit 1); exit 1; }; }
3900 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3901 +echo "${ECHO_T}$ac_cv_build" >&6; }
3902 +case $ac_cv_build in
3904 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3905 +echo "$as_me: error: invalid value of canonical build" >&2;}
3906 + { (exit 1); exit 1; }; };;
3909 +ac_save_IFS=$IFS; IFS='-'
3915 +# Remember, the first character of IFS is used to create $*,
3916 +# except with old shells:
3919 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3922 +am__api_version="1.9"
3923 +# Find a good install program. We prefer a C program (faster),
3924 +# so one script is as good as another. But avoid the broken or
3925 +# incompatible versions:
3926 +# SysV /etc/install, /usr/sbin/install
3927 +# SunOS /usr/etc/install
3928 +# IRIX /sbin/install
3930 +# AmigaOS /C/install, which installs bootblocks on floppy discs
3931 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3932 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3933 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3934 +# OS/2's system install, which has a completely different semantic
3935 +# ./install, which can be erroneously created by make from ./install.sh.
3936 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3937 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3938 +if test -z "$INSTALL"; then
3939 +if test "${ac_cv_path_install+set}" = set; then
3940 + echo $ECHO_N "(cached) $ECHO_C" >&6
3942 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 +for as_dir in $PATH
3946 + test -z "$as_dir" && as_dir=.
3947 + # Account for people who put trailing slashes in PATH elements.
3949 + ./ | .// | /cC/* | \
3950 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3951 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3954 + # OSF1 and SCO ODT 3.0 have their own names for install.
3955 + # Don't use installbsd from OSF since it installs stuff as root
3957 + for ac_prog in ginstall scoinst install; do
3958 + for ac_exec_ext in '' $ac_executable_extensions; do
3959 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3960 + if test $ac_prog = install &&
3961 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3962 + # AIX install. It has an incompatible calling convention.
3964 + elif test $ac_prog = install &&
3965 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3966 + # program-specific install script used by HP pwplus--don't use.
3969 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3982 + if test "${ac_cv_path_install+set}" = set; then
3983 + INSTALL=$ac_cv_path_install
3985 + # As a last resort, use the slow shell script. Don't cache a
3986 + # value for INSTALL within a source directory, because that will
3987 + # break other packages using the cache if that directory is
3988 + # removed, or if the value is a relative name.
3989 + INSTALL=$ac_install_sh
3992 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3993 +echo "${ECHO_T}$INSTALL" >&6; }
3995 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3996 +# It thinks the first close brace ends the variable substitution.
3997 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3999 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4001 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4003 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
4004 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
4007 +echo timestamp > conftest.file
4008 +# Do `set' in a subshell so we don't clobber the current shell's
4009 +# arguments. Must try -L first in case configure is actually a
4010 +# symlink; some systems play weird games with the mod time of symlinks
4011 +# (eg FreeBSD returns the mod time of the symlink's containing
4014 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
4015 + if test "$*" = "X"; then
4017 + set X `ls -t $srcdir/configure conftest.file`
4019 + rm -f conftest.file
4020 + if test "$*" != "X $srcdir/configure conftest.file" \
4021 + && test "$*" != "X conftest.file $srcdir/configure"; then
4023 + # If neither matched, then we have a broken ls. This can happen
4024 + # if, for instance, CONFIG_SHELL is bash and it inherits a
4025 + # broken ls alias from the environment. This has actually
4026 + # happened. Such a system could not be considered "sane".
4027 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
4028 +alias in your environment" >&5
4029 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
4030 +alias in your environment" >&2;}
4031 + { (exit 1); exit 1; }; }
4034 + test "$2" = conftest.file
4040 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
4041 +Check your system clock" >&5
4042 +echo "$as_me: error: newly created file is older than distributed files!
4043 +Check your system clock" >&2;}
4044 + { (exit 1); exit 1; }; }
4046 +{ echo "$as_me:$LINENO: result: yes" >&5
4047 +echo "${ECHO_T}yes" >&6; }
4048 +test "$program_prefix" != NONE &&
4049 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
4050 +# Use a double $ so make ignores it.
4051 +test "$program_suffix" != NONE &&
4052 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4053 +# Double any \ or $. echo might interpret backslashes.
4054 +# By default was `s,x,x', remove it if useless.
4055 +cat <<\_ACEOF >conftest.sed
4056 +s/[\\$]/&&/g;s/;s,x,x,$//
4058 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
4061 +# expand $ac_aux_dir to an absolute path
4062 +am_aux_dir=`cd $ac_aux_dir && pwd`
4064 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
4065 +# Use eval to expand $SHELL
4066 +if eval "$MISSING --run true"; then
4067 + am_missing_run="$MISSING --run "
4070 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
4071 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4074 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
4075 + # We used to keeping the `.' as first argument, in order to
4076 + # allow $(mkdir_p) to be used without argument. As in
4077 + # $(mkdir_p) $(somedir)
4078 + # where $(somedir) is conditionally defined. However this is wrong
4079 + # for two reasons:
4080 + # 1. if the package is installed by a user who cannot write `.'
4081 + # make install will fail,
4082 + # 2. the above comment should most certainly read
4083 + # $(mkdir_p) $(DESTDIR)$(somedir)
4084 + # so it does not work when $(somedir) is undefined and
4085 + # $(DESTDIR) is not.
4086 + # To support the latter case, we have to write
4087 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
4088 + # so the `.' trick is pointless.
4089 + mkdir_p='mkdir -p --'
4091 + # On NextStep and OpenStep, the `mkdir' command does not
4092 + # recognize any option. It will interpret all options as
4093 + # directories to create, and then abort because `.' already
4095 + for d in ./-p ./--version;
4097 + test -d $d && rmdir $d
4099 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
4100 + if test -f "$ac_aux_dir/mkinstalldirs"; then
4101 + mkdir_p='$(mkinstalldirs)'
4103 + mkdir_p='$(install_sh) -d'
4107 +for ac_prog in gawk mawk nawk awk
4109 + # Extract the first word of "$ac_prog", so it can be a program name with args.
4110 +set dummy $ac_prog; ac_word=$2
4111 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4113 +if test "${ac_cv_prog_AWK+set}" = set; then
4114 + echo $ECHO_N "(cached) $ECHO_C" >&6
4116 + if test -n "$AWK"; then
4117 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
4119 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 +for as_dir in $PATH
4123 + test -z "$as_dir" && as_dir=.
4124 + for ac_exec_ext in '' $ac_executable_extensions; do
4125 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126 + ac_cv_prog_AWK="$ac_prog"
4127 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 +AWK=$ac_cv_prog_AWK
4137 +if test -n "$AWK"; then
4138 + { echo "$as_me:$LINENO: result: $AWK" >&5
4139 +echo "${ECHO_T}$AWK" >&6; }
4141 + { echo "$as_me:$LINENO: result: no" >&5
4142 +echo "${ECHO_T}no" >&6; }
4146 + test -n "$AWK" && break
4149 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4150 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4151 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4152 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4153 + echo $ECHO_N "(cached) $ECHO_C" >&6
4155 + cat >conftest.make <<\_ACEOF
4158 + @echo '@@@%%%=$(MAKE)=@@@%%%'
4160 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4161 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
4162 + *@@@%%%=?*=@@@%%%*)
4163 + eval ac_cv_prog_make_${ac_make}_set=yes;;
4165 + eval ac_cv_prog_make_${ac_make}_set=no;;
4167 +rm -f conftest.make
4169 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4170 + { echo "$as_me:$LINENO: result: yes" >&5
4171 +echo "${ECHO_T}yes" >&6; }
4174 + { echo "$as_me:$LINENO: result: no" >&5
4175 +echo "${ECHO_T}no" >&6; }
4176 + SET_MAKE="MAKE=${MAKE-make}"
4179 +rm -rf .tst 2>/dev/null
4180 +mkdir .tst 2>/dev/null
4181 +if test -d .tst; then
4186 +rmdir .tst 2>/dev/null
4188 +DEPDIR="${am__leading_dot}deps"
4190 +ac_config_commands="$ac_config_commands depfiles"
4193 +am_make=${MAKE-make}
4194 +cat > confinc << 'END'
4199 +# If we don't find an include directive, just comment out the code.
4200 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4201 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
4205 +# First try GNU make style include.
4206 +echo "include confinc" > confmf
4207 +# We grep out `Entering directory' and `Leaving directory'
4208 +# messages which can occur if `w' ends up in MAKEFLAGS.
4209 +# In particular we don't look at `^make:' because GNU make might
4210 +# be invoked under some other name (usually "gmake"), in which
4211 +# case it prints its new name instead of `make'.
4212 +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
4213 + am__include=include
4217 +# Now try BSD make style include.
4218 +if test "$am__include" = "#"; then
4219 + echo '.include "confinc"' > confmf
4220 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
4221 + am__include=.include
4228 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
4229 +echo "${ECHO_T}$_am_result" >&6; }
4230 +rm -f confinc confmf
4232 +# Check whether --enable-dependency-tracking was given.
4233 +if test "${enable_dependency_tracking+set}" = set; then
4234 + enableval=$enable_dependency_tracking;
4237 +if test "x$enable_dependency_tracking" != xno; then
4238 + am_depcomp="$ac_aux_dir/depcomp"
4239 + AMDEPBACKSLASH='\'
4243 +if test "x$enable_dependency_tracking" != xno; then
4254 +# Check whether --enable-multilib was given.
4255 +if test "${enable_multilib+set}" = set; then
4256 + enableval=$enable_multilib; case "${enableval}" in
4257 + yes) multilib=yes ;;
4258 + no) multilib=no ;;
4259 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
4260 +echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
4261 + { (exit 1); exit 1; }; } ;;
4267 +# Check whether --enable-target-optspace was given.
4268 +if test "${enable_target_optspace+set}" = set; then
4269 + enableval=$enable_target_optspace; case "${enableval}" in
4270 + yes) target_optspace=yes ;;
4271 + no) target_optspace=no ;;
4272 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
4273 +echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
4274 + { (exit 1); exit 1; }; } ;;
4280 +# Check whether --enable-malloc-debugging was given.
4281 +if test "${enable_malloc_debugging+set}" = set; then
4282 + enableval=$enable_malloc_debugging; case "${enableval}" in
4283 + yes) malloc_debugging=yes ;;
4284 + no) malloc_debugging=no ;;
4285 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
4286 +echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
4287 + { (exit 1); exit 1; }; } ;;
4293 +# Check whether --enable-newlib-multithread was given.
4294 +if test "${enable_newlib_multithread+set}" = set; then
4295 + enableval=$enable_newlib_multithread; case "${enableval}" in
4296 + yes) newlib_multithread=yes ;;
4297 + no) newlib_multithread=no ;;
4298 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
4299 +echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
4300 + { (exit 1); exit 1; }; } ;;
4303 + newlib_multithread=yes
4306 +# Check whether --enable-newlib-iconv was given.
4307 +if test "${enable_newlib_iconv+set}" = set; then
4308 + enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
4309 + case "${enableval}" in
4310 + yes) newlib_iconv=yes ;;
4311 + no) newlib_iconv=no ;;
4312 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
4313 +echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
4314 + { (exit 1); exit 1; }; } ;;
4318 + newlib_iconv=${newlib_iconv}
4321 +# Check whether --enable-newlib-elix-level was given.
4322 +if test "${enable_newlib_elix_level+set}" = set; then
4323 + enableval=$enable_newlib_elix_level; case "${enableval}" in
4324 + 0) newlib_elix_level=0 ;;
4325 + 1) newlib_elix_level=1 ;;
4326 + 2) newlib_elix_level=2 ;;
4327 + 3) newlib_elix_level=3 ;;
4328 + 4) newlib_elix_level=4 ;;
4329 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
4330 +echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
4331 + { (exit 1); exit 1; }; } ;;
4334 + newlib_elix_level=0
4337 +# Check whether --enable-newlib-io-float was given.
4338 +if test "${enable_newlib_io_float+set}" = set; then
4339 + enableval=$enable_newlib_io_float; case "${enableval}" in
4340 + yes) newlib_io_float=yes ;;
4341 + no) newlib_io_float=no ;;
4342 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
4343 +echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
4344 + { (exit 1); exit 1; }; } ;;
4347 + newlib_io_float=yes
4350 +# Check whether --enable-newlib-supplied-syscalls was given.
4351 +if test "${enable_newlib_supplied_syscalls+set}" = set; then
4352 + enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
4353 + yes) newlib_may_supply_syscalls=yes ;;
4354 + no) newlib_may_supply_syscalls=no ;;
4355 + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
4356 +echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
4357 + { (exit 1); exit 1; }; } ;;
4360 + newlib_may_supply_syscalls=yes
4365 +if test x${newlib_may_supply_syscalls} = xyes; then
4366 + MAY_SUPPLY_SYSCALLS_TRUE=
4367 + MAY_SUPPLY_SYSCALLS_FALSE='#'
4369 + MAY_SUPPLY_SYSCALLS_TRUE='#'
4370 + MAY_SUPPLY_SYSCALLS_FALSE=
4375 +test -z "${with_target_subdir}" && with_target_subdir=.
4377 +if test "${srcdir}" = "."; then
4378 + if test "${with_target_subdir}" != "."; then
4379 + newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
4381 + newlib_basedir="${srcdir}/${with_multisrctop}../../.."
4384 + newlib_basedir="${srcdir}/../../.."
4388 +{ echo "$as_me:$LINENO: checking host system type" >&5
4389 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4390 +if test "${ac_cv_host+set}" = set; then
4391 + echo $ECHO_N "(cached) $ECHO_C" >&6
4393 + if test "x$host_alias" = x; then
4394 + ac_cv_host=$ac_cv_build
4396 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4397 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4398 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4399 + { (exit 1); exit 1; }; }
4403 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4404 +echo "${ECHO_T}$ac_cv_host" >&6; }
4405 +case $ac_cv_host in
4407 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4408 +echo "$as_me: error: invalid value of canonical host" >&2;}
4409 + { (exit 1); exit 1; }; };;
4412 +ac_save_IFS=$IFS; IFS='-'
4418 +# Remember, the first character of IFS is used to create $*,
4419 +# except with old shells:
4422 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4426 +# test to see if srcdir already configured
4427 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
4428 + test -f $srcdir/config.status; then
4429 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
4430 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
4431 + { (exit 1); exit 1; }; }
4434 +# test whether we have cygpath
4435 +if test -z "$CYGPATH_W"; then
4436 + if (cygpath --version) >/dev/null 2>/dev/null; then
4437 + CYGPATH_W='cygpath -w'
4444 +# Define the identity of the package.
4449 +# Some tools Automake needs.
4451 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4454 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4457 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4460 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4463 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4465 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
4467 +# Installed binaries are usually stripped using `strip' when the user
4468 +# run `make install-strip'. However `strip' might not be the right
4469 +# tool to use in cross-compilation environments, therefore Automake
4470 +# will honor the `STRIP' environment variable to overrule this program.
4471 +if test "$cross_compiling" != no; then
4472 + if test -n "$ac_tool_prefix"; then
4473 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4474 +set dummy ${ac_tool_prefix}strip; ac_word=$2
4475 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4476 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4477 +if test "${ac_cv_prog_STRIP+set}" = set; then
4478 + echo $ECHO_N "(cached) $ECHO_C" >&6
4480 + if test -n "$STRIP"; then
4481 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4483 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 +for as_dir in $PATH
4487 + test -z "$as_dir" && as_dir=.
4488 + for ac_exec_ext in '' $ac_executable_extensions; do
4489 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4490 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4491 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 +STRIP=$ac_cv_prog_STRIP
4501 +if test -n "$STRIP"; then
4502 + { echo "$as_me:$LINENO: result: $STRIP" >&5
4503 +echo "${ECHO_T}$STRIP" >&6; }
4505 + { echo "$as_me:$LINENO: result: no" >&5
4506 +echo "${ECHO_T}no" >&6; }
4511 +if test -z "$ac_cv_prog_STRIP"; then
4512 + ac_ct_STRIP=$STRIP
4513 + # Extract the first word of "strip", so it can be a program name with args.
4514 +set dummy strip; ac_word=$2
4515 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4517 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4518 + echo $ECHO_N "(cached) $ECHO_C" >&6
4520 + if test -n "$ac_ct_STRIP"; then
4521 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4523 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 +for as_dir in $PATH
4527 + test -z "$as_dir" && as_dir=.
4528 + for ac_exec_ext in '' $ac_executable_extensions; do
4529 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4530 + ac_cv_prog_ac_ct_STRIP="strip"
4531 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4541 +if test -n "$ac_ct_STRIP"; then
4542 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4543 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4545 + { echo "$as_me:$LINENO: result: no" >&5
4546 +echo "${ECHO_T}no" >&6; }
4549 + if test "x$ac_ct_STRIP" = x; then
4552 + case $cross_compiling:$ac_tool_warned in
4554 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4555 +whose name does not start with the host triplet. If you think this
4556 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4557 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4558 +whose name does not start with the host triplet. If you think this
4559 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4560 +ac_tool_warned=yes ;;
4562 + STRIP=$ac_ct_STRIP
4565 + STRIP="$ac_cv_prog_STRIP"
4569 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4571 +# We need awk for the "check" target. The system "awk" is bad on
4573 +# Always define AMTAR for backward compatibility.
4575 +AMTAR=${AMTAR-"${am_missing_run}tar"}
4577 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4584 +# FIXME: We temporarily define our own version of AC_PROG_CC. This is
4585 +# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
4586 +# are probably using a cross compiler, which will not be able to fully
4587 +# link an executable. This should really be fixed in autoconf
4596 +# Extract the first word of "gcc", so it can be a program name with args.
4597 +set dummy gcc; ac_word=$2
4598 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4599 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4600 +if test "${ac_cv_prog_CC+set}" = set; then
4601 + echo $ECHO_N "(cached) $ECHO_C" >&6
4603 + if test -n "$CC"; then
4604 + ac_cv_prog_CC="$CC" # Let the user override the test.
4606 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4607 +for as_dir in $PATH
4610 + test -z "$as_dir" && as_dir=.
4611 + for ac_exec_ext in '' $ac_executable_extensions; do
4612 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4613 + ac_cv_prog_CC="gcc"
4614 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 +if test -n "$CC"; then
4625 + { echo "$as_me:$LINENO: result: $CC" >&5
4626 +echo "${ECHO_T}$CC" >&6; }
4628 + { echo "$as_me:$LINENO: result: no" >&5
4629 +echo "${ECHO_T}no" >&6; }
4634 +depcc="$CC" am_compiler_list=
4636 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4637 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4638 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4639 + echo $ECHO_N "(cached) $ECHO_C" >&6
4641 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4642 + # We make a subdir and do the tests there. Otherwise we can end up
4643 + # making bogus files that we don't know about and never remove. For
4644 + # instance it was reported that on HP-UX the gcc test will end up
4645 + # making a dummy file named `D' -- because `-MD' means `put the output
4647 + mkdir conftest.dir
4648 + # Copy depcomp to subdir because otherwise we won't find it if we're
4649 + # using a relative directory.
4650 + cp "$am_depcomp" conftest.dir
4652 + # We will build objects and dependencies in a subdirectory because
4653 + # it helps to detect inapplicable dependency modes. For instance
4654 + # both Tru64's cc and ICC support -MD to output dependencies as a
4655 + # side effect of compilation, but ICC will put the dependencies in
4656 + # the current directory while Tru64 will put them in the object
4660 + am_cv_CC_dependencies_compiler_type=none
4661 + if test "$am_compiler_list" = ""; then
4662 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4664 + for depmode in $am_compiler_list; do
4665 + # Setup a source with many dependencies, because some compilers
4666 + # like to wrap large dependency lists on column 80 (with \), and
4667 + # we should not choose a depcomp mode which is confused by this.
4669 + # We need to recreate these files for each test, as the compiler may
4670 + # overwrite some of them when testing with obscure command lines.
4671 + # This happens at least with the AIX C compiler.
4672 + : > sub/conftest.c
4673 + for i in 1 2 3 4 5 6; do
4674 + echo '#include "conftst'$i'.h"' >> sub/conftest.c
4675 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4676 + # Solaris 8's {/usr,}/bin/sh.
4677 + touch sub/conftst$i.h
4679 + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4683 + # after this tag, mechanisms are not by side-effect, so they'll
4684 + # only be used when explicitly requested
4685 + if test "x$enable_dependency_tracking" = xyes; then
4693 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
4694 + # mode. It turns out that the SunPro C++ compiler does not properly
4695 + # handle `-M -o', and we need to detect this.
4696 + if depmode=$depmode \
4697 + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4698 + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4699 + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4700 + >/dev/null 2>conftest.err &&
4701 + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4702 + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4703 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4704 + # icc doesn't choke on unknown options, it will just issue warnings
4705 + # or remarks (even with -Werror). So we grep stderr for any message
4706 + # that says an option was ignored or not supported.
4707 + # When given -MP, icc 7.0 and 7.1 complain thusly:
4708 + # icc: Command line warning: ignoring option '-M'; no argument required
4709 + # The diagnosis changed in icc 8.0:
4710 + # icc: Command line remark: option '-MP' not supported
4711 + if (grep 'ignoring option' conftest.err ||
4712 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4713 + am_cv_CC_dependencies_compiler_type=$depmode
4720 + rm -rf conftest.dir
4722 + am_cv_CC_dependencies_compiler_type=none
4726 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4727 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4728 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4733 + test "x$enable_dependency_tracking" != xno \
4734 + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4735 + am__fastdepCC_TRUE=
4736 + am__fastdepCC_FALSE='#'
4738 + am__fastdepCC_TRUE='#'
4739 + am__fastdepCC_FALSE=
4743 +if test -z "$CC"; then
4744 + # Extract the first word of "cc", so it can be a program name with args.
4745 +set dummy cc; ac_word=$2
4746 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4747 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4748 +if test "${ac_cv_prog_CC+set}" = set; then
4749 + echo $ECHO_N "(cached) $ECHO_C" >&6
4751 + if test -n "$CC"; then
4752 + ac_cv_prog_CC="$CC" # Let the user override the test.
4754 + ac_prog_rejected=no
4755 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 +for as_dir in $PATH
4759 + test -z "$as_dir" && as_dir=.
4760 + for ac_exec_ext in '' $ac_executable_extensions; do
4761 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4762 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4763 + ac_prog_rejected=yes
4766 + ac_cv_prog_CC="cc"
4767 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 +if test $ac_prog_rejected = yes; then
4775 + # We found a bogon in the path, so make sure we never use it.
4776 + set dummy $ac_cv_prog_CC
4778 + if test $# != 0; then
4779 + # We chose a different compiler from the bogus one.
4780 + # However, it has the same basename, so the bogon will be chosen
4781 + # first if we set CC to just the basename; use the full file name.
4783 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4789 +if test -n "$CC"; then
4790 + { echo "$as_me:$LINENO: result: $CC" >&5
4791 +echo "${ECHO_T}$CC" >&6; }
4793 + { echo "$as_me:$LINENO: result: no" >&5
4794 +echo "${ECHO_T}no" >&6; }
4798 + test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
4799 +echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
4800 + { (exit 1); exit 1; }; }
4803 +{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
4804 +echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
4805 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
4806 + echo $ECHO_N "(cached) $ECHO_C" >&6
4808 + cat > conftest.c <<EOF
4813 +if { ac_try='${CC-cc} -E conftest.c'
4814 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 + (eval $ac_try) 2>&5
4817 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 + (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
4819 + ac_cv_c_compiler_gnu=yes
4821 + ac_cv_c_compiler_gnu=no
4824 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4825 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4827 +if test $ac_cv_c_compiler_gnu = yes; then
4829 + ac_test_CFLAGS="${CFLAGS+set}"
4830 + ac_save_CFLAGS="$CFLAGS"
4832 + ac_test_CFLAGS=${CFLAGS+set}
4833 +ac_save_CFLAGS=$CFLAGS
4834 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4835 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4836 +if test "${ac_cv_prog_cc_g+set}" = set; then
4837 + echo $ECHO_N "(cached) $ECHO_C" >&6
4839 + ac_save_c_werror_flag=$ac_c_werror_flag
4840 + ac_c_werror_flag=yes
4841 + ac_cv_prog_cc_g=no
4843 + cat >conftest.$ac_ext <<_ACEOF
4846 +cat confdefs.h >>conftest.$ac_ext
4847 +cat >>conftest.$ac_ext <<_ACEOF
4848 +/* end confdefs.h. */
4858 +rm -f conftest.$ac_objext
4859 +if { (ac_try="$ac_compile"
4860 +case "(($ac_try" in
4861 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 + *) ac_try_echo=$ac_try;;
4864 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4865 + (eval "$ac_compile") 2>conftest.er1
4867 + grep -v '^ *+' conftest.er1 >conftest.err
4868 + rm -f conftest.er1
4869 + cat conftest.err >&5
4870 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 + (exit $ac_status); } && {
4872 + test -z "$ac_c_werror_flag" ||
4873 + test ! -s conftest.err
4874 + } && test -s conftest.$ac_objext; then
4875 + ac_cv_prog_cc_g=yes
4877 + echo "$as_me: failed program was:" >&5
4878 +sed 's/^/| /' conftest.$ac_ext >&5
4881 + cat >conftest.$ac_ext <<_ACEOF
4884 +cat confdefs.h >>conftest.$ac_ext
4885 +cat >>conftest.$ac_ext <<_ACEOF
4886 +/* end confdefs.h. */
4896 +rm -f conftest.$ac_objext
4897 +if { (ac_try="$ac_compile"
4898 +case "(($ac_try" in
4899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900 + *) ac_try_echo=$ac_try;;
4902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4903 + (eval "$ac_compile") 2>conftest.er1
4905 + grep -v '^ *+' conftest.er1 >conftest.err
4906 + rm -f conftest.er1
4907 + cat conftest.err >&5
4908 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 + (exit $ac_status); } && {
4910 + test -z "$ac_c_werror_flag" ||
4911 + test ! -s conftest.err
4912 + } && test -s conftest.$ac_objext; then
4915 + echo "$as_me: failed program was:" >&5
4916 +sed 's/^/| /' conftest.$ac_ext >&5
4918 + ac_c_werror_flag=$ac_save_c_werror_flag
4920 + cat >conftest.$ac_ext <<_ACEOF
4923 +cat confdefs.h >>conftest.$ac_ext
4924 +cat >>conftest.$ac_ext <<_ACEOF
4925 +/* end confdefs.h. */
4935 +rm -f conftest.$ac_objext
4936 +if { (ac_try="$ac_compile"
4937 +case "(($ac_try" in
4938 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939 + *) ac_try_echo=$ac_try;;
4941 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4942 + (eval "$ac_compile") 2>conftest.er1
4944 + grep -v '^ *+' conftest.er1 >conftest.err
4945 + rm -f conftest.er1
4946 + cat conftest.err >&5
4947 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 + (exit $ac_status); } && {
4949 + test -z "$ac_c_werror_flag" ||
4950 + test ! -s conftest.err
4951 + } && test -s conftest.$ac_objext; then
4952 + ac_cv_prog_cc_g=yes
4954 + echo "$as_me: failed program was:" >&5
4955 +sed 's/^/| /' conftest.$ac_ext >&5
4960 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 + ac_c_werror_flag=$ac_save_c_werror_flag
4969 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4970 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4971 +if test "$ac_test_CFLAGS" = set; then
4972 + CFLAGS=$ac_save_CFLAGS
4973 +elif test $ac_cv_prog_cc_g = yes; then
4974 + if test "$GCC" = yes; then
4980 + if test "$GCC" = yes; then
4986 + if test "$ac_test_CFLAGS" = set; then
4987 + CFLAGS="$ac_save_CFLAGS"
4988 + elif test $ac_cv_prog_cc_g = yes; then
4995 + test "${CFLAGS+set}" = set || CFLAGS="-g"
4999 +if test -n "$ac_tool_prefix"; then
5000 + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5001 +set dummy ${ac_tool_prefix}as; ac_word=$2
5002 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5004 +if test "${ac_cv_prog_AS+set}" = set; then
5005 + echo $ECHO_N "(cached) $ECHO_C" >&6
5007 + if test -n "$AS"; then
5008 + ac_cv_prog_AS="$AS" # Let the user override the test.
5010 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 +for as_dir in $PATH
5014 + test -z "$as_dir" && as_dir=.
5015 + for ac_exec_ext in '' $ac_executable_extensions; do
5016 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 + ac_cv_prog_AS="${ac_tool_prefix}as"
5018 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 +if test -n "$AS"; then
5029 + { echo "$as_me:$LINENO: result: $AS" >&5
5030 +echo "${ECHO_T}$AS" >&6; }
5032 + { echo "$as_me:$LINENO: result: no" >&5
5033 +echo "${ECHO_T}no" >&6; }
5038 +if test -z "$ac_cv_prog_AS"; then
5040 + # Extract the first word of "as", so it can be a program name with args.
5041 +set dummy as; ac_word=$2
5042 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5043 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5044 +if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5045 + echo $ECHO_N "(cached) $ECHO_C" >&6
5047 + if test -n "$ac_ct_AS"; then
5048 + ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5050 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 +for as_dir in $PATH
5054 + test -z "$as_dir" && as_dir=.
5055 + for ac_exec_ext in '' $ac_executable_extensions; do
5056 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 + ac_cv_prog_ac_ct_AS="as"
5058 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 +ac_ct_AS=$ac_cv_prog_ac_ct_AS
5068 +if test -n "$ac_ct_AS"; then
5069 + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5070 +echo "${ECHO_T}$ac_ct_AS" >&6; }
5072 + { echo "$as_me:$LINENO: result: no" >&5
5073 +echo "${ECHO_T}no" >&6; }
5076 + if test "x$ac_ct_AS" = x; then
5079 + case $cross_compiling:$ac_tool_warned in
5081 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5082 +whose name does not start with the host triplet. If you think this
5083 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5084 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5085 +whose name does not start with the host triplet. If you think this
5086 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5087 +ac_tool_warned=yes ;;
5092 + AS="$ac_cv_prog_AS"
5095 +if test -n "$ac_tool_prefix"; then
5096 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5097 +set dummy ${ac_tool_prefix}ar; ac_word=$2
5098 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5100 +if test "${ac_cv_prog_AR+set}" = set; then
5101 + echo $ECHO_N "(cached) $ECHO_C" >&6
5103 + if test -n "$AR"; then
5104 + ac_cv_prog_AR="$AR" # Let the user override the test.
5106 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 +for as_dir in $PATH
5110 + test -z "$as_dir" && as_dir=.
5111 + for ac_exec_ext in '' $ac_executable_extensions; do
5112 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 + ac_cv_prog_AR="${ac_tool_prefix}ar"
5114 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 +if test -n "$AR"; then
5125 + { echo "$as_me:$LINENO: result: $AR" >&5
5126 +echo "${ECHO_T}$AR" >&6; }
5128 + { echo "$as_me:$LINENO: result: no" >&5
5129 +echo "${ECHO_T}no" >&6; }
5134 +if test -z "$ac_cv_prog_AR"; then
5136 + # Extract the first word of "ar", so it can be a program name with args.
5137 +set dummy ar; ac_word=$2
5138 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5139 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5140 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5141 + echo $ECHO_N "(cached) $ECHO_C" >&6
5143 + if test -n "$ac_ct_AR"; then
5144 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5146 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 +for as_dir in $PATH
5150 + test -z "$as_dir" && as_dir=.
5151 + for ac_exec_ext in '' $ac_executable_extensions; do
5152 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153 + ac_cv_prog_ac_ct_AR="ar"
5154 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
5164 +if test -n "$ac_ct_AR"; then
5165 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5166 +echo "${ECHO_T}$ac_ct_AR" >&6; }
5168 + { echo "$as_me:$LINENO: result: no" >&5
5169 +echo "${ECHO_T}no" >&6; }
5172 + if test "x$ac_ct_AR" = x; then
5175 + case $cross_compiling:$ac_tool_warned in
5177 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5178 +whose name does not start with the host triplet. If you think this
5179 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5180 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5181 +whose name does not start with the host triplet. If you think this
5182 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5183 +ac_tool_warned=yes ;;
5188 + AR="$ac_cv_prog_AR"
5191 +if test -n "$ac_tool_prefix"; then
5192 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5193 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5194 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5195 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5196 +if test "${ac_cv_prog_RANLIB+set}" = set; then
5197 + echo $ECHO_N "(cached) $ECHO_C" >&6
5199 + if test -n "$RANLIB"; then
5200 + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5202 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5203 +for as_dir in $PATH
5206 + test -z "$as_dir" && as_dir=.
5207 + for ac_exec_ext in '' $ac_executable_extensions; do
5208 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5209 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5210 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 +RANLIB=$ac_cv_prog_RANLIB
5220 +if test -n "$RANLIB"; then
5221 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5222 +echo "${ECHO_T}$RANLIB" >&6; }
5224 + { echo "$as_me:$LINENO: result: no" >&5
5225 +echo "${ECHO_T}no" >&6; }
5230 +if test -z "$ac_cv_prog_RANLIB"; then
5231 + ac_ct_RANLIB=$RANLIB
5232 + # Extract the first word of "ranlib", so it can be a program name with args.
5233 +set dummy ranlib; ac_word=$2
5234 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5236 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5237 + echo $ECHO_N "(cached) $ECHO_C" >&6
5239 + if test -n "$ac_ct_RANLIB"; then
5240 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5242 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 +for as_dir in $PATH
5246 + test -z "$as_dir" && as_dir=.
5247 + for ac_exec_ext in '' $ac_executable_extensions; do
5248 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5249 + ac_cv_prog_ac_ct_RANLIB="ranlib"
5250 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5260 +if test -n "$ac_ct_RANLIB"; then
5261 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5262 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5264 + { echo "$as_me:$LINENO: result: no" >&5
5265 +echo "${ECHO_T}no" >&6; }
5268 + if test "x$ac_ct_RANLIB" = x; then
5271 + case $cross_compiling:$ac_tool_warned in
5273 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5274 +whose name does not start with the host triplet. If you think this
5275 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5276 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5277 +whose name does not start with the host triplet. If you think this
5278 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5279 +ac_tool_warned=yes ;;
5281 + RANLIB=$ac_ct_RANLIB
5284 + RANLIB="$ac_cv_prog_RANLIB"
5287 +if test -n "$ac_tool_prefix"; then
5288 + # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
5289 +set dummy ${ac_tool_prefix}readelf; ac_word=$2
5290 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5291 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5292 +if test "${ac_cv_prog_READELF+set}" = set; then
5293 + echo $ECHO_N "(cached) $ECHO_C" >&6
5295 + if test -n "$READELF"; then
5296 + ac_cv_prog_READELF="$READELF" # Let the user override the test.
5298 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299 +for as_dir in $PATH
5302 + test -z "$as_dir" && as_dir=.
5303 + for ac_exec_ext in '' $ac_executable_extensions; do
5304 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5305 + ac_cv_prog_READELF="${ac_tool_prefix}readelf"
5306 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 +READELF=$ac_cv_prog_READELF
5316 +if test -n "$READELF"; then
5317 + { echo "$as_me:$LINENO: result: $READELF" >&5
5318 +echo "${ECHO_T}$READELF" >&6; }
5320 + { echo "$as_me:$LINENO: result: no" >&5
5321 +echo "${ECHO_T}no" >&6; }
5326 +if test -z "$ac_cv_prog_READELF"; then
5327 + ac_ct_READELF=$READELF
5328 + # Extract the first word of "readelf", so it can be a program name with args.
5329 +set dummy readelf; ac_word=$2
5330 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5332 +if test "${ac_cv_prog_ac_ct_READELF+set}" = set; then
5333 + echo $ECHO_N "(cached) $ECHO_C" >&6
5335 + if test -n "$ac_ct_READELF"; then
5336 + ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
5338 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 +for as_dir in $PATH
5342 + test -z "$as_dir" && as_dir=.
5343 + for ac_exec_ext in '' $ac_executable_extensions; do
5344 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5345 + ac_cv_prog_ac_ct_READELF="readelf"
5346 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 +ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
5356 +if test -n "$ac_ct_READELF"; then
5357 + { echo "$as_me:$LINENO: result: $ac_ct_READELF" >&5
5358 +echo "${ECHO_T}$ac_ct_READELF" >&6; }
5360 + { echo "$as_me:$LINENO: result: no" >&5
5361 +echo "${ECHO_T}no" >&6; }
5364 + if test "x$ac_ct_READELF" = x; then
5367 + case $cross_compiling:$ac_tool_warned in
5369 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5370 +whose name does not start with the host triplet. If you think this
5371 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5372 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5373 +whose name does not start with the host triplet. If you think this
5374 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5375 +ac_tool_warned=yes ;;
5377 + READELF=$ac_ct_READELF
5380 + READELF="$ac_cv_prog_READELF"
5384 +# Find a good install program. We prefer a C program (faster),
5385 +# so one script is as good as another. But avoid the broken or
5386 +# incompatible versions:
5387 +# SysV /etc/install, /usr/sbin/install
5388 +# SunOS /usr/etc/install
5389 +# IRIX /sbin/install
5391 +# AmigaOS /C/install, which installs bootblocks on floppy discs
5392 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5393 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5394 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5395 +# OS/2's system install, which has a completely different semantic
5396 +# ./install, which can be erroneously created by make from ./install.sh.
5397 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5398 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5399 +if test -z "$INSTALL"; then
5400 +if test "${ac_cv_path_install+set}" = set; then
5401 + echo $ECHO_N "(cached) $ECHO_C" >&6
5403 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 +for as_dir in $PATH
5407 + test -z "$as_dir" && as_dir=.
5408 + # Account for people who put trailing slashes in PATH elements.
5410 + ./ | .// | /cC/* | \
5411 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5412 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5415 + # OSF1 and SCO ODT 3.0 have their own names for install.
5416 + # Don't use installbsd from OSF since it installs stuff as root
5418 + for ac_prog in ginstall scoinst install; do
5419 + for ac_exec_ext in '' $ac_executable_extensions; do
5420 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5421 + if test $ac_prog = install &&
5422 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5423 + # AIX install. It has an incompatible calling convention.
5425 + elif test $ac_prog = install &&
5426 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5427 + # program-specific install script used by HP pwplus--don't use.
5430 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5443 + if test "${ac_cv_path_install+set}" = set; then
5444 + INSTALL=$ac_cv_path_install
5446 + # As a last resort, use the slow shell script. Don't cache a
5447 + # value for INSTALL within a source directory, because that will
5448 + # break other packages using the cache if that directory is
5449 + # removed, or if the value is a relative name.
5450 + INSTALL=$ac_install_sh
5453 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5454 +echo "${ECHO_T}$INSTALL" >&6; }
5456 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5457 +# It thinks the first close brace ends the variable substitution.
5458 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5460 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5462 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5465 +# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
5466 +ac_given_INSTALL=$INSTALL
5468 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5469 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
5470 + # Check whether --enable-maintainer-mode was given.
5471 +if test "${enable_maintainer_mode+set}" = set; then
5472 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5474 + USE_MAINTAINER_MODE=no
5477 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5478 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
5481 +if test $USE_MAINTAINER_MODE = yes; then
5482 + MAINTAINER_MODE_TRUE=
5483 + MAINTAINER_MODE_FALSE='#'
5485 + MAINTAINER_MODE_TRUE='#'
5486 + MAINTAINER_MODE_FALSE=
5489 + MAINT=$MAINTAINER_MODE_TRUE
5492 +# By default we simply use the C compiler to build assembly code.
5494 +test "${CCAS+set}" = set || CCAS=$CC
5495 +test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5500 +# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
5501 +# at least currently, we never actually build a program, so we never
5502 +# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
5503 +# fails, because we are probably configuring with a cross compiler
5504 +# which can't create executables. So we include AC_EXEEXT to keep
5505 +# automake happy, but we don't execute it, since we don't care about
5512 +. ${newlib_basedir}/configure.host
5514 +newlib_cflags="${newlib_cflags} -fno-builtin"
5516 +NEWLIB_CFLAGS=${newlib_cflags}
5524 +if test x${newlib_elix_level} = x0; then
5525 + ELIX_LEVEL_0_TRUE=
5526 + ELIX_LEVEL_0_FALSE='#'
5528 + ELIX_LEVEL_0_TRUE='#'
5529 + ELIX_LEVEL_0_FALSE=
5534 +if test x${newlib_elix_level} = x1; then
5535 + ELIX_LEVEL_1_TRUE=
5536 + ELIX_LEVEL_1_FALSE='#'
5538 + ELIX_LEVEL_1_TRUE='#'
5539 + ELIX_LEVEL_1_FALSE=
5544 +if test x${newlib_elix_level} = x2; then
5545 + ELIX_LEVEL_2_TRUE=
5546 + ELIX_LEVEL_2_FALSE='#'
5548 + ELIX_LEVEL_2_TRUE='#'
5549 + ELIX_LEVEL_2_FALSE=
5554 +if test x${newlib_elix_level} = x3; then
5555 + ELIX_LEVEL_3_TRUE=
5556 + ELIX_LEVEL_3_FALSE='#'
5558 + ELIX_LEVEL_3_TRUE='#'
5559 + ELIX_LEVEL_3_FALSE=
5564 +if test x${newlib_elix_level} = x4; then
5565 + ELIX_LEVEL_4_TRUE=
5566 + ELIX_LEVEL_4_FALSE='#'
5568 + ELIX_LEVEL_4_TRUE='#'
5569 + ELIX_LEVEL_4_FALSE=
5575 +if test x${use_libtool} = xyes; then
5577 + USE_LIBTOOL_FALSE='#'
5579 + USE_LIBTOOL_TRUE='#'
5580 + USE_LIBTOOL_FALSE=
5584 +# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we
5585 +# use oext, which is set in configure.host based on the target platform.
5598 +ac_config_files="$ac_config_files Makefile"
5600 +cat >confcache <<\_ACEOF
5601 +# This file is a shell script that caches the results of configure
5602 +# tests run on this system so they can be shared between configure
5603 +# scripts and configure runs, see configure's option --config-cache.
5604 +# It is not useful on other systems. If it contains results you don't
5605 +# want to keep, you may remove or edit it.
5607 +# config.status only pays attention to the cache file if you give it
5608 +# the --recheck option to rerun configure.
5610 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
5611 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
5612 +# following values.
5616 +# The following way of writing the cache mishandles newlines in values,
5617 +# but we know of no workaround that is simple, portable, and efficient.
5618 +# So, we kill variables containing newlines.
5619 +# Ultrix sh set writes to stderr and can't be redirected directly,
5620 +# and sets the high bit in the cache file unless we assign to the vars.
5622 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5623 + eval ac_val=\$$ac_var
5624 + case $ac_val in #(
5626 + case $ac_var in #(
5627 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5628 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5630 + case $ac_var in #(
5631 + _ | IFS | as_nl) ;; #(
5632 + *) $as_unset $ac_var ;;
5638 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
5639 + *${as_nl}ac_space=\ *)
5640 + # `set' does not quote correctly, so add quotes (double-quote
5641 + # substitution turns \\\\ into \\, and sed turns \\ into \).
5644 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5647 + # `set' quotes correctly as required by POSIX, so do not add quotes.
5648 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5654 + /^ac_cv_env_/b end
5657 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5659 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5661 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5662 + if test -w "$cache_file"; then
5663 + test "x$cache_file" != "x/dev/null" &&
5664 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5665 +echo "$as_me: updating cache $cache_file" >&6;}
5666 + cat confcache >$cache_file
5668 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5669 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5674 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
5675 +# Let make expand exec_prefix.
5676 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5678 +# Transform confdefs.h into DEFS.
5679 +# Protect against shell expansion while executing Makefile rules.
5680 +# Protect against Makefile macro expansion.
5682 +# If the first sed substitution is executed (which looks for macros that
5683 +# take arguments), then branch to the quote section. Otherwise,
5684 +# look for a macro that doesn't take arguments.
5688 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5690 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5694 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5707 +DEFS=`sed -n "$ac_script" confdefs.h`
5712 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5713 + # 1. Remove the extension, and $U if already installed.
5714 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5715 + ac_i=`echo "$ac_i" | sed "$ac_script"`
5716 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5717 + # will be set to the directory where LIBOBJS objects are built.
5718 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5719 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5721 +LIBOBJS=$ac_libobjs
5723 +LTLIBOBJS=$ac_ltlibobjs
5726 +if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
5727 + { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5728 +Usually this means the macro was only invoked conditionally." >&5
5729 +echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
5730 +Usually this means the macro was only invoked conditionally." >&2;}
5731 + { (exit 1); exit 1; }; }
5733 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5734 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5735 +Usually this means the macro was only invoked conditionally." >&5
5736 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
5737 +Usually this means the macro was only invoked conditionally." >&2;}
5738 + { (exit 1); exit 1; }; }
5740 +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5741 + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5742 +Usually this means the macro was only invoked conditionally." >&5
5743 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5744 +Usually this means the macro was only invoked conditionally." >&2;}
5745 + { (exit 1); exit 1; }; }
5747 +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5748 + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5749 +Usually this means the macro was only invoked conditionally." >&5
5750 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5751 +Usually this means the macro was only invoked conditionally." >&2;}
5752 + { (exit 1); exit 1; }; }
5754 +if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
5755 + { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
5756 +Usually this means the macro was only invoked conditionally." >&5
5757 +echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
5758 +Usually this means the macro was only invoked conditionally." >&2;}
5759 + { (exit 1); exit 1; }; }
5761 +if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
5762 + { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
5763 +Usually this means the macro was only invoked conditionally." >&5
5764 +echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
5765 +Usually this means the macro was only invoked conditionally." >&2;}
5766 + { (exit 1); exit 1; }; }
5768 +if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
5769 + { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
5770 +Usually this means the macro was only invoked conditionally." >&5
5771 +echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
5772 +Usually this means the macro was only invoked conditionally." >&2;}
5773 + { (exit 1); exit 1; }; }
5775 +if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
5776 + { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
5777 +Usually this means the macro was only invoked conditionally." >&5
5778 +echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
5779 +Usually this means the macro was only invoked conditionally." >&2;}
5780 + { (exit 1); exit 1; }; }
5782 +if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
5783 + { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
5784 +Usually this means the macro was only invoked conditionally." >&5
5785 +echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
5786 +Usually this means the macro was only invoked conditionally." >&2;}
5787 + { (exit 1); exit 1; }; }
5789 +if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
5790 + { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
5791 +Usually this means the macro was only invoked conditionally." >&5
5792 +echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
5793 +Usually this means the macro was only invoked conditionally." >&2;}
5794 + { (exit 1); exit 1; }; }
5797 +: ${CONFIG_STATUS=./config.status}
5798 +ac_clean_files_save=$ac_clean_files
5799 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5800 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5801 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
5802 +cat >$CONFIG_STATUS <<_ACEOF
5804 +# Generated by $as_me.
5805 +# Run this file to recreate the current configuration.
5806 +# Compiler output produced by configure, useful for debugging
5807 +# configure, is in config.log if it exists.
5810 +ac_cs_recheck=false
5812 +SHELL=\${CONFIG_SHELL-$SHELL}
5815 +cat >>$CONFIG_STATUS <<\_ACEOF
5816 +## --------------------- ##
5817 +## M4sh Initialization. ##
5818 +## --------------------- ##
5820 +# Be more Bourne compatible
5821 +DUALCASE=1; export DUALCASE # for MKS sh
5822 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5825 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5826 + # is contrary to our usage. Disable this feature.
5827 + alias -g '${1+"$@"}'='"$@"'
5828 + setopt NO_GLOB_SUBST
5830 + case `(set -o) 2>/dev/null` in
5831 + *posix*) set -o posix ;;
5840 +# Avoid depending upon Character Ranges.
5841 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5842 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5843 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5844 +as_cr_digits='0123456789'
5845 +as_cr_alnum=$as_cr_Letters$as_cr_digits
5847 +# The user is always right.
5848 +if test "${PATH_SEPARATOR+set}" != set; then
5849 + echo "#! /bin/sh" >conf$$.sh
5850 + echo "exit 0" >>conf$$.sh
5851 + chmod +x conf$$.sh
5852 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5853 + PATH_SEPARATOR=';'
5860 +# Support unset when possible.
5861 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5869 +# We need space, tab and new line, in precisely that order. Quoting is
5870 +# there to prevent editors from complaining about space-tab.
5871 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5872 +# splitting by setting IFS to empty value.)
5877 +# Find who we are. Look in the path if we contain no directory separator.
5879 + *[\\/]* ) as_myself=$0 ;;
5880 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 +for as_dir in $PATH
5884 + test -z "$as_dir" && as_dir=.
5885 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5891 +# We did not find ourselves, most probably we were run as `sh COMMAND'
5892 +# in which case we are not to be found in the path.
5893 +if test "x$as_myself" = x; then
5896 +if test ! -f "$as_myself"; then
5897 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5898 + { (exit 1); exit 1; }
5901 +# Work around bugs in pre-3.0 UWIN ksh.
5902 +for as_var in ENV MAIL MAILPATH
5903 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5911 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5912 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5913 + LC_TELEPHONE LC_TIME
5915 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5916 + eval $as_var=C; export $as_var
5918 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5922 +# Required to use basename.
5923 +if expr a : '\(a\)' >/dev/null 2>&1 &&
5924 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
5930 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5931 + as_basename=basename
5937 +# Name of the executable.
5938 +as_me=`$as_basename -- "$0" ||
5939 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5940 + X"$0" : 'X\(//\)$' \| \
5941 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5943 + sed '/^.*\/\([^/][^/]*\)\/*$/{
5962 + as_lineno_1=$LINENO
5963 + as_lineno_2=$LINENO
5964 + test "x$as_lineno_1" != "x$as_lineno_2" &&
5965 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5967 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5968 + # uniformly replaced by the line number. The first 'sed' inserts a
5969 + # line-number line after each line using $LINENO; the second 'sed'
5970 + # does the real work. The second script uses 'N' to pair each
5971 + # line-number line with the line containing $LINENO, and appends
5972 + # trailing '-' during substitution so that $LINENO is not a special
5973 + # case at line end.
5974 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5975 + # scripts with optimization help from Paolo Bonzini. Blame Lee
5976 + # E. McMahon (1931-1989) for sed's syntax. :-)
5988 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5991 + ' >$as_me.lineno &&
5992 + chmod +x "$as_me.lineno" ||
5993 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5994 + { (exit 1); exit 1; }; }
5996 + # Don't try to exec as it changes $[0], causing all sort of problems
5997 + # (the dirname of $[0] is not the place where we might find the
5998 + # original and so on. Autoconf is especially sensitive to this).
5999 + . "./$as_me.lineno"
6000 + # Exit status is that of the last command.
6005 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6006 + as_dirname=dirname
6011 +ECHO_C= ECHO_N= ECHO_T=
6012 +case `echo -n x` in
6014 + case `echo 'x\c'` in
6015 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6022 +if expr a : '\(a\)' >/dev/null 2>&1 &&
6023 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
6029 +rm -f conf$$ conf$$.exe conf$$.file
6030 +if test -d conf$$.dir; then
6031 + rm -f conf$$.dir/conf$$.file
6037 +if ln -s conf$$.file conf$$ 2>/dev/null; then
6039 + # ... but there are two gotchas:
6040 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6041 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6042 + # In both cases, we have to default to `cp -p'.
6043 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6045 +elif ln conf$$.file conf$$ 2>/dev/null; then
6050 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6051 +rmdir conf$$.dir 2>/dev/null
6053 +if mkdir -p . 2>/dev/null; then
6056 + test -d ./-p && rmdir ./-p
6060 +if test -x / >/dev/null 2>&1; then
6061 + as_test_x='test -x'
6063 + if ls -dL / >/dev/null 2>&1; then
6070 + if test -d "$1"; then
6076 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6077 + ???[sx]*):;;*)false;;esac;fi
6081 +as_executable_p=$as_test_x
6083 +# Sed expression to map a string onto a valid CPP name.
6084 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6086 +# Sed expression to map a string onto a valid variable name.
6087 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6092 +# Save the log message, to keep $[0] and so on meaningful, and to
6093 +# report actual input values of CONFIG_FILES etc. instead of their
6094 +# values after options handling.
6096 +This file was extended by newlib $as_me 1.16.0, which was
6097 +generated by GNU Autoconf 2.61. Invocation command line was
6099 + CONFIG_FILES = $CONFIG_FILES
6100 + CONFIG_HEADERS = $CONFIG_HEADERS
6101 + CONFIG_LINKS = $CONFIG_LINKS
6102 + CONFIG_COMMANDS = $CONFIG_COMMANDS
6105 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
6110 +cat >>$CONFIG_STATUS <<_ACEOF
6111 +# Files that config.status was made for.
6112 +config_files="$ac_config_files"
6113 +config_commands="$ac_config_commands"
6117 +cat >>$CONFIG_STATUS <<\_ACEOF
6119 +\`$as_me' instantiates files from templates according to the
6120 +current configuration.
6122 +Usage: $0 [OPTIONS] [FILE]...
6124 + -h, --help print this help, then exit
6125 + -V, --version print version number and configuration settings, then exit
6126 + -q, --quiet do not print progress messages
6127 + -d, --debug don't remove temporary files
6128 + --recheck update $as_me by reconfiguring in the same conditions
6129 + --file=FILE[:TEMPLATE]
6130 + instantiate the configuration file FILE
6132 +Configuration files:
6135 +Configuration commands:
6138 +Report bugs to <bug-autoconf@gnu.org>."
6141 +cat >>$CONFIG_STATUS <<_ACEOF
6143 +newlib config.status 1.16.0
6144 +configured by $0, generated by GNU Autoconf 2.61,
6145 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6147 +Copyright (C) 2006 Free Software Foundation, Inc.
6148 +This config.status script is free software; the Free Software Foundation
6149 +gives unlimited permission to copy, distribute and modify it."
6156 +cat >>$CONFIG_STATUS <<\_ACEOF
6157 +# If no file are specified by the user, then we need to provide default
6158 +# value. By we need to know if files were specified by the user.
6164 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
6165 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6175 + case $ac_option in
6176 + # Handling of the options.
6177 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6178 + ac_cs_recheck=: ;;
6179 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6180 + echo "$ac_cs_version"; exit ;;
6181 + --debug | --debu | --deb | --de | --d | -d )
6183 + --file | --fil | --fi | --f )
6185 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6186 + ac_need_defaults=false;;
6187 + --he | --h | --help | --hel | -h )
6188 + echo "$ac_cs_usage"; exit ;;
6189 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6190 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
6193 + # This is an error.
6194 + -*) { echo "$as_me: error: unrecognized option: $1
6195 +Try \`$0 --help' for more information." >&2
6196 + { (exit 1); exit 1; }; } ;;
6198 + *) ac_config_targets="$ac_config_targets $1"
6199 + ac_need_defaults=false ;;
6205 +ac_configure_extra_args=
6207 +if $ac_cs_silent; then
6209 + ac_configure_extra_args="$ac_configure_extra_args --silent"
6213 +cat >>$CONFIG_STATUS <<_ACEOF
6214 +if \$ac_cs_recheck; then
6215 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6216 + CONFIG_SHELL=$SHELL
6217 + export CONFIG_SHELL
6218 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6222 +cat >>$CONFIG_STATUS <<\_ACEOF
6226 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6227 +## Running $as_me. ##
6233 +cat >>$CONFIG_STATUS <<_ACEOF
6237 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6241 +cat >>$CONFIG_STATUS <<\_ACEOF
6243 +# Handling of arguments.
6244 +for ac_config_target in $ac_config_targets
6246 + case $ac_config_target in
6247 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6248 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6250 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6251 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6252 + { (exit 1); exit 1; }; };;
6257 +# If the user did not use the arguments to specify the items to instantiate,
6258 +# then the envvar interface is used. Set only those that are not.
6259 +# We use the long form for the default assignment because of an extremely
6260 +# bizarre bug on SunOS 4.1.3.
6261 +if $ac_need_defaults; then
6262 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6263 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6266 +# Have a temporary directory for convenience. Make it in the build tree
6267 +# simply because there is no reason against having it here, and in addition,
6268 +# creating and moving files from /tmp can sometimes cause problems.
6269 +# Hook for its removal unless debugging.
6270 +# Note that there is a small window in which the directory will not be cleaned:
6271 +# after its creation but before its name has been assigned to `$tmp'.
6275 + trap 'exit_status=$?
6276 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6278 + trap '{ (exit 1); exit 1; }' 1 2 13 15
6280 +# Create a (secure) tmp directory for tmp files.
6283 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6284 + test -n "$tmp" && test -d "$tmp"
6287 + tmp=./conf$$-$RANDOM
6288 + (umask 077 && mkdir "$tmp")
6291 + echo "$me: cannot create a temporary directory in ." >&2
6292 + { (exit 1); exit 1; }
6296 +# Set up the sed scripts for CONFIG_FILES section.
6299 +# No need to generate the scripts if there are no CONFIG_FILES.
6300 +# This happens for instance when ./config.status config.h
6301 +if test -n "$CONFIG_FILES"; then
6308 +for ac_last_try in false false false false false :; do
6309 + cat >conf$$subs.sed <<_ACEOF
6310 +SHELL!$SHELL$ac_delim
6311 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6312 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6313 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6314 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6315 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6316 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6317 +exec_prefix!$exec_prefix$ac_delim
6318 +prefix!$prefix$ac_delim
6319 +program_transform_name!$program_transform_name$ac_delim
6320 +bindir!$bindir$ac_delim
6321 +sbindir!$sbindir$ac_delim
6322 +libexecdir!$libexecdir$ac_delim
6323 +datarootdir!$datarootdir$ac_delim
6324 +datadir!$datadir$ac_delim
6325 +sysconfdir!$sysconfdir$ac_delim
6326 +sharedstatedir!$sharedstatedir$ac_delim
6327 +localstatedir!$localstatedir$ac_delim
6328 +includedir!$includedir$ac_delim
6329 +oldincludedir!$oldincludedir$ac_delim
6330 +docdir!$docdir$ac_delim
6331 +infodir!$infodir$ac_delim
6332 +htmldir!$htmldir$ac_delim
6333 +dvidir!$dvidir$ac_delim
6334 +pdfdir!$pdfdir$ac_delim
6335 +psdir!$psdir$ac_delim
6336 +libdir!$libdir$ac_delim
6337 +localedir!$localedir$ac_delim
6338 +mandir!$mandir$ac_delim
6339 +DEFS!$DEFS$ac_delim
6340 +ECHO_C!$ECHO_C$ac_delim
6341 +ECHO_N!$ECHO_N$ac_delim
6342 +ECHO_T!$ECHO_T$ac_delim
6343 +LIBS!$LIBS$ac_delim
6344 +build_alias!$build_alias$ac_delim
6345 +host_alias!$host_alias$ac_delim
6346 +target_alias!$target_alias$ac_delim
6347 +MAY_SUPPLY_SYSCALLS_TRUE!$MAY_SUPPLY_SYSCALLS_TRUE$ac_delim
6348 +MAY_SUPPLY_SYSCALLS_FALSE!$MAY_SUPPLY_SYSCALLS_FALSE$ac_delim
6349 +newlib_basedir!$newlib_basedir$ac_delim
6350 +build!$build$ac_delim
6351 +build_cpu!$build_cpu$ac_delim
6352 +build_vendor!$build_vendor$ac_delim
6353 +build_os!$build_os$ac_delim
6354 +host!$host$ac_delim
6355 +host_cpu!$host_cpu$ac_delim
6356 +host_vendor!$host_vendor$ac_delim
6357 +host_os!$host_os$ac_delim
6358 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6359 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6360 +INSTALL_DATA!$INSTALL_DATA$ac_delim
6361 +CYGPATH_W!$CYGPATH_W$ac_delim
6362 +PACKAGE!$PACKAGE$ac_delim
6363 +VERSION!$VERSION$ac_delim
6364 +ACLOCAL!$ACLOCAL$ac_delim
6365 +AUTOCONF!$AUTOCONF$ac_delim
6366 +AUTOMAKE!$AUTOMAKE$ac_delim
6367 +AUTOHEADER!$AUTOHEADER$ac_delim
6368 +MAKEINFO!$MAKEINFO$ac_delim
6369 +install_sh!$install_sh$ac_delim
6370 +STRIP!$STRIP$ac_delim
6371 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6372 +mkdir_p!$mkdir_p$ac_delim
6374 +SET_MAKE!$SET_MAKE$ac_delim
6375 +am__leading_dot!$am__leading_dot$ac_delim
6376 +AMTAR!$AMTAR$ac_delim
6377 +am__tar!$am__tar$ac_delim
6378 +am__untar!$am__untar$ac_delim
6380 +DEPDIR!$DEPDIR$ac_delim
6381 +am__include!$am__include$ac_delim
6382 +am__quote!$am__quote$ac_delim
6383 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6384 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6385 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6386 +CCDEPMODE!$CCDEPMODE$ac_delim
6387 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6388 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6391 +RANLIB!$RANLIB$ac_delim
6392 +READELF!$READELF$ac_delim
6393 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
6394 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
6395 +MAINT!$MAINT$ac_delim
6396 +CCAS!$CCAS$ac_delim
6397 +CCASFLAGS!$CCASFLAGS$ac_delim
6398 +NEWLIB_CFLAGS!$NEWLIB_CFLAGS$ac_delim
6399 +LDFLAGS!$LDFLAGS$ac_delim
6400 +ELIX_LEVEL_0_TRUE!$ELIX_LEVEL_0_TRUE$ac_delim
6401 +ELIX_LEVEL_0_FALSE!$ELIX_LEVEL_0_FALSE$ac_delim
6402 +ELIX_LEVEL_1_TRUE!$ELIX_LEVEL_1_TRUE$ac_delim
6403 +ELIX_LEVEL_1_FALSE!$ELIX_LEVEL_1_FALSE$ac_delim
6404 +ELIX_LEVEL_2_TRUE!$ELIX_LEVEL_2_TRUE$ac_delim
6405 +ELIX_LEVEL_2_FALSE!$ELIX_LEVEL_2_FALSE$ac_delim
6406 +ELIX_LEVEL_3_TRUE!$ELIX_LEVEL_3_TRUE$ac_delim
6409 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6411 + elif $ac_last_try; then
6412 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6413 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6414 + { (exit 1); exit 1; }; }
6416 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6420 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6421 +if test -n "$ac_eof"; then
6422 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6423 + ac_eof=`expr $ac_eof + 1`
6426 +cat >>$CONFIG_STATUS <<_ACEOF
6427 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6428 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6431 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6432 +s/^/s,@/; s/!/@,|#_!!_#|/
6435 +s/'"$ac_delim"'$/,g/; t
6437 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6438 +' >>$CONFIG_STATUS <conf$$subs.sed
6439 +rm -f conf$$subs.sed
6440 +cat >>$CONFIG_STATUS <<_ACEOF
6446 +for ac_last_try in false false false false false :; do
6447 + cat >conf$$subs.sed <<_ACEOF
6448 +ELIX_LEVEL_3_FALSE!$ELIX_LEVEL_3_FALSE$ac_delim
6449 +ELIX_LEVEL_4_TRUE!$ELIX_LEVEL_4_TRUE$ac_delim
6450 +ELIX_LEVEL_4_FALSE!$ELIX_LEVEL_4_FALSE$ac_delim
6451 +USE_LIBTOOL_TRUE!$USE_LIBTOOL_TRUE$ac_delim
6452 +USE_LIBTOOL_FALSE!$USE_LIBTOOL_FALSE$ac_delim
6453 +OBJEXT!$OBJEXT$ac_delim
6454 +oext!$oext$ac_delim
6455 +aext!$aext$ac_delim
6456 +lpfx!$lpfx$ac_delim
6457 +libm_machine_dir!$libm_machine_dir$ac_delim
6458 +machine_dir!$machine_dir$ac_delim
6459 +sys_dir!$sys_dir$ac_delim
6460 +LIBOBJS!$LIBOBJS$ac_delim
6461 +LTLIBOBJS!$LTLIBOBJS$ac_delim
6464 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
6466 + elif $ac_last_try; then
6467 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6468 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6469 + { (exit 1); exit 1; }; }
6471 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6475 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6476 +if test -n "$ac_eof"; then
6477 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6478 + ac_eof=`expr $ac_eof + 1`
6481 +cat >>$CONFIG_STATUS <<_ACEOF
6482 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6483 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6486 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6487 +s/^/s,@/; s/!/@,|#_!!_#|/
6490 +s/'"$ac_delim"'$/,g/; t
6492 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6493 +' >>$CONFIG_STATUS <conf$$subs.sed
6494 +rm -f conf$$subs.sed
6495 +cat >>$CONFIG_STATUS <<_ACEOF
6502 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
6503 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6504 +# trailing colons and then remove the whole line if VPATH becomes empty
6505 +# (actually we leave an empty line to preserve line numbers).
6506 +if test "x$srcdir" = x.; then
6507 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
6508 +s/:*\$(srcdir):*/:/
6509 +s/:*\${srcdir}:*/:/
6511 +s/^\([^=]*=[ ]*\):*/\1/
6517 +cat >>$CONFIG_STATUS <<\_ACEOF
6518 +fi # test -n "$CONFIG_FILES"
6521 +for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
6524 + :[FHLC]) ac_mode=$ac_tag; continue;;
6526 + case $ac_mode$ac_tag in
6528 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6529 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6530 + { (exit 1); exit 1; }; };;
6531 + :[FH]-) ac_tag=-:-;;
6532 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6543 + :L) ac_source=$1;;
6549 + -) ac_f="$tmp/stdin";;
6550 + *) # Look for the file first in the build tree, then in the source tree
6551 + # (if the path is not absolute). The absolute path cannot be DOS-style,
6552 + # because $ac_f cannot contain `:'.
6553 + test -f "$ac_f" ||
6556 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6558 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6559 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6560 + { (exit 1); exit 1; }; };;
6562 + ac_file_inputs="$ac_file_inputs $ac_f"
6565 + # Let's still pretend it is `configure' which instantiates (i.e., don't
6566 + # use $as_me), people would be surprised to read:
6567 + # /* config.h. Generated by config.status. */
6568 + configure_input="Generated from "`IFS=:
6569 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6570 + if test x"$ac_file" != x-; then
6571 + configure_input="$ac_file. $configure_input"
6572 + { echo "$as_me:$LINENO: creating $ac_file" >&5
6573 +echo "$as_me: creating $ac_file" >&6;}
6577 + *:-:* | *:-) cat >"$tmp/stdin";;
6582 + ac_dir=`$as_dirname -- "$ac_file" ||
6583 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6584 + X"$ac_file" : 'X\(//\)[^/]' \| \
6585 + X"$ac_file" : 'X\(//\)$' \| \
6586 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6588 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6592 + /^X\(\/\/\)[^/].*/{
6605 + { as_dir="$ac_dir"
6606 + case $as_dir in #(
6607 + -*) as_dir=./$as_dir;;
6609 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6612 + case $as_dir in #(
6613 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6614 + *) as_qdir=$as_dir;;
6616 + as_dirs="'$as_qdir' $as_dirs"
6617 + as_dir=`$as_dirname -- "$as_dir" ||
6618 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6619 + X"$as_dir" : 'X\(//\)[^/]' \| \
6620 + X"$as_dir" : 'X\(//\)$' \| \
6621 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6623 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6627 + /^X\(\/\/\)[^/].*/{
6640 + test -d "$as_dir" && break
6642 + test -z "$as_dirs" || eval "mkdir $as_dirs"
6643 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6644 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
6645 + { (exit 1); exit 1; }; }; }
6649 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6651 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6652 + # A ".." for each directory in $ac_dir_suffix.
6653 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6654 + case $ac_top_builddir_sub in
6655 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6656 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6659 +ac_abs_top_builddir=$ac_pwd
6660 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
6661 +# for backward compatibility:
6662 +ac_top_builddir=$ac_top_build_prefix
6665 + .) # We are building in place.
6667 + ac_top_srcdir=$ac_top_builddir_sub
6668 + ac_abs_top_srcdir=$ac_pwd ;;
6669 + [\\/]* | ?:[\\/]* ) # Absolute name.
6670 + ac_srcdir=$srcdir$ac_dir_suffix;
6671 + ac_top_srcdir=$srcdir
6672 + ac_abs_top_srcdir=$srcdir ;;
6673 + *) # Relative name.
6674 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6675 + ac_top_srcdir=$ac_top_build_prefix$srcdir
6676 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6678 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6688 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6689 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6693 +cat >>$CONFIG_STATUS <<\_ACEOF
6694 +# If the template does not know about datarootdir, expand it.
6695 +# FIXME: This hack should be removed a few years after 2.60.
6696 +ac_datarootdir_hack=; ac_datarootdir_seen=
6698 +case `sed -n '/datarootdir/ {
6707 +' $ac_file_inputs` in
6708 +*datarootdir*) ac_datarootdir_seen=yes;;
6709 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6710 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6711 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6713 +cat >>$CONFIG_STATUS <<_ACEOF
6714 + ac_datarootdir_hack='
6715 + s&@datadir@&$datadir&g
6716 + s&@docdir@&$docdir&g
6717 + s&@infodir@&$infodir&g
6718 + s&@localedir@&$localedir&g
6719 + s&@mandir@&$mandir&g
6720 + s&\\\${datarootdir}&$datarootdir&g' ;;
6724 +# Neutralize VPATH when `$srcdir' = `.'.
6725 +# Shell code in configure.ac might set extrasub.
6726 +# FIXME: do we really want to maintain this feature?
6727 +cat >>$CONFIG_STATUS <<_ACEOF
6731 +cat >>$CONFIG_STATUS <<\_ACEOF
6733 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6734 +s&@configure_input@&$configure_input&;t t
6735 +s&@top_builddir@&$ac_top_builddir_sub&;t t
6736 +s&@srcdir@&$ac_srcdir&;t t
6737 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
6738 +s&@top_srcdir@&$ac_top_srcdir&;t t
6739 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6740 +s&@builddir@&$ac_builddir&;t t
6741 +s&@abs_builddir@&$ac_abs_builddir&;t t
6742 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6743 +s&@INSTALL@&$ac_INSTALL&;t t
6744 +$ac_datarootdir_hack
6745 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
6747 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6748 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6749 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6750 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6751 +which seems to be undefined. Please make sure it is defined." >&5
6752 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6753 +which seems to be undefined. Please make sure it is defined." >&2;}
6755 + rm -f "$tmp/stdin"
6757 + -) cat "$tmp/out"; rm -f "$tmp/out";;
6758 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6763 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6764 +echo "$as_me: executing $ac_file commands" >&6;}
6769 + case $ac_file$ac_mode in
6770 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6771 + # Strip MF so we end up with the name of the file.
6772 + mf=`echo "$mf" | sed -e 's/:.*$//'`
6773 + # Check whether this is an Automake generated Makefile or not.
6774 + # We used to match only the files named `Makefile.in', but
6775 + # some people rename them; so instead we look at the file content.
6776 + # Grep'ing the first line is not enough: some people post-process
6777 + # each Makefile.in and add a new line on top of each file to say so.
6778 + # So let's grep whole file.
6779 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6780 + dirpart=`$as_dirname -- "$mf" ||
6781 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6782 + X"$mf" : 'X\(//\)[^/]' \| \
6783 + X"$mf" : 'X\(//\)$' \| \
6784 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6786 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6790 + /^X\(\/\/\)[^/].*/{
6806 + # Extract the definition of DEPDIR, am__include, and am__quote
6807 + # from the Makefile without running `make'.
6808 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6809 + test -z "$DEPDIR" && continue
6810 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
6811 + test -z "am__include" && continue
6812 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6813 + # When using ansi2knr, U may be empty or an underscore; expand it
6814 + U=`sed -n 's/^U = //p' < "$mf"`
6815 + # Find all dependency output files, they are included files with
6816 + # $(DEPDIR) in their names. We invoke sed twice because it is the
6817 + # simplest approach to changing $(DEPDIR) to its actual value in the
6819 + for file in `sed -n "
6820 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6821 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6822 + # Make sure the directory exists.
6823 + test -f "$dirpart/$file" && continue
6824 + fdir=`$as_dirname -- "$file" ||
6825 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6826 + X"$file" : 'X\(//\)[^/]' \| \
6827 + X"$file" : 'X\(//\)$' \| \
6828 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6830 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6834 + /^X\(\/\/\)[^/].*/{
6847 + { as_dir=$dirpart/$fdir
6848 + case $as_dir in #(
6849 + -*) as_dir=./$as_dir;;
6851 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6854 + case $as_dir in #(
6855 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6856 + *) as_qdir=$as_dir;;
6858 + as_dirs="'$as_qdir' $as_dirs"
6859 + as_dir=`$as_dirname -- "$as_dir" ||
6860 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6861 + X"$as_dir" : 'X\(//\)[^/]' \| \
6862 + X"$as_dir" : 'X\(//\)$' \| \
6863 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6865 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6869 + /^X\(\/\/\)[^/].*/{
6882 + test -d "$as_dir" && break
6884 + test -z "$as_dirs" || eval "mkdir $as_dirs"
6885 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6886 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
6887 + { (exit 1); exit 1; }; }; }
6888 + # echo "creating $dirpart/$file"
6889 + echo '# dummy' > "$dirpart/$file"
6898 +{ (exit 0); exit 0; }
6900 +chmod +x $CONFIG_STATUS
6901 +ac_clean_files=$ac_clean_files_save
6904 +# configure is writing to config.log, and then calls config.status.
6905 +# config.status does its own redirection, appending to config.log.
6906 +# Unfortunately, on DOS this fails, as config.log is still kept open
6907 +# by configure, so config.status won't be able to write to it; its
6908 +# output is simply discarded. So we exec the FD to /dev/null,
6909 +# effectively closing config.log, so it can be properly (re)opened and
6910 +# appended to by config.status. When coming back to configure, we
6911 +# need to make the FD available again.
6912 +if test "$no_create" != yes; then
6914 + ac_config_status_args=
6915 + test "$silent" = yes &&
6916 + ac_config_status_args="$ac_config_status_args --quiet"
6918 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6919 + exec 5>>config.log
6920 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6921 + # would make configure fail if this is the last instruction.
6922 + $ac_cs_success || { (exit 1); exit 1; }
6925 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/configure.in newlib-1.16.0/newlib/libc/sys/nacl/configure.in
6926 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/configure.in 1969-12-31 16:00:00.000000000 -0800
6927 +++ newlib-1.16.0/newlib/libc/sys/nacl/configure.in 2008-08-25 21:31:05.942270800 -0700
6929 +dnl This is the newlib/libc/sys/rtems configure.in file.
6930 +dnl Process this file with autoconf to produce a configure script.
6933 +AC_INIT([newlib],[NEWLIB_VERSION])
6934 +AC_CONFIG_SRCDIR([dummysys.c])
6936 +dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
6937 +AC_CONFIG_AUX_DIR(../../../..)
6939 +NEWLIB_CONFIGURE(../../..)
6941 +AC_CONFIG_FILES([Makefile])
6943 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/crt0.c newlib-1.16.0/newlib/libc/sys/nacl/crt0.c
6944 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/crt0.c 1969-12-31 16:00:00.000000000 -0800
6945 +++ newlib-1.16.0/newlib/libc/sys/nacl/crt0.c 2008-08-25 21:31:06.067270800 -0700
6947 +void not_a_real_crt0( void ) {}
6948 diff -Naur ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/dummysys.c newlib-1.16.0/newlib/libc/sys/nacl/dummysys.c
6949 --- ../PRISTINE/newlib-1.16.0/newlib/libc/sys/nacl/dummysys.c 1969-12-31 16:00:00.000000000 -0800
6950 +++ newlib-1.16.0/newlib/libc/sys/nacl/dummysys.c 2008-08-25 21:31:06.223520800 -0700
6952 +void not_required_by_rtems( void ) {}