OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sw/] [nlib-zippatch.patch] - Blame information for rev 203

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 202 dgisselq
diff -Naur '--exclude=*.swp' newlib-2.5.0/config.sub newlib-2.5.0-zip/config.sub
2
--- newlib-2.5.0/config.sub     2016-12-22 21:33:54.000000000 -0500
3
+++ newlib-2.5.0-zip/config.sub 2017-01-16 12:10:48.294312482 -0500
4
@@ -355,6 +355,14 @@
5
        xscaleel)
6
                basic_machine=armel-unknown
7
                ;;
8
+       zip-*-linux*)
9
+               basic_machine=zip
10
+               os=-linux
11
+               ;;
12
+       zip*)
13
+               basic_machine=zip-unknown
14
+               os=-none
15
+               ;;
16
 
17
        # We use `pc' rather than `unknown'
18
        # because (1) that's what they normally are, and
19
diff -Naur '--exclude=*.swp' newlib-2.5.0/configure newlib-2.5.0-zip/configure
20
--- newlib-2.5.0/configure      2016-12-22 21:33:54.000000000 -0500
21
+++ newlib-2.5.0-zip/configure  2017-01-25 16:27:07.029658533 -0500
22
@@ -3549,6 +3549,9 @@
23
   ft32-*-*)
24
     noconfigdirs="$noconfigdirs ${libgcj}"
25
     ;;
26
+  zip*)
27
+    noconfigdirs="$noconfigdirs ${libgcj}"
28
+    ;;
29
   *-*-lynxos*)
30
     noconfigdirs="$noconfigdirs ${libgcj}"
31
     ;;
32
@@ -3576,6 +3579,9 @@
33
     *-*-aix*)
34
        noconfigdirs="$noconfigdirs target-libgo"
35
        ;;
36
+    zip*)
37
+       noconfigdirs="$noconfigdirs target-libgo"
38
+       ;;
39
     esac
40
 fi
41
 
42
@@ -3970,6 +3976,9 @@
43
   vax-*-*)
44
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
45
     ;;
46
+  zip*)
47
+    noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb gprof"
48
+    ;;
49
 esac
50
 
51
 # If we aren't building newlib, then don't build libgloss, since libgloss
52
@@ -4723,13 +4732,13 @@
53
   CFLAGS=$ac_save_CFLAGS
54
 elif test $ac_cv_prog_cc_g = yes; then
55
   if test "$GCC" = yes; then
56
-    CFLAGS="-g -O2"
57
+    CFLAGS="-O3"
58
   else
59
     CFLAGS="-g"
60
   fi
61
 else
62
   if test "$GCC" = yes; then
63
-    CFLAGS="-O2"
64
+    CFLAGS="-O3"
65
   else
66
     CFLAGS=
67
   fi
68
@@ -5071,13 +5080,13 @@
69
   CXXFLAGS=$ac_save_CXXFLAGS
70
 elif test $ac_cv_prog_cxx_g = yes; then
71
   if test "$GXX" = yes; then
72
-    CXXFLAGS="-g -O2"
73
+    CXXFLAGS="-O3"
74
   else
75
     CXXFLAGS="-g"
76
   fi
77
 else
78
   if test "$GXX" = yes; then
79
-    CXXFLAGS="-O2"
80
+    CXXFLAGS="-O3"
81
   else
82
     CXXFLAGS=
83
   fi
84
@@ -6777,7 +6786,7 @@
85
 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
86
 if test "x$CFLAGS_FOR_TARGET" = x; then
87
   if test "x${is_cross_compiler}" = xyes; then
88
-    CFLAGS_FOR_TARGET="-g -O2"
89
+    CFLAGS_FOR_TARGET="-O3"
90
   else
91
     CFLAGS_FOR_TARGET=$CFLAGS
92
     case " $CFLAGS " in
93
@@ -6794,7 +6803,7 @@
94
 
95
 if test "x$CXXFLAGS_FOR_TARGET" = x; then
96
   if test "x${is_cross_compiler}" = xyes; then
97
-    CXXFLAGS_FOR_TARGET="-g -O2"
98
+    CXXFLAGS_FOR_TARGET="-O3"
99
   else
100
     CXXFLAGS_FOR_TARGET=$CXXFLAGS
101
     case " $CXXFLAGS " in
102
diff -Naur '--exclude=*.swp' newlib-2.5.0/configure.ac newlib-2.5.0-zip/configure.ac
103
--- newlib-2.5.0/configure.ac   2016-12-22 21:33:54.000000000 -0500
104
+++ newlib-2.5.0-zip/configure.ac       2017-01-25 16:27:52.713416459 -0500
105
@@ -1,4 +1,4 @@
106
-#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
107
+3   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
108
 #   2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
109
 #   2014, 2015, 2016 Free Software Foundation, Inc.
110
 #
111
@@ -2377,16 +2377,16 @@
112
 # might be empty or "-g".  We don't require a C++ compiler, so CXXFLAGS
113
 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
114
 # We want to ensure that TARGET libraries (which we know are built with
115
-# gcc) are built with "-O2 -g", so include those options when setting
116
+# gcc) are built with "-O3 -g", so include those options when setting
117
 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
118
 if test "x$CFLAGS_FOR_TARGET" = x; then
119
   if test "x${is_cross_compiler}" = xyes; then
120
-    CFLAGS_FOR_TARGET="-g -O2"
121
+    CFLAGS_FOR_TARGET="-g -O3"
122
   else
123
     CFLAGS_FOR_TARGET=$CFLAGS
124
     case " $CFLAGS " in
125
-      *" -O2 "*) ;;
126
-      *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
127
+      *" -O3 "*) ;;
128
+      *) CFLAGS_FOR_TARGET="-O3 $CFLAGS_FOR_TARGET" ;;
129
     esac
130
     case " $CFLAGS " in
131
       *" -g "* | *" -g3 "*) ;;
132
@@ -2398,12 +2398,12 @@
133
 
134
 if test "x$CXXFLAGS_FOR_TARGET" = x; then
135
   if test "x${is_cross_compiler}" = xyes; then
136
-    CXXFLAGS_FOR_TARGET="-g -O2"
137
+    CXXFLAGS_FOR_TARGET="-O3"
138
   else
139
     CXXFLAGS_FOR_TARGET=$CXXFLAGS
140
     case " $CXXFLAGS " in
141
-      *" -O2 "*) ;;
142
-      *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
143
+      *" -O3 "*) ;;
144
+      *) CXXFLAGS_FOR_TARGET="-O3 $CXXFLAGS_FOR_TARGET" ;;
145
     esac
146
     case " $CXXFLAGS " in
147
       *" -g "* | *" -g3 "*) ;;
148
@@ -2576,7 +2576,7 @@
149
     ;;
150
 esac
151
 
152
-# If --enable-target-optspace always use -Os instead of -O2 to build
153
+# If --enable-target-optspace always use -Os instead of -O3 to build
154
 # the target libraries, similarly if it is not specified, use -Os
155
 # on selected platforms.
156
 ospace_frag=/dev/null
157
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/configure newlib-2.5.0-zip/libgloss/configure
158
--- newlib-2.5.0/libgloss/configure     2016-12-22 21:33:54.000000000 -0500
159
+++ newlib-2.5.0-zip/libgloss/configure 2017-01-11 11:12:49.779795431 -0500
160
@@ -709,6 +709,7 @@
161
 tic6x
162
 iq2000
163
 or1k
164
+zip
165
 libnosys'
166
 
167
 # Initialize some variables set by options.
168
@@ -2579,7 +2580,9 @@
169
        ;;
170
   or1k-*-* | or1knd-*-* )
171
        subdirs="$subdirs or1k"
172
-
173
+       ;;
174
+  zip*)
175
+       subdirs="$subdirs zip"
176
        ;;
177
 esac
178
 
179
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/configure.in newlib-2.5.0-zip/libgloss/configure.in
180
--- newlib-2.5.0/libgloss/configure.in  2016-12-22 21:33:54.000000000 -0500
181
+++ newlib-2.5.0-zip/libgloss/configure.in      2017-01-11 11:13:26.073974219 -0500
182
@@ -173,6 +173,9 @@
183
   or1k-*-* | or1knd-*-* )
184
        AC_CONFIG_SUBDIRS([or1k])
185
        ;;
186
+  zip*)
187
+       AC_CONFIG_SUBDIRS([zip])
188
+       ;;
189
 esac
190
 
191
 dnl For now, don't bother configuring testsuite
192
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/libnosys/configure.in newlib-2.5.0-zip/libgloss/libnosys/configure.in
193
--- newlib-2.5.0/libgloss/libnosys/configure.in 2016-12-22 21:33:54.000000000 -0500
194
+++ newlib-2.5.0-zip/libgloss/libnosys/configure.in     2017-01-13 12:27:41.898876845 -0500
195
@@ -81,6 +81,8 @@
196
        ;;
197
   z8k-*-*)
198
        ;;
199
+  zip*)
200
+       ;;
201
   *)
202
        AC_DEFINE(MISSING_SYSCALL_NAMES)
203
        ;;
204
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/board.h newlib-2.5.0-zip/libgloss/zip/board.h
205
--- newlib-2.5.0/libgloss/zip/board.h   1969-12-31 19:00:00.000000000 -0500
206
+++ newlib-2.5.0-zip/libgloss/zip/board.h       2017-03-01 15:51:53.300228357 -0500
207
@@ -0,0 +1,190 @@
208
+////////////////////////////////////////////////////////////////////////////////
209
+//
210
+// Filename:   zipbasic.h
211
+//
212
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
213
+//
214
+// Purpose:    A description of the hardware and I/O parts and pieces specific
215
+//             to the ZipBasic distribution, for the purpose of writing
216
+//     ZipCPU software that will run on the board.
217
+//
218
+// Creator:    Dan Gisselquist, Ph.D.
219
+//             Gisselquist Technology, LLC
220
+//
221
+////////////////////////////////////////////////////////////////////////////////
222
+//
223
+// Copyright (C) 2017, Gisselquist Technology, LLC
224
+//
225
+// This program is free software (firmware): you can redistribute it and/or
226
+// modify it under the terms of  the GNU General Public License as published
227
+// by the Free Software Foundation, either version 3 of the License, or (at
228
+// your option) any later version.
229
+//
230
+// This program is distributed in the hope that it will be useful, but WITHOUT
231
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
232
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
233
+// for more details.
234
+//
235
+// You should have received a copy of the GNU General Public License along
236
+// with this program.  (It's in the $(ROOT)/doc directory, run make with no
237
+// target there if the PDF file isn't present.)  If not, see
238
+// <http://www.gnu.org/licenses/> for a copy.
239
+//
240
+// License:    GPL, v3, as defined and found on www.gnu.org,
241
+//             http://www.gnu.org/licenses/gpl.html
242
+//
243
+//
244
+////////////////////////////////////////////////////////////////////////////////
245
+//
246
+//
247
+#ifndef        ZIPBASIC_H
248
+#define        ZIPBASIC_H
249
+
250
+#include <stdint.h>
251
+
252
+// We have the full ZIP System installed
253
+#define        _HAVE_ZIPSYS_PERFORMANCE_COUNTERS
254
+#define        _HAVE_ZIPSYS_DMA
255
+#include "zipsys.h"
256
+
257
+typedef        struct  {
258
+       unsigned        i_version;
259
+       unsigned        i_pwrcount;
260
+       unsigned        i_buserr;
261
+       unsigned        i_date;
262
+} BASICIO;
263
+
264
+#define        UART_PARITY_NONE        0
265
+#define        UART_HWFLOW_OFF         0x40000000
266
+#define        UART_PARITY_ODD         0x04000000
267
+#define        UART_PARITY_EVEN        0x05000000
268
+#define        UART_PARITY_SPACE       0x06000000
269
+#define        UART_PARITY_MARK        0x07000000
270
+#define        UART_STOP_ONEBIT        0
271
+#define        UART_STOP_TWOBITS       0x08000000
272
+#define        UART_DATA_8BITS         0
273
+#define        UART_DATA_7BITS         0x10000000
274
+#define        UART_DATA_6BITS         0x20000000
275
+#define        UART_DATA_5BITS         0x30000000
276
+#define        UART_RX_BREAK           0x0800
277
+#define        UART_RX_FRAMEERR        0x0400
278
+#define        UART_RX_PARITYERR       0x0200
279
+#define        UART_RX_NOTREADY        0x0100
280
+#define        UART_RX_ERR             (-256)
281
+#define        UART_TX_BUSY            0x0100
282
+#define        UART_TX_BREAK           0x0200
283
+
284
+typedef        struct  WBUART_S {
285
+       unsigned        u_setup;
286
+       unsigned        u_fifo;
287
+       unsigned        u_rx, u_tx;
288
+} WBUART;
289
+
290
+
291
+#define        WBSCOPE_NO_RESET        0x80000000
292
+#define        WBSCOPE_TRIGGER (WBSCOPE_NO_RESET|0x08000000)
293
+#define        WBSCOPE_MANUAL  WBSCOPE_TRIGGER
294
+#define        WBSCOPE_DISABLE 0x04000000      // Disable the scope trigger
295
+typedef        struct  WBSCOPE_S {
296
+       unsigned        s_ctrl, s_data;
297
+} WBSCOPE;
298
+
299
+typedef        struct  {
300
+       unsigned        r_clock, r_stopwatch, r_timer, r_alarm;
301
+} RTCLIGHT;
302
+
303
+
304
+#define        SD_SETAUX       0x0ff
305
+#define        SD_READAUX      0x0bf
306
+#define        SD_CMD          0x040
307
+#define        SD_FIFO_OP      0x0800  // Read only
308
+#define        SD_WRITEOP      0x0c00  // Write to the FIFO
309
+#define        SD_ALTFIFO      0x1000
310
+#define        SD_BUSY         0x4000
311
+#define        SD_ERROR        0x8000
312
+#define        SD_CLEARERR     0x8000
313
+#define        SD_READ_SECTOR  ((SD_CMD|SD_CLEARERR|SD_FIFO_OP)+17)
314
+#define        SD_WRITE_SECTOR ((SD_CMD|SD_CLEARERR|SD_WRITEOP)+24)
315
+
316
+typedef        struct  {
317
+       unsigned        sd_ctrl, sd_data, sd_fifo[2];
318
+} SDCARD;
319
+
320
+typedef        struct  {
321
+       unsigned        f_ereg, f_config, f_status, f_id;
322
+} FLASHCONTROL;
323
+
324
+
325
+typedef        struct {
326
+       BASICIO         b_io;
327
+       char            _SKIP_TO_SCOPES[(0x040-sizeof(BASICIO))];
328
+       WBSCOPE         b_s[2];
329
+       WBUART          b_uart;
330
+       RTCLIGHT        b_rtc;
331
+       FLASHCONTROL    b_flash;
332
+       SDCARD          b_sd;
333
+} ZIPBASICBOARD;
334
+
335
+#define        PERIPHERAL_ADDR ((ZIPBASICBOARD *)0x100)
336
+
337
+static volatile ZIPBASICBOARD  *const _sys =(PERIPHERAL_ADDR);
338
+
339
+#define        _ZIP_HAS_WBUART
340
+static volatile WBUART         *const _uart   = &(PERIPHERAL_ADDR)->b_uart;
341
+#define        _ZIP_HAS_WBUARTX
342
+#define        _uarttx         _uart->u_tx
343
+#define        _ZIP_HAS_WBUARTRX
344
+#define        _uartrx         _uart->u_rx
345
+#define        _ZIP_HAS_UARTSETUP
346
+#define        _uartsetup      _uart->u_setup
347
+
348
+#define        _ZIP_HAS_RTC
349
+static volatile RTCLIGHT       *const _rtcdev = &(PERIPHERAL_ADDR)->b_rtc;
350
+#define        _ZIP_HAS_RTCDATE
351
+static volatile uint32_t       *const _rtcdate = &((PERIPHERAL_ADDR)->b_io.i_date);
352
+
353
+#define        _ZIP_HAS_SDCARD
354
+static volatile SDCARD         *const _sdcard = &((PERIPHERAL_ADDR)->b_sd);
355
+
356
+#define        SYSTIMER        zip->z_tma
357
+#define        SYSPIC          zip->z_pic
358
+#define        ALTPIC          zip->z_zpic
359
+#define        COUNTER         zip->z_m.ac_ck
360
+
361
+#define        BKRAM   (void *)0
362
+#define        FLASH   (void *)0x01000000
363
+#define        SDRAM   (void *)0x10000000
364
+#define        CLOCKFREQHZ     100000000       // 100 MHz
365
+#define        CLOCKFREQ_HZ    CLOCKFREQHZ
366
+//
367
+#define        MEMLEN          0
368
+#define        FLASHLEN        0x01000000
369
+#define        SDRAMLEN        0x10000000
370
+
371
+// Finally, let's assign some of our interrupts:
372
+//
373
+// We're allowed nine interrupts to the master interrupt controller in the
374
+// ZipSys
375
+#define        SYSINT_PPS      SYSINT(6)
376
+#define        SYSINT_UARTRX   SYSINT(7)
377
+#define        SYSINT_UARTTX   SYSINT(8)
378
+#define        SYSINT_UARTRXF  SYSINT(9)
379
+#define        SYSINT_UARTTXF  SYSINT(10)
380
+#define        SYSINT_SDCARD   SYSINT(11)
381
+#define        SYSINT_FLASH    SYSINT(12)
382
+#define        SYSINT_SCOPE    SYSINT(13)
383
+#define        SYSINT_RTC      SYSINT(14)
384
+
385
+// DMA Interrupt parameters
386
+#define        DMA_ONPPS       DMA_ONINT(6)
387
+#define        DMA_ONUARTRX    DMA_ONINT(7)
388
+#define        DMA_ONUARTTX    DMA_ONINT(8)
389
+#define        DMA_ONUARTRXF   DMA_ONINT(9)
390
+#define        DMA_ONUARTTXF   DMA_ONINT(10)
391
+#define        DMA_ONSDCARD    DMA_ONINT(11)
392
+#define        DMA_ONFLASH     DMA_ONINT(12)
393
+#define        DMA_ONSCOPE     DMA_ONINT(13)
394
+#define        DMA_ONRTC       DMA_ONINT(14)
395
+
396
+#endif
397
+
398
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/boards/zipbasic.h newlib-2.5.0-zip/libgloss/zip/boards/zipbasic.h
399
--- newlib-2.5.0/libgloss/zip/boards/zipbasic.h 1969-12-31 19:00:00.000000000 -0500
400
+++ newlib-2.5.0-zip/libgloss/zip/boards/zipbasic.h     2017-03-01 15:51:53.300228357 -0500
401
@@ -0,0 +1,190 @@
402
+////////////////////////////////////////////////////////////////////////////////
403
+//
404
+// Filename:   zipbasic.h
405
+//
406
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
407
+//
408
+// Purpose:    A description of the hardware and I/O parts and pieces specific
409
+//             to the ZipBasic distribution, for the purpose of writing
410
+//     ZipCPU software that will run on the board.
411
+//
412
+// Creator:    Dan Gisselquist, Ph.D.
413
+//             Gisselquist Technology, LLC
414
+//
415
+////////////////////////////////////////////////////////////////////////////////
416
+//
417
+// Copyright (C) 2017, Gisselquist Technology, LLC
418
+//
419
+// This program is free software (firmware): you can redistribute it and/or
420
+// modify it under the terms of  the GNU General Public License as published
421
+// by the Free Software Foundation, either version 3 of the License, or (at
422
+// your option) any later version.
423
+//
424
+// This program is distributed in the hope that it will be useful, but WITHOUT
425
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
426
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
427
+// for more details.
428
+//
429
+// You should have received a copy of the GNU General Public License along
430
+// with this program.  (It's in the $(ROOT)/doc directory, run make with no
431
+// target there if the PDF file isn't present.)  If not, see
432
+// <http://www.gnu.org/licenses/> for a copy.
433
+//
434
+// License:    GPL, v3, as defined and found on www.gnu.org,
435
+//             http://www.gnu.org/licenses/gpl.html
436
+//
437
+//
438
+////////////////////////////////////////////////////////////////////////////////
439
+//
440
+//
441
+#ifndef        ZIPBASIC_H
442
+#define        ZIPBASIC_H
443
+
444
+#include <stdint.h>
445
+
446
+// We have the full ZIP System installed
447
+#define        _HAVE_ZIPSYS_PERFORMANCE_COUNTERS
448
+#define        _HAVE_ZIPSYS_DMA
449
+#include "zipsys.h"
450
+
451
+typedef        struct  {
452
+       unsigned        i_version;
453
+       unsigned        i_pwrcount;
454
+       unsigned        i_buserr;
455
+       unsigned        i_date;
456
+} BASICIO;
457
+
458
+#define        UART_PARITY_NONE        0
459
+#define        UART_HWFLOW_OFF         0x40000000
460
+#define        UART_PARITY_ODD         0x04000000
461
+#define        UART_PARITY_EVEN        0x05000000
462
+#define        UART_PARITY_SPACE       0x06000000
463
+#define        UART_PARITY_MARK        0x07000000
464
+#define        UART_STOP_ONEBIT        0
465
+#define        UART_STOP_TWOBITS       0x08000000
466
+#define        UART_DATA_8BITS         0
467
+#define        UART_DATA_7BITS         0x10000000
468
+#define        UART_DATA_6BITS         0x20000000
469
+#define        UART_DATA_5BITS         0x30000000
470
+#define        UART_RX_BREAK           0x0800
471
+#define        UART_RX_FRAMEERR        0x0400
472
+#define        UART_RX_PARITYERR       0x0200
473
+#define        UART_RX_NOTREADY        0x0100
474
+#define        UART_RX_ERR             (-256)
475
+#define        UART_TX_BUSY            0x0100
476
+#define        UART_TX_BREAK           0x0200
477
+
478
+typedef        struct  WBUART_S {
479
+       unsigned        u_setup;
480
+       unsigned        u_fifo;
481
+       unsigned        u_rx, u_tx;
482
+} WBUART;
483
+
484
+
485
+#define        WBSCOPE_NO_RESET        0x80000000
486
+#define        WBSCOPE_TRIGGER (WBSCOPE_NO_RESET|0x08000000)
487
+#define        WBSCOPE_MANUAL  WBSCOPE_TRIGGER
488
+#define        WBSCOPE_DISABLE 0x04000000      // Disable the scope trigger
489
+typedef        struct  WBSCOPE_S {
490
+       unsigned        s_ctrl, s_data;
491
+} WBSCOPE;
492
+
493
+typedef        struct  {
494
+       unsigned        r_clock, r_stopwatch, r_timer, r_alarm;
495
+} RTCLIGHT;
496
+
497
+
498
+#define        SD_SETAUX       0x0ff
499
+#define        SD_READAUX      0x0bf
500
+#define        SD_CMD          0x040
501
+#define        SD_FIFO_OP      0x0800  // Read only
502
+#define        SD_WRITEOP      0x0c00  // Write to the FIFO
503
+#define        SD_ALTFIFO      0x1000
504
+#define        SD_BUSY         0x4000
505
+#define        SD_ERROR        0x8000
506
+#define        SD_CLEARERR     0x8000
507
+#define        SD_READ_SECTOR  ((SD_CMD|SD_CLEARERR|SD_FIFO_OP)+17)
508
+#define        SD_WRITE_SECTOR ((SD_CMD|SD_CLEARERR|SD_WRITEOP)+24)
509
+
510
+typedef        struct  {
511
+       unsigned        sd_ctrl, sd_data, sd_fifo[2];
512
+} SDCARD;
513
+
514
+typedef        struct  {
515
+       unsigned        f_ereg, f_config, f_status, f_id;
516
+} FLASHCONTROL;
517
+
518
+
519
+typedef        struct {
520
+       BASICIO         b_io;
521
+       char            _SKIP_TO_SCOPES[(0x040-sizeof(BASICIO))];
522
+       WBSCOPE         b_s[2];
523
+       WBUART          b_uart;
524
+       RTCLIGHT        b_rtc;
525
+       FLASHCONTROL    b_flash;
526
+       SDCARD          b_sd;
527
+} ZIPBASICBOARD;
528
+
529
+#define        PERIPHERAL_ADDR ((ZIPBASICBOARD *)0x100)
530
+
531
+static volatile ZIPBASICBOARD  *const _sys =(PERIPHERAL_ADDR);
532
+
533
+#define        _ZIP_HAS_WBUART
534
+static volatile WBUART         *const _uart   = &(PERIPHERAL_ADDR)->b_uart;
535
+#define        _ZIP_HAS_WBUARTX
536
+#define        _uarttx         _uart->u_tx
537
+#define        _ZIP_HAS_WBUARTRX
538
+#define        _uartrx         _uart->u_rx
539
+#define        _ZIP_HAS_UARTSETUP
540
+#define        _uartsetup      _uart->u_setup
541
+
542
+#define        _ZIP_HAS_RTC
543
+static volatile RTCLIGHT       *const _rtcdev = &(PERIPHERAL_ADDR)->b_rtc;
544
+#define        _ZIP_HAS_RTCDATE
545
+static volatile uint32_t       *const _rtcdate = &((PERIPHERAL_ADDR)->b_io.i_date);
546
+
547
+#define        _ZIP_HAS_SDCARD
548
+static volatile SDCARD         *const _sdcard = &((PERIPHERAL_ADDR)->b_sd);
549
+
550
+#define        SYSTIMER        zip->z_tma
551
+#define        SYSPIC          zip->z_pic
552
+#define        ALTPIC          zip->z_zpic
553
+#define        COUNTER         zip->z_m.ac_ck
554
+
555
+#define        BKRAM   (void *)0
556
+#define        FLASH   (void *)0x01000000
557
+#define        SDRAM   (void *)0x10000000
558
+#define        CLOCKFREQHZ     100000000       // 100 MHz
559
+#define        CLOCKFREQ_HZ    CLOCKFREQHZ
560
+//
561
+#define        MEMLEN          0
562
+#define        FLASHLEN        0x01000000
563
+#define        SDRAMLEN        0x10000000
564
+
565
+// Finally, let's assign some of our interrupts:
566
+//
567
+// We're allowed nine interrupts to the master interrupt controller in the
568
+// ZipSys
569
+#define        SYSINT_PPS      SYSINT(6)
570
+#define        SYSINT_UARTRX   SYSINT(7)
571
+#define        SYSINT_UARTTX   SYSINT(8)
572
+#define        SYSINT_UARTRXF  SYSINT(9)
573
+#define        SYSINT_UARTTXF  SYSINT(10)
574
+#define        SYSINT_SDCARD   SYSINT(11)
575
+#define        SYSINT_FLASH    SYSINT(12)
576
+#define        SYSINT_SCOPE    SYSINT(13)
577
+#define        SYSINT_RTC      SYSINT(14)
578
+
579
+// DMA Interrupt parameters
580
+#define        DMA_ONPPS       DMA_ONINT(6)
581
+#define        DMA_ONUARTRX    DMA_ONINT(7)
582
+#define        DMA_ONUARTTX    DMA_ONINT(8)
583
+#define        DMA_ONUARTRXF   DMA_ONINT(9)
584
+#define        DMA_ONUARTTXF   DMA_ONINT(10)
585
+#define        DMA_ONSDCARD    DMA_ONINT(11)
586
+#define        DMA_ONFLASH     DMA_ONINT(12)
587
+#define        DMA_ONSCOPE     DMA_ONINT(13)
588
+#define        DMA_ONRTC       DMA_ONINT(14)
589
+
590
+#endif
591
+
592
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/bootloader.h newlib-2.5.0-zip/libgloss/zip/bootloader.h
593
--- newlib-2.5.0/libgloss/zip/bootloader.h      1969-12-31 19:00:00.000000000 -0500
594
+++ newlib-2.5.0-zip/libgloss/zip/bootloader.h  2017-01-13 09:54:17.642333099 -0500
595
@@ -0,0 +1,46 @@
596
+////////////////////////////////////////////////////////////////////////////////
597
+//
598
+// Filename:   bootloader.h
599
+//
600
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
601
+//
602
+// Purpose:
603
+//
604
+//
605
+// Creator:    Dan Gisselquist, Ph.D.
606
+//             Gisselquist Technology, LLC
607
+//
608
+////////////////////////////////////////////////////////////////////////////////
609
+//
610
+// Copyright (C) 2015-2016, Gisselquist Technology, LLC
611
+//
612
+// This program is free software (firmware): you can redistribute it and/or
613
+// modify it under the terms of  the GNU General Public License as published
614
+// by the Free Software Foundation, either version 3 of the License, or (at
615
+// your option) any later version.
616
+//
617
+// This program is distributed in the hope that it will be useful, but WITHOUT
618
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
619
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
620
+// for more details.
621
+//
622
+// License:    GPL, v3, as defined and found on www.gnu.org,
623
+//             http://www.gnu.org/licenses/gpl.html
624
+//
625
+//
626
+////////////////////////////////////////////////////////////////////////////////
627
+//
628
+//
629
+#ifndef        BOOTLOADER_H
630
+#define        BOOTLOADER_H
631
+
632
+extern int     _top_of_heap[1], _top_of_stack[1];
633
+
634
+extern int     _sdram[1], _flash[1], _blkram[1];
635
+
636
+extern int     _boot_address[1],
637
+               _kernel_image_start[1], _kernel_image_end[1],
638
+               _sdram_image_start[1], _sdram_image_end[1],
639
+               _bss_image_end[1];
640
+
641
+#endif
642
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/configure newlib-2.5.0-zip/libgloss/zip/configure
643
--- newlib-2.5.0/libgloss/zip/configure 1969-12-31 19:00:00.000000000 -0500
644
+++ newlib-2.5.0-zip/libgloss/zip/configure     2017-01-26 07:40:47.545551439 -0500
645
@@ -0,0 +1,3892 @@
646
+#! /bin/sh
647
+# Guess values for system-dependent variables and create Makefiles.
648
+# Generated by GNU Autoconf 2.68 for libor1k 0.0.1.
649
+#
650
+#
651
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
652
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
653
+# Foundation, Inc.
654
+#
655
+#
656
+# This configure script is free software; the Free Software Foundation
657
+# gives unlimited permission to copy, distribute and modify it.
658
+## -------------------- ##
659
+## M4sh Initialization. ##
660
+## -------------------- ##
661
+
662
+# Be more Bourne compatible
663
+DUALCASE=1; export DUALCASE # for MKS sh
664
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
665
+  emulate sh
666
+  NULLCMD=:
667
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
668
+  # is contrary to our usage.  Disable this feature.
669
+  alias -g '${1+"$@"}'='"$@"'
670
+  setopt NO_GLOB_SUBST
671
+else
672
+  case `(set -o) 2>/dev/null` in #(
673
+  *posix*) :
674
+    set -o posix ;; #(
675
+  *) :
676
+     ;;
677
+esac
678
+fi
679
+
680
+
681
+as_nl='
682
+'
683
+export as_nl
684
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
685
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
686
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
687
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
688
+# Prefer a ksh shell builtin over an external printf program on Solaris,
689
+# but without wasting forks for bash or zsh.
690
+if test -z "$BASH_VERSION$ZSH_VERSION" \
691
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
692
+  as_echo='print -r --'
693
+  as_echo_n='print -rn --'
694
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
695
+  as_echo='printf %s\n'
696
+  as_echo_n='printf %s'
697
+else
698
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
699
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
700
+    as_echo_n='/usr/ucb/echo -n'
701
+  else
702
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
703
+    as_echo_n_body='eval
704
+      arg=$1;
705
+      case $arg in #(
706
+      *"$as_nl"*)
707
+       expr "X$arg" : "X\\(.*\\)$as_nl";
708
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
709
+      esac;
710
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
711
+    '
712
+    export as_echo_n_body
713
+    as_echo_n='sh -c $as_echo_n_body as_echo'
714
+  fi
715
+  export as_echo_body
716
+  as_echo='sh -c $as_echo_body as_echo'
717
+fi
718
+
719
+# The user is always right.
720
+if test "${PATH_SEPARATOR+set}" != set; then
721
+  PATH_SEPARATOR=:
722
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
723
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
724
+      PATH_SEPARATOR=';'
725
+  }
726
+fi
727
+
728
+
729
+# IFS
730
+# We need space, tab and new line, in precisely that order.  Quoting is
731
+# there to prevent editors from complaining about space-tab.
732
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
733
+# splitting by setting IFS to empty value.)
734
+IFS=" ""       $as_nl"
735
+
736
+# Find who we are.  Look in the path if we contain no directory separator.
737
+as_myself=
738
+case $0 in #((
739
+  *[\\/]* ) as_myself=$0 ;;
740
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
741
+for as_dir in $PATH
742
+do
743
+  IFS=$as_save_IFS
744
+  test -z "$as_dir" && as_dir=.
745
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
746
+  done
747
+IFS=$as_save_IFS
748
+
749
+     ;;
750
+esac
751
+# We did not find ourselves, most probably we were run as `sh COMMAND'
752
+# in which case we are not to be found in the path.
753
+if test "x$as_myself" = x; then
754
+  as_myself=$0
755
+fi
756
+if test ! -f "$as_myself"; then
757
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
758
+  exit 1
759
+fi
760
+
761
+# Unset variables that we do not need and which cause bugs (e.g. in
762
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
763
+# suppresses any "Segmentation fault" message there.  '((' could
764
+# trigger a bug in pdksh 5.2.14.
765
+for as_var in BASH_ENV ENV MAIL MAILPATH
766
+do eval test x\${$as_var+set} = xset \
767
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
768
+done
769
+PS1='$ '
770
+PS2='> '
771
+PS4='+ '
772
+
773
+# NLS nuisances.
774
+LC_ALL=C
775
+export LC_ALL
776
+LANGUAGE=C
777
+export LANGUAGE
778
+
779
+# CDPATH.
780
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
781
+
782
+if test "x$CONFIG_SHELL" = x; then
783
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
784
+  emulate sh
785
+  NULLCMD=:
786
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
787
+  # is contrary to our usage.  Disable this feature.
788
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
789
+  setopt NO_GLOB_SUBST
790
+else
791
+  case \`(set -o) 2>/dev/null\` in #(
792
+  *posix*) :
793
+    set -o posix ;; #(
794
+  *) :
795
+     ;;
796
+esac
797
+fi
798
+"
799
+  as_required="as_fn_return () { (exit \$1); }
800
+as_fn_success () { as_fn_return 0; }
801
+as_fn_failure () { as_fn_return 1; }
802
+as_fn_ret_success () { return 0; }
803
+as_fn_ret_failure () { return 1; }
804
+
805
+exitcode=0
806
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
807
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
808
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
809
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
810
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
811
+
812
+else
813
+  exitcode=1; echo positional parameters were not saved.
814
+fi
815
+test x\$exitcode = x0 || exit 1"
816
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
817
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
818
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
819
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
820
+  if (eval "$as_required") 2>/dev/null; then :
821
+  as_have_required=yes
822
+else
823
+  as_have_required=no
824
+fi
825
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
826
+
827
+else
828
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
829
+as_found=false
830
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
831
+do
832
+  IFS=$as_save_IFS
833
+  test -z "$as_dir" && as_dir=.
834
+  as_found=:
835
+  case $as_dir in #(
836
+        /*)
837
+          for as_base in sh bash ksh sh5; do
838
+            # Try only shells that exist, to save several forks.
839
+            as_shell=$as_dir/$as_base
840
+            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
841
+                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
842
+  CONFIG_SHELL=$as_shell as_have_required=yes
843
+                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
844
+  break 2
845
+fi
846
+fi
847
+          done;;
848
+       esac
849
+  as_found=false
850
+done
851
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
852
+             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
853
+  CONFIG_SHELL=$SHELL as_have_required=yes
854
+fi; }
855
+IFS=$as_save_IFS
856
+
857
+
858
+      if test "x$CONFIG_SHELL" != x; then :
859
+  # We cannot yet assume a decent shell, so we have to provide a
860
+       # neutralization value for shells without unset; and this also
861
+       # works around shells that cannot unset nonexistent variables.
862
+       # Preserve -v and -x to the replacement shell.
863
+       BASH_ENV=/dev/null
864
+       ENV=/dev/null
865
+       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
866
+       export CONFIG_SHELL
867
+       case $- in # ((((
868
+         *v*x* | *x*v* ) as_opts=-vx ;;
869
+         *v* ) as_opts=-v ;;
870
+         *x* ) as_opts=-x ;;
871
+         * ) as_opts= ;;
872
+       esac
873
+       exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
874
+fi
875
+
876
+    if test x$as_have_required = xno; then :
877
+  $as_echo "$0: This script requires a shell more modern than all"
878
+  $as_echo "$0: the shells that I found on your system."
879
+  if test x${ZSH_VERSION+set} = xset ; then
880
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
881
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
882
+  else
883
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
884
+$0: including any error possibly output before this
885
+$0: message. Then install a modern shell, or manually run
886
+$0: the script under such a shell if you do have one."
887
+  fi
888
+  exit 1
889
+fi
890
+fi
891
+fi
892
+SHELL=${CONFIG_SHELL-/bin/sh}
893
+export SHELL
894
+# Unset more variables known to interfere with behavior of common tools.
895
+CLICOLOR_FORCE= GREP_OPTIONS=
896
+unset CLICOLOR_FORCE GREP_OPTIONS
897
+
898
+## --------------------- ##
899
+## M4sh Shell Functions. ##
900
+## --------------------- ##
901
+# as_fn_unset VAR
902
+# ---------------
903
+# Portably unset VAR.
904
+as_fn_unset ()
905
+{
906
+  { eval $1=; unset $1;}
907
+}
908
+as_unset=as_fn_unset
909
+
910
+# as_fn_set_status STATUS
911
+# -----------------------
912
+# Set $? to STATUS, without forking.
913
+as_fn_set_status ()
914
+{
915
+  return $1
916
+} # as_fn_set_status
917
+
918
+# as_fn_exit STATUS
919
+# -----------------
920
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
921
+as_fn_exit ()
922
+{
923
+  set +e
924
+  as_fn_set_status $1
925
+  exit $1
926
+} # as_fn_exit
927
+
928
+# as_fn_mkdir_p
929
+# -------------
930
+# Create "$as_dir" as a directory, including parents if necessary.
931
+as_fn_mkdir_p ()
932
+{
933
+
934
+  case $as_dir in #(
935
+  -*) as_dir=./$as_dir;;
936
+  esac
937
+  test -d "$as_dir" || eval $as_mkdir_p || {
938
+    as_dirs=
939
+    while :; do
940
+      case $as_dir in #(
941
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
942
+      *) as_qdir=$as_dir;;
943
+      esac
944
+      as_dirs="'$as_qdir' $as_dirs"
945
+      as_dir=`$as_dirname -- "$as_dir" ||
946
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
947
+        X"$as_dir" : 'X\(//\)[^/]' \| \
948
+        X"$as_dir" : 'X\(//\)$' \| \
949
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
950
+$as_echo X"$as_dir" |
951
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
952
+           s//\1/
953
+           q
954
+         }
955
+         /^X\(\/\/\)[^/].*/{
956
+           s//\1/
957
+           q
958
+         }
959
+         /^X\(\/\/\)$/{
960
+           s//\1/
961
+           q
962
+         }
963
+         /^X\(\/\).*/{
964
+           s//\1/
965
+           q
966
+         }
967
+         s/.*/./; q'`
968
+      test -d "$as_dir" && break
969
+    done
970
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
971
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
972
+
973
+
974
+} # as_fn_mkdir_p
975
+# as_fn_append VAR VALUE
976
+# ----------------------
977
+# Append the text in VALUE to the end of the definition contained in VAR. Take
978
+# advantage of any shell optimizations that allow amortized linear growth over
979
+# repeated appends, instead of the typical quadratic growth present in naive
980
+# implementations.
981
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
982
+  eval 'as_fn_append ()
983
+  {
984
+    eval $1+=\$2
985
+  }'
986
+else
987
+  as_fn_append ()
988
+  {
989
+    eval $1=\$$1\$2
990
+  }
991
+fi # as_fn_append
992
+
993
+# as_fn_arith ARG...
994
+# ------------------
995
+# Perform arithmetic evaluation on the ARGs, and store the result in the
996
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
997
+# must be portable across $(()) and expr.
998
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
999
+  eval 'as_fn_arith ()
1000
+  {
1001
+    as_val=$(( $* ))
1002
+  }'
1003
+else
1004
+  as_fn_arith ()
1005
+  {
1006
+    as_val=`expr "$@" || test $? -eq 1`
1007
+  }
1008
+fi # as_fn_arith
1009
+
1010
+
1011
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
1012
+# ----------------------------------------
1013
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1014
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1015
+# script with STATUS, using 1 if that was 0.
1016
+as_fn_error ()
1017
+{
1018
+  as_status=$1; test $as_status -eq 0 && as_status=1
1019
+  if test "$4"; then
1020
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1021
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1022
+  fi
1023
+  $as_echo "$as_me: error: $2" >&2
1024
+  as_fn_exit $as_status
1025
+} # as_fn_error
1026
+
1027
+if expr a : '\(a\)' >/dev/null 2>&1 &&
1028
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1029
+  as_expr=expr
1030
+else
1031
+  as_expr=false
1032
+fi
1033
+
1034
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1035
+  as_basename=basename
1036
+else
1037
+  as_basename=false
1038
+fi
1039
+
1040
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1041
+  as_dirname=dirname
1042
+else
1043
+  as_dirname=false
1044
+fi
1045
+
1046
+as_me=`$as_basename -- "$0" ||
1047
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1048
+        X"$0" : 'X\(//\)$' \| \
1049
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1050
+$as_echo X/"$0" |
1051
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
1052
+           s//\1/
1053
+           q
1054
+         }
1055
+         /^X\/\(\/\/\)$/{
1056
+           s//\1/
1057
+           q
1058
+         }
1059
+         /^X\/\(\/\).*/{
1060
+           s//\1/
1061
+           q
1062
+         }
1063
+         s/.*/./; q'`
1064
+
1065
+# Avoid depending upon Character Ranges.
1066
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1067
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1068
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1069
+as_cr_digits='0123456789'
1070
+as_cr_alnum=$as_cr_Letters$as_cr_digits
1071
+
1072
+
1073
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
1074
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
1075
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
1076
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
1077
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1078
+  sed -n '
1079
+    p
1080
+    /[$]LINENO/=
1081
+  ' <$as_myself |
1082
+    sed '
1083
+      s/[$]LINENO.*/&-/
1084
+      t lineno
1085
+      b
1086
+      :lineno
1087
+      N
1088
+      :loop
1089
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1090
+      t loop
1091
+      s/-\n.*//
1092
+    ' >$as_me.lineno &&
1093
+  chmod +x "$as_me.lineno" ||
1094
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1095
+
1096
+  # Don't try to exec as it changes $[0], causing all sort of problems
1097
+  # (the dirname of $[0] is not the place where we might find the
1098
+  # original and so on.  Autoconf is especially sensitive to this).
1099
+  . "./$as_me.lineno"
1100
+  # Exit status is that of the last command.
1101
+  exit
1102
+}
1103
+
1104
+ECHO_C= ECHO_N= ECHO_T=
1105
+case `echo -n x` in #(((((
1106
+-n*)
1107
+  case `echo 'xy\c'` in
1108
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1109
+  xy)  ECHO_C='\c';;
1110
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
1111
+       ECHO_T='        ';;
1112
+  esac;;
1113
+*)
1114
+  ECHO_N='-n';;
1115
+esac
1116
+
1117
+rm -f conf$$ conf$$.exe conf$$.file
1118
+if test -d conf$$.dir; then
1119
+  rm -f conf$$.dir/conf$$.file
1120
+else
1121
+  rm -f conf$$.dir
1122
+  mkdir conf$$.dir 2>/dev/null
1123
+fi
1124
+if (echo >conf$$.file) 2>/dev/null; then
1125
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
1126
+    as_ln_s='ln -s'
1127
+    # ... but there are two gotchas:
1128
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1129
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1130
+    # In both cases, we have to default to `cp -p'.
1131
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1132
+      as_ln_s='cp -p'
1133
+  elif ln conf$$.file conf$$ 2>/dev/null; then
1134
+    as_ln_s=ln
1135
+  else
1136
+    as_ln_s='cp -p'
1137
+  fi
1138
+else
1139
+  as_ln_s='cp -p'
1140
+fi
1141
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1142
+rmdir conf$$.dir 2>/dev/null
1143
+
1144
+if mkdir -p . 2>/dev/null; then
1145
+  as_mkdir_p='mkdir -p "$as_dir"'
1146
+else
1147
+  test -d ./-p && rmdir ./-p
1148
+  as_mkdir_p=false
1149
+fi
1150
+
1151
+if test -x / >/dev/null 2>&1; then
1152
+  as_test_x='test -x'
1153
+else
1154
+  if ls -dL / >/dev/null 2>&1; then
1155
+    as_ls_L_option=L
1156
+  else
1157
+    as_ls_L_option=
1158
+  fi
1159
+  as_test_x='
1160
+    eval sh -c '\''
1161
+      if test -d "$1"; then
1162
+       test -d "$1/.";
1163
+      else
1164
+       case $1 in #(
1165
+       -*)set "./$1";;
1166
+       esac;
1167
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1168
+       ???[sx]*):;;*)false;;esac;fi
1169
+    '\'' sh
1170
+  '
1171
+fi
1172
+as_executable_p=$as_test_x
1173
+
1174
+# Sed expression to map a string onto a valid CPP name.
1175
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1176
+
1177
+# Sed expression to map a string onto a valid variable name.
1178
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1179
+
1180
+
1181
+test -n "$DJDIR" || exec 7<&0 </dev/null
1182
+exec 6>&1
1183
+
1184
+# Name of the host.
1185
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1186
+# so uname gets run too.
1187
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1188
+
1189
+#
1190
+# Initializations.
1191
+#
1192
+ac_default_prefix=/usr/local
1193
+ac_clean_files=
1194
+ac_config_libobj_dir=.
1195
+LIBOBJS=
1196
+cross_compiling=no
1197
+subdirs=
1198
+MFLAGS=
1199
+MAKEFLAGS=
1200
+
1201
+# Identity of this package.
1202
+PACKAGE_NAME='libor1k'
1203
+PACKAGE_TARNAME='libor1k'
1204
+PACKAGE_VERSION='0.0.1'
1205
+PACKAGE_STRING='libor1k 0.0.1'
1206
+PACKAGE_BUGREPORT=''
1207
+PACKAGE_URL=''
1208
+
1209
+ac_subst_vars='LTLIBOBJS
1210
+LIBOBJS
1211
+target_makefile_frag_path
1212
+host_makefile_frag_path
1213
+CCASFLAGS
1214
+CCAS
1215
+RANLIB
1216
+LD
1217
+AR
1218
+AS
1219
+am__fastdepCC_FALSE
1220
+am__fastdepCC_TRUE
1221
+CCDEPMODE
1222
+am__nodep
1223
+AMDEPBACKSLASH
1224
+AMDEP_FALSE
1225
+AMDEP_TRUE
1226
+am__quote
1227
+am__include
1228
+DEPDIR
1229
+am__leading_dot
1230
+CC
1231
+INSTALL_DATA
1232
+INSTALL_SCRIPT
1233
+INSTALL_PROGRAM
1234
+target_os
1235
+target_vendor
1236
+target_cpu
1237
+target
1238
+host_os
1239
+host_vendor
1240
+host_cpu
1241
+host
1242
+build_os
1243
+build_vendor
1244
+build_cpu
1245
+build
1246
+target_alias
1247
+host_alias
1248
+build_alias
1249
+LIBS
1250
+ECHO_T
1251
+ECHO_N
1252
+ECHO_C
1253
+DEFS
1254
+mandir
1255
+localedir
1256
+libdir
1257
+psdir
1258
+pdfdir
1259
+dvidir
1260
+htmldir
1261
+infodir
1262
+docdir
1263
+oldincludedir
1264
+includedir
1265
+localstatedir
1266
+sharedstatedir
1267
+sysconfdir
1268
+datadir
1269
+datarootdir
1270
+libexecdir
1271
+sbindir
1272
+bindir
1273
+program_transform_name
1274
+prefix
1275
+exec_prefix
1276
+PACKAGE_URL
1277
+PACKAGE_BUGREPORT
1278
+PACKAGE_STRING
1279
+PACKAGE_VERSION
1280
+PACKAGE_TARNAME
1281
+PACKAGE_NAME
1282
+PATH_SEPARATOR
1283
+SHELL'
1284
+ac_subst_files='host_makefile_frag
1285
+target_makefile_frag'
1286
+ac_user_opts='
1287
+enable_option_checking
1288
+enable_dependency_tracking
1289
+'
1290
+      ac_precious_vars='build_alias
1291
+host_alias
1292
+target_alias
1293
+CCAS
1294
+CCASFLAGS'
1295
+
1296
+
1297
+# Initialize some variables set by options.
1298
+ac_init_help=
1299
+ac_init_version=false
1300
+ac_unrecognized_opts=
1301
+ac_unrecognized_sep=
1302
+# The variables have the same names as the options, with
1303
+# dashes changed to underlines.
1304
+cache_file=/dev/null
1305
+exec_prefix=NONE
1306
+no_create=
1307
+no_recursion=
1308
+prefix=NONE
1309
+program_prefix=NONE
1310
+program_suffix=NONE
1311
+program_transform_name=s,x,x,
1312
+silent=
1313
+site=
1314
+srcdir=
1315
+verbose=
1316
+x_includes=NONE
1317
+x_libraries=NONE
1318
+
1319
+# Installation directory options.
1320
+# These are left unexpanded so users can "make install exec_prefix=/foo"
1321
+# and all the variables that are supposed to be based on exec_prefix
1322
+# by default will actually change.
1323
+# Use braces instead of parens because sh, perl, etc. also accept them.
1324
+# (The list follows the same order as the GNU Coding Standards.)
1325
+bindir='${exec_prefix}/bin'
1326
+sbindir='${exec_prefix}/sbin'
1327
+libexecdir='${exec_prefix}/libexec'
1328
+datarootdir='${prefix}/share'
1329
+datadir='${datarootdir}'
1330
+sysconfdir='${prefix}/etc'
1331
+sharedstatedir='${prefix}/com'
1332
+localstatedir='${prefix}/var'
1333
+includedir='${prefix}/include'
1334
+oldincludedir='/usr/include'
1335
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1336
+infodir='${datarootdir}/info'
1337
+htmldir='${docdir}'
1338
+dvidir='${docdir}'
1339
+pdfdir='${docdir}'
1340
+psdir='${docdir}'
1341
+libdir='${exec_prefix}/lib'
1342
+localedir='${datarootdir}/locale'
1343
+mandir='${datarootdir}/man'
1344
+
1345
+ac_prev=
1346
+ac_dashdash=
1347
+for ac_option
1348
+do
1349
+  # If the previous option needs an argument, assign it.
1350
+  if test -n "$ac_prev"; then
1351
+    eval $ac_prev=\$ac_option
1352
+    ac_prev=
1353
+    continue
1354
+  fi
1355
+
1356
+  case $ac_option in
1357
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1358
+  *=)   ac_optarg= ;;
1359
+  *)    ac_optarg=yes ;;
1360
+  esac
1361
+
1362
+  # Accept the important Cygnus configure options, so we can diagnose typos.
1363
+
1364
+  case $ac_dashdash$ac_option in
1365
+  --)
1366
+    ac_dashdash=yes ;;
1367
+
1368
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1369
+    ac_prev=bindir ;;
1370
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1371
+    bindir=$ac_optarg ;;
1372
+
1373
+  -build | --build | --buil | --bui | --bu)
1374
+    ac_prev=build_alias ;;
1375
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1376
+    build_alias=$ac_optarg ;;
1377
+
1378
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
1379
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1380
+    ac_prev=cache_file ;;
1381
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1382
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1383
+    cache_file=$ac_optarg ;;
1384
+
1385
+  --config-cache | -C)
1386
+    cache_file=config.cache ;;
1387
+
1388
+  -datadir | --datadir | --datadi | --datad)
1389
+    ac_prev=datadir ;;
1390
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1391
+    datadir=$ac_optarg ;;
1392
+
1393
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1394
+  | --dataroo | --dataro | --datar)
1395
+    ac_prev=datarootdir ;;
1396
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1397
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1398
+    datarootdir=$ac_optarg ;;
1399
+
1400
+  -disable-* | --disable-*)
1401
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1402
+    # Reject names that are not valid shell variable names.
1403
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1404
+      as_fn_error $? "invalid feature name: $ac_useropt"
1405
+    ac_useropt_orig=$ac_useropt
1406
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1407
+    case $ac_user_opts in
1408
+      *"
1409
+"enable_$ac_useropt"
1410
+"*) ;;
1411
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1412
+        ac_unrecognized_sep=', ';;
1413
+    esac
1414
+    eval enable_$ac_useropt=no ;;
1415
+
1416
+  -docdir | --docdir | --docdi | --doc | --do)
1417
+    ac_prev=docdir ;;
1418
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1419
+    docdir=$ac_optarg ;;
1420
+
1421
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1422
+    ac_prev=dvidir ;;
1423
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1424
+    dvidir=$ac_optarg ;;
1425
+
1426
+  -enable-* | --enable-*)
1427
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1428
+    # Reject names that are not valid shell variable names.
1429
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1430
+      as_fn_error $? "invalid feature name: $ac_useropt"
1431
+    ac_useropt_orig=$ac_useropt
1432
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1433
+    case $ac_user_opts in
1434
+      *"
1435
+"enable_$ac_useropt"
1436
+"*) ;;
1437
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1438
+        ac_unrecognized_sep=', ';;
1439
+    esac
1440
+    eval enable_$ac_useropt=\$ac_optarg ;;
1441
+
1442
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1443
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1444
+  | --exec | --exe | --ex)
1445
+    ac_prev=exec_prefix ;;
1446
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1447
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1448
+  | --exec=* | --exe=* | --ex=*)
1449
+    exec_prefix=$ac_optarg ;;
1450
+
1451
+  -gas | --gas | --ga | --g)
1452
+    # Obsolete; use --with-gas.
1453
+    with_gas=yes ;;
1454
+
1455
+  -help | --help | --hel | --he | -h)
1456
+    ac_init_help=long ;;
1457
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1458
+    ac_init_help=recursive ;;
1459
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1460
+    ac_init_help=short ;;
1461
+
1462
+  -host | --host | --hos | --ho)
1463
+    ac_prev=host_alias ;;
1464
+  -host=* | --host=* | --hos=* | --ho=*)
1465
+    host_alias=$ac_optarg ;;
1466
+
1467
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1468
+    ac_prev=htmldir ;;
1469
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1470
+  | --ht=*)
1471
+    htmldir=$ac_optarg ;;
1472
+
1473
+  -includedir | --includedir | --includedi | --included | --include \
1474
+  | --includ | --inclu | --incl | --inc)
1475
+    ac_prev=includedir ;;
1476
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1477
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
1478
+    includedir=$ac_optarg ;;
1479
+
1480
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
1481
+    ac_prev=infodir ;;
1482
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1483
+    infodir=$ac_optarg ;;
1484
+
1485
+  -libdir | --libdir | --libdi | --libd)
1486
+    ac_prev=libdir ;;
1487
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1488
+    libdir=$ac_optarg ;;
1489
+
1490
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1491
+  | --libexe | --libex | --libe)
1492
+    ac_prev=libexecdir ;;
1493
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1494
+  | --libexe=* | --libex=* | --libe=*)
1495
+    libexecdir=$ac_optarg ;;
1496
+
1497
+  -localedir | --localedir | --localedi | --localed | --locale)
1498
+    ac_prev=localedir ;;
1499
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1500
+    localedir=$ac_optarg ;;
1501
+
1502
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
1503
+  | --localstate | --localstat | --localsta | --localst | --locals)
1504
+    ac_prev=localstatedir ;;
1505
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1506
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1507
+    localstatedir=$ac_optarg ;;
1508
+
1509
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1510
+    ac_prev=mandir ;;
1511
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1512
+    mandir=$ac_optarg ;;
1513
+
1514
+  -nfp | --nfp | --nf)
1515
+    # Obsolete; use --without-fp.
1516
+    with_fp=no ;;
1517
+
1518
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1519
+  | --no-cr | --no-c | -n)
1520
+    no_create=yes ;;
1521
+
1522
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1523
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1524
+    no_recursion=yes ;;
1525
+
1526
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1527
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1528
+  | --oldin | --oldi | --old | --ol | --o)
1529
+    ac_prev=oldincludedir ;;
1530
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1531
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1532
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1533
+    oldincludedir=$ac_optarg ;;
1534
+
1535
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1536
+    ac_prev=prefix ;;
1537
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1538
+    prefix=$ac_optarg ;;
1539
+
1540
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1541
+  | --program-pre | --program-pr | --program-p)
1542
+    ac_prev=program_prefix ;;
1543
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1544
+  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1545
+    program_prefix=$ac_optarg ;;
1546
+
1547
+  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1548
+  | --program-suf | --program-su | --program-s)
1549
+    ac_prev=program_suffix ;;
1550
+  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1551
+  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1552
+    program_suffix=$ac_optarg ;;
1553
+
1554
+  -program-transform-name | --program-transform-name \
1555
+  | --program-transform-nam | --program-transform-na \
1556
+  | --program-transform-n | --program-transform- \
1557
+  | --program-transform | --program-transfor \
1558
+  | --program-transfo | --program-transf \
1559
+  | --program-trans | --program-tran \
1560
+  | --progr-tra | --program-tr | --program-t)
1561
+    ac_prev=program_transform_name ;;
1562
+  -program-transform-name=* | --program-transform-name=* \
1563
+  | --program-transform-nam=* | --program-transform-na=* \
1564
+  | --program-transform-n=* | --program-transform-=* \
1565
+  | --program-transform=* | --program-transfor=* \
1566
+  | --program-transfo=* | --program-transf=* \
1567
+  | --program-trans=* | --program-tran=* \
1568
+  | --progr-tra=* | --program-tr=* | --program-t=*)
1569
+    program_transform_name=$ac_optarg ;;
1570
+
1571
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1572
+    ac_prev=pdfdir ;;
1573
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1574
+    pdfdir=$ac_optarg ;;
1575
+
1576
+  -psdir | --psdir | --psdi | --psd | --ps)
1577
+    ac_prev=psdir ;;
1578
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1579
+    psdir=$ac_optarg ;;
1580
+
1581
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1582
+  | -silent | --silent | --silen | --sile | --sil)
1583
+    silent=yes ;;
1584
+
1585
+  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1586
+    ac_prev=sbindir ;;
1587
+  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1588
+  | --sbi=* | --sb=*)
1589
+    sbindir=$ac_optarg ;;
1590
+
1591
+  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1592
+  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1593
+  | --sharedst | --shareds | --shared | --share | --shar \
1594
+  | --sha | --sh)
1595
+    ac_prev=sharedstatedir ;;
1596
+  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1597
+  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1598
+  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1599
+  | --sha=* | --sh=*)
1600
+    sharedstatedir=$ac_optarg ;;
1601
+
1602
+  -site | --site | --sit)
1603
+    ac_prev=site ;;
1604
+  -site=* | --site=* | --sit=*)
1605
+    site=$ac_optarg ;;
1606
+
1607
+  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1608
+    ac_prev=srcdir ;;
1609
+  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1610
+    srcdir=$ac_optarg ;;
1611
+
1612
+  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1613
+  | --syscon | --sysco | --sysc | --sys | --sy)
1614
+    ac_prev=sysconfdir ;;
1615
+  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1616
+  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1617
+    sysconfdir=$ac_optarg ;;
1618
+
1619
+  -target | --target | --targe | --targ | --tar | --ta | --t)
1620
+    ac_prev=target_alias ;;
1621
+  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1622
+    target_alias=$ac_optarg ;;
1623
+
1624
+  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1625
+    verbose=yes ;;
1626
+
1627
+  -version | --version | --versio | --versi | --vers | -V)
1628
+    ac_init_version=: ;;
1629
+
1630
+  -with-* | --with-*)
1631
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1632
+    # Reject names that are not valid shell variable names.
1633
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1634
+      as_fn_error $? "invalid package name: $ac_useropt"
1635
+    ac_useropt_orig=$ac_useropt
1636
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1637
+    case $ac_user_opts in
1638
+      *"
1639
+"with_$ac_useropt"
1640
+"*) ;;
1641
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1642
+        ac_unrecognized_sep=', ';;
1643
+    esac
1644
+    eval with_$ac_useropt=\$ac_optarg ;;
1645
+
1646
+  -without-* | --without-*)
1647
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1648
+    # Reject names that are not valid shell variable names.
1649
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1650
+      as_fn_error $? "invalid package name: $ac_useropt"
1651
+    ac_useropt_orig=$ac_useropt
1652
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1653
+    case $ac_user_opts in
1654
+      *"
1655
+"with_$ac_useropt"
1656
+"*) ;;
1657
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1658
+        ac_unrecognized_sep=', ';;
1659
+    esac
1660
+    eval with_$ac_useropt=no ;;
1661
+
1662
+  --x)
1663
+    # Obsolete; use --with-x.
1664
+    with_x=yes ;;
1665
+
1666
+  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1667
+  | --x-incl | --x-inc | --x-in | --x-i)
1668
+    ac_prev=x_includes ;;
1669
+  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1670
+  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1671
+    x_includes=$ac_optarg ;;
1672
+
1673
+  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1674
+  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1675
+    ac_prev=x_libraries ;;
1676
+  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1677
+  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1678
+    x_libraries=$ac_optarg ;;
1679
+
1680
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1681
+Try \`$0 --help' for more information"
1682
+    ;;
1683
+
1684
+  *=*)
1685
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1686
+    # Reject names that are not valid shell variable names.
1687
+    case $ac_envvar in #(
1688
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
1689
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1690
+    esac
1691
+    eval $ac_envvar=\$ac_optarg
1692
+    export $ac_envvar ;;
1693
+
1694
+  *)
1695
+    # FIXME: should be removed in autoconf 3.0.
1696
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1697
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1698
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1699
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1700
+    ;;
1701
+
1702
+  esac
1703
+done
1704
+
1705
+if test -n "$ac_prev"; then
1706
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1707
+  as_fn_error $? "missing argument to $ac_option"
1708
+fi
1709
+
1710
+if test -n "$ac_unrecognized_opts"; then
1711
+  case $enable_option_checking in
1712
+    no) ;;
1713
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1714
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1715
+  esac
1716
+fi
1717
+
1718
+# Check all directory arguments for consistency.
1719
+for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
1720
+               datadir sysconfdir sharedstatedir localstatedir includedir \
1721
+               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1722
+               libdir localedir mandir
1723
+do
1724
+  eval ac_val=\$$ac_var
1725
+  # Remove trailing slashes.
1726
+  case $ac_val in
1727
+    */ )
1728
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1729
+      eval $ac_var=\$ac_val;;
1730
+  esac
1731
+  # Be sure to have absolute directory names.
1732
+  case $ac_val in
1733
+    [\\/$]* | ?:[\\/]* )  continue;;
1734
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1735
+  esac
1736
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1737
+done
1738
+
1739
+# There might be people who depend on the old broken behavior: `$host'
1740
+# used to hold the argument of --host etc.
1741
+# FIXME: To remove some day.
1742
+build=$build_alias
1743
+host=$host_alias
1744
+target=$target_alias
1745
+
1746
+# FIXME: To remove some day.
1747
+if test "x$host_alias" != x; then
1748
+  if test "x$build_alias" = x; then
1749
+    cross_compiling=maybe
1750
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1751
+    If a cross compiler is detected then cross compile mode will be used" >&2
1752
+  elif test "x$build_alias" != "x$host_alias"; then
1753
+    cross_compiling=yes
1754
+  fi
1755
+fi
1756
+
1757
+ac_tool_prefix=
1758
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1759
+
1760
+test "$silent" = yes && exec 6>/dev/null
1761
+
1762
+
1763
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1764
+ac_ls_di=`ls -di .` &&
1765
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1766
+  as_fn_error $? "working directory cannot be determined"
1767
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1768
+  as_fn_error $? "pwd does not report name of working directory"
1769
+
1770
+
1771
+# Find the source files, if location was not specified.
1772
+if test -z "$srcdir"; then
1773
+  ac_srcdir_defaulted=yes
1774
+  # Try the directory containing this script, then the parent directory.
1775
+  ac_confdir=`$as_dirname -- "$as_myself" ||
1776
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1777
+        X"$as_myself" : 'X\(//\)[^/]' \| \
1778
+        X"$as_myself" : 'X\(//\)$' \| \
1779
+        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1780
+$as_echo X"$as_myself" |
1781
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1782
+           s//\1/
1783
+           q
1784
+         }
1785
+         /^X\(\/\/\)[^/].*/{
1786
+           s//\1/
1787
+           q
1788
+         }
1789
+         /^X\(\/\/\)$/{
1790
+           s//\1/
1791
+           q
1792
+         }
1793
+         /^X\(\/\).*/{
1794
+           s//\1/
1795
+           q
1796
+         }
1797
+         s/.*/./; q'`
1798
+  srcdir=$ac_confdir
1799
+  if test ! -r "$srcdir/$ac_unique_file"; then
1800
+    srcdir=..
1801
+  fi
1802
+else
1803
+  ac_srcdir_defaulted=no
1804
+fi
1805
+if test ! -r "$srcdir/$ac_unique_file"; then
1806
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1807
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1808
+fi
1809
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1810
+ac_abs_confdir=`(
1811
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1812
+       pwd)`
1813
+# When building in place, set srcdir=.
1814
+if test "$ac_abs_confdir" = "$ac_pwd"; then
1815
+  srcdir=.
1816
+fi
1817
+# Remove unnecessary trailing slashes from srcdir.
1818
+# Double slashes in file names in object file debugging info
1819
+# mess up M-x gdb in Emacs.
1820
+case $srcdir in
1821
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1822
+esac
1823
+for ac_var in $ac_precious_vars; do
1824
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1825
+  eval ac_env_${ac_var}_value=\$${ac_var}
1826
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1827
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1828
+done
1829
+
1830
+#
1831
+# Report the --help message.
1832
+#
1833
+if test "$ac_init_help" = "long"; then
1834
+  # Omit some internal or obsolete options to make the list less imposing.
1835
+  # This message is too long to be a string in the A/UX 3.1 sh.
1836
+  cat <<_ACEOF
1837
+\`configure' configures libor1k 0.0.1 to adapt to many kinds of systems.
1838
+
1839
+Usage: $0 [OPTION]... [VAR=VALUE]...
1840
+
1841
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1842
+VAR=VALUE.  See below for descriptions of some of the useful variables.
1843
+
1844
+Defaults for the options are specified in brackets.
1845
+
1846
+Configuration:
1847
+  -h, --help              display this help and exit
1848
+      --help=short        display options specific to this package
1849
+      --help=recursive    display the short help of all the included packages
1850
+  -V, --version           display version information and exit
1851
+  -q, --quiet, --silent   do not print \`checking ...' messages
1852
+      --cache-file=FILE   cache test results in FILE [disabled]
1853
+  -C, --config-cache      alias for \`--cache-file=config.cache'
1854
+  -n, --no-create         do not create output files
1855
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1856
+
1857
+Installation directories:
1858
+  --prefix=PREFIX         install architecture-independent files in PREFIX
1859
+                          [$ac_default_prefix]
1860
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1861
+                          [PREFIX]
1862
+
1863
+By default, \`make install' will install all the files in
1864
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1865
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1866
+for instance \`--prefix=\$HOME'.
1867
+
1868
+For better control, use the options below.
1869
+
1870
+Fine tuning of the installation directories:
1871
+  --bindir=DIR            user executables [EPREFIX/bin]
1872
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1873
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
1874
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1875
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1876
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1877
+  --libdir=DIR            object code libraries [EPREFIX/lib]
1878
+  --includedir=DIR        C header files [PREFIX/include]
1879
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1880
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1881
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1882
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
1883
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1884
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
1885
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/libor1k]
1886
+  --htmldir=DIR           html documentation [DOCDIR]
1887
+  --dvidir=DIR            dvi documentation [DOCDIR]
1888
+  --pdfdir=DIR            pdf documentation [DOCDIR]
1889
+  --psdir=DIR             ps documentation [DOCDIR]
1890
+_ACEOF
1891
+
1892
+  cat <<\_ACEOF
1893
+
1894
+Program names:
1895
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
1896
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
1897
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1898
+
1899
+System types:
1900
+  --build=BUILD     configure for building on BUILD [guessed]
1901
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1902
+  --target=TARGET   configure for building compilers for TARGET [HOST]
1903
+_ACEOF
1904
+fi
1905
+
1906
+if test -n "$ac_init_help"; then
1907
+  case $ac_init_help in
1908
+     short | recursive ) echo "Configuration of libor1k 0.0.1:";;
1909
+   esac
1910
+  cat <<\_ACEOF
1911
+
1912
+Optional Features:
1913
+  --disable-option-checking  ignore unrecognized --enable/--with options
1914
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1915
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1916
+  --disable-dependency-tracking  speeds up one-time build
1917
+  --enable-dependency-tracking   do not reject slow dependency extractors
1918
+
1919
+Some influential environment variables:
1920
+  CCAS        assembler compiler command (defaults to CC)
1921
+  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1922
+
1923
+Use these variables to override the choices made by `configure' or to help
1924
+it to find libraries and programs with nonstandard names/locations.
1925
+
1926
+Report bugs to the package provider.
1927
+_ACEOF
1928
+ac_status=$?
1929
+fi
1930
+
1931
+if test "$ac_init_help" = "recursive"; then
1932
+  # If there are subdirs, report their specific --help.
1933
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1934
+    test -d "$ac_dir" ||
1935
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1936
+      continue
1937
+    ac_builddir=.
1938
+
1939
+case "$ac_dir" in
1940
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1941
+*)
1942
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1943
+  # A ".." for each directory in $ac_dir_suffix.
1944
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1945
+  case $ac_top_builddir_sub in
1946
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1947
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1948
+  esac ;;
1949
+esac
1950
+ac_abs_top_builddir=$ac_pwd
1951
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1952
+# for backward compatibility:
1953
+ac_top_builddir=$ac_top_build_prefix
1954
+
1955
+case $srcdir in
1956
+  .)  # We are building in place.
1957
+    ac_srcdir=.
1958
+    ac_top_srcdir=$ac_top_builddir_sub
1959
+    ac_abs_top_srcdir=$ac_pwd ;;
1960
+  [\\/]* | ?:[\\/]* )  # Absolute name.
1961
+    ac_srcdir=$srcdir$ac_dir_suffix;
1962
+    ac_top_srcdir=$srcdir
1963
+    ac_abs_top_srcdir=$srcdir ;;
1964
+  *) # Relative name.
1965
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1966
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
1967
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1968
+esac
1969
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1970
+
1971
+    cd "$ac_dir" || { ac_status=$?; continue; }
1972
+    # Check for guested configure.
1973
+    if test -f "$ac_srcdir/configure.gnu"; then
1974
+      echo &&
1975
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1976
+    elif test -f "$ac_srcdir/configure"; then
1977
+      echo &&
1978
+      $SHELL "$ac_srcdir/configure" --help=recursive
1979
+    else
1980
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1981
+    fi || ac_status=$?
1982
+    cd "$ac_pwd" || { ac_status=$?; break; }
1983
+  done
1984
+fi
1985
+
1986
+test -n "$ac_init_help" && exit $ac_status
1987
+if $ac_init_version; then
1988
+  cat <<\_ACEOF
1989
+libor1k configure 0.0.1
1990
+generated by GNU Autoconf 2.68
1991
+
1992
+Copyright (C) 2010 Free Software Foundation, Inc.
1993
+This configure script is free software; the Free Software Foundation
1994
+gives unlimited permission to copy, distribute and modify it.
1995
+_ACEOF
1996
+  exit
1997
+fi
1998
+
1999
+## ------------------------ ##
2000
+## Autoconf initialization. ##
2001
+## ------------------------ ##
2002
+
2003
+# ac_fn_c_try_compile LINENO
2004
+# --------------------------
2005
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
2006
+ac_fn_c_try_compile ()
2007
+{
2008
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009
+  rm -f conftest.$ac_objext
2010
+  if { { ac_try="$ac_compile"
2011
+case "(($ac_try" in
2012
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2013
+  *) ac_try_echo=$ac_try;;
2014
+esac
2015
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016
+$as_echo "$ac_try_echo"; } >&5
2017
+  (eval "$ac_compile") 2>conftest.err
2018
+  ac_status=$?
2019
+  if test -s conftest.err; then
2020
+    grep -v '^ *+' conftest.err >conftest.er1
2021
+    cat conftest.er1 >&5
2022
+    mv -f conftest.er1 conftest.err
2023
+  fi
2024
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025
+  test $ac_status = 0; } && {
2026
+        test -z "$ac_c_werror_flag" ||
2027
+        test ! -s conftest.err
2028
+       } && test -s conftest.$ac_objext; then :
2029
+  ac_retval=0
2030
+else
2031
+  $as_echo "$as_me: failed program was:" >&5
2032
+sed 's/^/| /' conftest.$ac_ext >&5
2033
+
2034
+       ac_retval=1
2035
+fi
2036
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2037
+  as_fn_set_status $ac_retval
2038
+
2039
+} # ac_fn_c_try_compile
2040
+cat >config.log <<_ACEOF
2041
+This file contains any messages produced by compilers while
2042
+running configure, to aid debugging if configure makes a mistake.
2043
+
2044
+It was created by libor1k $as_me 0.0.1, which was
2045
+generated by GNU Autoconf 2.68.  Invocation command line was
2046
+
2047
+  $ $0 $@
2048
+
2049
+_ACEOF
2050
+exec 5>>config.log
2051
+{
2052
+cat <<_ASUNAME
2053
+## --------- ##
2054
+## Platform. ##
2055
+## --------- ##
2056
+
2057
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
2062
+
2063
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2065
+
2066
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2067
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2068
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2070
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2071
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2072
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2073
+
2074
+_ASUNAME
2075
+
2076
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077
+for as_dir in $PATH
2078
+do
2079
+  IFS=$as_save_IFS
2080
+  test -z "$as_dir" && as_dir=.
2081
+    $as_echo "PATH: $as_dir"
2082
+  done
2083
+IFS=$as_save_IFS
2084
+
2085
+} >&5
2086
+
2087
+cat >&5 <<_ACEOF
2088
+
2089
+
2090
+## ----------- ##
2091
+## Core tests. ##
2092
+## ----------- ##
2093
+
2094
+_ACEOF
2095
+
2096
+
2097
+# Keep a trace of the command line.
2098
+# Strip out --no-create and --no-recursion so they do not pile up.
2099
+# Strip out --silent because we don't want to record it for future runs.
2100
+# Also quote any args containing shell meta-characters.
2101
+# Make two passes to allow for proper duplicate-argument suppression.
2102
+ac_configure_args=
2103
+ac_configure_args0=
2104
+ac_configure_args1=
2105
+ac_must_keep_next=false
2106
+for ac_pass in 1 2
2107
+do
2108
+  for ac_arg
2109
+  do
2110
+    case $ac_arg in
2111
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2112
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2113
+    | -silent | --silent | --silen | --sile | --sil)
2114
+      continue ;;
2115
+    *\'*)
2116
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2117
+    esac
2118
+    case $ac_pass in
2119
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2120
+    2)
2121
+      as_fn_append ac_configure_args1 " '$ac_arg'"
2122
+      if test $ac_must_keep_next = true; then
2123
+       ac_must_keep_next=false # Got value, back to normal.
2124
+      else
2125
+       case $ac_arg in
2126
+         *=* | --config-cache | -C | -disable-* | --disable-* \
2127
+         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2128
+         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2129
+         | -with-* | --with-* | -without-* | --without-* | --x)
2130
+           case "$ac_configure_args0 " in
2131
+             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2132
+           esac
2133
+           ;;
2134
+         -* ) ac_must_keep_next=true ;;
2135
+       esac
2136
+      fi
2137
+      as_fn_append ac_configure_args " '$ac_arg'"
2138
+      ;;
2139
+    esac
2140
+  done
2141
+done
2142
+{ ac_configure_args0=; unset ac_configure_args0;}
2143
+{ ac_configure_args1=; unset ac_configure_args1;}
2144
+
2145
+# When interrupted or exit'd, cleanup temporary files, and complete
2146
+# config.log.  We remove comments because anyway the quotes in there
2147
+# would cause problems or look ugly.
2148
+# WARNING: Use '\'' to represent an apostrophe within the trap.
2149
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2150
+trap 'exit_status=$?
2151
+  # Save into config.log some information that might help in debugging.
2152
+  {
2153
+    echo
2154
+
2155
+    $as_echo "## ---------------- ##
2156
+## Cache variables. ##
2157
+## ---------------- ##"
2158
+    echo
2159
+    # The following way of writing the cache mishandles newlines in values,
2160
+(
2161
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2162
+    eval ac_val=\$$ac_var
2163
+    case $ac_val in #(
2164
+    *${as_nl}*)
2165
+      case $ac_var in #(
2166
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2167
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2168
+      esac
2169
+      case $ac_var in #(
2170
+      _ | IFS | as_nl) ;; #(
2171
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2172
+      *) { eval $ac_var=; unset $ac_var;} ;;
2173
+      esac ;;
2174
+    esac
2175
+  done
2176
+  (set) 2>&1 |
2177
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2178
+    *${as_nl}ac_space=\ *)
2179
+      sed -n \
2180
+       "s/'\''/'\''\\\\'\'''\''/g;
2181
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2182
+      ;; #(
2183
+    *)
2184
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2185
+      ;;
2186
+    esac |
2187
+    sort
2188
+)
2189
+    echo
2190
+
2191
+    $as_echo "## ----------------- ##
2192
+## Output variables. ##
2193
+## ----------------- ##"
2194
+    echo
2195
+    for ac_var in $ac_subst_vars
2196
+    do
2197
+      eval ac_val=\$$ac_var
2198
+      case $ac_val in
2199
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200
+      esac
2201
+      $as_echo "$ac_var='\''$ac_val'\''"
2202
+    done | sort
2203
+    echo
2204
+
2205
+    if test -n "$ac_subst_files"; then
2206
+      $as_echo "## ------------------- ##
2207
+## File substitutions. ##
2208
+## ------------------- ##"
2209
+      echo
2210
+      for ac_var in $ac_subst_files
2211
+      do
2212
+       eval ac_val=\$$ac_var
2213
+       case $ac_val in
2214
+       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2215
+       esac
2216
+       $as_echo "$ac_var='\''$ac_val'\''"
2217
+      done | sort
2218
+      echo
2219
+    fi
2220
+
2221
+    if test -s confdefs.h; then
2222
+      $as_echo "## ----------- ##
2223
+## confdefs.h. ##
2224
+## ----------- ##"
2225
+      echo
2226
+      cat confdefs.h
2227
+      echo
2228
+    fi
2229
+    test "$ac_signal" != 0 &&
2230
+      $as_echo "$as_me: caught signal $ac_signal"
2231
+    $as_echo "$as_me: exit $exit_status"
2232
+  } >&5
2233
+  rm -f core *.core core.conftest.* &&
2234
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2235
+    exit $exit_status
2236
+' 0
2237
+for ac_signal in 1 2 13 15; do
2238
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2239
+done
2240
+ac_signal=0
2241
+
2242
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
2243
+rm -f -r conftest* confdefs.h
2244
+
2245
+$as_echo "/* confdefs.h */" > confdefs.h
2246
+
2247
+# Predefined preprocessor variables.
2248
+
2249
+cat >>confdefs.h <<_ACEOF
2250
+#define PACKAGE_NAME "$PACKAGE_NAME"
2251
+_ACEOF
2252
+
2253
+cat >>confdefs.h <<_ACEOF
2254
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2255
+_ACEOF
2256
+
2257
+cat >>confdefs.h <<_ACEOF
2258
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
2259
+_ACEOF
2260
+
2261
+cat >>confdefs.h <<_ACEOF
2262
+#define PACKAGE_STRING "$PACKAGE_STRING"
2263
+_ACEOF
2264
+
2265
+cat >>confdefs.h <<_ACEOF
2266
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267
+_ACEOF
2268
+
2269
+cat >>confdefs.h <<_ACEOF
2270
+#define PACKAGE_URL "$PACKAGE_URL"
2271
+_ACEOF
2272
+
2273
+
2274
+# Let the site file select an alternate cache file if it wants to.
2275
+# Prefer an explicitly selected file to automatically selected ones.
2276
+ac_site_file1=NONE
2277
+ac_site_file2=NONE
2278
+if test -n "$CONFIG_SITE"; then
2279
+  # We do not want a PATH search for config.site.
2280
+  case $CONFIG_SITE in #((
2281
+    -*)  ac_site_file1=./$CONFIG_SITE;;
2282
+    */*) ac_site_file1=$CONFIG_SITE;;
2283
+    *)   ac_site_file1=./$CONFIG_SITE;;
2284
+  esac
2285
+elif test "x$prefix" != xNONE; then
2286
+  ac_site_file1=$prefix/share/config.site
2287
+  ac_site_file2=$prefix/etc/config.site
2288
+else
2289
+  ac_site_file1=$ac_default_prefix/share/config.site
2290
+  ac_site_file2=$ac_default_prefix/etc/config.site
2291
+fi
2292
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2293
+do
2294
+  test "x$ac_site_file" = xNONE && continue
2295
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2296
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2297
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2298
+    sed 's/^/| /' "$ac_site_file" >&5
2299
+    . "$ac_site_file" \
2300
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2301
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302
+as_fn_error $? "failed to load site script $ac_site_file
2303
+See \`config.log' for more details" "$LINENO" 5; }
2304
+  fi
2305
+done
2306
+
2307
+if test -r "$cache_file"; then
2308
+  # Some versions of bash will fail to source /dev/null (special files
2309
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2310
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2311
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2312
+$as_echo "$as_me: loading cache $cache_file" >&6;}
2313
+    case $cache_file in
2314
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2315
+      *)                      . "./$cache_file";;
2316
+    esac
2317
+  fi
2318
+else
2319
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2320
+$as_echo "$as_me: creating cache $cache_file" >&6;}
2321
+  >$cache_file
2322
+fi
2323
+
2324
+# Check that the precious variables saved in the cache have kept the same
2325
+# value.
2326
+ac_cache_corrupted=false
2327
+for ac_var in $ac_precious_vars; do
2328
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2329
+  eval ac_new_set=\$ac_env_${ac_var}_set
2330
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2331
+  eval ac_new_val=\$ac_env_${ac_var}_value
2332
+  case $ac_old_set,$ac_new_set in
2333
+    set,)
2334
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2335
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2336
+      ac_cache_corrupted=: ;;
2337
+    ,set)
2338
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2339
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2340
+      ac_cache_corrupted=: ;;
2341
+    ,);;
2342
+    *)
2343
+      if test "x$ac_old_val" != "x$ac_new_val"; then
2344
+       # differences in whitespace do not lead to failure.
2345
+       ac_old_val_w=`echo x $ac_old_val`
2346
+       ac_new_val_w=`echo x $ac_new_val`
2347
+       if test "$ac_old_val_w" != "$ac_new_val_w"; then
2348
+         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2349
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2350
+         ac_cache_corrupted=:
2351
+       else
2352
+         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2353
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2354
+         eval $ac_var=\$ac_old_val
2355
+       fi
2356
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2357
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2358
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2359
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2360
+      fi;;
2361
+  esac
2362
+  # Pass precious variables to config.status.
2363
+  if test "$ac_new_set" = set; then
2364
+    case $ac_new_val in
2365
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2366
+    *) ac_arg=$ac_var=$ac_new_val ;;
2367
+    esac
2368
+    case " $ac_configure_args " in
2369
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2370
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2371
+    esac
2372
+  fi
2373
+done
2374
+if $ac_cache_corrupted; then
2375
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2378
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2379
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2380
+fi
2381
+## -------------------- ##
2382
+## Main body of script. ##
2383
+## -------------------- ##
2384
+
2385
+ac_ext=c
2386
+ac_cpp='$CPP $CPPFLAGS'
2387
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2388
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2389
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2390
+
2391
+
2392
+
2393
+# No shared libraries allowed
2394
+if test "${enable_shared}" = "yes" ; then
2395
+    echo "Shared libraries not supported for cross compiling, ignored"
2396
+fi
2397
+
2398
+# Where are the auxillary tools (confg.sub etc)?
2399
+if test "$srcdir" = "." ; then
2400
+  if test "${with_target_subdir}" != "." ; then
2401
+    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
2402
+  else
2403
+    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
2404
+  fi
2405
+else
2406
+  libgloss_topdir="${srcdir}/../.."
2407
+fi
2408
+ac_aux_dir=
2409
+for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
2410
+  if test -f "$ac_dir/install-sh"; then
2411
+    ac_aux_dir=$ac_dir
2412
+    ac_install_sh="$ac_aux_dir/install-sh -c"
2413
+    break
2414
+  elif test -f "$ac_dir/install.sh"; then
2415
+    ac_aux_dir=$ac_dir
2416
+    ac_install_sh="$ac_aux_dir/install.sh -c"
2417
+    break
2418
+  elif test -f "$ac_dir/shtool"; then
2419
+    ac_aux_dir=$ac_dir
2420
+    ac_install_sh="$ac_aux_dir/shtool install -c"
2421
+    break
2422
+  fi
2423
+done
2424
+if test -z "$ac_aux_dir"; then
2425
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
2426
+fi
2427
+
2428
+# These three variables are undocumented and unsupported,
2429
+# and are intended to be withdrawn in a future Autoconf release.
2430
+# They can cause serious problems if a builder's source tree is in a directory
2431
+# whose full name contains unusual characters.
2432
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2433
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2434
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2435
+
2436
+
2437
+
2438
+# Make sure we can run config.sub.
2439
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2440
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2441
+
2442
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2443
+$as_echo_n "checking build system type... " >&6; }
2444
+if ${ac_cv_build+:} false; then :
2445
+  $as_echo_n "(cached) " >&6
2446
+else
2447
+  ac_build_alias=$build_alias
2448
+test "x$ac_build_alias" = x &&
2449
+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2450
+test "x$ac_build_alias" = x &&
2451
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2452
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2453
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2454
+
2455
+fi
2456
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2457
+$as_echo "$ac_cv_build" >&6; }
2458
+case $ac_cv_build in
2459
+*-*-*) ;;
2460
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2461
+esac
2462
+build=$ac_cv_build
2463
+ac_save_IFS=$IFS; IFS='-'
2464
+set x $ac_cv_build
2465
+shift
2466
+build_cpu=$1
2467
+build_vendor=$2
2468
+shift; shift
2469
+# Remember, the first character of IFS is used to create $*,
2470
+# except with old shells:
2471
+build_os=$*
2472
+IFS=$ac_save_IFS
2473
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2474
+
2475
+
2476
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2477
+$as_echo_n "checking host system type... " >&6; }
2478
+if ${ac_cv_host+:} false; then :
2479
+  $as_echo_n "(cached) " >&6
2480
+else
2481
+  if test "x$host_alias" = x; then
2482
+  ac_cv_host=$ac_cv_build
2483
+else
2484
+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2485
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2486
+fi
2487
+
2488
+fi
2489
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2490
+$as_echo "$ac_cv_host" >&6; }
2491
+case $ac_cv_host in
2492
+*-*-*) ;;
2493
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2494
+esac
2495
+host=$ac_cv_host
2496
+ac_save_IFS=$IFS; IFS='-'
2497
+set x $ac_cv_host
2498
+shift
2499
+host_cpu=$1
2500
+host_vendor=$2
2501
+shift; shift
2502
+# Remember, the first character of IFS is used to create $*,
2503
+# except with old shells:
2504
+host_os=$*
2505
+IFS=$ac_save_IFS
2506
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2507
+
2508
+
2509
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2510
+$as_echo_n "checking target system type... " >&6; }
2511
+if ${ac_cv_target+:} false; then :
2512
+  $as_echo_n "(cached) " >&6
2513
+else
2514
+  if test "x$target_alias" = x; then
2515
+  ac_cv_target=$ac_cv_host
2516
+else
2517
+  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2518
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2519
+fi
2520
+
2521
+fi
2522
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2523
+$as_echo "$ac_cv_target" >&6; }
2524
+case $ac_cv_target in
2525
+*-*-*) ;;
2526
+*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2527
+esac
2528
+target=$ac_cv_target
2529
+ac_save_IFS=$IFS; IFS='-'
2530
+set x $ac_cv_target
2531
+shift
2532
+target_cpu=$1
2533
+target_vendor=$2
2534
+shift; shift
2535
+# Remember, the first character of IFS is used to create $*,
2536
+# except with old shells:
2537
+target_os=$*
2538
+IFS=$ac_save_IFS
2539
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540
+
2541
+
2542
+# The aliases save the names the user supplied, while $host etc.
2543
+# will get canonicalized.
2544
+test -n "$target_alias" &&
2545
+  test "$program_prefix$program_suffix$program_transform_name" = \
2546
+    NONENONEs,x,x, &&
2547
+  program_prefix=${target_alias}-
2548
+
2549
+test "$program_prefix" != NONE &&
2550
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2551
+# Use a double $ so make ignores it.
2552
+test "$program_suffix" != NONE &&
2553
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2554
+# Double any \ or $.
2555
+# By default was `s,x,x', remove it if useless.
2556
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2557
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2558
+
2559
+
2560
+# Find a good install program.  We prefer a C program (faster),
2561
+# so one script is as good as another.  But avoid the broken or
2562
+# incompatible versions:
2563
+# SysV /etc/install, /usr/sbin/install
2564
+# SunOS /usr/etc/install
2565
+# IRIX /sbin/install
2566
+# AIX /bin/install
2567
+# AmigaOS /C/install, which installs bootblocks on floppy discs
2568
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2569
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2570
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2571
+# OS/2's system install, which has a completely different semantic
2572
+# ./install, which can be erroneously created by make from ./install.sh.
2573
+# Reject install programs that cannot install multiple files.
2574
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2575
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
2576
+if test -z "$INSTALL"; then
2577
+if ${ac_cv_path_install+:} false; then :
2578
+  $as_echo_n "(cached) " >&6
2579
+else
2580
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581
+for as_dir in $PATH
2582
+do
2583
+  IFS=$as_save_IFS
2584
+  test -z "$as_dir" && as_dir=.
2585
+    # Account for people who put trailing slashes in PATH elements.
2586
+case $as_dir/ in #((
2587
+  ./ | .// | /[cC]/* | \
2588
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2589
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2590
+  /usr/ucb/* ) ;;
2591
+  *)
2592
+    # OSF1 and SCO ODT 3.0 have their own names for install.
2593
+    # Don't use installbsd from OSF since it installs stuff as root
2594
+    # by default.
2595
+    for ac_prog in ginstall scoinst install; do
2596
+      for ac_exec_ext in '' $ac_executable_extensions; do
2597
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2598
+         if test $ac_prog = install &&
2599
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2600
+           # AIX install.  It has an incompatible calling convention.
2601
+           :
2602
+         elif test $ac_prog = install &&
2603
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2604
+           # program-specific install script used by HP pwplus--don't use.
2605
+           :
2606
+         else
2607
+           rm -rf conftest.one conftest.two conftest.dir
2608
+           echo one > conftest.one
2609
+           echo two > conftest.two
2610
+           mkdir conftest.dir
2611
+           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2612
+             test -s conftest.one && test -s conftest.two &&
2613
+             test -s conftest.dir/conftest.one &&
2614
+             test -s conftest.dir/conftest.two
2615
+           then
2616
+             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2617
+             break 3
2618
+           fi
2619
+         fi
2620
+       fi
2621
+      done
2622
+    done
2623
+    ;;
2624
+esac
2625
+
2626
+  done
2627
+IFS=$as_save_IFS
2628
+
2629
+rm -rf conftest.one conftest.two conftest.dir
2630
+
2631
+fi
2632
+  if test "${ac_cv_path_install+set}" = set; then
2633
+    INSTALL=$ac_cv_path_install
2634
+  else
2635
+    # As a last resort, use the slow shell script.  Don't cache a
2636
+    # value for INSTALL within a source directory, because that will
2637
+    # break other packages using the cache if that directory is
2638
+    # removed, or if the value is a relative name.
2639
+    INSTALL=$ac_install_sh
2640
+  fi
2641
+fi
2642
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2643
+$as_echo "$INSTALL" >&6; }
2644
+
2645
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2646
+# It thinks the first close brace ends the variable substitution.
2647
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2648
+
2649
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2650
+
2651
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2652
+
2653
+
2654
+
2655
+$as_echo "#define HAVE_GNU_LD 1" >>confdefs.h
2656
+
2657
+
2658
+# We always use ELF, define various useful associated things.
2659
+
2660
+$as_echo "#define HAVE_ELF 1" >>confdefs.h
2661
+
2662
+
2663
+# Standard stuff copied from libnosys. For this we'll need to an aclocal.m4
2664
+rm -rf .tst 2>/dev/null
2665
+mkdir .tst 2>/dev/null
2666
+if test -d .tst; then
2667
+  am__leading_dot=.
2668
+else
2669
+  am__leading_dot=_
2670
+fi
2671
+rmdir .tst 2>/dev/null
2672
+
2673
+DEPDIR="${am__leading_dot}deps"
2674
+
2675
+ac_config_commands="$ac_config_commands depfiles"
2676
+
2677
+
2678
+am_make=${MAKE-make}
2679
+cat > confinc << 'END'
2680
+am__doit:
2681
+       @echo this is the am__doit target
2682
+.PHONY: am__doit
2683
+END
2684
+# If we don't find an include directive, just comment out the code.
2685
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2686
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
2687
+am__include="#"
2688
+am__quote=
2689
+_am_result=none
2690
+# First try GNU make style include.
2691
+echo "include confinc" > confmf
2692
+# Ignore all kinds of additional output from `make'.
2693
+case `$am_make -s -f confmf 2> /dev/null` in #(
2694
+*the\ am__doit\ target*)
2695
+  am__include=include
2696
+  am__quote=
2697
+  _am_result=GNU
2698
+  ;;
2699
+esac
2700
+# Now try BSD make style include.
2701
+if test "$am__include" = "#"; then
2702
+   echo '.include "confinc"' > confmf
2703
+   case `$am_make -s -f confmf 2> /dev/null` in #(
2704
+   *the\ am__doit\ target*)
2705
+     am__include=.include
2706
+     am__quote="\""
2707
+     _am_result=BSD
2708
+     ;;
2709
+   esac
2710
+fi
2711
+
2712
+
2713
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2714
+$as_echo "$_am_result" >&6; }
2715
+rm -f confinc confmf
2716
+
2717
+# Check whether --enable-dependency-tracking was given.
2718
+if test "${enable_dependency_tracking+set}" = set; then :
2719
+  enableval=$enable_dependency_tracking;
2720
+fi
2721
+
2722
+if test "x$enable_dependency_tracking" != xno; then
2723
+  am_depcomp="$ac_aux_dir/depcomp"
2724
+  AMDEPBACKSLASH='\'
2725
+  am__nodep='_no'
2726
+fi
2727
+ if test "x$enable_dependency_tracking" != xno; then
2728
+  AMDEP_TRUE=
2729
+  AMDEP_FALSE='#'
2730
+else
2731
+  AMDEP_TRUE='#'
2732
+  AMDEP_FALSE=
2733
+fi
2734
+
2735
+
2736
+# Extract the first word of "gcc", so it can be a program name with args.
2737
+set dummy gcc; ac_word=$2
2738
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2739
+$as_echo_n "checking for $ac_word... " >&6; }
2740
+if ${ac_cv_prog_CC+:} false; then :
2741
+  $as_echo_n "(cached) " >&6
2742
+else
2743
+  if test -n "$CC"; then
2744
+  ac_cv_prog_CC="$CC" # Let the user override the test.
2745
+else
2746
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747
+for as_dir in $PATH
2748
+do
2749
+  IFS=$as_save_IFS
2750
+  test -z "$as_dir" && as_dir=.
2751
+    for ac_exec_ext in '' $ac_executable_extensions; do
2752
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2753
+    ac_cv_prog_CC="gcc"
2754
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2755
+    break 2
2756
+  fi
2757
+done
2758
+  done
2759
+IFS=$as_save_IFS
2760
+
2761
+fi
2762
+fi
2763
+CC=$ac_cv_prog_CC
2764
+if test -n "$CC"; then
2765
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2766
+$as_echo "$CC" >&6; }
2767
+else
2768
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2769
+$as_echo "no" >&6; }
2770
+fi
2771
+
2772
+
2773
+
2774
+depcc="$CC"   am_compiler_list=
2775
+
2776
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2777
+$as_echo_n "checking dependency style of $depcc... " >&6; }
2778
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2779
+  $as_echo_n "(cached) " >&6
2780
+else
2781
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2782
+  # We make a subdir and do the tests there.  Otherwise we can end up
2783
+  # making bogus files that we don't know about and never remove.  For
2784
+  # instance it was reported that on HP-UX the gcc test will end up
2785
+  # making a dummy file named `D' -- because `-MD' means `put the output
2786
+  # in D'.
2787
+  rm -rf conftest.dir
2788
+  mkdir conftest.dir
2789
+  # Copy depcomp to subdir because otherwise we won't find it if we're
2790
+  # using a relative directory.
2791
+  cp "$am_depcomp" conftest.dir
2792
+  cd conftest.dir
2793
+  # We will build objects and dependencies in a subdirectory because
2794
+  # it helps to detect inapplicable dependency modes.  For instance
2795
+  # both Tru64's cc and ICC support -MD to output dependencies as a
2796
+  # side effect of compilation, but ICC will put the dependencies in
2797
+  # the current directory while Tru64 will put them in the object
2798
+  # directory.
2799
+  mkdir sub
2800
+
2801
+  am_cv_CC_dependencies_compiler_type=none
2802
+  if test "$am_compiler_list" = ""; then
2803
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2804
+  fi
2805
+  am__universal=false
2806
+  case " $depcc " in #(
2807
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
2808
+     esac
2809
+
2810
+  for depmode in $am_compiler_list; do
2811
+    # Setup a source with many dependencies, because some compilers
2812
+    # like to wrap large dependency lists on column 80 (with \), and
2813
+    # we should not choose a depcomp mode which is confused by this.
2814
+    #
2815
+    # We need to recreate these files for each test, as the compiler may
2816
+    # overwrite some of them when testing with obscure command lines.
2817
+    # This happens at least with the AIX C compiler.
2818
+    : > sub/conftest.c
2819
+    for i in 1 2 3 4 5 6; do
2820
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2821
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2822
+      # Solaris 8's {/usr,}/bin/sh.
2823
+      touch sub/conftst$i.h
2824
+    done
2825
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2826
+
2827
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2828
+    # mode.  It turns out that the SunPro C++ compiler does not properly
2829
+    # handle `-M -o', and we need to detect this.  Also, some Intel
2830
+    # versions had trouble with output in subdirs
2831
+    am__obj=sub/conftest.${OBJEXT-o}
2832
+    am__minus_obj="-o $am__obj"
2833
+    case $depmode in
2834
+    gcc)
2835
+      # This depmode causes a compiler race in universal mode.
2836
+      test "$am__universal" = false || continue
2837
+      ;;
2838
+    nosideeffect)
2839
+      # after this tag, mechanisms are not by side-effect, so they'll
2840
+      # only be used when explicitly requested
2841
+      if test "x$enable_dependency_tracking" = xyes; then
2842
+       continue
2843
+      else
2844
+       break
2845
+      fi
2846
+      ;;
2847
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
2848
+      # This compiler won't grok `-c -o', but also, the minuso test has
2849
+      # not run yet.  These depmodes are late enough in the game, and
2850
+      # so weak that their functioning should not be impacted.
2851
+      am__obj=conftest.${OBJEXT-o}
2852
+      am__minus_obj=
2853
+      ;;
2854
+    none) break ;;
2855
+    esac
2856
+    if depmode=$depmode \
2857
+       source=sub/conftest.c object=$am__obj \
2858
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2859
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2860
+         >/dev/null 2>conftest.err &&
2861
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2862
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2863
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2864
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2865
+      # icc doesn't choke on unknown options, it will just issue warnings
2866
+      # or remarks (even with -Werror).  So we grep stderr for any message
2867
+      # that says an option was ignored or not supported.
2868
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
2869
+      #   icc: Command line warning: ignoring option '-M'; no argument required
2870
+      # The diagnosis changed in icc 8.0:
2871
+      #   icc: Command line remark: option '-MP' not supported
2872
+      if (grep 'ignoring option' conftest.err ||
2873
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2874
+        am_cv_CC_dependencies_compiler_type=$depmode
2875
+        break
2876
+      fi
2877
+    fi
2878
+  done
2879
+
2880
+  cd ..
2881
+  rm -rf conftest.dir
2882
+else
2883
+  am_cv_CC_dependencies_compiler_type=none
2884
+fi
2885
+
2886
+fi
2887
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2888
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2889
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2890
+
2891
+ if
2892
+  test "x$enable_dependency_tracking" != xno \
2893
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2894
+  am__fastdepCC_TRUE=
2895
+  am__fastdepCC_FALSE='#'
2896
+else
2897
+  am__fastdepCC_TRUE='#'
2898
+  am__fastdepCC_FALSE=
2899
+fi
2900
+
2901
+
2902
+if test -z "$CC"; then
2903
+  # Extract the first word of "cc", so it can be a program name with args.
2904
+set dummy cc; ac_word=$2
2905
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906
+$as_echo_n "checking for $ac_word... " >&6; }
2907
+if ${ac_cv_prog_CC+:} false; then :
2908
+  $as_echo_n "(cached) " >&6
2909
+else
2910
+  if test -n "$CC"; then
2911
+  ac_cv_prog_CC="$CC" # Let the user override the test.
2912
+else
2913
+  ac_prog_rejected=no
2914
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915
+for as_dir in $PATH
2916
+do
2917
+  IFS=$as_save_IFS
2918
+  test -z "$as_dir" && as_dir=.
2919
+    for ac_exec_ext in '' $ac_executable_extensions; do
2920
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2921
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2922
+       ac_prog_rejected=yes
2923
+       continue
2924
+     fi
2925
+    ac_cv_prog_CC="cc"
2926
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927
+    break 2
2928
+  fi
2929
+done
2930
+  done
2931
+IFS=$as_save_IFS
2932
+
2933
+if test $ac_prog_rejected = yes; then
2934
+  # We found a bogon in the path, so make sure we never use it.
2935
+  set dummy $ac_cv_prog_CC
2936
+  shift
2937
+  if test $# != 0; then
2938
+    # We chose a different compiler from the bogus one.
2939
+    # However, it has the same basename, so the bogon will be chosen
2940
+    # first if we set CC to just the basename; use the full file name.
2941
+    shift
2942
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2943
+  fi
2944
+fi
2945
+fi
2946
+fi
2947
+CC=$ac_cv_prog_CC
2948
+if test -n "$CC"; then
2949
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950
+$as_echo "$CC" >&6; }
2951
+else
2952
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953
+$as_echo "no" >&6; }
2954
+fi
2955
+
2956
+
2957
+  test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2958
+fi
2959
+
2960
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
2961
+$as_echo_n "checking whether we are using GNU C... " >&6; }
2962
+if ${ac_cv_c_compiler_gnu+:} false; then :
2963
+  $as_echo_n "(cached) " >&6
2964
+else
2965
+  cat > conftest.c <<EOF
2966
+#ifdef __GNUC__
2967
+  yes;
2968
+#endif
2969
+EOF
2970
+if { ac_try='${CC-cc} -E conftest.c'
2971
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2972
+  (eval $ac_try) 2>&5
2973
+  ac_status=$?
2974
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975
+  test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
2976
+  ac_cv_c_compiler_gnu=yes
2977
+else
2978
+  ac_cv_c_compiler_gnu=no
2979
+fi
2980
+fi
2981
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2982
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2983
+
2984
+if test $ac_cv_c_compiler_gnu = yes; then
2985
+  GCC=yes
2986
+  ac_test_CFLAGS="${CFLAGS+set}"
2987
+  ac_save_CFLAGS="$CFLAGS"
2988
+  CFLAGS=
2989
+  ac_test_CFLAGS=${CFLAGS+set}
2990
+ac_save_CFLAGS=$CFLAGS
2991
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2992
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
2993
+if ${ac_cv_prog_cc_g+:} false; then :
2994
+  $as_echo_n "(cached) " >&6
2995
+else
2996
+  ac_save_c_werror_flag=$ac_c_werror_flag
2997
+   ac_c_werror_flag=yes
2998
+   ac_cv_prog_cc_g=no
2999
+   CFLAGS="-g"
3000
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001
+/* end confdefs.h.  */
3002
+
3003
+int
3004
+main ()
3005
+{
3006
+
3007
+  ;
3008
+  return 0;
3009
+}
3010
+_ACEOF
3011
+if ac_fn_c_try_compile "$LINENO"; then :
3012
+  ac_cv_prog_cc_g=yes
3013
+else
3014
+  CFLAGS=""
3015
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016
+/* end confdefs.h.  */
3017
+
3018
+int
3019
+main ()
3020
+{
3021
+
3022
+  ;
3023
+  return 0;
3024
+}
3025
+_ACEOF
3026
+if ac_fn_c_try_compile "$LINENO"; then :
3027
+
3028
+else
3029
+  ac_c_werror_flag=$ac_save_c_werror_flag
3030
+        CFLAGS="-g"
3031
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032
+/* end confdefs.h.  */
3033
+
3034
+int
3035
+main ()
3036
+{
3037
+
3038
+  ;
3039
+  return 0;
3040
+}
3041
+_ACEOF
3042
+if ac_fn_c_try_compile "$LINENO"; then :
3043
+  ac_cv_prog_cc_g=yes
3044
+fi
3045
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046
+fi
3047
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048
+fi
3049
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050
+   ac_c_werror_flag=$ac_save_c_werror_flag
3051
+fi
3052
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3053
+$as_echo "$ac_cv_prog_cc_g" >&6; }
3054
+if test "$ac_test_CFLAGS" = set; then
3055
+  CFLAGS=$ac_save_CFLAGS
3056
+elif test $ac_cv_prog_cc_g = yes; then
3057
+  if test "$GCC" = yes; then
3058
+    CFLAGS="-O3"
3059
+  else
3060
+    CFLAGS="-g"
3061
+  fi
3062
+else
3063
+  if test "$GCC" = yes; then
3064
+    CFLAGS="-O3"
3065
+  else
3066
+    CFLAGS=
3067
+  fi
3068
+fi
3069
+  if test "$ac_test_CFLAGS" = set; then
3070
+    CFLAGS="$ac_save_CFLAGS"
3071
+  elif test $ac_cv_prog_cc_g = yes; then
3072
+    CFLAGS="-O3"
3073
+  else
3074
+    CFLAGS="-O3"
3075
+  fi
3076
+else
3077
+  GCC=
3078
+  test "${CFLAGS+set}" = set || CFLAGS="-g"
3079
+fi
3080
+
3081
+AS=${AS-as}
3082
+
3083
+AR=${AR-ar}
3084
+
3085
+LD=${LD-ld}
3086
+
3087
+if test -n "$ac_tool_prefix"; then
3088
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3089
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3090
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091
+$as_echo_n "checking for $ac_word... " >&6; }
3092
+if ${ac_cv_prog_RANLIB+:} false; then :
3093
+  $as_echo_n "(cached) " >&6
3094
+else
3095
+  if test -n "$RANLIB"; then
3096
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3097
+else
3098
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099
+for as_dir in $PATH
3100
+do
3101
+  IFS=$as_save_IFS
3102
+  test -z "$as_dir" && as_dir=.
3103
+    for ac_exec_ext in '' $ac_executable_extensions; do
3104
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3106
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107
+    break 2
3108
+  fi
3109
+done
3110
+  done
3111
+IFS=$as_save_IFS
3112
+
3113
+fi
3114
+fi
3115
+RANLIB=$ac_cv_prog_RANLIB
3116
+if test -n "$RANLIB"; then
3117
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3118
+$as_echo "$RANLIB" >&6; }
3119
+else
3120
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121
+$as_echo "no" >&6; }
3122
+fi
3123
+
3124
+
3125
+fi
3126
+if test -z "$ac_cv_prog_RANLIB"; then
3127
+  ac_ct_RANLIB=$RANLIB
3128
+  # Extract the first word of "ranlib", so it can be a program name with args.
3129
+set dummy ranlib; ac_word=$2
3130
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131
+$as_echo_n "checking for $ac_word... " >&6; }
3132
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3133
+  $as_echo_n "(cached) " >&6
3134
+else
3135
+  if test -n "$ac_ct_RANLIB"; then
3136
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3137
+else
3138
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139
+for as_dir in $PATH
3140
+do
3141
+  IFS=$as_save_IFS
3142
+  test -z "$as_dir" && as_dir=.
3143
+    for ac_exec_ext in '' $ac_executable_extensions; do
3144
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3145
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
3146
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147
+    break 2
3148
+  fi
3149
+done
3150
+  done
3151
+IFS=$as_save_IFS
3152
+
3153
+fi
3154
+fi
3155
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3156
+if test -n "$ac_ct_RANLIB"; then
3157
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3158
+$as_echo "$ac_ct_RANLIB" >&6; }
3159
+else
3160
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161
+$as_echo "no" >&6; }
3162
+fi
3163
+
3164
+  if test "x$ac_ct_RANLIB" = x; then
3165
+    RANLIB=":"
3166
+  else
3167
+    case $cross_compiling:$ac_tool_warned in
3168
+yes:)
3169
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3170
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3171
+ac_tool_warned=yes ;;
3172
+esac
3173
+    RANLIB=$ac_ct_RANLIB
3174
+  fi
3175
+else
3176
+  RANLIB="$ac_cv_prog_RANLIB"
3177
+fi
3178
+
3179
+# By default we simply use the C compiler to build assembly code.
3180
+
3181
+test "${CCAS+set}" = set || CCAS=$CC
3182
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3183
+
3184
+
3185
+
3186
+
3187
+host_makefile_frag=${srcdir}/../config/default.mh
3188
+target_makefile_frag=${srcdir}/../config/default.mt
3189
+
3190
+host_makefile_frag_path=$host_makefile_frag
3191
+
3192
+
3193
+target_makefile_frag_path=$target_makefile_frag
3194
+
3195
+
3196
+
3197
+ac_config_files="$ac_config_files Makefile"
3198
+
3199
+cat >confcache <<\_ACEOF
3200
+# This file is a shell script that caches the results of configure
3201
+# tests run on this system so they can be shared between configure
3202
+# scripts and configure runs, see configure's option --config-cache.
3203
+# It is not useful on other systems.  If it contains results you don't
3204
+# want to keep, you may remove or edit it.
3205
+#
3206
+# config.status only pays attention to the cache file if you give it
3207
+# the --recheck option to rerun configure.
3208
+#
3209
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
3210
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
3211
+# following values.
3212
+
3213
+_ACEOF
3214
+
3215
+# The following way of writing the cache mishandles newlines in values,
3216
+# but we know of no workaround that is simple, portable, and efficient.
3217
+# So, we kill variables containing newlines.
3218
+# Ultrix sh set writes to stderr and can't be redirected directly,
3219
+# and sets the high bit in the cache file unless we assign to the vars.
3220
+(
3221
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3222
+    eval ac_val=\$$ac_var
3223
+    case $ac_val in #(
3224
+    *${as_nl}*)
3225
+      case $ac_var in #(
3226
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3227
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3228
+      esac
3229
+      case $ac_var in #(
3230
+      _ | IFS | as_nl) ;; #(
3231
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3232
+      *) { eval $ac_var=; unset $ac_var;} ;;
3233
+      esac ;;
3234
+    esac
3235
+  done
3236
+
3237
+  (set) 2>&1 |
3238
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3239
+    *${as_nl}ac_space=\ *)
3240
+      # `set' does not quote correctly, so add quotes: double-quote
3241
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
3242
+      sed -n \
3243
+       "s/'/'\\\\''/g;
3244
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3245
+      ;; #(
3246
+    *)
3247
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
3248
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3249
+      ;;
3250
+    esac |
3251
+    sort
3252
+) |
3253
+  sed '
3254
+     /^ac_cv_env_/b end
3255
+     t clear
3256
+     :clear
3257
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3258
+     t end
3259
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3260
+     :end' >>confcache
3261
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3262
+  if test -w "$cache_file"; then
3263
+    if test "x$cache_file" != "x/dev/null"; then
3264
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3265
+$as_echo "$as_me: updating cache $cache_file" >&6;}
3266
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
3267
+       cat confcache >"$cache_file"
3268
+      else
3269
+        case $cache_file in #(
3270
+        */* | ?:*)
3271
+         mv -f confcache "$cache_file"$$ &&
3272
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
3273
+        *)
3274
+         mv -f confcache "$cache_file" ;;
3275
+       esac
3276
+      fi
3277
+    fi
3278
+  else
3279
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3280
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3281
+  fi
3282
+fi
3283
+rm -f confcache
3284
+
3285
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
3286
+# Let make expand exec_prefix.
3287
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3288
+
3289
+# Transform confdefs.h into DEFS.
3290
+# Protect against shell expansion while executing Makefile rules.
3291
+# Protect against Makefile macro expansion.
3292
+#
3293
+# If the first sed substitution is executed (which looks for macros that
3294
+# take arguments), then branch to the quote section.  Otherwise,
3295
+# look for a macro that doesn't take arguments.
3296
+ac_script='
3297
+:mline
3298
+/\\$/{
3299
+ N
3300
+ s,\\\n,,
3301
+ b mline
3302
+}
3303
+t clear
3304
+:clear
3305
+s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
3306
+t quote
3307
+s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
3308
+t quote
3309
+b any
3310
+:quote
3311
+s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3312
+s/\[/\\&/g
3313
+s/\]/\\&/g
3314
+s/\$/$$/g
3315
+H
3316
+:any
3317
+${
3318
+       g
3319
+       s/^\n//
3320
+       s/\n/ /g
3321
+       p
3322
+}
3323
+'
3324
+DEFS=`sed -n "$ac_script" confdefs.h`
3325
+
3326
+
3327
+ac_libobjs=
3328
+ac_ltlibobjs=
3329
+U=
3330
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3331
+  # 1. Remove the extension, and $U if already installed.
3332
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3333
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3334
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3335
+  #    will be set to the directory where LIBOBJS objects are built.
3336
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3337
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3338
+done
3339
+LIBOBJS=$ac_libobjs
3340
+
3341
+LTLIBOBJS=$ac_ltlibobjs
3342
+
3343
+
3344
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3345
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
3346
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
3347
+fi
3348
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3349
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3350
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
3351
+fi
3352
+
3353
+: "${CONFIG_STATUS=./config.status}"
3354
+ac_write_fail=0
3355
+ac_clean_files_save=$ac_clean_files
3356
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3357
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3358
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3359
+as_write_fail=0
3360
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3361
+#! $SHELL
3362
+# Generated by $as_me.
3363
+# Run this file to recreate the current configuration.
3364
+# Compiler output produced by configure, useful for debugging
3365
+# configure, is in config.log if it exists.
3366
+
3367
+debug=false
3368
+ac_cs_recheck=false
3369
+ac_cs_silent=false
3370
+
3371
+SHELL=\${CONFIG_SHELL-$SHELL}
3372
+export SHELL
3373
+_ASEOF
3374
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3375
+## -------------------- ##
3376
+## M4sh Initialization. ##
3377
+## -------------------- ##
3378
+
3379
+# Be more Bourne compatible
3380
+DUALCASE=1; export DUALCASE # for MKS sh
3381
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3382
+  emulate sh
3383
+  NULLCMD=:
3384
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3385
+  # is contrary to our usage.  Disable this feature.
3386
+  alias -g '${1+"$@"}'='"$@"'
3387
+  setopt NO_GLOB_SUBST
3388
+else
3389
+  case `(set -o) 2>/dev/null` in #(
3390
+  *posix*) :
3391
+    set -o posix ;; #(
3392
+  *) :
3393
+     ;;
3394
+esac
3395
+fi
3396
+
3397
+
3398
+as_nl='
3399
+'
3400
+export as_nl
3401
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
3402
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3403
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3404
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3405
+# Prefer a ksh shell builtin over an external printf program on Solaris,
3406
+# but without wasting forks for bash or zsh.
3407
+if test -z "$BASH_VERSION$ZSH_VERSION" \
3408
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3409
+  as_echo='print -r --'
3410
+  as_echo_n='print -rn --'
3411
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3412
+  as_echo='printf %s\n'
3413
+  as_echo_n='printf %s'
3414
+else
3415
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3416
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3417
+    as_echo_n='/usr/ucb/echo -n'
3418
+  else
3419
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3420
+    as_echo_n_body='eval
3421
+      arg=$1;
3422
+      case $arg in #(
3423
+      *"$as_nl"*)
3424
+       expr "X$arg" : "X\\(.*\\)$as_nl";
3425
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3426
+      esac;
3427
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3428
+    '
3429
+    export as_echo_n_body
3430
+    as_echo_n='sh -c $as_echo_n_body as_echo'
3431
+  fi
3432
+  export as_echo_body
3433
+  as_echo='sh -c $as_echo_body as_echo'
3434
+fi
3435
+
3436
+# The user is always right.
3437
+if test "${PATH_SEPARATOR+set}" != set; then
3438
+  PATH_SEPARATOR=:
3439
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3440
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3441
+      PATH_SEPARATOR=';'
3442
+  }
3443
+fi
3444
+
3445
+
3446
+# IFS
3447
+# We need space, tab and new line, in precisely that order.  Quoting is
3448
+# there to prevent editors from complaining about space-tab.
3449
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3450
+# splitting by setting IFS to empty value.)
3451
+IFS=" ""       $as_nl"
3452
+
3453
+# Find who we are.  Look in the path if we contain no directory separator.
3454
+as_myself=
3455
+case $0 in #((
3456
+  *[\\/]* ) as_myself=$0 ;;
3457
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3458
+for as_dir in $PATH
3459
+do
3460
+  IFS=$as_save_IFS
3461
+  test -z "$as_dir" && as_dir=.
3462
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3463
+  done
3464
+IFS=$as_save_IFS
3465
+
3466
+     ;;
3467
+esac
3468
+# We did not find ourselves, most probably we were run as `sh COMMAND'
3469
+# in which case we are not to be found in the path.
3470
+if test "x$as_myself" = x; then
3471
+  as_myself=$0
3472
+fi
3473
+if test ! -f "$as_myself"; then
3474
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3475
+  exit 1
3476
+fi
3477
+
3478
+# Unset variables that we do not need and which cause bugs (e.g. in
3479
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3480
+# suppresses any "Segmentation fault" message there.  '((' could
3481
+# trigger a bug in pdksh 5.2.14.
3482
+for as_var in BASH_ENV ENV MAIL MAILPATH
3483
+do eval test x\${$as_var+set} = xset \
3484
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3485
+done
3486
+PS1='$ '
3487
+PS2='> '
3488
+PS4='+ '
3489
+
3490
+# NLS nuisances.
3491
+LC_ALL=C
3492
+export LC_ALL
3493
+LANGUAGE=C
3494
+export LANGUAGE
3495
+
3496
+# CDPATH.
3497
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3498
+
3499
+
3500
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
3501
+# ----------------------------------------
3502
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3503
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3504
+# script with STATUS, using 1 if that was 0.
3505
+as_fn_error ()
3506
+{
3507
+  as_status=$1; test $as_status -eq 0 && as_status=1
3508
+  if test "$4"; then
3509
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3510
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3511
+  fi
3512
+  $as_echo "$as_me: error: $2" >&2
3513
+  as_fn_exit $as_status
3514
+} # as_fn_error
3515
+
3516
+
3517
+# as_fn_set_status STATUS
3518
+# -----------------------
3519
+# Set $? to STATUS, without forking.
3520
+as_fn_set_status ()
3521
+{
3522
+  return $1
3523
+} # as_fn_set_status
3524
+
3525
+# as_fn_exit STATUS
3526
+# -----------------
3527
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3528
+as_fn_exit ()
3529
+{
3530
+  set +e
3531
+  as_fn_set_status $1
3532
+  exit $1
3533
+} # as_fn_exit
3534
+
3535
+# as_fn_unset VAR
3536
+# ---------------
3537
+# Portably unset VAR.
3538
+as_fn_unset ()
3539
+{
3540
+  { eval $1=; unset $1;}
3541
+}
3542
+as_unset=as_fn_unset
3543
+# as_fn_append VAR VALUE
3544
+# ----------------------
3545
+# Append the text in VALUE to the end of the definition contained in VAR. Take
3546
+# advantage of any shell optimizations that allow amortized linear growth over
3547
+# repeated appends, instead of the typical quadratic growth present in naive
3548
+# implementations.
3549
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3550
+  eval 'as_fn_append ()
3551
+  {
3552
+    eval $1+=\$2
3553
+  }'
3554
+else
3555
+  as_fn_append ()
3556
+  {
3557
+    eval $1=\$$1\$2
3558
+  }
3559
+fi # as_fn_append
3560
+
3561
+# as_fn_arith ARG...
3562
+# ------------------
3563
+# Perform arithmetic evaluation on the ARGs, and store the result in the
3564
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
3565
+# must be portable across $(()) and expr.
3566
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3567
+  eval 'as_fn_arith ()
3568
+  {
3569
+    as_val=$(( $* ))
3570
+  }'
3571
+else
3572
+  as_fn_arith ()
3573
+  {
3574
+    as_val=`expr "$@" || test $? -eq 1`
3575
+  }
3576
+fi # as_fn_arith
3577
+
3578
+
3579
+if expr a : '\(a\)' >/dev/null 2>&1 &&
3580
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3581
+  as_expr=expr
3582
+else
3583
+  as_expr=false
3584
+fi
3585
+
3586
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3587
+  as_basename=basename
3588
+else
3589
+  as_basename=false
3590
+fi
3591
+
3592
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3593
+  as_dirname=dirname
3594
+else
3595
+  as_dirname=false
3596
+fi
3597
+
3598
+as_me=`$as_basename -- "$0" ||
3599
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3600
+        X"$0" : 'X\(//\)$' \| \
3601
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3602
+$as_echo X/"$0" |
3603
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
3604
+           s//\1/
3605
+           q
3606
+         }
3607
+         /^X\/\(\/\/\)$/{
3608
+           s//\1/
3609
+           q
3610
+         }
3611
+         /^X\/\(\/\).*/{
3612
+           s//\1/
3613
+           q
3614
+         }
3615
+         s/.*/./; q'`
3616
+
3617
+# Avoid depending upon Character Ranges.
3618
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3619
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3620
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3621
+as_cr_digits='0123456789'
3622
+as_cr_alnum=$as_cr_Letters$as_cr_digits
3623
+
3624
+ECHO_C= ECHO_N= ECHO_T=
3625
+case `echo -n x` in #(((((
3626
+-n*)
3627
+  case `echo 'xy\c'` in
3628
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
3629
+  xy)  ECHO_C='\c';;
3630
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3631
+       ECHO_T='        ';;
3632
+  esac;;
3633
+*)
3634
+  ECHO_N='-n';;
3635
+esac
3636
+
3637
+rm -f conf$$ conf$$.exe conf$$.file
3638
+if test -d conf$$.dir; then
3639
+  rm -f conf$$.dir/conf$$.file
3640
+else
3641
+  rm -f conf$$.dir
3642
+  mkdir conf$$.dir 2>/dev/null
3643
+fi
3644
+if (echo >conf$$.file) 2>/dev/null; then
3645
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
3646
+    as_ln_s='ln -s'
3647
+    # ... but there are two gotchas:
3648
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3649
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3650
+    # In both cases, we have to default to `cp -p'.
3651
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3652
+      as_ln_s='cp -p'
3653
+  elif ln conf$$.file conf$$ 2>/dev/null; then
3654
+    as_ln_s=ln
3655
+  else
3656
+    as_ln_s='cp -p'
3657
+  fi
3658
+else
3659
+  as_ln_s='cp -p'
3660
+fi
3661
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3662
+rmdir conf$$.dir 2>/dev/null
3663
+
3664
+
3665
+# as_fn_mkdir_p
3666
+# -------------
3667
+# Create "$as_dir" as a directory, including parents if necessary.
3668
+as_fn_mkdir_p ()
3669
+{
3670
+
3671
+  case $as_dir in #(
3672
+  -*) as_dir=./$as_dir;;
3673
+  esac
3674
+  test -d "$as_dir" || eval $as_mkdir_p || {
3675
+    as_dirs=
3676
+    while :; do
3677
+      case $as_dir in #(
3678
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3679
+      *) as_qdir=$as_dir;;
3680
+      esac
3681
+      as_dirs="'$as_qdir' $as_dirs"
3682
+      as_dir=`$as_dirname -- "$as_dir" ||
3683
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3684
+        X"$as_dir" : 'X\(//\)[^/]' \| \
3685
+        X"$as_dir" : 'X\(//\)$' \| \
3686
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3687
+$as_echo X"$as_dir" |
3688
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3689
+           s//\1/
3690
+           q
3691
+         }
3692
+         /^X\(\/\/\)[^/].*/{
3693
+           s//\1/
3694
+           q
3695
+         }
3696
+         /^X\(\/\/\)$/{
3697
+           s//\1/
3698
+           q
3699
+         }
3700
+         /^X\(\/\).*/{
3701
+           s//\1/
3702
+           q
3703
+         }
3704
+         s/.*/./; q'`
3705
+      test -d "$as_dir" && break
3706
+    done
3707
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
3708
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3709
+
3710
+
3711
+} # as_fn_mkdir_p
3712
+if mkdir -p . 2>/dev/null; then
3713
+  as_mkdir_p='mkdir -p "$as_dir"'
3714
+else
3715
+  test -d ./-p && rmdir ./-p
3716
+  as_mkdir_p=false
3717
+fi
3718
+
3719
+if test -x / >/dev/null 2>&1; then
3720
+  as_test_x='test -x'
3721
+else
3722
+  if ls -dL / >/dev/null 2>&1; then
3723
+    as_ls_L_option=L
3724
+  else
3725
+    as_ls_L_option=
3726
+  fi
3727
+  as_test_x='
3728
+    eval sh -c '\''
3729
+      if test -d "$1"; then
3730
+       test -d "$1/.";
3731
+      else
3732
+       case $1 in #(
3733
+       -*)set "./$1";;
3734
+       esac;
3735
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3736
+       ???[sx]*):;;*)false;;esac;fi
3737
+    '\'' sh
3738
+  '
3739
+fi
3740
+as_executable_p=$as_test_x
3741
+
3742
+# Sed expression to map a string onto a valid CPP name.
3743
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3744
+
3745
+# Sed expression to map a string onto a valid variable name.
3746
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3747
+
3748
+
3749
+exec 6>&1
3750
+## ----------------------------------- ##
3751
+## Main body of $CONFIG_STATUS script. ##
3752
+## ----------------------------------- ##
3753
+_ASEOF
3754
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3755
+
3756
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3757
+# Save the log message, to keep $0 and so on meaningful, and to
3758
+# report actual input values of CONFIG_FILES etc. instead of their
3759
+# values after options handling.
3760
+ac_log="
3761
+This file was extended by libor1k $as_me 0.0.1, which was
3762
+generated by GNU Autoconf 2.68.  Invocation command line was
3763
+
3764
+  CONFIG_FILES    = $CONFIG_FILES
3765
+  CONFIG_HEADERS  = $CONFIG_HEADERS
3766
+  CONFIG_LINKS    = $CONFIG_LINKS
3767
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
3768
+  $ $0 $@
3769
+
3770
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
3771
+"
3772
+
3773
+_ACEOF
3774
+
3775
+case $ac_config_files in *"
3776
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
3777
+esac
3778
+
3779
+
3780
+
3781
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3782
+# Files that config.status was made for.
3783
+config_files="$ac_config_files"
3784
+config_commands="$ac_config_commands"
3785
+
3786
+_ACEOF
3787
+
3788
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3789
+ac_cs_usage="\
3790
+\`$as_me' instantiates files and other configuration actions
3791
+from templates according to the current configuration.  Unless the files
3792
+and actions are specified as TAGs, all are instantiated by default.
3793
+
3794
+Usage: $0 [OPTION]... [TAG]...
3795
+
3796
+  -h, --help       print this help, then exit
3797
+  -V, --version    print version number and configuration settings, then exit
3798
+      --config     print configuration, then exit
3799
+  -q, --quiet, --silent
3800
+                   do not print progress messages
3801
+  -d, --debug      don't remove temporary files
3802
+      --recheck    update $as_me by reconfiguring in the same conditions
3803
+      --file=FILE[:TEMPLATE]
3804
+                   instantiate the configuration file FILE
3805
+
3806
+Configuration files:
3807
+$config_files
3808
+
3809
+Configuration commands:
3810
+$config_commands
3811
+
3812
+Report bugs to the package provider."
3813
+
3814
+_ACEOF
3815
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3816
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3817
+ac_cs_version="\\
3818
+libor1k config.status 0.0.1
3819
+configured by $0, generated by GNU Autoconf 2.68,
3820
+  with options \\"\$ac_cs_config\\"
3821
+
3822
+Copyright (C) 2010 Free Software Foundation, Inc.
3823
+This config.status script is free software; the Free Software Foundation
3824
+gives unlimited permission to copy, distribute and modify it."
3825
+
3826
+ac_pwd='$ac_pwd'
3827
+srcdir='$srcdir'
3828
+INSTALL='$INSTALL'
3829
+test -n "\$AWK" || AWK=awk
3830
+_ACEOF
3831
+
3832
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3833
+# The default lists apply if the user does not specify any file.
3834
+ac_need_defaults=:
3835
+while test $# != 0
3836
+do
3837
+  case $1 in
3838
+  --*=?*)
3839
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3840
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3841
+    ac_shift=:
3842
+    ;;
3843
+  --*=)
3844
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3845
+    ac_optarg=
3846
+    ac_shift=:
3847
+    ;;
3848
+  *)
3849
+    ac_option=$1
3850
+    ac_optarg=$2
3851
+    ac_shift=shift
3852
+    ;;
3853
+  esac
3854
+
3855
+  case $ac_option in
3856
+  # Handling of the options.
3857
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3858
+    ac_cs_recheck=: ;;
3859
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3860
+    $as_echo "$ac_cs_version"; exit ;;
3861
+  --config | --confi | --conf | --con | --co | --c )
3862
+    $as_echo "$ac_cs_config"; exit ;;
3863
+  --debug | --debu | --deb | --de | --d | -d )
3864
+    debug=: ;;
3865
+  --file | --fil | --fi | --f )
3866
+    $ac_shift
3867
+    case $ac_optarg in
3868
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3869
+    '') as_fn_error $? "missing file argument" ;;
3870
+    esac
3871
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
3872
+    ac_need_defaults=false;;
3873
+  --he | --h |  --help | --hel | -h )
3874
+    $as_echo "$ac_cs_usage"; exit ;;
3875
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3876
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3877
+    ac_cs_silent=: ;;
3878
+
3879
+  # This is an error.
3880
+  -*) as_fn_error $? "unrecognized option: \`$1'
3881
+Try \`$0 --help' for more information." ;;
3882
+
3883
+  *) as_fn_append ac_config_targets " $1"
3884
+     ac_need_defaults=false ;;
3885
+
3886
+  esac
3887
+  shift
3888
+done
3889
+
3890
+ac_configure_extra_args=
3891
+
3892
+if $ac_cs_silent; then
3893
+  exec 6>/dev/null
3894
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
3895
+fi
3896
+
3897
+_ACEOF
3898
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3899
+if \$ac_cs_recheck; then
3900
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3901
+  shift
3902
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3903
+  CONFIG_SHELL='$SHELL'
3904
+  export CONFIG_SHELL
3905
+  exec "\$@"
3906
+fi
3907
+
3908
+_ACEOF
3909
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3910
+exec 5>>config.log
3911
+{
3912
+  echo
3913
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3914
+## Running $as_me. ##
3915
+_ASBOX
3916
+  $as_echo "$ac_log"
3917
+} >&5
3918
+
3919
+_ACEOF
3920
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3921
+#
3922
+# INIT-COMMANDS
3923
+#
3924
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3925
+srcdir=${srcdir}
3926
+target=${target}
3927
+with_multisubdir=${with_multisubdir}
3928
+ac_configure_args="${ac_configure_args} --enable-multilib"
3929
+CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3930
+libgloss_topdir=${libgloss_topdir}
3931
+
3932
+
3933
+_ACEOF
3934
+
3935
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3936
+
3937
+# Handling of arguments.
3938
+for ac_config_target in $ac_config_targets
3939
+do
3940
+  case $ac_config_target in
3941
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3942
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3943
+
3944
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3945
+  esac
3946
+done
3947
+
3948
+
3949
+# If the user did not use the arguments to specify the items to instantiate,
3950
+# then the envvar interface is used.  Set only those that are not.
3951
+# We use the long form for the default assignment because of an extremely
3952
+# bizarre bug on SunOS 4.1.3.
3953
+if $ac_need_defaults; then
3954
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3955
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3956
+fi
3957
+
3958
+# Have a temporary directory for convenience.  Make it in the build tree
3959
+# simply because there is no reason against having it here, and in addition,
3960
+# creating and moving files from /tmp can sometimes cause problems.
3961
+# Hook for its removal unless debugging.
3962
+# Note that there is a small window in which the directory will not be cleaned:
3963
+# after its creation but before its name has been assigned to `$tmp'.
3964
+$debug ||
3965
+{
3966
+  tmp= ac_tmp=
3967
+  trap 'exit_status=$?
3968
+  : "${ac_tmp:=$tmp}"
3969
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3970
+' 0
3971
+  trap 'as_fn_exit 1' 1 2 13 15
3972
+}
3973
+# Create a (secure) tmp directory for tmp files.
3974
+
3975
+{
3976
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3977
+  test -d "$tmp"
3978
+}  ||
3979
+{
3980
+  tmp=./conf$$-$RANDOM
3981
+  (umask 077 && mkdir "$tmp")
3982
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3983
+ac_tmp=$tmp
3984
+
3985
+# Set up the scripts for CONFIG_FILES section.
3986
+# No need to generate them if there are no CONFIG_FILES.
3987
+# This happens for instance with `./config.status config.h'.
3988
+if test -n "$CONFIG_FILES"; then
3989
+
3990
+if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
3991
+  ac_cs_awk_getline=:
3992
+  ac_cs_awk_pipe_init=
3993
+  ac_cs_awk_read_file='
3994
+      while ((getline aline < (F[key])) > 0)
3995
+       print(aline)
3996
+      close(F[key])'
3997
+  ac_cs_awk_pipe_fini=
3998
+else
3999
+  ac_cs_awk_getline=false
4000
+  ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
4001
+  ac_cs_awk_read_file='
4002
+      print "|#_!!_#|"
4003
+      print "cat " F[key] " &&"
4004
+      '$ac_cs_awk_pipe_init
4005
+  # The final `:' finishes the AND list.
4006
+  ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
4007
+fi
4008
+ac_cr=`echo X | tr X '\015'`
4009
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
4010
+# But we know of no other shell where ac_cr would be empty at this
4011
+# point, so we can use a bashism as a fallback.
4012
+if test "x$ac_cr" = x; then
4013
+  eval ac_cr=\$\'\\r\'
4014
+fi
4015
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4016
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4017
+  ac_cs_awk_cr='\\r'
4018
+else
4019
+  ac_cs_awk_cr=$ac_cr
4020
+fi
4021
+
4022
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4023
+_ACEOF
4024
+
4025
+# Create commands to substitute file output variables.
4026
+{
4027
+  echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
4028
+  echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
4029
+  echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
4030
+  echo "_ACAWK" &&
4031
+  echo "_ACEOF"
4032
+} >conf$$files.sh &&
4033
+. ./conf$$files.sh ||
4034
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4035
+rm -f conf$$files.sh
4036
+
4037
+{
4038
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
4039
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4040
+  echo "_ACEOF"
4041
+} >conf$$subs.sh ||
4042
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4043
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4044
+ac_delim='%!_!# '
4045
+for ac_last_try in false false false false false :; do
4046
+  . ./conf$$subs.sh ||
4047
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4048
+
4049
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4050
+  if test $ac_delim_n = $ac_delim_num; then
4051
+    break
4052
+  elif $ac_last_try; then
4053
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4054
+  else
4055
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4056
+  fi
4057
+done
4058
+rm -f conf$$subs.sh
4059
+
4060
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4061
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4062
+_ACEOF
4063
+sed -n '
4064
+h
4065
+s/^/S["/; s/!.*/"]=/
4066
+p
4067
+g
4068
+s/^[^!]*!//
4069
+:repl
4070
+t repl
4071
+s/'"$ac_delim"'$//
4072
+t delim
4073
+:nl
4074
+h
4075
+s/\(.\{148\}\)..*/\1/
4076
+t more1
4077
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4078
+p
4079
+n
4080
+b repl
4081
+:more1
4082
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4083
+p
4084
+g
4085
+s/.\{148\}//
4086
+t nl
4087
+:delim
4088
+h
4089
+s/\(.\{148\}\)..*/\1/
4090
+t more2
4091
+s/["\\]/\\&/g; s/^/"/; s/$/"/
4092
+p
4093
+b
4094
+:more2
4095
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4096
+p
4097
+g
4098
+s/.\{148\}//
4099
+t delim
4100
+' <conf$$subs.awk | sed '
4101
+/^[^""]/{
4102
+  N
4103
+  s/\n//
4104
+}
4105
+' >>$CONFIG_STATUS || ac_write_fail=1
4106
+rm -f conf$$subs.awk
4107
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4108
+_ACAWK
4109
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4110
+  for (key in S) S_is_set[key] = 1
4111
+  FS = ""
4112
+  \$ac_cs_awk_pipe_init
4113
+}
4114
+{
4115
+  line = $ 0
4116
+  nfields = split(line, field, "@")
4117
+  substed = 0
4118
+  len = length(field[1])
4119
+  for (i = 2; i < nfields; i++) {
4120
+    key = field[i]
4121
+    keylen = length(key)
4122
+    if (S_is_set[key]) {
4123
+      value = S[key]
4124
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4125
+      len += length(value) + length(field[++i])
4126
+      substed = 1
4127
+    } else
4128
+      len += 1 + keylen
4129
+  }
4130
+  if (nfields == 3 && !substed) {
4131
+    key = field[2]
4132
+    if (F[key] != "" && line ~ /^[      ]*@.*@[         ]*$/) {
4133
+      \$ac_cs_awk_read_file
4134
+      next
4135
+    }
4136
+  }
4137
+  print line
4138
+}
4139
+\$ac_cs_awk_pipe_fini
4140
+_ACAWK
4141
+_ACEOF
4142
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4143
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4144
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4145
+else
4146
+  cat
4147
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4148
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4149
+_ACEOF
4150
+
4151
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4152
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4153
+# trailing colons and then remove the whole line if VPATH becomes empty
4154
+# (actually we leave an empty line to preserve line numbers).
4155
+if test "x$srcdir" = x.; then
4156
+  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
4157
+h
4158
+s///
4159
+s/^/:/
4160
+s/[     ]*$/:/
4161
+s/:\$(srcdir):/:/g
4162
+s/:\${srcdir}:/:/g
4163
+s/:@srcdir@:/:/g
4164
+s/^:*//
4165
+s/:*$//
4166
+x
4167
+s/\(=[  ]*\).*/\1/
4168
+G
4169
+s/\n//
4170
+s/^[^=]*=[      ]*$//
4171
+}'
4172
+fi
4173
+
4174
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4175
+fi # test -n "$CONFIG_FILES"
4176
+
4177
+
4178
+eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
4179
+shift
4180
+for ac_tag
4181
+do
4182
+  case $ac_tag in
4183
+  :[FHLC]) ac_mode=$ac_tag; continue;;
4184
+  esac
4185
+  case $ac_mode$ac_tag in
4186
+  :[FHL]*:*);;
4187
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4188
+  :[FH]-) ac_tag=-:-;;
4189
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4190
+  esac
4191
+  ac_save_IFS=$IFS
4192
+  IFS=:
4193
+  set x $ac_tag
4194
+  IFS=$ac_save_IFS
4195
+  shift
4196
+  ac_file=$1
4197
+  shift
4198
+
4199
+  case $ac_mode in
4200
+  :L) ac_source=$1;;
4201
+  :[FH])
4202
+    ac_file_inputs=
4203
+    for ac_f
4204
+    do
4205
+      case $ac_f in
4206
+      -) ac_f="$ac_tmp/stdin";;
4207
+      *) # Look for the file first in the build tree, then in the source tree
4208
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
4209
+        # because $ac_f cannot contain `:'.
4210
+        test -f "$ac_f" ||
4211
+          case $ac_f in
4212
+          [\\/$]*) false;;
4213
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4214
+          esac ||
4215
+          as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4216
+      esac
4217
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4218
+      as_fn_append ac_file_inputs " '$ac_f'"
4219
+    done
4220
+
4221
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
4222
+    # use $as_me), people would be surprised to read:
4223
+    #    /* config.h.  Generated by config.status.  */
4224
+    configure_input='Generated from '`
4225
+         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4226
+       `' by configure.'
4227
+    if test x"$ac_file" != x-; then
4228
+      configure_input="$ac_file.  $configure_input"
4229
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4230
+$as_echo "$as_me: creating $ac_file" >&6;}
4231
+    fi
4232
+    # Neutralize special characters interpreted by sed in replacement strings.
4233
+    case $configure_input in #(
4234
+    *\&* | *\|* | *\\* )
4235
+       ac_sed_conf_input=`$as_echo "$configure_input" |
4236
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4237
+    *) ac_sed_conf_input=$configure_input;;
4238
+    esac
4239
+
4240
+    case $ac_tag in
4241
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4242
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4243
+    esac
4244
+    ;;
4245
+  esac
4246
+
4247
+  ac_dir=`$as_dirname -- "$ac_file" ||
4248
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4249
+        X"$ac_file" : 'X\(//\)[^/]' \| \
4250
+        X"$ac_file" : 'X\(//\)$' \| \
4251
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4252
+$as_echo X"$ac_file" |
4253
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4254
+           s//\1/
4255
+           q
4256
+         }
4257
+         /^X\(\/\/\)[^/].*/{
4258
+           s//\1/
4259
+           q
4260
+         }
4261
+         /^X\(\/\/\)$/{
4262
+           s//\1/
4263
+           q
4264
+         }
4265
+         /^X\(\/\).*/{
4266
+           s//\1/
4267
+           q
4268
+         }
4269
+         s/.*/./; q'`
4270
+  as_dir="$ac_dir"; as_fn_mkdir_p
4271
+  ac_builddir=.
4272
+
4273
+case "$ac_dir" in
4274
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4275
+*)
4276
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4277
+  # A ".." for each directory in $ac_dir_suffix.
4278
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4279
+  case $ac_top_builddir_sub in
4280
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4281
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4282
+  esac ;;
4283
+esac
4284
+ac_abs_top_builddir=$ac_pwd
4285
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
4286
+# for backward compatibility:
4287
+ac_top_builddir=$ac_top_build_prefix
4288
+
4289
+case $srcdir in
4290
+  .)  # We are building in place.
4291
+    ac_srcdir=.
4292
+    ac_top_srcdir=$ac_top_builddir_sub
4293
+    ac_abs_top_srcdir=$ac_pwd ;;
4294
+  [\\/]* | ?:[\\/]* )  # Absolute name.
4295
+    ac_srcdir=$srcdir$ac_dir_suffix;
4296
+    ac_top_srcdir=$srcdir
4297
+    ac_abs_top_srcdir=$srcdir ;;
4298
+  *) # Relative name.
4299
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4300
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
4301
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4302
+esac
4303
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4304
+
4305
+
4306
+  case $ac_mode in
4307
+  :F)
4308
+  #
4309
+  # CONFIG_FILE
4310
+  #
4311
+
4312
+  case $INSTALL in
4313
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4314
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4315
+  esac
4316
+_ACEOF
4317
+
4318
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4319
+# If the template does not know about datarootdir, expand it.
4320
+# FIXME: This hack should be removed a few years after 2.60.
4321
+ac_datarootdir_hack=; ac_datarootdir_seen=
4322
+ac_sed_dataroot='
4323
+/datarootdir/ {
4324
+  p
4325
+  q
4326
+}
4327
+/@datadir@/p
4328
+/@docdir@/p
4329
+/@infodir@/p
4330
+/@localedir@/p
4331
+/@mandir@/p'
4332
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4333
+*datarootdir*) ac_datarootdir_seen=yes;;
4334
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4335
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4336
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4337
+_ACEOF
4338
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4339
+  ac_datarootdir_hack='
4340
+  s&@datadir@&$datadir&g
4341
+  s&@docdir@&$docdir&g
4342
+  s&@infodir@&$infodir&g
4343
+  s&@localedir@&$localedir&g
4344
+  s&@mandir@&$mandir&g
4345
+  s&\\\${datarootdir}&$datarootdir&g' ;;
4346
+esac
4347
+_ACEOF
4348
+
4349
+# Neutralize VPATH when `$srcdir' = `.'.
4350
+# Shell code in configure.ac might set extrasub.
4351
+# FIXME: do we really want to maintain this feature?
4352
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4353
+ac_sed_extra="$ac_vpsub
4354
+$extrasub
4355
+_ACEOF
4356
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4357
+:t
4358
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4359
+s|@configure_input@|$ac_sed_conf_input|;t t
4360
+s&@top_builddir@&$ac_top_builddir_sub&;t t
4361
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
4362
+s&@srcdir@&$ac_srcdir&;t t
4363
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
4364
+s&@top_srcdir@&$ac_top_srcdir&;t t
4365
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4366
+s&@builddir@&$ac_builddir&;t t
4367
+s&@abs_builddir@&$ac_abs_builddir&;t t
4368
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4369
+s&@INSTALL@&$ac_INSTALL&;t t
4370
+$ac_datarootdir_hack
4371
+"
4372
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
4373
+if $ac_cs_awk_getline; then
4374
+  $AWK -f "$ac_tmp/subs.awk"
4375
+else
4376
+  $AWK -f "$ac_tmp/subs.awk" | $SHELL
4377
+fi \
4378
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4379
+
4380
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4381
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4382
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
4383
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4384
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4385
+which seems to be undefined.  Please make sure it is defined" >&5
4386
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4387
+which seems to be undefined.  Please make sure it is defined" >&2;}
4388
+
4389
+  rm -f "$ac_tmp/stdin"
4390
+  case $ac_file in
4391
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4392
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4393
+  esac \
4394
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4395
+ ;;
4396
+
4397
+
4398
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4399
+$as_echo "$as_me: executing $ac_file commands" >&6;}
4400
+ ;;
4401
+  esac
4402
+
4403
+
4404
+  case $ac_file$ac_mode in
4405
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4406
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
4407
+  # are listed without --file.  Let's play safe and only enable the eval
4408
+  # if we detect the quoting.
4409
+  case $CONFIG_FILES in
4410
+  *\'*) eval set x "$CONFIG_FILES" ;;
4411
+  *)   set x $CONFIG_FILES ;;
4412
+  esac
4413
+  shift
4414
+  for mf
4415
+  do
4416
+    # Strip MF so we end up with the name of the file.
4417
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
4418
+    # Check whether this is an Automake generated Makefile or not.
4419
+    # We used to match only the files named `Makefile.in', but
4420
+    # some people rename them; so instead we look at the file content.
4421
+    # Grep'ing the first line is not enough: some people post-process
4422
+    # each Makefile.in and add a new line on top of each file to say so.
4423
+    # Grep'ing the whole file is not good either: AIX grep has a line
4424
+    # limit of 2048, but all sed's we know have understand at least 4000.
4425
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4426
+      dirpart=`$as_dirname -- "$mf" ||
4427
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4428
+        X"$mf" : 'X\(//\)[^/]' \| \
4429
+        X"$mf" : 'X\(//\)$' \| \
4430
+        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4431
+$as_echo X"$mf" |
4432
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4433
+           s//\1/
4434
+           q
4435
+         }
4436
+         /^X\(\/\/\)[^/].*/{
4437
+           s//\1/
4438
+           q
4439
+         }
4440
+         /^X\(\/\/\)$/{
4441
+           s//\1/
4442
+           q
4443
+         }
4444
+         /^X\(\/\).*/{
4445
+           s//\1/
4446
+           q
4447
+         }
4448
+         s/.*/./; q'`
4449
+    else
4450
+      continue
4451
+    fi
4452
+    # Extract the definition of DEPDIR, am__include, and am__quote
4453
+    # from the Makefile without running `make'.
4454
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4455
+    test -z "$DEPDIR" && continue
4456
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
4457
+    test -z "am__include" && continue
4458
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4459
+    # When using ansi2knr, U may be empty or an underscore; expand it
4460
+    U=`sed -n 's/^U = //p' < "$mf"`
4461
+    # Find all dependency output files, they are included files with
4462
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
4463
+    # simplest approach to changing $(DEPDIR) to its actual value in the
4464
+    # expansion.
4465
+    for file in `sed -n "
4466
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4467
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4468
+      # Make sure the directory exists.
4469
+      test -f "$dirpart/$file" && continue
4470
+      fdir=`$as_dirname -- "$file" ||
4471
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4472
+        X"$file" : 'X\(//\)[^/]' \| \
4473
+        X"$file" : 'X\(//\)$' \| \
4474
+        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4475
+$as_echo X"$file" |
4476
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4477
+           s//\1/
4478
+           q
4479
+         }
4480
+         /^X\(\/\/\)[^/].*/{
4481
+           s//\1/
4482
+           q
4483
+         }
4484
+         /^X\(\/\/\)$/{
4485
+           s//\1/
4486
+           q
4487
+         }
4488
+         /^X\(\/\).*/{
4489
+           s//\1/
4490
+           q
4491
+         }
4492
+         s/.*/./; q'`
4493
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
4494
+      # echo "creating $dirpart/$file"
4495
+      echo '# dummy' > "$dirpart/$file"
4496
+    done
4497
+  done
4498
+}
4499
+ ;;
4500
+    "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
4501
+
4502
+  esac
4503
+done # for ac_tag
4504
+
4505
+
4506
+as_fn_exit 0
4507
+_ACEOF
4508
+ac_clean_files=$ac_clean_files_save
4509
+
4510
+test $ac_write_fail = 0 ||
4511
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4512
+
4513
+
4514
+# configure is writing to config.log, and then calls config.status.
4515
+# config.status does its own redirection, appending to config.log.
4516
+# Unfortunately, on DOS this fails, as config.log is still kept open
4517
+# by configure, so config.status won't be able to write to it; its
4518
+# output is simply discarded.  So we exec the FD to /dev/null,
4519
+# effectively closing config.log, so it can be properly (re)opened and
4520
+# appended to by config.status.  When coming back to configure, we
4521
+# need to make the FD available again.
4522
+if test "$no_create" != yes; then
4523
+  ac_cs_success=:
4524
+  ac_config_status_args=
4525
+  test "$silent" = yes &&
4526
+    ac_config_status_args="$ac_config_status_args --quiet"
4527
+  exec 5>/dev/null
4528
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4529
+  exec 5>>config.log
4530
+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4531
+  # would make configure fail if this is the last instruction.
4532
+  $ac_cs_success || as_fn_exit 1
4533
+fi
4534
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4535
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4536
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4537
+fi
4538
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/configure.in newlib-2.5.0-zip/libgloss/zip/configure.in
4539
--- newlib-2.5.0/libgloss/zip/configure.in      1969-12-31 19:00:00.000000000 -0500
4540
+++ newlib-2.5.0-zip/libgloss/zip/configure.in  2017-01-13 12:13:39.668316626 -0500
4541
@@ -0,0 +1,200 @@
4542
+# Copyright (c) 1995, 1996 Cygnus Support
4543
+#
4544
+# The authors hereby grant permission to use, copy, modify, distribute,
4545
+# and license this software and its documentation for any purpose, provided
4546
+# that existing copyright notices are retained in all copies and that this
4547
+# notice is included verbatim in any distributions. No written agreement,
4548
+# license, or royalty fee is required for any of the authorized uses.
4549
+# Modifications to this software may be copyrighted by their authors
4550
+# and need not follow the licensing terms described here, provided that
4551
+# the new terms are clearly indicated on the first page of each file where
4552
+# they apply.
4553
+#
4554
+# Process this file with autoconf to produce a configure script.
4555
+#
4556
+AC_PREREQ(2.59)
4557
+AC_INIT(libzip.a)
4558
+AC_CONFIG_HEADER(config.h)
4559
+
4560
+if test "${enable_shared}" = "yes" ; then
4561
+    echo "Shared libraries not supported for cross compiling, ignored"
4562
+fi
4563
+
4564
+if test "$srcdir" = "." ; then
4565
+  if test "${with_target_subdir}" != "." ; then
4566
+    libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
4567
+  else
4568
+    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
4569
+  fi
4570
+else
4571
+  libgloss_topdir="${srcdir}/../.."
4572
+fi
4573
+AC_CONFIG_AUX_DIR($libgloss_topdir)
4574
+
4575
+AC_CANONICAL_SYSTEM
4576
+AC_ARG_PROGRAM
4577
+
4578
+AC_PROG_INSTALL
4579
+
4580
+AC_DEFINE(HAVE_GNU_LD)
4581
+dnl Make sure syscall names match those being used by newlib
4582
+case "${target}" in
4583
+  *-*-cygwin*)
4584
+       ;;
4585
+  a29k-amd-udi)
4586
+       ;;
4587
+  arc-*-*)
4588
+       ;;
4589
+  arm*-*-*)
4590
+       ;;
4591
+  bfin-*-*)
4592
+       ;;
4593
+  cris-*-* | crisv32-*-*)
4594
+       ;;
4595
+  d10v*)
4596
+       ;;
4597
+  h8300*-*-*)
4598
+       ;;
4599
+  h8500-*-*)
4600
+       ;;
4601
+  i[3456]86-*-sco*)
4602
+       ;;
4603
+  lm32-*-*)
4604
+       ;;
4605
+  m32r-*-*)
4606
+       ;;
4607
+  mn10?00-*-*)
4608
+       ;;
4609
+  powerpcle-*-pe)
4610
+       ;;
4611
+  sh*-*-*)
4612
+       ;;
4613
+  sparc-sun-sunos*)
4614
+       ;;
4615
+  sparc64-*-*)
4616
+       ;;
4617
+  v850*-*-*)
4618
+       ;;
4619
+  w65-*-*)
4620
+       ;;
4621
+  xstormy16-*-*)
4622
+       ;;
4623
+  z8k-*-*)
4624
+       ;;
4625
+  zip*)
4626
+       ;;
4627
+  *)
4628
+       AC_DEFINE(MISSING_SYSCALL_NAMES)
4629
+       ;;
4630
+esac
4631
+
4632
+AC_DEFINE(HAVE_ELF)
4633
+
4634
+dnl Make sure we know if elf format used
4635
+case "${target}" in
4636
+  *-*-elf | zip*)
4637
+        AC_DEFINE(HAVE_ELF)
4638
+
4639
+        AC_CACHE_CHECK([for .previous assembler directive],
4640
+                         libc_cv_asm_previous_directive, [dnl
4641
+        libc_cv_asm_previous_directive=no
4642
+        cat > conftest.s <<EOF
4643
+.section foo_section
4644
+.previous
4645
+EOF
4646
+        if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
4647
+          libc_cv_asm_previous_directive=yes
4648
+        fi
4649
+        rm -f conftest*])
4650
+
4651
+       if test "x${libc_cv_asm_previous_directive}" = "xyes"; then
4652
+          AC_DEFINE(HAVE_ASM_PREVIOUS_DIRECTIVE)
4653
+       fi
4654
+
4655
+        AC_CACHE_CHECK([for .popsection assembler directive],
4656
+                         libc_cv_asm_popsection_directive, [dnl
4657
+        libc_cv_asm_popsection_directive=no
4658
+        cat > conftest.s <<EOF
4659
+.pushsection foo_section
4660
+.popsection
4661
+EOF
4662
+        if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.s 1>&AC_FD_CC); then
4663
+          libc_cv_asm_popsection_directive=yes
4664
+        fi
4665
+        rm -f conftest*])
4666
+
4667
+       if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then
4668
+          AC_DEFINE(HAVE_ASM_POPSECTION_DIRECTIVE)
4669
+       fi
4670
+
4671
+        AC_CACHE_CHECK([for section attributes],
4672
+                         libc_cv_section_attributes, [dnl
4673
+        libc_cv_section_attributes=no
4674
+        cat > conftest.c <<EOF
4675
+int secttest __attribute__ ((section (".gnu.warning.secttest"))) = 10;
4676
+int main() {}
4677
+EOF
4678
+        if AC_TRY_COMMAND(${CC-cc} -c $CFLAGS conftest.c 1>&AC_FD_CC); then
4679
+          libc_cv_section_attributes=yes
4680
+        fi
4681
+        rm -f conftest*])
4682
+       if test "x${libc_cv_section_attributes}" = "xyes"; then
4683
+          AC_DEFINE(HAVE_SECTION_ATTRIBUTES)
4684
+       fi
4685
+        ;;
4686
+esac
4687
+
4688
+AC_CACHE_CHECK([for symbol prefix], libc_cv_symbol_prefix, [dnl
4689
+cat > conftest.c <<\EOF
4690
+foo () { }
4691
+EOF
4692
+dnl
4693
+libc_cv_symbol_prefix=none
4694
+if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]);
4695
+then
4696
+  libc_cv_symbol_prefix='$'
4697
+else
4698
+  if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]);
4699
+  then
4700
+    libc_cv_symbol_prefix=_
4701
+  fi
4702
+fi
4703
+rm -f conftest* ])
4704
+if test $libc_cv_symbol_prefix != none; then
4705
+  AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_cv_symbol_prefix")
4706
+else
4707
+  AC_DEFINE(__SYMBOL_PREFIX, "")
4708
+fi
4709
+
4710
+LIB_AC_PROG_CC
4711
+AS=${AS-as}
4712
+AC_SUBST(AS)
4713
+AR=${AR-ar}
4714
+AC_SUBST(AR)
4715
+LD=${LD-ld}
4716
+AC_SUBST(LD)
4717
+AC_PROG_RANLIB
4718
+LIB_AM_PROG_AS
4719
+
4720
+host_makefile_frag=${srcdir}/../config/default.mh
4721
+
4722
+dnl We have to assign the same value to other variables because autoconf
4723
+dnl doesn't provide a mechanism to substitute a replacement keyword with
4724
+dnl arbitrary data or pathnames.
4725
+dnl
4726
+host_makefile_frag_path=$host_makefile_frag
4727
+AC_SUBST(host_makefile_frag_path)
4728
+AC_SUBST_FILE(host_makefile_frag)
4729
+
4730
+AC_CONFIG_FILES(Makefile,
4731
+ac_file=Makefile . ${libgloss_topdir}/config-ml.in,
4732
+srcdir=${srcdir}
4733
+target=${target}
4734
+with_multisubdir=${with_multisubdir}
4735
+ac_configure_args="${ac_configure_args} --enable-multilib"
4736
+CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
4737
+libgloss_topdir=${libgloss_topdir}
4738
+)
4739
+AC_OUTPUT
4740
+
4741
+
4742
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/crt0.c newlib-2.5.0-zip/libgloss/zip/crt0.c
4743
--- newlib-2.5.0/libgloss/zip/crt0.c    1969-12-31 19:00:00.000000000 -0500
4744
+++ newlib-2.5.0-zip/libgloss/zip/crt0.c        2017-02-21 16:48:24.891606509 -0500
4745
@@ -0,0 +1,288 @@
4746
+////////////////////////////////////////////////////////////////////////////////
4747
+//
4748
+// Filename:   crt0.c
4749
+//
4750
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
4751
+//
4752
+// Purpose:    To start a program from flash, loading its various components
4753
+//             into on-chip block RAM, or off-chip DDR3 SDRAM, as indicated
4754
+//     by the symbols/pointers within the program itself.  As you will notice
4755
+//     by the names of the symbols, it is assumed that a kernel will be placed
4756
+//     into block RAM.
4757
+//
4758
+//     This particular implementation depends upon the following symbols
4759
+//     being defined:
4760
+//
4761
+//     int main(int argc, char **argv)
4762
+//             The location where your program will start from, once fully
4763
+//             loaded.  argc will always be set to zero, and ARGV to a pointer
4764
+//             to zero.
4765
+//
4766
+//     _top_of_stack:
4767
+//             A pointer to a location in memory which we can use for a stack.
4768
+//             The bootloader doesn't use much of this memory, although it does
4769
+//             use it.  It then resets the stack to this location and calls
4770
+//             your program.
4771
+//
4772
+//     _top_of_heap:
4773
+//             While not used by this program, this is assumed to be defined
4774
+//             by the linker as the lowest memory address in a space that can
4775
+//             be used by a malloc/free restore capability.
4776
+//
4777
+//     _flash:
4778
+//             The address of the beginning of physical FLASH device.  This is
4779
+//             not the first usable address on that device, as that is often
4780
+//             reserved for the first two FPGA configurations.
4781
+//
4782
+//     _blkram:
4783
+//             The first address of the block RAM memory within the FPGA.
4784
+//
4785
+//     _sdram:
4786
+//             The address of the beginning of physical SDRAM.
4787
+//
4788
+//     _kernel_image_start:
4789
+//             The address of that location within FLASH where the sections
4790
+//             needing to be moved begin at.
4791
+//
4792
+//     _kernel_image_end:
4793
+//             The last address within block RAM that needs to be filled in.
4794
+//
4795
+//     _sdram_image_start:
4796
+//             This address is more confusing.  This is equal to one past the
4797
+//             last used block RAM address, or the last used flash address if
4798
+//             no block RAM is used.  It is used for determining whether or not
4799
+//             block RAM was used at all.
4800
+//
4801
+//     _sdram_image_end:
4802
+//             This is one past the last address in SDRAM that needs to be
4803
+//             set with valid data.
4804
+//
4805
+//             This pointer is made even more confusing by the fact that,
4806
+//             if there is nothing allocated in SDRAM, this pointer will
4807
+//             still point to block RAM.  To make matters worse, the MAP
4808
+//             file won't match the pointer in memory.  (I spent three days
4809
+//             trying to chase this down, and came up empty.  Basically,
4810
+//             the BFD structures may set this to point to block RAM, whereas
4811
+//             the MAP--which uses different data and different methods of
4812
+//             computation--may leave this pointing to SDRAM.  Go figure.)
4813
+//
4814
+//     _bss_image_end:
4815
+//             This is the last address of memory that must be cleared upon
4816
+//             startup, for which the program is assuming that it is zero.
4817
+//             While it may not be necessary to clear the BSS memory, since
4818
+//             BSS memory is always zero on power up, this bootloader does so
4819
+//             anyway--since we might be starting from a reset instead of power
4820
+//             up.
4821
+//
4822
+//
4823
+//
4824
+// Creator:    Dan Gisselquist, Ph.D.
4825
+//             Gisselquist Technology, LLC
4826
+//
4827
+////////////////////////////////////////////////////////////////////////////////
4828
+//
4829
+// Copyright (C) 2017, Gisselquist Technology, LLC
4830
+//
4831
+// This program is free software (firmware): you can redistribute it and/or
4832
+// modify it under the terms of  the GNU General Public License as published
4833
+// by the Free Software Foundation, either version 3 of the License, or (at
4834
+// your option) any later version.
4835
+//
4836
+// This program is distributed in the hope that it will be useful, but WITHOUT
4837
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
4838
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4839
+// for more details.
4840
+//
4841
+// License:    GPL, v3, as defined and found on www.gnu.org,
4842
+//             http://www.gnu.org/licenses/gpl.html
4843
+//
4844
+//
4845
+////////////////////////////////////////////////////////////////////////////////
4846
+//
4847
+//
4848
+#include "zipcpu.h"
4849
+#include "board.h"             // Our current board support file
4850
+#include "bootloader.h"
4851
+
4852
+// A bootloader is about nothing more than copying memory from a couple
4853
+// particular locations (Flash/ROM) to other locations in memory (BLKRAM
4854
+// and SDRAM).  Our DMA is a hardware accelerator that does nothing but
4855
+// copy memory from one location to another.  Why not use the DMA for this
4856
+// purpose then?
4857
+//
4858
+// Here, we have a USE_DMA #define.  When this is defined, the memory copy
4859
+// will be done using the DMA hardware accelerator.  This is a good thing,
4860
+// and this should be defined.  There are two problems with defining this
4861
+// however: 1) It obscures for any readers of this code what is actually
4862
+// happening, and 2) it makes the code dependent upon yet another piece of the
4863
+// hardware design working.  For these reasons, we allow you to turn it off.
4864
+#ifdef _HAS_ZIPSYS_DMA
4865
+#define        USE_DMA
4866
+#endif
4867
+
4868
+//
4869
+// _start:
4870
+//
4871
+// Every computer needs to start processing from somewhere on reboot, and every
4872
+// program needs some entry point.  For the ZipCPU, that starting place is the
4873
+// routine with the _start symbol.  It is important that this start symbol be
4874
+// placed at the boot address for the CPU.  This is the very first address of
4875
+// program memory, and (currently) on the Arty board it is placed in Flash at
4876
+// _start = 0x4e0000.  To make certain this routine goes into the very first
4877
+// address in flash, we place it into it's own special section, the .start
4878
+// section, and then tell the linker that the .start section is the first
4879
+// section where it needs to start placing code.
4880
+//
4881
+// If you read through this short assembly routine below, you'll find that it
4882
+// does only a small number of tasks.  It sets the stack pointer to point to
4883
+// the top of the stack (a symbol defined in the linker file), calls the
4884
+// bootloader, resets the stack pointer, clears any data cache, and then calls
4885
+// the kernel entry function.  It also sets up a return address for the kernel
4886
+// entry function so that, should the kernel ever exit, it wouldn't exit on
4887
+// any error but rather it would exit by halting the CPU.
4888
+//
4889
+asm("\t.section\t.start,\"ax\",@progbits\n"
4890
+       "\t.global\t_start\n"
4891
+"_start:"      "\t; Here's the global ZipCPU entry point upon reset/reboot\n"
4892
+       "\tLDI\t_top_of_stack,SP"       "\t; Set up our supervisor stack ptr\n"
4893
+       "\tMOV\t_kernel_is_dead(PC),uPC" "\t; Set user PC pointer to somewhere valid\n"
4894
+#ifndef        SKIP_BOOTLOADER
4895
+       "\tMOV\t_after_bootloader(PC),R0" " ; JSR to the bootloader routine\n"
4896
+       "\tBRA\t_bootloader\n"
4897
+"_after_bootloader:\n"
4898
+       "\tLDI\t_top_of_stack,SP"       "\t; Set up our supervisor stack ptr\n"
4899
+       "\tOR\t0x4000,CC"               "\t; Clear the data cache\n"
4900
+#endif
4901
+#ifdef __USE_INIT_FINIT
4902
+       "\tJSR\tinit"           "\t; Initialize any constructor code\n"
4903
+       //
4904
+       "\tLDI\tfini,R1"        "\t; \n"
4905
+       "\tJSR\t_atexit"        "\t; Initialize any constructor code\n"
4906
+#endif
4907
+       //
4908
+       "\tCLR\tR1"                     "\t; argc = 0\n"
4909
+       "\tMOV\t_argv(PC),R2"           "\t; argv = &0\n"
4910
+       "\tLDI\t__env,R3"               "\t; env = NULL\n"
4911
+       "\tJSR\tmain"           "\t; Call the user main() function\n"
4912
+       //
4913
+"_graceful_kernel_exit:"       "\t; Halt on any return from main--gracefully\n"
4914
+       "\tJSR\texit\n" "\t; Call the _exit as part of exiting\n"
4915
+"\t.global\t_exit\n"
4916
+"_exit:\n"
4917
+#ifdef _ZIP_HAS_WBUART
4918
+       "\tLW 0x15c,R2\n"       "\t; Wait for the serial port to clear\n"
4919
+       "\tTEST 0x100,R2\n"
4920
+       "\tBNZ _exit\n"
4921
+#endif
4922
+       "\tNEXIT\tR1\n"         "\t; If in simulation, call an exit function\n"
4923
+"_kernel_is_dead:"             "\t; Halt the CPU\n"
4924
+       "\tHALT\n"              "\t; We should *never* continue following a\n"
4925
+       "\tBRA\t_kernel_is_dead" "\t; halt, do something useful if so ??\n"
4926
+"_argv:\n"
4927
+       "\t.WORD\t0,0\n"
4928
+       "\t.section\t.text");
4929
+
4930
+//
4931
+// We need to insist that the bootloader be kept in Flash, else it would depend
4932
+// upon running a routine from memory that ... wasn't in memory yet.  For this
4933
+// purpose, we place the bootloader in a special .boot section.  We'll also tell
4934
+// the linker, via the linker script, that this .boot section needs to be placed
4935
+// into flash.
4936
+//
4937
+extern void    _bootloader(void) __attribute__ ((section (".boot")));
4938
+
4939
+//
4940
+// bootloader()
4941
+//
4942
+// Here's the actual boot loader itself.  It copies three areas from flash:
4943
+//     1. An area from flash to block RAM
4944
+//     2. A second area from flash to SDRAM
4945
+//     3. The third area isn't copied from flash, but rather it is just set to
4946
+//             zero.  This is sometimes called the BSS segment.
4947
+//
4948
+#ifndef        SKIP_BOOTLOADER
4949
+void   _bootloader(void) {
4950
+       int *sdend = _sdram_image_end, *bsend = _bss_image_end;
4951
+       if (sdend < _sdram)
4952
+               sdend = _sdram; // R7
4953
+       if (bsend < sdend)
4954
+               bsend = sdend;  // R6
4955
+
4956
+#ifdef USE_DMA
4957
+       zip->z_dma.d_ctrl= DMACLEAR;
4958
+       zip->z_dma.d_rd = _kernel_image_start;
4959
+       if (_kernel_image_end != _blkram) {
4960
+               zip->z_dma.d_len = _kernel_image_end - _blkram;
4961
+               zip->z_dma.d_wr  = _blkram;
4962
+               zip->z_dma.d_ctrl= DMACCOPY;
4963
+
4964
+               zip->z_pic = SYSINT_DMAC;
4965
+               while((zip->z_pic & SYSINT_DMAC)==0)
4966
+                       ;
4967
+       }
4968
+
4969
+       // zip->z_dma.d_rd // Keeps the same value
4970
+       zip->z_dma.d_wr  = _sdram;
4971
+       if (sdend != _sdram) {
4972
+               zip->z_dma.d_len = sdend - _sdram;
4973
+               zip->z_dma.d_ctrl= DMACCOPY;
4974
+
4975
+               zip->z_pic = SYSINT_DMAC;
4976
+               while((zip->z_pic & SYSINT_DMAC)==0)
4977
+                       ;
4978
+       }
4979
+
4980
+       if (bsend != sdend) {
4981
+               volatile int    zero = 0;
4982
+
4983
+               zip->z_dma.d_len = bsend - sdend;
4984
+               zip->z_dma.d_rd  = (unsigned *)&zero;
4985
+               // zip->z_dma.wr // Keeps the same value
4986
+               zip->z_dma.d_ctrl = DMACCOPY|DMA_CONSTSRC;
4987
+
4988
+               zip->z_pic = SYSINT_DMAC;
4989
+               while((zip->z_pic & SYSINT_DMAC)==0)
4990
+                       ;
4991
+       }
4992
+#else
4993
+       int     *rdp = _kernel_image_start, *wrp = _blkram;
4994
+
4995
+       if (BKRAM == NULL)
4996
+               wrp = _sdram;
4997
+
4998
+       //
4999
+       // Load any part of the image into block RAM, but *only* if there's a
5000
+       // block RAM section in the image.  Based upon our LD script, the
5001
+       // block RAM should be filled from _blkram to _kernel_image_end.
5002
+       // It starts at _kernel_image_start --- our last valid address within
5003
+       // the flash address region.
5004
+       //
5005
+       if (_kernel_image_end != _kernel_image_start) {
5006
+               while(wrp < _kernel_image_end)
5007
+                       *wrp++ = *rdp++;
5008
+               if (_kernel_image_end <= _sdram)
5009
+                       wrp = _sdram;
5010
+       }
5011
+
5012
+       //
5013
+       // Now, we move on to the SDRAM image.  We'll here load into SDRAM
5014
+       // memory up to the end of the SDRAM image, _sdram_image_end.
5015
+       // As with the last pointer, this one is also created for us by the
5016
+       // linker.
5017
+       //
5018
+       for(int i=0; i< sdend - _sdram; i++)
5019
+               *wrp++ = *rdp++;
5020
+
5021
+       //
5022
+       // Finally, we load BSS.  This is the segment that only needs to be
5023
+       // cleared to zero.  It is available for global variables, but some
5024
+       // initialization is expected within it.  We start writing where
5025
+       // the valid SDRAM context, i.e. the non-zero contents, end.
5026
+       //
5027
+       for(int i=0; i<bsend - sdend; i++)
5028
+               *wrp++ = 0;
5029
+
5030
+#endif
5031
+}
5032
+#endif
5033
+
5034
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/Makefile.in newlib-2.5.0-zip/libgloss/zip/Makefile.in
5035
--- newlib-2.5.0/libgloss/zip/Makefile.in       1969-12-31 19:00:00.000000000 -0500
5036
+++ newlib-2.5.0-zip/libgloss/zip/Makefile.in   2017-02-21 16:51:32.166122654 -0500
5037
@@ -0,0 +1,116 @@
5038
+# Copyright (c) 1998 Cygnus Support
5039
+#
5040
+# The authors hereby grant permission to use, copy, modify, distribute,
5041
+# and license this software and its documentation for any purpose, provided
5042
+# that existing copyright notices are retained in all copies and that this
5043
+# notice is included verbatim in any distributions. No written agreement,
5044
+# license, or royalty fee is required for any of the authorized uses.
5045
+# Modifications to this software may be copyrighted by their authors
5046
+# and need not follow the licensing terms described here, provided that
5047
+# the new terms are clearly indicated on the first page of each file where
5048
+# they apply.
5049
+
5050
+DESTDIR =
5051
+VPATH = @srcdir@
5052
+srcdir = @srcdir@
5053
+objdir = .
5054
+srcroot = $(srcdir)/../..
5055
+objroot = $(objdir)/../..
5056
+
5057
+prefix = @prefix@
5058
+exec_prefix = @exec_prefix@
5059
+
5060
+host_alias = @host_alias@
5061
+target_alias = @target_alias@
5062
+program_transform_name = @program_transform_name@
5063
+
5064
+bindir = @bindir@
5065
+libdir = @libdir@
5066
+tooldir = $(exec_prefix)/$(target_alias)
5067
+
5068
+# Multilib support variables.
5069
+# TOP is used instead of MULTI{BUILD,SRC}TOP.
5070
+MULTIDIRS =
5071
+MULTISUBDIR =
5072
+MULTIDO = true
5073
+MULTICLEAN = true
5074
+
5075
+INSTALL = @INSTALL@
5076
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
5077
+INSTALL_DATA = @INSTALL_DATA@
5078
+
5079
+SHELL =        /bin/sh
5080
+
5081
+CC = @CC@
5082
+AS = @AS@
5083
+AR = @AR@
5084
+LD = @LD@
5085
+RANLIB = @RANLIB@
5086
+
5087
+OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
5088
+       then echo ${objroot}/../binutils/objdump ; \
5089
+       else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
5090
+OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
5091
+       then echo ${objroot}/../binutils/objcopy ; \
5092
+       else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
5093
+
5094
+CFLAGS=-O3
5095
+
5096
+BASIC_BSP   = libzipbasic.a
5097
+BASIC_OBJS  = libboard-syscalls.o libboard-zipcpu.o crt0.o libboard-udiv.o libboard-umod.o
5098
+# SPECS = ${srcdir}/zip.specs
5099
+
5100
+CRT0         = crt0.o
5101
+CRT0_INSTALL  = install-crt0
5102
+
5103
+
5104
+# Host specific makefile fragment comes in here.
5105
+@host_makefile_frag@
5106
+
5107
+OUTPUTS = $(CRT0) $(BASIC_BSP)
5108
+
5109
+all: ${OUTPUTS}
5110
+$(BASIC_BSP): $(BASIC_OBJS)
5111
+       $(AR) $(ARFLAGS) $@ $?
5112
+       $(RANLIB) $@
5113
+
5114
+libboard-%.o: %.c
5115
+       ${CC} ${CFLAGS} -o $@ -c $<
5116
+crt0.o:
5117
+       ${CC} ${CFLAGS} -fno-builtin -o $@ -c $(srcdir)/crt0.c
5118
+
5119
+
5120
+syscalls.o: $(srcdir)/syscalls.c $(srcdir)/boards/zipbasic.h $(srcdir)/zipcpu.h
5121
+syscalls.o: $(srcdir)/zipsys.h
5122
+udiv.o: $(srcdir)/udiv.h
5123
+umod.o: $(srcdir)/umod.h
5124
+zipcpu.o:   $(srcdir)/zipcpu.c
5125
+crt0.o:     $(srcdir)/crt0.c $(srcdir)/boards/zipbasic.h $(srcdir)/zipcpu.h
5126
+crt0.o:     $(srcdir)/zipsys.h
5127
+
5128
+install-crt0:
5129
+       ${INSTALL_DATA} ${CRT0} ${DESTDIR}${tooldir}/lib${MULTISUBDIR}/$$x
5130
+
5131
+
5132
+clean mostlyclean:
5133
+       rm -f $(OUTPUTS) *.i *~ *.o *-test *.srec *.dis *.map *.x
5134
+
5135
+distclean maintainer-clean realclean: clean
5136
+       rm -f Makefile config.status $(OUTPUTS)
5137
+
5138
+.PHONY: install info install-info clean-info
5139
+install: $(OUTPUTS)
5140
+       @for outputs in ${OUTPUTS} ${SPECS}; do\
5141
+        mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
5142
+        $(INSTALL_DATA) $${outputs} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
5143
+       done
5144
+
5145
+info:
5146
+install-info:
5147
+clean-info:
5148
+
5149
+Makefile: Makefile.in config.status @host_makefile_frag_path@
5150
+       $(SHELL) config.status
5151
+
5152
+config.status: configure
5153
+       $(SHELL) config.status --recheck
5154
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/syscalls.c newlib-2.5.0-zip/libgloss/zip/syscalls.c
5155
--- newlib-2.5.0/libgloss/zip/syscalls.c        1969-12-31 19:00:00.000000000 -0500
5156
+++ newlib-2.5.0-zip/libgloss/zip/syscalls.c    2017-03-01 15:49:08.024224966 -0500
5157
@@ -0,0 +1,374 @@
5158
+////////////////////////////////////////////////////////////////////////////////
5159
+//
5160
+// Filename:   syscalls.c
5161
+//
5162
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
5163
+//
5164
+// Purpose:
5165
+//
5166
+//
5167
+// Creator:    Dan Gisselquist, Ph.D.
5168
+//             Gisselquist Technology, LLC
5169
+//
5170
+////////////////////////////////////////////////////////////////////////////////
5171
+//
5172
+// Copyright (C) 2015-2016, Gisselquist Technology, LLC
5173
+//
5174
+// This program is free software (firmware): you can redistribute it and/or
5175
+// modify it under the terms of  the GNU General Public License as published
5176
+// by the Free Software Foundation, either version 3 of the License, or (at
5177
+// your option) any later version.
5178
+//
5179
+// This program is distributed in the hope that it will be useful, but WITHOUT
5180
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
5181
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5182
+// for more details.
5183
+//
5184
+// License:    GPL, v3, as defined and found on www.gnu.org,
5185
+//             http://www.gnu.org/licenses/gpl.html
5186
+//
5187
+//
5188
+////////////////////////////////////////////////////////////////////////////////
5189
+//
5190
+//
5191
+#include <sys/errno.h>
5192
+#include <stdint.h>
5193
+#include <sys/unistd.h>
5194
+#include <sys/types.h>
5195
+#include <sys/stat.h>
5196
+#include <sys/times.h>
5197
+#include <reent.h>
5198
+#include <stdio.h>
5199
+#include "board.h"
5200
+#include "bootloader.h"
5201
+#include "zipcpu.h"
5202
+
5203
+void
5204
+_outbyte(char v) {
5205
+#ifdef _ZIP_HAS_WBUART
5206
+       if (v == '\n') {
5207
+               // Depend upon the WBUART, not the PIC
5208
+               while(_uart->u_fifo & 0x010000)
5209
+                       ;
5210
+               _uarttx = (unsigned)'\r';
5211
+       }
5212
+
5213
+       // Depend upon the WBUART, not the PIC
5214
+       while(_uart->u_fifo & 0x010000)
5215
+               ;
5216
+       uint8_t c = v;
5217
+       _uarttx = (unsigned)c;
5218
+#else
5219
+#ifdef _ZIP_HAS_UARTTX
5220
+       // Depend upon the WBUART, not the PIC
5221
+       while(UARTTX & 0x100)
5222
+               ;
5223
+       uint8_t c = v;
5224
+       UARTTX = (unsigned)c;
5225
+#endif
5226
+#endif
5227
+}
5228
+
5229
+int
5230
+_inbyte(void) {
5231
+#ifdef _ZIP_HAS_WBUARTRX
5232
+       const   int     echo = 1, cr_into_nl = 1;
5233
+       static  int     last_was_cr = 0;
5234
+       int     rv;
5235
+
5236
+       // Character translations:
5237
+       // 1. All characters should be echoed
5238
+       // 2. \r's should quietly be turned into \n's
5239
+       // 3. \r\n's should quietly be turned into \n's
5240
+       // 4. \n's should be passed as is
5241
+       // Insist on at least one character
5242
+       rv = _uartrx;
5243
+       if (rv & 0x0100)
5244
+               rv = -1;
5245
+       else if ((cr_into_nl)&&(rv == '\r')) {
5246
+               rv = '\n';
5247
+               last_was_cr = 1;
5248
+       } else if ((cr_into_nl)&&(rv == '\n')) {
5249
+               if (last_was_cr) {
5250
+                       rv = -1;
5251
+                       last_was_cr = 0;
5252
+               }
5253
+       } else
5254
+               last_was_cr = 0;
5255
+
5256
+       if ((rv != -1)&&(echo))
5257
+               _outbyte(rv);
5258
+       return rv;
5259
+#else
5260
+       return -1;
5261
+#endif
5262
+}
5263
+
5264
+int
5265
+_close_r(struct _reent *reent, int file) {
5266
+       reent->_errno = EBADF;
5267
+
5268
+       return -1;      /* Always fails */
5269
+}
5270
+
5271
+char   *__env[1] = { 0 };
5272
+char   **environ = __env;
5273
+
5274
+int
5275
+_execve_r(struct _reent *reent, const char *name, char * const *argv, char * const *env)
5276
+{
5277
+       reent->_errno = ENOSYS;
5278
+       return -1;
5279
+}
5280
+
5281
+int
5282
+_fork_r(struct _reent *reent)
5283
+{
5284
+       reent->_errno = ENOSYS;
5285
+       return -1;
5286
+}
5287
+
5288
+int
5289
+_fstat_r(struct _reent *reent, int file, struct stat *st)
5290
+{
5291
+       if ((STDOUT_FILENO == file)||(STDERR_FILENO == file)
5292
+               ||(STDIN_FILENO == file)) {
5293
+               st->st_mode = S_IFCHR;
5294
+               return 0;
5295
+#ifdef _ZIP_HAS_SDCARD_NOTYET
5296
+       } else if (SDCARD_FILENO == file) {
5297
+               st->st_mode = S_IFBLK;
5298
+#endif
5299
+       } else {
5300
+               reent->_errno = EBADF;
5301
+               return -1;
5302
+       }
5303
+}
5304
+
5305
+int
5306
+_getpid_r(struct _reent *reent)
5307
+{
5308
+       return 1;
5309
+}
5310
+
5311
+int
5312
+_gettimeofday_r(struct _reent *reent, struct timeval *ptimeval, void *ptimezone)
5313
+{
5314
+#ifdef _ZIP_HAS_RTC
5315
+       if (ptimeval) {
5316
+               uint32_t        now, date;
5317
+               unsigned        s, m, h, tod;
5318
+
5319
+               now = _rtcdev->r_clock;
5320
+
5321
+#ifdef _ZIP_HAS_RTDATE
5322
+               unsigned        d, y, c, yy, days_since_epoch;
5323
+               int             ly;
5324
+
5325
+               date= *_rtdate;
5326
+
5327
+               d = ( date     &0x0f)+((date>> 4)&0x0f)*10;
5328
+               m = ((date>> 8)&0x0f)+((date>>12)&0x0f)*10;
5329
+               y = ((date>>16)&0x0f)+((date>>20)&0x0f)*10;
5330
+               c = ((date>>24)&0x0f)+((date>>28)&0x0f)*10;
5331
+
5332
+               ly = 0;
5333
+               if ((y&3)==0) {
5334
+                       if (y!=0)
5335
+                               ly = 1;
5336
+                       else if ((y&3)==0)
5337
+                               ly = 1;
5338
+               }
5339
+
5340
+               days_since_epoch = d;
5341
+               if (m>1) {
5342
+                       days_since_epoch += 31;
5343
+                       if (m>2) {
5344
+                               days_since_epoch += 28;
5345
+                               if (ly) days_since_epoch++;
5346
+                               if (m>3)  { days_since_epoch += 31;
5347
+                               if (m>4)  { days_since_epoch += 30;
5348
+                               if (m>5)  { days_since_epoch += 31;
5349
+                               if (m>6)  { days_since_epoch += 30;
5350
+                               if (m>7)  { days_since_epoch += 31;
5351
+                               if (m>8)  { days_since_epoch += 31;
5352
+                               if (m>9)  { days_since_epoch += 30;
5353
+                               if (m>10) { days_since_epoch += 31;
5354
+                               if (m>11)   days_since_epoch += 30;
5355
+               }}}}}}}}}}
5356
+
5357
+               for(yy=1970; yy<(c*100+y); yy++) {
5358
+                       if ((yy&3)==0)
5359
+                               days_since_epoch += 366;
5360
+                       else
5361
+                               days_since_epoch += 365;
5362
+               }
5363
+
5364
+               ptimeval->tv_sec  = days_since_epoch * 86400l;
5365
+#else
5366
+               ptimeval->tv_sec  = 0;
5367
+#endif
5368
+
5369
+               s = ( now     &0x0f)+((now>> 4)&0x0f)*10;
5370
+               m = ((now>> 8)&0x0f)+((now>>12)&0x0f)*10;
5371
+               h = ((now>>16)&0x0f)+((now>>20)&0x0f)*10;
5372
+               tod = (h * 60 + m) * 60;
5373
+               ptimeval->tv_sec += tod;
5374
+
5375
+               ptimeval->tv_usec = 0;
5376
+       }
5377
+       return 0;
5378
+#else
5379
+       reent->_errno = ENOSYS;
5380
+       return -1;
5381
+#endif
5382
+}
5383
+
5384
+int
5385
+_isatty_r(struct _reent *reent, int file)
5386
+{
5387
+       if ((STDIN_FILENO == file)
5388
+                       ||(STDOUT_FILENO == file)
5389
+                       ||(STDERR_FILENO==file))
5390
+               return 1;
5391
+       return 0;
5392
+}
5393
+
5394
+int
5395
+_kill_r(struct _reent *reent, int pid, int sig)
5396
+{
5397
+       reent->_errno = ENOSYS;
5398
+       return -1;
5399
+}
5400
+
5401
+int
5402
+_link_r(struct _reent *reent, const char *existing, const char *new)
5403
+{
5404
+       reent->_errno = ENOSYS;
5405
+       return -1;
5406
+}
5407
+
5408
+_off_t
5409
+_lseek_r(struct _reent *reent, int file, _off_t ptr, int dir)
5410
+{
5411
+#ifdef _ZIP_HAS_SDCARD_NOTYET
5412
+       if (SDCARD_FILENO == file) {
5413
+               switch(dir) {
5414
+               case SEEK_SET:  rootfs_offset = ptr;
5415
+               case SEEK_CUR:  rootfs_offset += ptr;
5416
+               case SEEK_END:  rootfs_offset = rootfs->nsectors * rootfs->sectorsize - ptr;
5417
+               default:
5418
+                       reent->_errno = EINVAL; return -1;
5419
+               } return rootfs_offset;
5420
+       }
5421
+#endif
5422
+       reent->_errno = ENOSYS;
5423
+       return -1;
5424
+}
5425
+
5426
+int
5427
+_open_r(struct _reent *reent, const char *file, int flags, int mode)
5428
+{
5429
+#ifdef _ZIP_HAS_SDCARD_NOTYET
5430
+       if (strcmp(file, "/dev/sdcard")==0) {
5431
+               return SDCARD_FILENO;
5432
+       } else {
5433
+               reent->_errno = EACCES;
5434
+               return -1;
5435
+       }
5436
+#endif
5437
+       reent->_errno = ENOSYS;
5438
+       return -1;
5439
+}
5440
+
5441
+int
5442
+_read_r(struct _reent *reent, int file, void *ptr, size_t len)
5443
+{
5444
+#ifdef _ZIP_HAS_WBUARTRX
5445
+       if (STDIN_FILENO == file)
5446
+       {
5447
+               int     nr = 0, rv;
5448
+               char    *chp = ptr;
5449
+
5450
+               while((rv=_inbyte()) &0x0100)
5451
+                       ;
5452
+               *chp++ = (char)rv;
5453
+               nr++;
5454
+
5455
+               // Now read out anything left in the FIFO
5456
+               while((nr < len)&&(((rv=_inbyte()) & 0x0100)==0)) {
5457
+                       *chp++ = (char)rv;
5458
+                       nr++;
5459
+               }
5460
+               return nr;
5461
+       }
5462
+#endif
5463
+#ifdef _ZIP_HAS_SDCARD_NOTYET
5464
+       if (SDCARD_FILENO == file)
5465
+       {
5466
+       }
5467
+#endif
5468
+       errno = ENOSYS;
5469
+       return -1;
5470
+}
5471
+
5472
+int
5473
+_readlink_r(struct _reent *reent, const char *path, char *buf, size_t bufsize)
5474
+{
5475
+       reent->_errno = ENOSYS;
5476
+       return -1;
5477
+}
5478
+
5479
+int
5480
+_stat_r(struct _reent *reent, const char *path, struct stat *buf) {
5481
+       reent->_errno = EIO;
5482
+       return -1;
5483
+}
5484
+
5485
+int
5486
+_unlink_r(struct _reent *reent, const char *path)
5487
+{
5488
+       reent->_errno = EIO;
5489
+       return -1;
5490
+}
5491
+
5492
+int
5493
+_times(struct tms *buf) {
5494
+       errno = EACCES;
5495
+       return -1;
5496
+}
5497
+
5498
+int
5499
+_write_r(struct _reent * reent, int fd, const void *buf, size_t nbytes) {
5500
+       if ((STDOUT_FILENO == fd)||(STDERR_FILENO == fd)) {
5501
+               const   char *cbuf = buf;
5502
+               for(int i=0; i<nbytes; i++)
5503
+                       _outbyte(cbuf[i]);
5504
+               return nbytes;
5505
+       }
5506
+#ifdef _ZIP_HAS_SDCARD_NOTYET
5507
+       if (SDCARD_FILENO == file)
5508
+       {
5509
+       }
5510
+#endif
5511
+
5512
+       reent->_errno = EBADF;
5513
+       return -1;
5514
+}
5515
+
5516
+int
5517
+_wait(int *status) {
5518
+       errno = ECHILD;
5519
+       return -1;
5520
+}
5521
+
5522
+int    *heap = _top_of_heap;
5523
+
5524
+void *
5525
+_sbrk_r(struct _reent *reent, int sz) {
5526
+       int     *prev = heap;
5527
+
5528
+       heap += sz;
5529
+       return  prev;
5530
+}
5531
+
5532
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/udiv.c newlib-2.5.0-zip/libgloss/zip/udiv.c
5533
--- newlib-2.5.0/libgloss/zip/udiv.c    1969-12-31 19:00:00.000000000 -0500
5534
+++ newlib-2.5.0-zip/libgloss/zip/udiv.c        2017-02-21 13:26:22.491163000 -0500
5535
@@ -0,0 +1,229 @@
5536
+////////////////////////////////////////////////////////////////////////////////
5537
+//
5538
+// Filename:   udiv.c
5539
+//
5540
+// Project:    OpenArty, an entirely open SoC based upon the Arty platform
5541
+//
5542
+// Purpose:    This is a temporary file--a crutch if you will--until a similar
5543
+//             capability is merged into GCC.  Right now, GCC has no way of
5544
+//     dividing two 64-bit numbers, and this routine provides that capability.
5545
+//
5546
+//
5547
+// Creator:    Dan Gisselquist, Ph.D.
5548
+//             Gisselquist Technology, LLC
5549
+//
5550
+////////////////////////////////////////////////////////////////////////////////
5551
+//
5552
+// Copyright (C) 2015-2016, Gisselquist Technology, LLC
5553
+//
5554
+// This program is free software (firmware): you can redistribute it and/or
5555
+// modify it under the terms of  the GNU General Public License as published
5556
+// by the Free Software Foundation, either version 3 of the License, or (at
5557
+// your option) any later version.
5558
+//
5559
+// This program is distributed in the hope that it will be useful, but WITHOUT
5560
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
5561
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5562
+// for more details.
5563
+//
5564
+// You should have received a copy of the GNU General Public License along
5565
+// with this program.  (It's in the $(ROOT)/doc directory, run make with no
5566
+// target there if the PDF file isn't present.)  If not, see
5567
+// <http://www.gnu.org/licenses/> for a copy.
5568
+//
5569
+// License:    GPL, v3, as defined and found on www.gnu.org,
5570
+//             http://www.gnu.org/licenses/gpl.html
5571
+//
5572
+//
5573
+////////////////////////////////////////////////////////////////////////////////
5574
+//
5575
+//
5576
+#include <stdint.h>
5577
+
5578
+
5579
+
5580
+#ifdef __ZIPCPU__
5581
+#include "zipcpu.h"
5582
+#else
5583
+uint32_t zip_bitrev(const uint32_t a) {
5584
+       uint32_t        r, b = a;
5585
+       r = 0;
5586
+       for(int i=0; i<32; i++) {
5587
+               r = (r<<1) | (b&1);
5588
+               b >>= 1;
5589
+       } return r;
5590
+}
5591
+#endif
5592
+
5593
+extern int     cltz(unsigned long);
5594
+
5595
+#ifdef __ZIPCPU__
5596
+#define        ASMCLTZ
5597
+#endif
5598
+
5599
+#ifdef ASMCLTZ
5600
+asm("\t.section\t.text\n\t.global\tcltz\n"
5601
+"\t.type\tcltz,@function\n"
5602
+"cltz:\n"
5603
+       "\tMOV  R1,R3\n"
5604
+       "\tCLR  R1\n"
5605
+       "\tCMP  0,R3\n"
5606
+       "\tMOV.Z R2,R3\n"
5607
+       "\tADD.Z 32,R1\n"
5608
+       "\tBREV R3\n"
5609
+       "\tTEST 0x0ffff,R3\n"
5610
+       "\tADD.Z 16,R1\n"
5611
+       "\tLSR.Z 16,R3\n"
5612
+       "\tTEST 0x0ff,R3\n"
5613
+       "\tADD.Z 8,R1\n"
5614
+       "\tLSR.Z 8,R3\n"
5615
+       "\tTEST 0x0f,R3\n"
5616
+       "\tADD.Z 4,R1\n"
5617
+       "\tLSR.Z 4,R3\n"
5618
+       "\tTEST 0x03,R3\n"
5619
+       "\tADD.Z 2,R1\n"
5620
+       "\tLSR.Z 2,R3\n"
5621
+       "\tTEST 0x01,R3\n"
5622
+       "\tADD.Z 1,R1\n"
5623
+       "\tRETN\n");
5624
+#else
5625
+int    __attribute__((noinline))
5626
+cltz(unsigned long v) {
5627
+       uint32_t        hv;
5628
+       int             cnt = 0;
5629
+
5630
+       hv = v >> 32;
5631
+       if (hv == 0) {
5632
+               cnt += 32;
5633
+               hv = v & 0x0ffffffff;
5634
+       }
5635
+
5636
+       hv = zip_bitrev(hv);
5637
+       if ((hv & 0x0ffff)==0) {
5638
+               cnt += 16;
5639
+               hv = hv >> 16;
5640
+       }
5641
+       if ((hv & 0x0ff)==0) {
5642
+               cnt += 8;
5643
+               hv = hv >> 8;
5644
+       }
5645
+       if ((hv & 0x0f)==0) {
5646
+               cnt += 4;
5647
+               hv = hv >> 4;
5648
+       }
5649
+       if ((hv & 0x03)==0) {
5650
+               cnt += 2;
5651
+               hv = hv >> 2;
5652
+       }
5653
+       if ((hv & 0x01)==0)
5654
+               cnt ++;
5655
+       return cnt;
5656
+}
5657
+#endif
5658
+
5659
+#ifdef __ZIPCPU__
5660
+__attribute((noinline))
5661
+#endif
5662
+unsigned long __udivdi3(unsigned long a, unsigned long b) {
5663
+       unsigned long   r;
5664
+
5665
+       if (a < b)
5666
+               return 0;
5667
+       if (((b>>32)==0)&&((a>>32)==0)) {
5668
+               uint32_t        ia, ib, ir;
5669
+
5670
+               ia = (uint32_t) a;
5671
+               ib = (uint32_t) b;
5672
+               ir = ia / ib;
5673
+               r = (unsigned long)ir;
5674
+               return r;
5675
+       }
5676
+
5677
+       int     la = cltz(a), lb = cltz(b);
5678
+       a <<= la;
5679
+       unsigned long   m;
5680
+       if ((lb - la < 32)&&(((b<<la)&0x0ffffffff)==0)) {
5681
+               // Problem is now to divide
5682
+               //      [a * 2^(la-32)] / [b * 2^(la-32)] * 2^(la-la)
5683
+               //
5684
+               uint32_t        ia, ib, ir;
5685
+               b <<= la;
5686
+               ia = (uint32_t)(a>>32);
5687
+               ib = (uint32_t)(b>>32);
5688
+               ir = ia / ib;
5689
+               r = ir;
5690
+               return r;
5691
+       } else {
5692
+               // Problem is now to divide
5693
+               //      [a * 2^(la)] / [b * 2^(lb)] * 2^(lb-la)
5694
+               //
5695
+               r = 0;
5696
+               b <<= lb;
5697
+               m = (1ul<<(lb-la));
5698
+               while(m > 0) {
5699
+                       if (a >= b) {
5700
+                               r |= m;
5701
+                               a -= b;
5702
+                       }
5703
+                       m>>= 1;
5704
+                       b >>= 1;
5705
+               } return r;
5706
+       }
5707
+}
5708
+
5709
+//
5710
+// A possible assembly version of __divdi3
5711
+//
5712
+//     SUB     8,SP
5713
+//     SW      R0,(SP)
5714
+//     SW      R5,4(SP)
5715
+//     LDI     0,R5
5716
+//     CMP     0,R1
5717
+//     BGE     .La_is_nonneg
5718
+//     XOR     1,R5
5719
+//     XOR     -1,R1
5720
+//     XOR     -1,R2
5721
+//     ADD     1,R2
5722
+//     ADD.C   1,R1
5723
+//.La_is_nonneg
5724
+//     CMP     0,R3
5725
+//     BGE     .Lb_is_nonneg
5726
+//     XOR     1,R5
5727
+//     XOR     -1,R3
5728
+//     XOR     -1,R3
5729
+//     ADD     1,R4
5730
+//     ADD.C   1,R3
5731
+//.Lb_is_nonneg
5732
+//     TEST    R5
5733
+//     MOV     .Lnegate_upon_return(PC),R0
5734
+//     MOV.Z   .Lsimple_return(PC),R0
5735
+//     BRA     __udivdi3
5736
+//.Lnegate_upon_return
5737
+//     XOR     -1,R2
5738
+//     XOR     -1,R1
5739
+//     ADD     1,R2
5740
+//     ADD.C   1,R1
5741
+//.Lsimple_return
5742
+//
5743
+//     LW      (SP),R0,(SP)
5744
+//     LW      4(SP),R5)
5745
+//     ADD     8,SP
5746
+//     RETN
5747
+//
5748
+long __divdi3(long a, long b) {
5749
+       int     s = 0;
5750
+       long    r;
5751
+
5752
+       if (a < 0) {
5753
+               s = 1; a = -a;
5754
+       }
5755
+
5756
+       if (b < 0) {
5757
+               s ^= 1; b = -b;
5758
+       }
5759
+
5760
+       r = (long)__udivdi3((unsigned long)a, (unsigned long)b);
5761
+       if (s)
5762
+               r = -r;
5763
+       return r;
5764
+}
5765
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/umod.c newlib-2.5.0-zip/libgloss/zip/umod.c
5766
--- newlib-2.5.0/libgloss/zip/umod.c    1969-12-31 19:00:00.000000000 -0500
5767
+++ newlib-2.5.0-zip/libgloss/zip/umod.c        2017-02-21 13:26:22.491163000 -0500
5768
@@ -0,0 +1,62 @@
5769
+////////////////////////////////////////////////////////////////////////////////
5770
+//
5771
+// Filename:   umod.c
5772
+//
5773
+// Project:    OpenArty, an entirely open SoC based upon the Arty platform
5774
+//
5775
+// Purpose:    This is a temporary file--a crutch if you will--until a similar
5776
+//             capability is merged into GCC.  Right now, GCC has no way of
5777
+//     taking the module of two 64-bit numbers, and this routine provides that
5778
+//     capability.
5779
+//
5780
+//     This routine is required by and used by newlib's printf in order to
5781
+//     print decimal numbers (%d) to an IO stream.
5782
+//
5783
+//     Once gcc is properly patched, this will be removed from the
5784
+//     repository.
5785
+//
5786
+// Creator:    Dan Gisselquist, Ph.D.
5787
+//             Gisselquist Technology, LLC
5788
+//
5789
+////////////////////////////////////////////////////////////////////////////////
5790
+//
5791
+// Copyright (C) 2017, Gisselquist Technology, LLC
5792
+//
5793
+// This program is free software (firmware): you can redistribute it and/or
5794
+// modify it under the terms of  the GNU General Public License as published
5795
+// by the Free Software Foundation, either version 3 of the License, or (at
5796
+// your option) any later version.
5797
+//
5798
+// This program is distributed in the hope that it will be useful, but WITHOUT
5799
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
5800
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5801
+// for more details.
5802
+//
5803
+// You should have received a copy of the GNU General Public License along
5804
+// with this program.  (It's in the $(ROOT)/doc directory, run make with no
5805
+// target there if the PDF file isn't present.)  If not, see
5806
+// <http://www.gnu.org/licenses/> for a copy.
5807
+//
5808
+// License:    GPL, v3, as defined and found on www.gnu.org,
5809
+//             http://www.gnu.org/licenses/gpl.html
5810
+//
5811
+//
5812
+////////////////////////////////////////////////////////////////////////////////
5813
+//
5814
+//
5815
+#include <stdint.h>
5816
+
5817
+
5818
+unsigned long __udivdi3(unsigned long, unsigned long);
5819
+
5820
+__attribute((noinline))
5821
+unsigned long __umoddi3(unsigned long a, unsigned long b) {
5822
+       unsigned long   r;
5823
+
5824
+       // Return a modulo b, or a%b in C syntax
5825
+       r = __udivdi3(a, b);
5826
+       r = r * b;
5827
+       r = a - r;
5828
+       return r;
5829
+}
5830
+
5831
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/zipcpu.c newlib-2.5.0-zip/libgloss/zip/zipcpu.c
5832
--- newlib-2.5.0/libgloss/zip/zipcpu.c  1969-12-31 19:00:00.000000000 -0500
5833
+++ newlib-2.5.0-zip/libgloss/zip/zipcpu.c      2017-01-13 09:55:24.934372729 -0500
5834
@@ -0,0 +1,79 @@
5835
+////////////////////////////////////////////////////////////////////////////////
5836
+//
5837
+// Filename:   zipsystem.c
5838
+//
5839
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
5840
+//
5841
+// Purpose:    Implements some ZipCPU specific functions.  Specifically, these
5842
+//             are the system call trap (which just switches to supervisor
5843
+//             mode), and the two context switching functions.
5844
+//
5845
+//
5846
+// Creator:    Dan Gisselquist, Ph.D.
5847
+//             Gisselquist Technology, LLC
5848
+//
5849
+////////////////////////////////////////////////////////////////////////////////
5850
+//
5851
+// Copyright (C) 2015-2016, Gisselquist Technology, LLC
5852
+//
5853
+// This program is free software (firmware): you can redistribute it and/or
5854
+// modify it under the terms of  the GNU General Public License as published
5855
+// by the Free Software Foundation, either version 3 of the License, or (at
5856
+// your option) any later version.
5857
+//
5858
+// This program is distributed in the hope that it will be useful, but WITHOUT
5859
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
5860
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5861
+// for more details.
5862
+//
5863
+// License:    GPL, v3, as defined and found on www.gnu.org,
5864
+//             http://www.gnu.org/licenses/gpl.html
5865
+//
5866
+//
5867
+////////////////////////////////////////////////////////////////////////////////
5868
+//
5869
+//
5870
+#include "zipcpu.h"
5871
+
5872
+// Implement a save_context function.  This really boils into a long series of
5873
+// instructions within the compiler.  For this reason, it makes more sense
5874
+// for it to be a function call rather than an inline function--although
5875
+// zip_save_context could be either.  Of course, the difficult part of placing
5876
+// it in line is that the CPU may not realize the context changes between one
5877
+// invocation of save_context and the corresponding restore_context function...
5878
+void   save_context(int *c) {
5879
+       zip_save_context(c);
5880
+}
5881
+
5882
+void   restore_context(int *c) {
5883
+       zip_restore_context(c);
5884
+}
5885
+
5886
+#ifdef C_SYSCALL
5887
+/* While the following system call *should* be identical to the assembly
5888
+ * equivalent beneath it, the dependency is actually dependent upon any
5889
+ * optimizations within the compiler.  If the compiler is not optimized,
5890
+ * then it may try to create a stack frame, store id, a, b, and c, on the
5891
+ * stack frame, call the system call, clear the stack frame and return.
5892
+ *
5893
+ * The problem with this is that system traps may believe that they can replace
5894
+ * the system call with a goto.  In that case, there is no knowledge of the
5895
+ * stack frame that needs to be unwound.  Hence, we need to make certain that
5896
+ * the system call does not create a stack frame, and thus use the assembly
5897
+ * form beneath here.
5898
+ */
5899
+int    syscall(const int id, const int a, const int b, const int c) {
5900
+       zip_syscall();
5901
+}
5902
+#else
5903
+/* By making this into an assembly language equivalent, we can be specific about
5904
+ * what we are expecting.  That way the kernel can just set the PC address and
5905
+ * the system call may believe that it was called like any ordinary subroutine.
5906
+ */
5907
+asm(ASMFNSTR("syscall")
5908
+       "\tCLR\tCC\n"
5909
+       "\tRETN\n"
5910
+);
5911
+#endif
5912
+
5913
+
5914
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/zipcpu.h newlib-2.5.0-zip/libgloss/zip/zipcpu.h
5915
--- newlib-2.5.0/libgloss/zip/zipcpu.h  1969-12-31 19:00:00.000000000 -0500
5916
+++ newlib-2.5.0-zip/libgloss/zip/zipcpu.h      2017-01-13 09:55:24.934372729 -0500
5917
@@ -0,0 +1,85 @@
5918
+////////////////////////////////////////////////////////////////////////////////
5919
+//
5920
+// Filename:   zipsys.h
5921
+//
5922
+// Project:    OpenArty, an entirely open SoC based upon the Arty platform
5923
+//
5924
+// Purpose:    Declare the capabilities and memory structure of the ZipSystem
5925
+//             for programs that must interact with it.
5926
+//
5927
+// Creator:    Dan Gisselquist, Ph.D.
5928
+//             Gisselquist Technology, LLC
5929
+//
5930
+////////////////////////////////////////////////////////////////////////////////
5931
+//
5932
+// Copyright (C) 2015-2016, Gisselquist Technology, LLC
5933
+//
5934
+// This program is free software (firmware): you can redistribute it and/or
5935
+// modify it under the terms of  the GNU General Public License as published
5936
+// by the Free Software Foundation, either version 3 of the License, or (at
5937
+// your option) any later version.
5938
+//
5939
+// This program is distributed in the hope that it will be useful, but WITHOUT
5940
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
5941
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5942
+// for more details.
5943
+//
5944
+// You should have received a copy of the GNU General Public License along
5945
+// with this program.  (It's in the $(ROOT)/doc directory, run make with no
5946
+// target there if the PDF file isn't present.)  If not, see
5947
+// <http://www.gnu.org/licenses/> for a copy.
5948
+//
5949
+// License:    GPL, v3, as defined and found on www.gnu.org,
5950
+//             http://www.gnu.org/licenses/gpl.html
5951
+//
5952
+//
5953
+////////////////////////////////////////////////////////////////////////////////
5954
+//
5955
+//
5956
+#ifndef        ZIPCPU_H
5957
+#define        ZIPCPU_H
5958
+
5959
+#define        CC_Z            0x0001
5960
+#define        CC_C            0x0002
5961
+#define        CC_N            0x0004
5962
+#define        CC_V            0x0008
5963
+#define        CC_SLEEP        0x0010
5964
+#define        CC_GIE          0x0020
5965
+#define        CC_STEP         0x0040
5966
+#define        CC_BREAK        0x0080
5967
+#define        CC_ILL          0x0100
5968
+#define        CC_TRAP         0x0200
5969
+#define        CC_BUSERR       0x0400
5970
+#define        CC_DIVERR       0x0800
5971
+#define        CC_FPUERR       0x1000
5972
+#define        CC_IPHASE       0x2000
5973
+#define        CC_MMUERR       0x8000
5974
+#define        CC_FAULT        (CC_ILL|CC_BUSERR|CC_DIVERR|CC_FPUERR)
5975
+#define        CC_EXCEPTION    (CC_BREAK|CC_FAULT|CC_MMUERR)
5976
+
5977
+// extern void zip_break(void);
5978
+#define        zip_break()             asm("BREAK\n")
5979
+// #define     BREAK(ID)       asm("BREAK " ##ID "\n")
5980
+#define        GETUREG(A,ID)   asm("MOV " ID ",%0" : "=r"(A))
5981
+#define        SETUREG(A,ID)   asm("MOV %0," ID : : "r"(A))
5982
+extern void    zip_rtu(void);
5983
+extern void    zip_halt(void);
5984
+extern void    zip_idle(void);
5985
+extern void    zip_syscall(void);
5986
+extern void    zip_restore_context(int *);
5987
+extern void    zip_save_context(int *);
5988
+extern int     zip_bitrev(int v);
5989
+extern unsigned        zip_cc(void);
5990
+extern unsigned        zip_ucc(void);
5991
+
5992
+extern void    save_context(int *);
5993
+extern void    restore_context(int *);
5994
+extern int     syscall(int,int,int,int);
5995
+
5996
+#ifndef        NULL
5997
+#define        NULL    ((void *)0)
5998
+#endif
5999
+
6000
+#define        ASMFNSTR(A)     "\t.section\t.text\n\t.global\t" A "\n\t.type\t" A ",@function\n" A ":\n"
6001
+
6002
+#endif
6003
diff -Naur '--exclude=*.swp' newlib-2.5.0/libgloss/zip/zipsys.h newlib-2.5.0-zip/libgloss/zip/zipsys.h
6004
--- newlib-2.5.0/libgloss/zip/zipsys.h  1969-12-31 19:00:00.000000000 -0500
6005
+++ newlib-2.5.0-zip/libgloss/zip/zipsys.h      2017-02-10 17:53:46.439360330 -0500
6006
@@ -0,0 +1,135 @@
6007
+////////////////////////////////////////////////////////////////////////////////
6008
+//
6009
+// Filename:   zipsys.h
6010
+//
6011
+// Project:    OpenArty, an entirely open SoC based upon the Arty platform
6012
+//
6013
+// Purpose:    Declare the capabilities and memory structure of the ZipSystem
6014
+//             for programs that must interact with it.
6015
+//
6016
+// Creator:    Dan Gisselquist, Ph.D.
6017
+//             Gisselquist Technology, LLC
6018
+//
6019
+////////////////////////////////////////////////////////////////////////////////
6020
+//
6021
+// Copyright (C) 2015-2016, Gisselquist Technology, LLC
6022
+//
6023
+// This program is free software (firmware): you can redistribute it and/or
6024
+// modify it under the terms of  the GNU General Public License as published
6025
+// by the Free Software Foundation, either version 3 of the License, or (at
6026
+// your option) any later version.
6027
+//
6028
+// This program is distributed in the hope that it will be useful, but WITHOUT
6029
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
6030
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
6031
+// for more details.
6032
+//
6033
+// You should have received a copy of the GNU General Public License along
6034
+// with this program.  (It's in the $(ROOT)/doc directory, run make with no
6035
+// target there if the PDF file isn't present.)  If not, see
6036
+// <http://www.gnu.org/licenses/> for a copy.
6037
+//
6038
+// License:    GPL, v3, as defined and found on www.gnu.org,
6039
+//             http://www.gnu.org/licenses/gpl.html
6040
+//
6041
+//
6042
+////////////////////////////////////////////////////////////////////////////////
6043
+//
6044
+//
6045
+#ifndef        ZIPSYS_H
6046
+#define        ZIPSYS_H
6047
+
6048
+typedef        struct  {
6049
+       unsigned        ac_ck, ac_mem, ac_pf, ac_icnt;
6050
+} ZIPTASKCTRS;
6051
+
6052
+typedef        struct  {
6053
+       int     d_ctrl, d_len;
6054
+       int     *d_rd, *d_wr;
6055
+} ZIPDMA;
6056
+
6057
+#define        DMA_TRIGGER     0x00008000
6058
+#define        DMACABORT       0xffed0000
6059
+#define        DMACLEAR        0xafed0000
6060
+#define        DMACCOPY        0x0fed0000
6061
+#define        DMACERR         0x40000000
6062
+#define        DMA_CONSTSRC    0x20000000
6063
+#define        DMA_CONSTDST    0x10000000
6064
+#define        DMAONEATATIME   0x0fed0001
6065
+#define        DMA_BUSY        0x80000000
6066
+#define        DMA_ERR         0x40000000
6067
+#define        DMA_ONINT(INT)  (DMA_TRIGGER|(((INT)&15)<<10))
6068
+#define        DMA_ONJIFFIES   DMA_ONINT(1)
6069
+#define        DMA_ONTMC       DMA_ONINT(2)
6070
+#define        DMA_ONTMB       DMA_ONINT(3)
6071
+#define        DMA_ONTMA       DMA_ONINT(4)
6072
+#define        DMA_ONAUX       DMA_ONINT(5)
6073
+
6074
+#define        TMR_INTERVAL    0x80000000
6075
+typedef        struct  {
6076
+       int     z_pic, z_wdt, z_wbus, z_apic, z_tma, z_tmb, z_tmc,
6077
+               z_jiffies;
6078
+#ifdef _HAVE_ZIPSYS_PERFORMANCE_COUNTERS
6079
+       ZIPTASKCTRS     z_m, z_u;
6080
+#else
6081
+       unsigned        z_nocounters[8];
6082
+#endif
6083
+#ifdef _HAVE_ZIPSYS_DMA
6084
+       ZIPDMA          z_dma;
6085
+#else
6086
+       unsigned        z_nodma[4];
6087
+#endif
6088
+} ZIPSYS;
6089
+
6090
+#define        ZIPSYS_ADDR     0xff000000
6091
+
6092
+#define        SYSINT_DMAC     0x0001
6093
+#define        SYSINT_JIFFIES  0x0002
6094
+#define        SYSINT_TMC      0x0004
6095
+#define        SYSINT_TMB      0x0008
6096
+#define        SYSINT_TMA      0x0010
6097
+#define        SYSINT_AUX      0x0020
6098
+//
6099
+#define        SYSINT(INTID)   (1<<(INTID))
6100
+#define        ALTINT(INTID)   (1<<(INTID))
6101
+
6102
+#ifdef _HAVE_ZIPSYS_PERFORMANCE_COUNTERS
6103
+#define        ALTINT_UIC      ALTINT(0)
6104
+#define        ALTINT_UTC      ALTINT(3)
6105
+#define        ALTINT_MIC      ALTINT(4)
6106
+#define        ALTINT_MTC      ALTINT(7)
6107
+#endif
6108
+
6109
+#define        INT_ENABLE      0x80000000
6110
+#define        EINT(A) (INT_ENABLE|((A)<<16))
6111
+#define        DINT(A) ((A)<<16)
6112
+#define        CLEARPIC        0x7fff7fff
6113
+#define        DALLPIC         0x7fff0000      // Disable all PIC interrupt sources
6114
+#define        INTNOW          0x08000
6115
+
6116
+static volatile ZIPSYS *const zip = (ZIPSYS *)(ZIPSYS_ADDR);
6117
+
6118
+static inline void     DISABLE_INTS(void) {
6119
+       zip->z_pic = 0;
6120
+}
6121
+
6122
+static inline void     ENABLE_INTS(void) {
6123
+       zip->z_pic = 0x80000000;
6124
+}
6125
+
6126
+typedef        struct  {
6127
+       int     c_r[16];
6128
+#ifdef _HAVE_ZIPSYS_PERFORMANCE_COUNTERS
6129
+       unsigned long   c_ck, c_mem, c_pf, c_icnt;
6130
+#endif
6131
+} ZSYSCONTEXT;
6132
+
6133
+#ifdef _HAVE_ZIPSYS_PERFORMANCE_COUNTERS
6134
+void   save_contextncntrs(ZSYSCONTEXT *c);
6135
+void   restore_contextncntrs(ZSYSCONTEXT *c);
6136
+#else
6137
+#define        save_contextncntrs(CONTEXT)     save_context((int *)CONTEXT)
6138
+#define        restore_contextncntrs(CONTEXT)  restore_context((int *)CONTEXT)
6139
+#endif
6140
+
6141
+#endif
6142
diff -Naur '--exclude=*.swp' newlib-2.5.0/Makefile.in newlib-2.5.0-zip/Makefile.in
6143
--- newlib-2.5.0/Makefile.in    2016-12-22 21:33:54.000000000 -0500
6144
+++ newlib-2.5.0-zip/Makefile.in        2017-01-25 16:25:56.402031673 -0500
6145
@@ -364,7 +364,7 @@
6146
 
6147
 # Flags to pass to stage2 and later makes.  They are defined
6148
 # here so that they can be overridden by Makefile fragments.
6149
-BOOT_CFLAGS= -g -O2
6150
+BOOT_CFLAGS=-O3
6151
 BOOT_LDFLAGS=
6152
 BOOT_ADAFLAGS= -gnatpg
6153
 
6154
@@ -584,7 +584,7 @@
6155
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
6156
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
6157
 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
6158
-GOCFLAGS_FOR_TARGET = -O2 -g
6159
+GOCFLAGS_FOR_TARGET = -O3
6160
 
6161
 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
6162
 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
6163
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/acconfig.h newlib-2.5.0-zip/newlib/acconfig.h
6164
--- newlib-2.5.0/newlib/acconfig.h      2016-12-22 21:33:54.000000000 -0500
6165
+++ newlib-2.5.0-zip/newlib/acconfig.h  2017-01-11 21:52:21.443297363 -0500
6166
@@ -56,7 +56,7 @@
6167
 #undef  _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
6168
 
6169
 /* Define if the platform long double type is equal to double.  */
6170
-#undef  _LDBL_EQ_DBL
6171
+#define  _LDBL_EQ_DBL
6172
 
6173
 /* Define if ivo supported in streamio.  */
6174
 #undef _FVWRITE_IN_STREAMIO
6175
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/configure.host newlib-2.5.0-zip/newlib/configure.host
6176
--- newlib-2.5.0/newlib/configure.host  2016-12-22 21:33:54.000000000 -0500
6177
+++ newlib-2.5.0-zip/newlib/configure.host      2017-01-25 10:26:38.562136630 -0500
6178
@@ -310,6 +310,9 @@
6179
   z8k)
6180
        machine_dir=z8k
6181
        ;;
6182
+  zip*)
6183
+       machine_dir=zip
6184
+       ;;
6185
   spu)
6186
        stdio_dir=
6187
        libm_machine_dir=spu
6188
@@ -565,6 +568,12 @@
6189
   z8k-*-coff)
6190
        sys_dir=z8ksim
6191
        ;;
6192
+  zip*)
6193
+#      sys_dir=zip     # But ... I don't have a directory in newlib/libc/sys
6194
+       newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED "
6195
+       newlib_cflags="${newlib_cflags} -DNO_FLOATING_POINT"
6196
+#        have_crt0="yes"
6197
+       ;;
6198
 esac
6199
 
6200
 # Host specific flag settings -- usually for features that are not
6201
@@ -851,6 +860,9 @@
6202
   z8k-*-*)
6203
        syscall_dir=syscalls
6204
        ;;
6205
+  zip*)
6206
+       syscall_dir=syscalls
6207
+       ;;
6208
   *)
6209
        newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
6210
        syscall_dir=
6211
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/include/machine/setjmp.h newlib-2.5.0-zip/newlib/libc/include/machine/setjmp.h
6212
--- newlib-2.5.0/newlib/libc/include/machine/setjmp.h   2016-12-22 21:33:54.000000000 -0500
6213
+++ newlib-2.5.0-zip/newlib/libc/include/machine/setjmp.h       2017-02-06 17:42:10.748982467 -0500
6214
@@ -349,6 +349,11 @@
6215
 #define _JBTYPE unsigned long
6216
 #endif
6217
 
6218
+#ifdef __ZIPCPU__
6219
+#define _JBLEN 10
6220
+#define _JBTYPE unsigned int
6221
+#endif
6222
+
6223
 #ifdef __RX__
6224
 #define _JBLEN 0x44
6225
 #endif
6226
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/include/sys/config.h newlib-2.5.0-zip/newlib/libc/include/sys/config.h
6227
--- newlib-2.5.0/newlib/libc/include/sys/config.h       2016-12-22 21:33:54.000000000 -0500
6228
+++ newlib-2.5.0-zip/newlib/libc/include/sys/config.h   2017-01-12 14:45:33.624732766 -0500
6229
@@ -216,7 +216,11 @@
6230
 /* End of block that should be kept in sync with GCC's limits.h.  */
6231
 
6232
 #ifndef _POINTER_INT
6233
-#define _POINTER_INT long
6234
+typedef        int     __attribute__((mode(pointer)))  _POINTER_INT;
6235
+#define _POINTER_INT _POINTER_INT
6236
+typedef        unsigned int    __attribute__((mode(pointer)))  POINTER_UINT;
6237
+#define        POINTER_UINT    POINTER_UINT
6238
+// #define _POINTER_INT long
6239
 #endif
6240
 
6241
 #ifdef __frv__
6242
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/configure newlib-2.5.0-zip/newlib/libc/machine/configure
6243
--- newlib-2.5.0/newlib/libc/machine/configure  2016-12-22 21:33:54.000000000 -0500
6244
+++ newlib-2.5.0-zip/newlib/libc/machine/configure      2017-01-13 18:05:52.580953443 -0500
6245
@@ -837,7 +837,8 @@
6246
 x86_64
6247
 xc16x
6248
 xstormy16
6249
-z8k'
6250
+z8k
6251
+zip'
6252
 
6253
 # Initialize some variables set by options.
6254
 ac_init_help=
6255
@@ -11939,6 +11940,8 @@
6256
  ;;
6257
        z8k) subdirs="$subdirs z8k"
6258
  ;;
6259
+       zip) subdirs="$subdirs zip"
6260
+ ;;
6261
   esac;
6262
 fi
6263
 
6264
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/configure.in newlib-2.5.0-zip/newlib/libc/machine/configure.in
6265
--- newlib-2.5.0/newlib/libc/machine/configure.in       2016-12-22 21:33:54.000000000 -0500
6266
+++ newlib-2.5.0-zip/newlib/libc/machine/configure.in   2017-01-13 08:03:54.564740952 -0500
6267
@@ -77,6 +77,7 @@
6268
        xc16x) AC_CONFIG_SUBDIRS(xc16x) ;;
6269
        xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;;
6270
        z8k) AC_CONFIG_SUBDIRS(z8k) ;;
6271
+       zip) AC_CONFIG_SUBDIRS(zip) ;;
6272
   esac;
6273
 fi
6274
 
6275
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/configure newlib-2.5.0-zip/newlib/libc/machine/zip/configure
6276
--- newlib-2.5.0/newlib/libc/machine/zip/configure      1969-12-31 19:00:00.000000000 -0500
6277
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/configure  2017-01-13 18:03:21.075858391 -0500
6278
@@ -0,0 +1,4748 @@
6279
+#! /bin/sh
6280
+# Guess values for system-dependent variables and create Makefiles.
6281
+# Generated by GNU Autoconf 2.68 for newlib 2.5.0.
6282
+#
6283
+#
6284
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6285
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
6286
+# Foundation, Inc.
6287
+#
6288
+#
6289
+# This configure script is free software; the Free Software Foundation
6290
+# gives unlimited permission to copy, distribute and modify it.
6291
+## -------------------- ##
6292
+## M4sh Initialization. ##
6293
+## -------------------- ##
6294
+
6295
+# Be more Bourne compatible
6296
+DUALCASE=1; export DUALCASE # for MKS sh
6297
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6298
+  emulate sh
6299
+  NULLCMD=:
6300
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6301
+  # is contrary to our usage.  Disable this feature.
6302
+  alias -g '${1+"$@"}'='"$@"'
6303
+  setopt NO_GLOB_SUBST
6304
+else
6305
+  case `(set -o) 2>/dev/null` in #(
6306
+  *posix*) :
6307
+    set -o posix ;; #(
6308
+  *) :
6309
+     ;;
6310
+esac
6311
+fi
6312
+
6313
+
6314
+as_nl='
6315
+'
6316
+export as_nl
6317
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
6318
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6319
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6320
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6321
+# Prefer a ksh shell builtin over an external printf program on Solaris,
6322
+# but without wasting forks for bash or zsh.
6323
+if test -z "$BASH_VERSION$ZSH_VERSION" \
6324
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6325
+  as_echo='print -r --'
6326
+  as_echo_n='print -rn --'
6327
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6328
+  as_echo='printf %s\n'
6329
+  as_echo_n='printf %s'
6330
+else
6331
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6332
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6333
+    as_echo_n='/usr/ucb/echo -n'
6334
+  else
6335
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6336
+    as_echo_n_body='eval
6337
+      arg=$1;
6338
+      case $arg in #(
6339
+      *"$as_nl"*)
6340
+       expr "X$arg" : "X\\(.*\\)$as_nl";
6341
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6342
+      esac;
6343
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6344
+    '
6345
+    export as_echo_n_body
6346
+    as_echo_n='sh -c $as_echo_n_body as_echo'
6347
+  fi
6348
+  export as_echo_body
6349
+  as_echo='sh -c $as_echo_body as_echo'
6350
+fi
6351
+
6352
+# The user is always right.
6353
+if test "${PATH_SEPARATOR+set}" != set; then
6354
+  PATH_SEPARATOR=:
6355
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6356
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6357
+      PATH_SEPARATOR=';'
6358
+  }
6359
+fi
6360
+
6361
+
6362
+# IFS
6363
+# We need space, tab and new line, in precisely that order.  Quoting is
6364
+# there to prevent editors from complaining about space-tab.
6365
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6366
+# splitting by setting IFS to empty value.)
6367
+IFS=" ""       $as_nl"
6368
+
6369
+# Find who we are.  Look in the path if we contain no directory separator.
6370
+as_myself=
6371
+case $0 in #((
6372
+  *[\\/]* ) as_myself=$0 ;;
6373
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374
+for as_dir in $PATH
6375
+do
6376
+  IFS=$as_save_IFS
6377
+  test -z "$as_dir" && as_dir=.
6378
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6379
+  done
6380
+IFS=$as_save_IFS
6381
+
6382
+     ;;
6383
+esac
6384
+# We did not find ourselves, most probably we were run as `sh COMMAND'
6385
+# in which case we are not to be found in the path.
6386
+if test "x$as_myself" = x; then
6387
+  as_myself=$0
6388
+fi
6389
+if test ! -f "$as_myself"; then
6390
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6391
+  exit 1
6392
+fi
6393
+
6394
+# Unset variables that we do not need and which cause bugs (e.g. in
6395
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6396
+# suppresses any "Segmentation fault" message there.  '((' could
6397
+# trigger a bug in pdksh 5.2.14.
6398
+for as_var in BASH_ENV ENV MAIL MAILPATH
6399
+do eval test x\${$as_var+set} = xset \
6400
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6401
+done
6402
+PS1='$ '
6403
+PS2='> '
6404
+PS4='+ '
6405
+
6406
+# NLS nuisances.
6407
+LC_ALL=C
6408
+export LC_ALL
6409
+LANGUAGE=C
6410
+export LANGUAGE
6411
+
6412
+# CDPATH.
6413
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6414
+
6415
+if test "x$CONFIG_SHELL" = x; then
6416
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
6417
+  emulate sh
6418
+  NULLCMD=:
6419
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
6420
+  # is contrary to our usage.  Disable this feature.
6421
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
6422
+  setopt NO_GLOB_SUBST
6423
+else
6424
+  case \`(set -o) 2>/dev/null\` in #(
6425
+  *posix*) :
6426
+    set -o posix ;; #(
6427
+  *) :
6428
+     ;;
6429
+esac
6430
+fi
6431
+"
6432
+  as_required="as_fn_return () { (exit \$1); }
6433
+as_fn_success () { as_fn_return 0; }
6434
+as_fn_failure () { as_fn_return 1; }
6435
+as_fn_ret_success () { return 0; }
6436
+as_fn_ret_failure () { return 1; }
6437
+
6438
+exitcode=0
6439
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
6440
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
6441
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
6442
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
6443
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
6444
+
6445
+else
6446
+  exitcode=1; echo positional parameters were not saved.
6447
+fi
6448
+test x\$exitcode = x0 || exit 1"
6449
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
6450
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
6451
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
6452
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
6453
+  if (eval "$as_required") 2>/dev/null; then :
6454
+  as_have_required=yes
6455
+else
6456
+  as_have_required=no
6457
+fi
6458
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
6459
+
6460
+else
6461
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462
+as_found=false
6463
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6464
+do
6465
+  IFS=$as_save_IFS
6466
+  test -z "$as_dir" && as_dir=.
6467
+  as_found=:
6468
+  case $as_dir in #(
6469
+        /*)
6470
+          for as_base in sh bash ksh sh5; do
6471
+            # Try only shells that exist, to save several forks.
6472
+            as_shell=$as_dir/$as_base
6473
+            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
6474
+                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
6475
+  CONFIG_SHELL=$as_shell as_have_required=yes
6476
+                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
6477
+  break 2
6478
+fi
6479
+fi
6480
+          done;;
6481
+       esac
6482
+  as_found=false
6483
+done
6484
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
6485
+             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
6486
+  CONFIG_SHELL=$SHELL as_have_required=yes
6487
+fi; }
6488
+IFS=$as_save_IFS
6489
+
6490
+
6491
+      if test "x$CONFIG_SHELL" != x; then :
6492
+  # We cannot yet assume a decent shell, so we have to provide a
6493
+       # neutralization value for shells without unset; and this also
6494
+       # works around shells that cannot unset nonexistent variables.
6495
+       # Preserve -v and -x to the replacement shell.
6496
+       BASH_ENV=/dev/null
6497
+       ENV=/dev/null
6498
+       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
6499
+       export CONFIG_SHELL
6500
+       case $- in # ((((
6501
+         *v*x* | *x*v* ) as_opts=-vx ;;
6502
+         *v* ) as_opts=-v ;;
6503
+         *x* ) as_opts=-x ;;
6504
+         * ) as_opts= ;;
6505
+       esac
6506
+       exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
6507
+fi
6508
+
6509
+    if test x$as_have_required = xno; then :
6510
+  $as_echo "$0: This script requires a shell more modern than all"
6511
+  $as_echo "$0: the shells that I found on your system."
6512
+  if test x${ZSH_VERSION+set} = xset ; then
6513
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
6514
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
6515
+  else
6516
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
6517
+$0: including any error possibly output before this
6518
+$0: message. Then install a modern shell, or manually run
6519
+$0: the script under such a shell if you do have one."
6520
+  fi
6521
+  exit 1
6522
+fi
6523
+fi
6524
+fi
6525
+SHELL=${CONFIG_SHELL-/bin/sh}
6526
+export SHELL
6527
+# Unset more variables known to interfere with behavior of common tools.
6528
+CLICOLOR_FORCE= GREP_OPTIONS=
6529
+unset CLICOLOR_FORCE GREP_OPTIONS
6530
+
6531
+## --------------------- ##
6532
+## M4sh Shell Functions. ##
6533
+## --------------------- ##
6534
+# as_fn_unset VAR
6535
+# ---------------
6536
+# Portably unset VAR.
6537
+as_fn_unset ()
6538
+{
6539
+  { eval $1=; unset $1;}
6540
+}
6541
+as_unset=as_fn_unset
6542
+
6543
+# as_fn_set_status STATUS
6544
+# -----------------------
6545
+# Set $? to STATUS, without forking.
6546
+as_fn_set_status ()
6547
+{
6548
+  return $1
6549
+} # as_fn_set_status
6550
+
6551
+# as_fn_exit STATUS
6552
+# -----------------
6553
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6554
+as_fn_exit ()
6555
+{
6556
+  set +e
6557
+  as_fn_set_status $1
6558
+  exit $1
6559
+} # as_fn_exit
6560
+
6561
+# as_fn_mkdir_p
6562
+# -------------
6563
+# Create "$as_dir" as a directory, including parents if necessary.
6564
+as_fn_mkdir_p ()
6565
+{
6566
+
6567
+  case $as_dir in #(
6568
+  -*) as_dir=./$as_dir;;
6569
+  esac
6570
+  test -d "$as_dir" || eval $as_mkdir_p || {
6571
+    as_dirs=
6572
+    while :; do
6573
+      case $as_dir in #(
6574
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6575
+      *) as_qdir=$as_dir;;
6576
+      esac
6577
+      as_dirs="'$as_qdir' $as_dirs"
6578
+      as_dir=`$as_dirname -- "$as_dir" ||
6579
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6580
+        X"$as_dir" : 'X\(//\)[^/]' \| \
6581
+        X"$as_dir" : 'X\(//\)$' \| \
6582
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6583
+$as_echo X"$as_dir" |
6584
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6585
+           s//\1/
6586
+           q
6587
+         }
6588
+         /^X\(\/\/\)[^/].*/{
6589
+           s//\1/
6590
+           q
6591
+         }
6592
+         /^X\(\/\/\)$/{
6593
+           s//\1/
6594
+           q
6595
+         }
6596
+         /^X\(\/\).*/{
6597
+           s//\1/
6598
+           q
6599
+         }
6600
+         s/.*/./; q'`
6601
+      test -d "$as_dir" && break
6602
+    done
6603
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
6604
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6605
+
6606
+
6607
+} # as_fn_mkdir_p
6608
+# as_fn_append VAR VALUE
6609
+# ----------------------
6610
+# Append the text in VALUE to the end of the definition contained in VAR. Take
6611
+# advantage of any shell optimizations that allow amortized linear growth over
6612
+# repeated appends, instead of the typical quadratic growth present in naive
6613
+# implementations.
6614
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6615
+  eval 'as_fn_append ()
6616
+  {
6617
+    eval $1+=\$2
6618
+  }'
6619
+else
6620
+  as_fn_append ()
6621
+  {
6622
+    eval $1=\$$1\$2
6623
+  }
6624
+fi # as_fn_append
6625
+
6626
+# as_fn_arith ARG...
6627
+# ------------------
6628
+# Perform arithmetic evaluation on the ARGs, and store the result in the
6629
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
6630
+# must be portable across $(()) and expr.
6631
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6632
+  eval 'as_fn_arith ()
6633
+  {
6634
+    as_val=$(( $* ))
6635
+  }'
6636
+else
6637
+  as_fn_arith ()
6638
+  {
6639
+    as_val=`expr "$@" || test $? -eq 1`
6640
+  }
6641
+fi # as_fn_arith
6642
+
6643
+
6644
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
6645
+# ----------------------------------------
6646
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6647
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6648
+# script with STATUS, using 1 if that was 0.
6649
+as_fn_error ()
6650
+{
6651
+  as_status=$1; test $as_status -eq 0 && as_status=1
6652
+  if test "$4"; then
6653
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6654
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6655
+  fi
6656
+  $as_echo "$as_me: error: $2" >&2
6657
+  as_fn_exit $as_status
6658
+} # as_fn_error
6659
+
6660
+if expr a : '\(a\)' >/dev/null 2>&1 &&
6661
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6662
+  as_expr=expr
6663
+else
6664
+  as_expr=false
6665
+fi
6666
+
6667
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6668
+  as_basename=basename
6669
+else
6670
+  as_basename=false
6671
+fi
6672
+
6673
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6674
+  as_dirname=dirname
6675
+else
6676
+  as_dirname=false
6677
+fi
6678
+
6679
+as_me=`$as_basename -- "$0" ||
6680
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6681
+        X"$0" : 'X\(//\)$' \| \
6682
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6683
+$as_echo X/"$0" |
6684
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
6685
+           s//\1/
6686
+           q
6687
+         }
6688
+         /^X\/\(\/\/\)$/{
6689
+           s//\1/
6690
+           q
6691
+         }
6692
+         /^X\/\(\/\).*/{
6693
+           s//\1/
6694
+           q
6695
+         }
6696
+         s/.*/./; q'`
6697
+
6698
+# Avoid depending upon Character Ranges.
6699
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6700
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6701
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6702
+as_cr_digits='0123456789'
6703
+as_cr_alnum=$as_cr_Letters$as_cr_digits
6704
+
6705
+
6706
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
6707
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
6708
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
6709
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
6710
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
6711
+  sed -n '
6712
+    p
6713
+    /[$]LINENO/=
6714
+  ' <$as_myself |
6715
+    sed '
6716
+      s/[$]LINENO.*/&-/
6717
+      t lineno
6718
+      b
6719
+      :lineno
6720
+      N
6721
+      :loop
6722
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6723
+      t loop
6724
+      s/-\n.*//
6725
+    ' >$as_me.lineno &&
6726
+  chmod +x "$as_me.lineno" ||
6727
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
6728
+
6729
+  # Don't try to exec as it changes $[0], causing all sort of problems
6730
+  # (the dirname of $[0] is not the place where we might find the
6731
+  # original and so on.  Autoconf is especially sensitive to this).
6732
+  . "./$as_me.lineno"
6733
+  # Exit status is that of the last command.
6734
+  exit
6735
+}
6736
+
6737
+ECHO_C= ECHO_N= ECHO_T=
6738
+case `echo -n x` in #(((((
6739
+-n*)
6740
+  case `echo 'xy\c'` in
6741
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
6742
+  xy)  ECHO_C='\c';;
6743
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6744
+       ECHO_T='        ';;
6745
+  esac;;
6746
+*)
6747
+  ECHO_N='-n';;
6748
+esac
6749
+
6750
+rm -f conf$$ conf$$.exe conf$$.file
6751
+if test -d conf$$.dir; then
6752
+  rm -f conf$$.dir/conf$$.file
6753
+else
6754
+  rm -f conf$$.dir
6755
+  mkdir conf$$.dir 2>/dev/null
6756
+fi
6757
+if (echo >conf$$.file) 2>/dev/null; then
6758
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
6759
+    as_ln_s='ln -s'
6760
+    # ... but there are two gotchas:
6761
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6762
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6763
+    # In both cases, we have to default to `cp -p'.
6764
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6765
+      as_ln_s='cp -p'
6766
+  elif ln conf$$.file conf$$ 2>/dev/null; then
6767
+    as_ln_s=ln
6768
+  else
6769
+    as_ln_s='cp -p'
6770
+  fi
6771
+else
6772
+  as_ln_s='cp -p'
6773
+fi
6774
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6775
+rmdir conf$$.dir 2>/dev/null
6776
+
6777
+if mkdir -p . 2>/dev/null; then
6778
+  as_mkdir_p='mkdir -p "$as_dir"'
6779
+else
6780
+  test -d ./-p && rmdir ./-p
6781
+  as_mkdir_p=false
6782
+fi
6783
+
6784
+if test -x / >/dev/null 2>&1; then
6785
+  as_test_x='test -x'
6786
+else
6787
+  if ls -dL / >/dev/null 2>&1; then
6788
+    as_ls_L_option=L
6789
+  else
6790
+    as_ls_L_option=
6791
+  fi
6792
+  as_test_x='
6793
+    eval sh -c '\''
6794
+      if test -d "$1"; then
6795
+       test -d "$1/.";
6796
+      else
6797
+       case $1 in #(
6798
+       -*)set "./$1";;
6799
+       esac;
6800
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6801
+       ???[sx]*):;;*)false;;esac;fi
6802
+    '\'' sh
6803
+  '
6804
+fi
6805
+as_executable_p=$as_test_x
6806
+
6807
+# Sed expression to map a string onto a valid CPP name.
6808
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6809
+
6810
+# Sed expression to map a string onto a valid variable name.
6811
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6812
+
6813
+
6814
+test -n "$DJDIR" || exec 7<&0 </dev/null
6815
+exec 6>&1
6816
+
6817
+# Name of the host.
6818
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
6819
+# so uname gets run too.
6820
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
6821
+
6822
+#
6823
+# Initializations.
6824
+#
6825
+ac_default_prefix=/usr/local
6826
+ac_clean_files=
6827
+ac_config_libobj_dir=.
6828
+LIBOBJS=
6829
+cross_compiling=no
6830
+subdirs=
6831
+MFLAGS=
6832
+MAKEFLAGS=
6833
+
6834
+# Identity of this package.
6835
+PACKAGE_NAME='newlib'
6836
+PACKAGE_TARNAME='newlib'
6837
+PACKAGE_VERSION='2.5.0'
6838
+PACKAGE_STRING='newlib 2.5.0'
6839
+PACKAGE_BUGREPORT=''
6840
+PACKAGE_URL=''
6841
+
6842
+ac_unique_file="Makefile.am"
6843
+ac_subst_vars='LTLIBOBJS
6844
+LIBOBJS
6845
+sys_dir
6846
+machine_dir
6847
+libm_machine_dir
6848
+lpfx
6849
+aext
6850
+oext
6851
+OBJEXT
6852
+USE_LIBTOOL_FALSE
6853
+USE_LIBTOOL_TRUE
6854
+ELIX_LEVEL_4_FALSE
6855
+ELIX_LEVEL_4_TRUE
6856
+ELIX_LEVEL_3_FALSE
6857
+ELIX_LEVEL_3_TRUE
6858
+ELIX_LEVEL_2_FALSE
6859
+ELIX_LEVEL_2_TRUE
6860
+ELIX_LEVEL_1_FALSE
6861
+ELIX_LEVEL_1_TRUE
6862
+ELIX_LEVEL_0_FALSE
6863
+ELIX_LEVEL_0_TRUE
6864
+LDFLAGS
6865
+NO_INCLUDE_LIST
6866
+NEWLIB_CFLAGS
6867
+CCASFLAGS
6868
+CCAS
6869
+MAINT
6870
+MAINTAINER_MODE_FALSE
6871
+MAINTAINER_MODE_TRUE
6872
+READELF
6873
+RANLIB
6874
+AR
6875
+AS
6876
+am__fastdepCC_FALSE
6877
+am__fastdepCC_TRUE
6878
+CCDEPMODE
6879
+am__nodep
6880
+AMDEPBACKSLASH
6881
+AMDEP_FALSE
6882
+AMDEP_TRUE
6883
+am__quote
6884
+am__include
6885
+DEPDIR
6886
+CC
6887
+am__untar
6888
+am__tar
6889
+AMTAR
6890
+am__leading_dot
6891
+SET_MAKE
6892
+AWK
6893
+mkdir_p
6894
+MKDIR_P
6895
+INSTALL_STRIP_PROGRAM
6896
+STRIP
6897
+install_sh
6898
+MAKEINFO
6899
+AUTOHEADER
6900
+AUTOMAKE
6901
+AUTOCONF
6902
+ACLOCAL
6903
+VERSION
6904
+PACKAGE
6905
+CYGPATH_W
6906
+am__isrc
6907
+INSTALL_DATA
6908
+INSTALL_SCRIPT
6909
+INSTALL_PROGRAM
6910
+host_os
6911
+host_vendor
6912
+host_cpu
6913
+host
6914
+build_os
6915
+build_vendor
6916
+build_cpu
6917
+build
6918
+newlib_basedir
6919
+MAY_SUPPLY_SYSCALLS_FALSE
6920
+MAY_SUPPLY_SYSCALLS_TRUE
6921
+target_alias
6922
+host_alias
6923
+build_alias
6924
+LIBS
6925
+ECHO_T
6926
+ECHO_N
6927
+ECHO_C
6928
+DEFS
6929
+mandir
6930
+localedir
6931
+libdir
6932
+psdir
6933
+pdfdir
6934
+dvidir
6935
+htmldir
6936
+infodir
6937
+docdir
6938
+oldincludedir
6939
+includedir
6940
+localstatedir
6941
+sharedstatedir
6942
+sysconfdir
6943
+datadir
6944
+datarootdir
6945
+libexecdir
6946
+sbindir
6947
+bindir
6948
+program_transform_name
6949
+prefix
6950
+exec_prefix
6951
+PACKAGE_URL
6952
+PACKAGE_BUGREPORT
6953
+PACKAGE_STRING
6954
+PACKAGE_VERSION
6955
+PACKAGE_TARNAME
6956
+PACKAGE_NAME
6957
+PATH_SEPARATOR
6958
+SHELL'
6959
+ac_subst_files=''
6960
+ac_user_opts='
6961
+enable_option_checking
6962
+enable_multilib
6963
+enable_target_optspace
6964
+enable_malloc_debugging
6965
+enable_newlib_multithread
6966
+enable_newlib_iconv
6967
+enable_newlib_elix_level
6968
+enable_newlib_io_float
6969
+enable_newlib_supplied_syscalls
6970
+enable_dependency_tracking
6971
+enable_maintainer_mode
6972
+'
6973
+      ac_precious_vars='build_alias
6974
+host_alias
6975
+target_alias
6976
+CCAS
6977
+CCASFLAGS'
6978
+
6979
+
6980
+# Initialize some variables set by options.
6981
+ac_init_help=
6982
+ac_init_version=false
6983
+ac_unrecognized_opts=
6984
+ac_unrecognized_sep=
6985
+# The variables have the same names as the options, with
6986
+# dashes changed to underlines.
6987
+cache_file=/dev/null
6988
+exec_prefix=NONE
6989
+no_create=
6990
+no_recursion=
6991
+prefix=NONE
6992
+program_prefix=NONE
6993
+program_suffix=NONE
6994
+program_transform_name=s,x,x,
6995
+silent=
6996
+site=
6997
+srcdir=
6998
+verbose=
6999
+x_includes=NONE
7000
+x_libraries=NONE
7001
+
7002
+# Installation directory options.
7003
+# These are left unexpanded so users can "make install exec_prefix=/foo"
7004
+# and all the variables that are supposed to be based on exec_prefix
7005
+# by default will actually change.
7006
+# Use braces instead of parens because sh, perl, etc. also accept them.
7007
+# (The list follows the same order as the GNU Coding Standards.)
7008
+bindir='${exec_prefix}/bin'
7009
+sbindir='${exec_prefix}/sbin'
7010
+libexecdir='${exec_prefix}/libexec'
7011
+datarootdir='${prefix}/share'
7012
+datadir='${datarootdir}'
7013
+sysconfdir='${prefix}/etc'
7014
+sharedstatedir='${prefix}/com'
7015
+localstatedir='${prefix}/var'
7016
+includedir='${prefix}/include'
7017
+oldincludedir='/usr/include'
7018
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7019
+infodir='${datarootdir}/info'
7020
+htmldir='${docdir}'
7021
+dvidir='${docdir}'
7022
+pdfdir='${docdir}'
7023
+psdir='${docdir}'
7024
+libdir='${exec_prefix}/lib'
7025
+localedir='${datarootdir}/locale'
7026
+mandir='${datarootdir}/man'
7027
+
7028
+ac_prev=
7029
+ac_dashdash=
7030
+for ac_option
7031
+do
7032
+  # If the previous option needs an argument, assign it.
7033
+  if test -n "$ac_prev"; then
7034
+    eval $ac_prev=\$ac_option
7035
+    ac_prev=
7036
+    continue
7037
+  fi
7038
+
7039
+  case $ac_option in
7040
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
7041
+  *=)   ac_optarg= ;;
7042
+  *)    ac_optarg=yes ;;
7043
+  esac
7044
+
7045
+  # Accept the important Cygnus configure options, so we can diagnose typos.
7046
+
7047
+  case $ac_dashdash$ac_option in
7048
+  --)
7049
+    ac_dashdash=yes ;;
7050
+
7051
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
7052
+    ac_prev=bindir ;;
7053
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7054
+    bindir=$ac_optarg ;;
7055
+
7056
+  -build | --build | --buil | --bui | --bu)
7057
+    ac_prev=build_alias ;;
7058
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7059
+    build_alias=$ac_optarg ;;
7060
+
7061
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
7062
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7063
+    ac_prev=cache_file ;;
7064
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7065
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7066
+    cache_file=$ac_optarg ;;
7067
+
7068
+  --config-cache | -C)
7069
+    cache_file=config.cache ;;
7070
+
7071
+  -datadir | --datadir | --datadi | --datad)
7072
+    ac_prev=datadir ;;
7073
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
7074
+    datadir=$ac_optarg ;;
7075
+
7076
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
7077
+  | --dataroo | --dataro | --datar)
7078
+    ac_prev=datarootdir ;;
7079
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
7080
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
7081
+    datarootdir=$ac_optarg ;;
7082
+
7083
+  -disable-* | --disable-*)
7084
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7085
+    # Reject names that are not valid shell variable names.
7086
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7087
+      as_fn_error $? "invalid feature name: $ac_useropt"
7088
+    ac_useropt_orig=$ac_useropt
7089
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7090
+    case $ac_user_opts in
7091
+      *"
7092
+"enable_$ac_useropt"
7093
+"*) ;;
7094
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
7095
+        ac_unrecognized_sep=', ';;
7096
+    esac
7097
+    eval enable_$ac_useropt=no ;;
7098
+
7099
+  -docdir | --docdir | --docdi | --doc | --do)
7100
+    ac_prev=docdir ;;
7101
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
7102
+    docdir=$ac_optarg ;;
7103
+
7104
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
7105
+    ac_prev=dvidir ;;
7106
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
7107
+    dvidir=$ac_optarg ;;
7108
+
7109
+  -enable-* | --enable-*)
7110
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
7111
+    # Reject names that are not valid shell variable names.
7112
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7113
+      as_fn_error $? "invalid feature name: $ac_useropt"
7114
+    ac_useropt_orig=$ac_useropt
7115
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7116
+    case $ac_user_opts in
7117
+      *"
7118
+"enable_$ac_useropt"
7119
+"*) ;;
7120
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
7121
+        ac_unrecognized_sep=', ';;
7122
+    esac
7123
+    eval enable_$ac_useropt=\$ac_optarg ;;
7124
+
7125
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
7126
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
7127
+  | --exec | --exe | --ex)
7128
+    ac_prev=exec_prefix ;;
7129
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
7130
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
7131
+  | --exec=* | --exe=* | --ex=*)
7132
+    exec_prefix=$ac_optarg ;;
7133
+
7134
+  -gas | --gas | --ga | --g)
7135
+    # Obsolete; use --with-gas.
7136
+    with_gas=yes ;;
7137
+
7138
+  -help | --help | --hel | --he | -h)
7139
+    ac_init_help=long ;;
7140
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
7141
+    ac_init_help=recursive ;;
7142
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
7143
+    ac_init_help=short ;;
7144
+
7145
+  -host | --host | --hos | --ho)
7146
+    ac_prev=host_alias ;;
7147
+  -host=* | --host=* | --hos=* | --ho=*)
7148
+    host_alias=$ac_optarg ;;
7149
+
7150
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
7151
+    ac_prev=htmldir ;;
7152
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
7153
+  | --ht=*)
7154
+    htmldir=$ac_optarg ;;
7155
+
7156
+  -includedir | --includedir | --includedi | --included | --include \
7157
+  | --includ | --inclu | --incl | --inc)
7158
+    ac_prev=includedir ;;
7159
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
7160
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
7161
+    includedir=$ac_optarg ;;
7162
+
7163
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
7164
+    ac_prev=infodir ;;
7165
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
7166
+    infodir=$ac_optarg ;;
7167
+
7168
+  -libdir | --libdir | --libdi | --libd)
7169
+    ac_prev=libdir ;;
7170
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
7171
+    libdir=$ac_optarg ;;
7172
+
7173
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
7174
+  | --libexe | --libex | --libe)
7175
+    ac_prev=libexecdir ;;
7176
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
7177
+  | --libexe=* | --libex=* | --libe=*)
7178
+    libexecdir=$ac_optarg ;;
7179
+
7180
+  -localedir | --localedir | --localedi | --localed | --locale)
7181
+    ac_prev=localedir ;;
7182
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
7183
+    localedir=$ac_optarg ;;
7184
+
7185
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
7186
+  | --localstate | --localstat | --localsta | --localst | --locals)
7187
+    ac_prev=localstatedir ;;
7188
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7189
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
7190
+    localstatedir=$ac_optarg ;;
7191
+
7192
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
7193
+    ac_prev=mandir ;;
7194
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
7195
+    mandir=$ac_optarg ;;
7196
+
7197
+  -nfp | --nfp | --nf)
7198
+    # Obsolete; use --without-fp.
7199
+    with_fp=no ;;
7200
+
7201
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7202
+  | --no-cr | --no-c | -n)
7203
+    no_create=yes ;;
7204
+
7205
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7206
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
7207
+    no_recursion=yes ;;
7208
+
7209
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
7210
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
7211
+  | --oldin | --oldi | --old | --ol | --o)
7212
+    ac_prev=oldincludedir ;;
7213
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
7214
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
7215
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
7216
+    oldincludedir=$ac_optarg ;;
7217
+
7218
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7219
+    ac_prev=prefix ;;
7220
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7221
+    prefix=$ac_optarg ;;
7222
+
7223
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
7224
+  | --program-pre | --program-pr | --program-p)
7225
+    ac_prev=program_prefix ;;
7226
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
7227
+  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
7228
+    program_prefix=$ac_optarg ;;
7229
+
7230
+  -program-suffix | --program-suffix | --program-suffi | --program-suff \
7231
+  | --program-suf | --program-su | --program-s)
7232
+    ac_prev=program_suffix ;;
7233
+  -program-suffix=* | --program-suffix=* | --program-suffi=* \
7234
+  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
7235
+    program_suffix=$ac_optarg ;;
7236
+
7237
+  -program-transform-name | --program-transform-name \
7238
+  | --program-transform-nam | --program-transform-na \
7239
+  | --program-transform-n | --program-transform- \
7240
+  | --program-transform | --program-transfor \
7241
+  | --program-transfo | --program-transf \
7242
+  | --program-trans | --program-tran \
7243
+  | --progr-tra | --program-tr | --program-t)
7244
+    ac_prev=program_transform_name ;;
7245
+  -program-transform-name=* | --program-transform-name=* \
7246
+  | --program-transform-nam=* | --program-transform-na=* \
7247
+  | --program-transform-n=* | --program-transform-=* \
7248
+  | --program-transform=* | --program-transfor=* \
7249
+  | --program-transfo=* | --program-transf=* \
7250
+  | --program-trans=* | --program-tran=* \
7251
+  | --progr-tra=* | --program-tr=* | --program-t=*)
7252
+    program_transform_name=$ac_optarg ;;
7253
+
7254
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
7255
+    ac_prev=pdfdir ;;
7256
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
7257
+    pdfdir=$ac_optarg ;;
7258
+
7259
+  -psdir | --psdir | --psdi | --psd | --ps)
7260
+    ac_prev=psdir ;;
7261
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
7262
+    psdir=$ac_optarg ;;
7263
+
7264
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7265
+  | -silent | --silent | --silen | --sile | --sil)
7266
+    silent=yes ;;
7267
+
7268
+  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
7269
+    ac_prev=sbindir ;;
7270
+  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
7271
+  | --sbi=* | --sb=*)
7272
+    sbindir=$ac_optarg ;;
7273
+
7274
+  -sharedstatedir | --sharedstatedir | --sharedstatedi \
7275
+  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
7276
+  | --sharedst | --shareds | --shared | --share | --shar \
7277
+  | --sha | --sh)
7278
+    ac_prev=sharedstatedir ;;
7279
+  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
7280
+  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
7281
+  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
7282
+  | --sha=* | --sh=*)
7283
+    sharedstatedir=$ac_optarg ;;
7284
+
7285
+  -site | --site | --sit)
7286
+    ac_prev=site ;;
7287
+  -site=* | --site=* | --sit=*)
7288
+    site=$ac_optarg ;;
7289
+
7290
+  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7291
+    ac_prev=srcdir ;;
7292
+  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7293
+    srcdir=$ac_optarg ;;
7294
+
7295
+  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
7296
+  | --syscon | --sysco | --sysc | --sys | --sy)
7297
+    ac_prev=sysconfdir ;;
7298
+  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
7299
+  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
7300
+    sysconfdir=$ac_optarg ;;
7301
+
7302
+  -target | --target | --targe | --targ | --tar | --ta | --t)
7303
+    ac_prev=target_alias ;;
7304
+  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
7305
+    target_alias=$ac_optarg ;;
7306
+
7307
+  -v | -verbose | --verbose | --verbos | --verbo | --verb)
7308
+    verbose=yes ;;
7309
+
7310
+  -version | --version | --versio | --versi | --vers | -V)
7311
+    ac_init_version=: ;;
7312
+
7313
+  -with-* | --with-*)
7314
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7315
+    # Reject names that are not valid shell variable names.
7316
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7317
+      as_fn_error $? "invalid package name: $ac_useropt"
7318
+    ac_useropt_orig=$ac_useropt
7319
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7320
+    case $ac_user_opts in
7321
+      *"
7322
+"with_$ac_useropt"
7323
+"*) ;;
7324
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
7325
+        ac_unrecognized_sep=', ';;
7326
+    esac
7327
+    eval with_$ac_useropt=\$ac_optarg ;;
7328
+
7329
+  -without-* | --without-*)
7330
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7331
+    # Reject names that are not valid shell variable names.
7332
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7333
+      as_fn_error $? "invalid package name: $ac_useropt"
7334
+    ac_useropt_orig=$ac_useropt
7335
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7336
+    case $ac_user_opts in
7337
+      *"
7338
+"with_$ac_useropt"
7339
+"*) ;;
7340
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
7341
+        ac_unrecognized_sep=', ';;
7342
+    esac
7343
+    eval with_$ac_useropt=no ;;
7344
+
7345
+  --x)
7346
+    # Obsolete; use --with-x.
7347
+    with_x=yes ;;
7348
+
7349
+  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
7350
+  | --x-incl | --x-inc | --x-in | --x-i)
7351
+    ac_prev=x_includes ;;
7352
+  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
7353
+  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
7354
+    x_includes=$ac_optarg ;;
7355
+
7356
+  -x-libraries | --x-libraries | --x-librarie | --x-librari \
7357
+  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
7358
+    ac_prev=x_libraries ;;
7359
+  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
7360
+  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7361
+    x_libraries=$ac_optarg ;;
7362
+
7363
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
7364
+Try \`$0 --help' for more information"
7365
+    ;;
7366
+
7367
+  *=*)
7368
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
7369
+    # Reject names that are not valid shell variable names.
7370
+    case $ac_envvar in #(
7371
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
7372
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
7373
+    esac
7374
+    eval $ac_envvar=\$ac_optarg
7375
+    export $ac_envvar ;;
7376
+
7377
+  *)
7378
+    # FIXME: should be removed in autoconf 3.0.
7379
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7380
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7381
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
7382
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
7383
+    ;;
7384
+
7385
+  esac
7386
+done
7387
+
7388
+if test -n "$ac_prev"; then
7389
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
7390
+  as_fn_error $? "missing argument to $ac_option"
7391
+fi
7392
+
7393
+if test -n "$ac_unrecognized_opts"; then
7394
+  case $enable_option_checking in
7395
+    no) ;;
7396
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
7397
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
7398
+  esac
7399
+fi
7400
+
7401
+# Check all directory arguments for consistency.
7402
+for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
7403
+               datadir sysconfdir sharedstatedir localstatedir includedir \
7404
+               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
7405
+               libdir localedir mandir
7406
+do
7407
+  eval ac_val=\$$ac_var
7408
+  # Remove trailing slashes.
7409
+  case $ac_val in
7410
+    */ )
7411
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
7412
+      eval $ac_var=\$ac_val;;
7413
+  esac
7414
+  # Be sure to have absolute directory names.
7415
+  case $ac_val in
7416
+    [\\/$]* | ?:[\\/]* )  continue;;
7417
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
7418
+  esac
7419
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
7420
+done
7421
+
7422
+# There might be people who depend on the old broken behavior: `$host'
7423
+# used to hold the argument of --host etc.
7424
+# FIXME: To remove some day.
7425
+build=$build_alias
7426
+host=$host_alias
7427
+target=$target_alias
7428
+
7429
+# FIXME: To remove some day.
7430
+if test "x$host_alias" != x; then
7431
+  if test "x$build_alias" = x; then
7432
+    cross_compiling=maybe
7433
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
7434
+    If a cross compiler is detected then cross compile mode will be used" >&2
7435
+  elif test "x$build_alias" != "x$host_alias"; then
7436
+    cross_compiling=yes
7437
+  fi
7438
+fi
7439
+
7440
+ac_tool_prefix=
7441
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
7442
+
7443
+test "$silent" = yes && exec 6>/dev/null
7444
+
7445
+
7446
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
7447
+ac_ls_di=`ls -di .` &&
7448
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
7449
+  as_fn_error $? "working directory cannot be determined"
7450
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
7451
+  as_fn_error $? "pwd does not report name of working directory"
7452
+
7453
+
7454
+# Find the source files, if location was not specified.
7455
+if test -z "$srcdir"; then
7456
+  ac_srcdir_defaulted=yes
7457
+  # Try the directory containing this script, then the parent directory.
7458
+  ac_confdir=`$as_dirname -- "$as_myself" ||
7459
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7460
+        X"$as_myself" : 'X\(//\)[^/]' \| \
7461
+        X"$as_myself" : 'X\(//\)$' \| \
7462
+        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
7463
+$as_echo X"$as_myself" |
7464
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7465
+           s//\1/
7466
+           q
7467
+         }
7468
+         /^X\(\/\/\)[^/].*/{
7469
+           s//\1/
7470
+           q
7471
+         }
7472
+         /^X\(\/\/\)$/{
7473
+           s//\1/
7474
+           q
7475
+         }
7476
+         /^X\(\/\).*/{
7477
+           s//\1/
7478
+           q
7479
+         }
7480
+         s/.*/./; q'`
7481
+  srcdir=$ac_confdir
7482
+  if test ! -r "$srcdir/$ac_unique_file"; then
7483
+    srcdir=..
7484
+  fi
7485
+else
7486
+  ac_srcdir_defaulted=no
7487
+fi
7488
+if test ! -r "$srcdir/$ac_unique_file"; then
7489
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
7490
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
7491
+fi
7492
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
7493
+ac_abs_confdir=`(
7494
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
7495
+       pwd)`
7496
+# When building in place, set srcdir=.
7497
+if test "$ac_abs_confdir" = "$ac_pwd"; then
7498
+  srcdir=.
7499
+fi
7500
+# Remove unnecessary trailing slashes from srcdir.
7501
+# Double slashes in file names in object file debugging info
7502
+# mess up M-x gdb in Emacs.
7503
+case $srcdir in
7504
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
7505
+esac
7506
+for ac_var in $ac_precious_vars; do
7507
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
7508
+  eval ac_env_${ac_var}_value=\$${ac_var}
7509
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
7510
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
7511
+done
7512
+
7513
+#
7514
+# Report the --help message.
7515
+#
7516
+if test "$ac_init_help" = "long"; then
7517
+  # Omit some internal or obsolete options to make the list less imposing.
7518
+  # This message is too long to be a string in the A/UX 3.1 sh.
7519
+  cat <<_ACEOF
7520
+\`configure' configures newlib 2.5.0 to adapt to many kinds of systems.
7521
+
7522
+Usage: $0 [OPTION]... [VAR=VALUE]...
7523
+
7524
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
7525
+VAR=VALUE.  See below for descriptions of some of the useful variables.
7526
+
7527
+Defaults for the options are specified in brackets.
7528
+
7529
+Configuration:
7530
+  -h, --help              display this help and exit
7531
+      --help=short        display options specific to this package
7532
+      --help=recursive    display the short help of all the included packages
7533
+  -V, --version           display version information and exit
7534
+  -q, --quiet, --silent   do not print \`checking ...' messages
7535
+      --cache-file=FILE   cache test results in FILE [disabled]
7536
+  -C, --config-cache      alias for \`--cache-file=config.cache'
7537
+  -n, --no-create         do not create output files
7538
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
7539
+
7540
+Installation directories:
7541
+  --prefix=PREFIX         install architecture-independent files in PREFIX
7542
+                          [$ac_default_prefix]
7543
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
7544
+                          [PREFIX]
7545
+
7546
+By default, \`make install' will install all the files in
7547
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
7548
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
7549
+for instance \`--prefix=\$HOME'.
7550
+
7551
+For better control, use the options below.
7552
+
7553
+Fine tuning of the installation directories:
7554
+  --bindir=DIR            user executables [EPREFIX/bin]
7555
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
7556
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
7557
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
7558
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
7559
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
7560
+  --libdir=DIR            object code libraries [EPREFIX/lib]
7561
+  --includedir=DIR        C header files [PREFIX/include]
7562
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
7563
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
7564
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
7565
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
7566
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
7567
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
7568
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
7569
+  --htmldir=DIR           html documentation [DOCDIR]
7570
+  --dvidir=DIR            dvi documentation [DOCDIR]
7571
+  --pdfdir=DIR            pdf documentation [DOCDIR]
7572
+  --psdir=DIR             ps documentation [DOCDIR]
7573
+_ACEOF
7574
+
7575
+  cat <<\_ACEOF
7576
+
7577
+Program names:
7578
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
7579
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
7580
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
7581
+
7582
+System types:
7583
+  --build=BUILD     configure for building on BUILD [guessed]
7584
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
7585
+_ACEOF
7586
+fi
7587
+
7588
+if test -n "$ac_init_help"; then
7589
+  case $ac_init_help in
7590
+     short | recursive ) echo "Configuration of newlib 2.5.0:";;
7591
+   esac
7592
+  cat <<\_ACEOF
7593
+
7594
+Optional Features:
7595
+  --disable-option-checking  ignore unrecognized --enable/--with options
7596
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
7597
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
7598
+  --enable-multilib         build many library versions (default)
7599
+  --enable-target-optspace  optimize for space
7600
+  --enable-malloc-debugging indicate malloc debugging requested
7601
+  --enable-newlib-multithread        enable support for multiple threads
7602
+  --enable-newlib-iconv     enable iconv library support
7603
+  --enable-newlib-elix-level         supply desired elix library level (1-4)
7604
+  --disable-newlib-io-float disable printf/scanf family float support
7605
+  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
7606
+  --disable-dependency-tracking  speeds up one-time build
7607
+  --enable-dependency-tracking   do not reject slow dependency extractors
7608
+  --enable-maintainer-mode  enable make rules and dependencies not useful
7609
+                         (and sometimes confusing) to the casual installer
7610
+
7611
+Some influential environment variables:
7612
+  CCAS        assembler compiler command (defaults to CC)
7613
+  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
7614
+
7615
+Use these variables to override the choices made by `configure' or to help
7616
+it to find libraries and programs with nonstandard names/locations.
7617
+
7618
+Report bugs to the package provider.
7619
+_ACEOF
7620
+ac_status=$?
7621
+fi
7622
+
7623
+if test "$ac_init_help" = "recursive"; then
7624
+  # If there are subdirs, report their specific --help.
7625
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
7626
+    test -d "$ac_dir" ||
7627
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
7628
+      continue
7629
+    ac_builddir=.
7630
+
7631
+case "$ac_dir" in
7632
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7633
+*)
7634
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7635
+  # A ".." for each directory in $ac_dir_suffix.
7636
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7637
+  case $ac_top_builddir_sub in
7638
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7639
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7640
+  esac ;;
7641
+esac
7642
+ac_abs_top_builddir=$ac_pwd
7643
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
7644
+# for backward compatibility:
7645
+ac_top_builddir=$ac_top_build_prefix
7646
+
7647
+case $srcdir in
7648
+  .)  # We are building in place.
7649
+    ac_srcdir=.
7650
+    ac_top_srcdir=$ac_top_builddir_sub
7651
+    ac_abs_top_srcdir=$ac_pwd ;;
7652
+  [\\/]* | ?:[\\/]* )  # Absolute name.
7653
+    ac_srcdir=$srcdir$ac_dir_suffix;
7654
+    ac_top_srcdir=$srcdir
7655
+    ac_abs_top_srcdir=$srcdir ;;
7656
+  *) # Relative name.
7657
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7658
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
7659
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7660
+esac
7661
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7662
+
7663
+    cd "$ac_dir" || { ac_status=$?; continue; }
7664
+    # Check for guested configure.
7665
+    if test -f "$ac_srcdir/configure.gnu"; then
7666
+      echo &&
7667
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
7668
+    elif test -f "$ac_srcdir/configure"; then
7669
+      echo &&
7670
+      $SHELL "$ac_srcdir/configure" --help=recursive
7671
+    else
7672
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7673
+    fi || ac_status=$?
7674
+    cd "$ac_pwd" || { ac_status=$?; break; }
7675
+  done
7676
+fi
7677
+
7678
+test -n "$ac_init_help" && exit $ac_status
7679
+if $ac_init_version; then
7680
+  cat <<\_ACEOF
7681
+newlib configure 2.5.0
7682
+generated by GNU Autoconf 2.68
7683
+
7684
+Copyright (C) 2010 Free Software Foundation, Inc.
7685
+This configure script is free software; the Free Software Foundation
7686
+gives unlimited permission to copy, distribute and modify it.
7687
+_ACEOF
7688
+  exit
7689
+fi
7690
+
7691
+## ------------------------ ##
7692
+## Autoconf initialization. ##
7693
+## ------------------------ ##
7694
+
7695
+# ac_fn_c_try_compile LINENO
7696
+# --------------------------
7697
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
7698
+ac_fn_c_try_compile ()
7699
+{
7700
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7701
+  rm -f conftest.$ac_objext
7702
+  if { { ac_try="$ac_compile"
7703
+case "(($ac_try" in
7704
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7705
+  *) ac_try_echo=$ac_try;;
7706
+esac
7707
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7708
+$as_echo "$ac_try_echo"; } >&5
7709
+  (eval "$ac_compile") 2>conftest.err
7710
+  ac_status=$?
7711
+  if test -s conftest.err; then
7712
+    grep -v '^ *+' conftest.err >conftest.er1
7713
+    cat conftest.er1 >&5
7714
+    mv -f conftest.er1 conftest.err
7715
+  fi
7716
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7717
+  test $ac_status = 0; } && {
7718
+        test -z "$ac_c_werror_flag" ||
7719
+        test ! -s conftest.err
7720
+       } && test -s conftest.$ac_objext; then :
7721
+  ac_retval=0
7722
+else
7723
+  $as_echo "$as_me: failed program was:" >&5
7724
+sed 's/^/| /' conftest.$ac_ext >&5
7725
+
7726
+       ac_retval=1
7727
+fi
7728
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
7729
+  as_fn_set_status $ac_retval
7730
+
7731
+} # ac_fn_c_try_compile
7732
+cat >config.log <<_ACEOF
7733
+This file contains any messages produced by compilers while
7734
+running configure, to aid debugging if configure makes a mistake.
7735
+
7736
+It was created by newlib $as_me 2.5.0, which was
7737
+generated by GNU Autoconf 2.68.  Invocation command line was
7738
+
7739
+  $ $0 $@
7740
+
7741
+_ACEOF
7742
+exec 5>>config.log
7743
+{
7744
+cat <<_ASUNAME
7745
+## --------- ##
7746
+## Platform. ##
7747
+## --------- ##
7748
+
7749
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7750
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
7751
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
7752
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
7753
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
7754
+
7755
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7756
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7757
+
7758
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7759
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7760
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7761
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
7762
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7763
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7764
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7765
+
7766
+_ASUNAME
7767
+
7768
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769
+for as_dir in $PATH
7770
+do
7771
+  IFS=$as_save_IFS
7772
+  test -z "$as_dir" && as_dir=.
7773
+    $as_echo "PATH: $as_dir"
7774
+  done
7775
+IFS=$as_save_IFS
7776
+
7777
+} >&5
7778
+
7779
+cat >&5 <<_ACEOF
7780
+
7781
+
7782
+## ----------- ##
7783
+## Core tests. ##
7784
+## ----------- ##
7785
+
7786
+_ACEOF
7787
+
7788
+
7789
+# Keep a trace of the command line.
7790
+# Strip out --no-create and --no-recursion so they do not pile up.
7791
+# Strip out --silent because we don't want to record it for future runs.
7792
+# Also quote any args containing shell meta-characters.
7793
+# Make two passes to allow for proper duplicate-argument suppression.
7794
+ac_configure_args=
7795
+ac_configure_args0=
7796
+ac_configure_args1=
7797
+ac_must_keep_next=false
7798
+for ac_pass in 1 2
7799
+do
7800
+  for ac_arg
7801
+  do
7802
+    case $ac_arg in
7803
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
7804
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7805
+    | -silent | --silent | --silen | --sile | --sil)
7806
+      continue ;;
7807
+    *\'*)
7808
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7809
+    esac
7810
+    case $ac_pass in
7811
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
7812
+    2)
7813
+      as_fn_append ac_configure_args1 " '$ac_arg'"
7814
+      if test $ac_must_keep_next = true; then
7815
+       ac_must_keep_next=false # Got value, back to normal.
7816
+      else
7817
+       case $ac_arg in
7818
+         *=* | --config-cache | -C | -disable-* | --disable-* \
7819
+         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7820
+         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7821
+         | -with-* | --with-* | -without-* | --without-* | --x)
7822
+           case "$ac_configure_args0 " in
7823
+             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
7824
+           esac
7825
+           ;;
7826
+         -* ) ac_must_keep_next=true ;;
7827
+       esac
7828
+      fi
7829
+      as_fn_append ac_configure_args " '$ac_arg'"
7830
+      ;;
7831
+    esac
7832
+  done
7833
+done
7834
+{ ac_configure_args0=; unset ac_configure_args0;}
7835
+{ ac_configure_args1=; unset ac_configure_args1;}
7836
+
7837
+# When interrupted or exit'd, cleanup temporary files, and complete
7838
+# config.log.  We remove comments because anyway the quotes in there
7839
+# would cause problems or look ugly.
7840
+# WARNING: Use '\'' to represent an apostrophe within the trap.
7841
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
7842
+trap 'exit_status=$?
7843
+  # Save into config.log some information that might help in debugging.
7844
+  {
7845
+    echo
7846
+
7847
+    $as_echo "## ---------------- ##
7848
+## Cache variables. ##
7849
+## ---------------- ##"
7850
+    echo
7851
+    # The following way of writing the cache mishandles newlines in values,
7852
+(
7853
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
7854
+    eval ac_val=\$$ac_var
7855
+    case $ac_val in #(
7856
+    *${as_nl}*)
7857
+      case $ac_var in #(
7858
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7859
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7860
+      esac
7861
+      case $ac_var in #(
7862
+      _ | IFS | as_nl) ;; #(
7863
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7864
+      *) { eval $ac_var=; unset $ac_var;} ;;
7865
+      esac ;;
7866
+    esac
7867
+  done
7868
+  (set) 2>&1 |
7869
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
7870
+    *${as_nl}ac_space=\ *)
7871
+      sed -n \
7872
+       "s/'\''/'\''\\\\'\'''\''/g;
7873
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
7874
+      ;; #(
7875
+    *)
7876
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7877
+      ;;
7878
+    esac |
7879
+    sort
7880
+)
7881
+    echo
7882
+
7883
+    $as_echo "## ----------------- ##
7884
+## Output variables. ##
7885
+## ----------------- ##"
7886
+    echo
7887
+    for ac_var in $ac_subst_vars
7888
+    do
7889
+      eval ac_val=\$$ac_var
7890
+      case $ac_val in
7891
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7892
+      esac
7893
+      $as_echo "$ac_var='\''$ac_val'\''"
7894
+    done | sort
7895
+    echo
7896
+
7897
+    if test -n "$ac_subst_files"; then
7898
+      $as_echo "## ------------------- ##
7899
+## File substitutions. ##
7900
+## ------------------- ##"
7901
+      echo
7902
+      for ac_var in $ac_subst_files
7903
+      do
7904
+       eval ac_val=\$$ac_var
7905
+       case $ac_val in
7906
+       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7907
+       esac
7908
+       $as_echo "$ac_var='\''$ac_val'\''"
7909
+      done | sort
7910
+      echo
7911
+    fi
7912
+
7913
+    if test -s confdefs.h; then
7914
+      $as_echo "## ----------- ##
7915
+## confdefs.h. ##
7916
+## ----------- ##"
7917
+      echo
7918
+      cat confdefs.h
7919
+      echo
7920
+    fi
7921
+    test "$ac_signal" != 0 &&
7922
+      $as_echo "$as_me: caught signal $ac_signal"
7923
+    $as_echo "$as_me: exit $exit_status"
7924
+  } >&5
7925
+  rm -f core *.core core.conftest.* &&
7926
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
7927
+    exit $exit_status
7928
+' 0
7929
+for ac_signal in 1 2 13 15; do
7930
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
7931
+done
7932
+ac_signal=0
7933
+
7934
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
7935
+rm -f -r conftest* confdefs.h
7936
+
7937
+$as_echo "/* confdefs.h */" > confdefs.h
7938
+
7939
+# Predefined preprocessor variables.
7940
+
7941
+cat >>confdefs.h <<_ACEOF
7942
+#define PACKAGE_NAME "$PACKAGE_NAME"
7943
+_ACEOF
7944
+
7945
+cat >>confdefs.h <<_ACEOF
7946
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
7947
+_ACEOF
7948
+
7949
+cat >>confdefs.h <<_ACEOF
7950
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
7951
+_ACEOF
7952
+
7953
+cat >>confdefs.h <<_ACEOF
7954
+#define PACKAGE_STRING "$PACKAGE_STRING"
7955
+_ACEOF
7956
+
7957
+cat >>confdefs.h <<_ACEOF
7958
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
7959
+_ACEOF
7960
+
7961
+cat >>confdefs.h <<_ACEOF
7962
+#define PACKAGE_URL "$PACKAGE_URL"
7963
+_ACEOF
7964
+
7965
+
7966
+# Let the site file select an alternate cache file if it wants to.
7967
+# Prefer an explicitly selected file to automatically selected ones.
7968
+ac_site_file1=NONE
7969
+ac_site_file2=NONE
7970
+if test -n "$CONFIG_SITE"; then
7971
+  # We do not want a PATH search for config.site.
7972
+  case $CONFIG_SITE in #((
7973
+    -*)  ac_site_file1=./$CONFIG_SITE;;
7974
+    */*) ac_site_file1=$CONFIG_SITE;;
7975
+    *)   ac_site_file1=./$CONFIG_SITE;;
7976
+  esac
7977
+elif test "x$prefix" != xNONE; then
7978
+  ac_site_file1=$prefix/share/config.site
7979
+  ac_site_file2=$prefix/etc/config.site
7980
+else
7981
+  ac_site_file1=$ac_default_prefix/share/config.site
7982
+  ac_site_file2=$ac_default_prefix/etc/config.site
7983
+fi
7984
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
7985
+do
7986
+  test "x$ac_site_file" = xNONE && continue
7987
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
7988
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
7989
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
7990
+    sed 's/^/| /' "$ac_site_file" >&5
7991
+    . "$ac_site_file" \
7992
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7993
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7994
+as_fn_error $? "failed to load site script $ac_site_file
7995
+See \`config.log' for more details" "$LINENO" 5; }
7996
+  fi
7997
+done
7998
+
7999
+if test -r "$cache_file"; then
8000
+  # Some versions of bash will fail to source /dev/null (special files
8001
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
8002
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
8003
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
8004
+$as_echo "$as_me: loading cache $cache_file" >&6;}
8005
+    case $cache_file in
8006
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
8007
+      *)                      . "./$cache_file";;
8008
+    esac
8009
+  fi
8010
+else
8011
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
8012
+$as_echo "$as_me: creating cache $cache_file" >&6;}
8013
+  >$cache_file
8014
+fi
8015
+
8016
+# Check that the precious variables saved in the cache have kept the same
8017
+# value.
8018
+ac_cache_corrupted=false
8019
+for ac_var in $ac_precious_vars; do
8020
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
8021
+  eval ac_new_set=\$ac_env_${ac_var}_set
8022
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
8023
+  eval ac_new_val=\$ac_env_${ac_var}_value
8024
+  case $ac_old_set,$ac_new_set in
8025
+    set,)
8026
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8027
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8028
+      ac_cache_corrupted=: ;;
8029
+    ,set)
8030
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
8031
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
8032
+      ac_cache_corrupted=: ;;
8033
+    ,);;
8034
+    *)
8035
+      if test "x$ac_old_val" != "x$ac_new_val"; then
8036
+       # differences in whitespace do not lead to failure.
8037
+       ac_old_val_w=`echo x $ac_old_val`
8038
+       ac_new_val_w=`echo x $ac_new_val`
8039
+       if test "$ac_old_val_w" != "$ac_new_val_w"; then
8040
+         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
8041
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
8042
+         ac_cache_corrupted=:
8043
+       else
8044
+         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
8045
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
8046
+         eval $ac_var=\$ac_old_val
8047
+       fi
8048
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
8049
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
8050
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
8051
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
8052
+      fi;;
8053
+  esac
8054
+  # Pass precious variables to config.status.
8055
+  if test "$ac_new_set" = set; then
8056
+    case $ac_new_val in
8057
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
8058
+    *) ac_arg=$ac_var=$ac_new_val ;;
8059
+    esac
8060
+    case " $ac_configure_args " in
8061
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
8062
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
8063
+    esac
8064
+  fi
8065
+done
8066
+if $ac_cache_corrupted; then
8067
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8068
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8069
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
8070
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
8071
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
8072
+fi
8073
+## -------------------- ##
8074
+## Main body of script. ##
8075
+## -------------------- ##
8076
+
8077
+ac_ext=c
8078
+ac_cpp='$CPP $CPPFLAGS'
8079
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8080
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8081
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
8082
+
8083
+
8084
+
8085
+
8086
+ac_aux_dir=
8087
+for ac_dir in ../../../.. "$srcdir"/../../../..; do
8088
+  if test -f "$ac_dir/install-sh"; then
8089
+    ac_aux_dir=$ac_dir
8090
+    ac_install_sh="$ac_aux_dir/install-sh -c"
8091
+    break
8092
+  elif test -f "$ac_dir/install.sh"; then
8093
+    ac_aux_dir=$ac_dir
8094
+    ac_install_sh="$ac_aux_dir/install.sh -c"
8095
+    break
8096
+  elif test -f "$ac_dir/shtool"; then
8097
+    ac_aux_dir=$ac_dir
8098
+    ac_install_sh="$ac_aux_dir/shtool install -c"
8099
+    break
8100
+  fi
8101
+done
8102
+if test -z "$ac_aux_dir"; then
8103
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
8104
+fi
8105
+
8106
+# These three variables are undocumented and unsupported,
8107
+# and are intended to be withdrawn in a future Autoconf release.
8108
+# They can cause serious problems if a builder's source tree is in a directory
8109
+# whose full name contains unusual characters.
8110
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
8111
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
8112
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
8113
+
8114
+
8115
+
8116
+
8117
+# Make sure we can run config.sub.
8118
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
8119
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
8120
+
8121
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
8122
+$as_echo_n "checking build system type... " >&6; }
8123
+if ${ac_cv_build+:} false; then :
8124
+  $as_echo_n "(cached) " >&6
8125
+else
8126
+  ac_build_alias=$build_alias
8127
+test "x$ac_build_alias" = x &&
8128
+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
8129
+test "x$ac_build_alias" = x &&
8130
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
8131
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
8132
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
8133
+
8134
+fi
8135
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
8136
+$as_echo "$ac_cv_build" >&6; }
8137
+case $ac_cv_build in
8138
+*-*-*) ;;
8139
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
8140
+esac
8141
+build=$ac_cv_build
8142
+ac_save_IFS=$IFS; IFS='-'
8143
+set x $ac_cv_build
8144
+shift
8145
+build_cpu=$1
8146
+build_vendor=$2
8147
+shift; shift
8148
+# Remember, the first character of IFS is used to create $*,
8149
+# except with old shells:
8150
+build_os=$*
8151
+IFS=$ac_save_IFS
8152
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
8153
+
8154
+
8155
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
8156
+$as_echo_n "checking host system type... " >&6; }
8157
+if ${ac_cv_host+:} false; then :
8158
+  $as_echo_n "(cached) " >&6
8159
+else
8160
+  if test "x$host_alias" = x; then
8161
+  ac_cv_host=$ac_cv_build
8162
+else
8163
+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
8164
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
8165
+fi
8166
+
8167
+fi
8168
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
8169
+$as_echo "$ac_cv_host" >&6; }
8170
+case $ac_cv_host in
8171
+*-*-*) ;;
8172
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
8173
+esac
8174
+host=$ac_cv_host
8175
+ac_save_IFS=$IFS; IFS='-'
8176
+set x $ac_cv_host
8177
+shift
8178
+host_cpu=$1
8179
+host_vendor=$2
8180
+shift; shift
8181
+# Remember, the first character of IFS is used to create $*,
8182
+# except with old shells:
8183
+host_os=$*
8184
+IFS=$ac_save_IFS
8185
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
8186
+
8187
+
8188
+am__api_version='1.11'
8189
+
8190
+# Find a good install program.  We prefer a C program (faster),
8191
+# so one script is as good as another.  But avoid the broken or
8192
+# incompatible versions:
8193
+# SysV /etc/install, /usr/sbin/install
8194
+# SunOS /usr/etc/install
8195
+# IRIX /sbin/install
8196
+# AIX /bin/install
8197
+# AmigaOS /C/install, which installs bootblocks on floppy discs
8198
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8199
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
8200
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8201
+# OS/2's system install, which has a completely different semantic
8202
+# ./install, which can be erroneously created by make from ./install.sh.
8203
+# Reject install programs that cannot install multiple files.
8204
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
8205
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
8206
+if test -z "$INSTALL"; then
8207
+if ${ac_cv_path_install+:} false; then :
8208
+  $as_echo_n "(cached) " >&6
8209
+else
8210
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211
+for as_dir in $PATH
8212
+do
8213
+  IFS=$as_save_IFS
8214
+  test -z "$as_dir" && as_dir=.
8215
+    # Account for people who put trailing slashes in PATH elements.
8216
+case $as_dir/ in #((
8217
+  ./ | .// | /[cC]/* | \
8218
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8219
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
8220
+  /usr/ucb/* ) ;;
8221
+  *)
8222
+    # OSF1 and SCO ODT 3.0 have their own names for install.
8223
+    # Don't use installbsd from OSF since it installs stuff as root
8224
+    # by default.
8225
+    for ac_prog in ginstall scoinst install; do
8226
+      for ac_exec_ext in '' $ac_executable_extensions; do
8227
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
8228
+         if test $ac_prog = install &&
8229
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8230
+           # AIX install.  It has an incompatible calling convention.
8231
+           :
8232
+         elif test $ac_prog = install &&
8233
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8234
+           # program-specific install script used by HP pwplus--don't use.
8235
+           :
8236
+         else
8237
+           rm -rf conftest.one conftest.two conftest.dir
8238
+           echo one > conftest.one
8239
+           echo two > conftest.two
8240
+           mkdir conftest.dir
8241
+           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
8242
+             test -s conftest.one && test -s conftest.two &&
8243
+             test -s conftest.dir/conftest.one &&
8244
+             test -s conftest.dir/conftest.two
8245
+           then
8246
+             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8247
+             break 3
8248
+           fi
8249
+         fi
8250
+       fi
8251
+      done
8252
+    done
8253
+    ;;
8254
+esac
8255
+
8256
+  done
8257
+IFS=$as_save_IFS
8258
+
8259
+rm -rf conftest.one conftest.two conftest.dir
8260
+
8261
+fi
8262
+  if test "${ac_cv_path_install+set}" = set; then
8263
+    INSTALL=$ac_cv_path_install
8264
+  else
8265
+    # As a last resort, use the slow shell script.  Don't cache a
8266
+    # value for INSTALL within a source directory, because that will
8267
+    # break other packages using the cache if that directory is
8268
+    # removed, or if the value is a relative name.
8269
+    INSTALL=$ac_install_sh
8270
+  fi
8271
+fi
8272
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
8273
+$as_echo "$INSTALL" >&6; }
8274
+
8275
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8276
+# It thinks the first close brace ends the variable substitution.
8277
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8278
+
8279
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8280
+
8281
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8282
+
8283
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
8284
+$as_echo_n "checking whether build environment is sane... " >&6; }
8285
+# Just in case
8286
+sleep 1
8287
+echo timestamp > conftest.file
8288
+# Reject unsafe characters in $srcdir or the absolute working directory
8289
+# name.  Accept space and tab only in the latter.
8290
+am_lf='
8291
+'
8292
+case `pwd` in
8293
+  *[\\\"\#\$\&\'\`$am_lf]*)
8294
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
8295
+esac
8296
+case $srcdir in
8297
+  *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
8298
+    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
8299
+esac
8300
+
8301
+# Do `set' in a subshell so we don't clobber the current shell's
8302
+# arguments.  Must try -L first in case configure is actually a
8303
+# symlink; some systems play weird games with the mod time of symlinks
8304
+# (eg FreeBSD returns the mod time of the symlink's containing
8305
+# directory).
8306
+if (
8307
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
8308
+   if test "$*" = "X"; then
8309
+      # -L didn't work.
8310
+      set X `ls -t "$srcdir/configure" conftest.file`
8311
+   fi
8312
+   rm -f conftest.file
8313
+   if test "$*" != "X $srcdir/configure conftest.file" \
8314
+      && test "$*" != "X conftest.file $srcdir/configure"; then
8315
+
8316
+      # If neither matched, then we have a broken ls.  This can happen
8317
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
8318
+      # broken ls alias from the environment.  This has actually
8319
+      # happened.  Such a system could not be considered "sane".
8320
+      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
8321
+alias in your environment" "$LINENO" 5
8322
+   fi
8323
+
8324
+   test "$2" = conftest.file
8325
+   )
8326
+then
8327
+   # Ok.
8328
+   :
8329
+else
8330
+   as_fn_error $? "newly created file is older than distributed files!
8331
+Check your system clock" "$LINENO" 5
8332
+fi
8333
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8334
+$as_echo "yes" >&6; }
8335
+test "$program_prefix" != NONE &&
8336
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
8337
+# Use a double $ so make ignores it.
8338
+test "$program_suffix" != NONE &&
8339
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
8340
+# Double any \ or $.
8341
+# By default was `s,x,x', remove it if useless.
8342
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
8343
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
8344
+
8345
+# expand $ac_aux_dir to an absolute path
8346
+am_aux_dir=`cd $ac_aux_dir && pwd`
8347
+
8348
+if test x"${MISSING+set}" != xset; then
8349
+  case $am_aux_dir in
8350
+  *\ * | *\    *)
8351
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
8352
+  *)
8353
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
8354
+  esac
8355
+fi
8356
+# Use eval to expand $SHELL
8357
+if eval "$MISSING --run true"; then
8358
+  am_missing_run="$MISSING --run "
8359
+else
8360
+  am_missing_run=
8361
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
8362
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
8363
+fi
8364
+
8365
+if test x"${install_sh}" != xset; then
8366
+  case $am_aux_dir in
8367
+  *\ * | *\    *)
8368
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
8369
+  *)
8370
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
8371
+  esac
8372
+fi
8373
+
8374
+# Installed binaries are usually stripped using `strip' when the user
8375
+# run `make install-strip'.  However `strip' might not be the right
8376
+# tool to use in cross-compilation environments, therefore Automake
8377
+# will honor the `STRIP' environment variable to overrule this program.
8378
+if test "$cross_compiling" != no; then
8379
+  if test -n "$ac_tool_prefix"; then
8380
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8381
+set dummy ${ac_tool_prefix}strip; ac_word=$2
8382
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8383
+$as_echo_n "checking for $ac_word... " >&6; }
8384
+if ${ac_cv_prog_STRIP+:} false; then :
8385
+  $as_echo_n "(cached) " >&6
8386
+else
8387
+  if test -n "$STRIP"; then
8388
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8389
+else
8390
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8391
+for as_dir in $PATH
8392
+do
8393
+  IFS=$as_save_IFS
8394
+  test -z "$as_dir" && as_dir=.
8395
+    for ac_exec_ext in '' $ac_executable_extensions; do
8396
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8397
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8398
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399
+    break 2
8400
+  fi
8401
+done
8402
+  done
8403
+IFS=$as_save_IFS
8404
+
8405
+fi
8406
+fi
8407
+STRIP=$ac_cv_prog_STRIP
8408
+if test -n "$STRIP"; then
8409
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8410
+$as_echo "$STRIP" >&6; }
8411
+else
8412
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8413
+$as_echo "no" >&6; }
8414
+fi
8415
+
8416
+
8417
+fi
8418
+if test -z "$ac_cv_prog_STRIP"; then
8419
+  ac_ct_STRIP=$STRIP
8420
+  # Extract the first word of "strip", so it can be a program name with args.
8421
+set dummy strip; ac_word=$2
8422
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8423
+$as_echo_n "checking for $ac_word... " >&6; }
8424
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8425
+  $as_echo_n "(cached) " >&6
8426
+else
8427
+  if test -n "$ac_ct_STRIP"; then
8428
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8429
+else
8430
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8431
+for as_dir in $PATH
8432
+do
8433
+  IFS=$as_save_IFS
8434
+  test -z "$as_dir" && as_dir=.
8435
+    for ac_exec_ext in '' $ac_executable_extensions; do
8436
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8437
+    ac_cv_prog_ac_ct_STRIP="strip"
8438
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8439
+    break 2
8440
+  fi
8441
+done
8442
+  done
8443
+IFS=$as_save_IFS
8444
+
8445
+fi
8446
+fi
8447
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8448
+if test -n "$ac_ct_STRIP"; then
8449
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8450
+$as_echo "$ac_ct_STRIP" >&6; }
8451
+else
8452
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8453
+$as_echo "no" >&6; }
8454
+fi
8455
+
8456
+  if test "x$ac_ct_STRIP" = x; then
8457
+    STRIP=":"
8458
+  else
8459
+    case $cross_compiling:$ac_tool_warned in
8460
+yes:)
8461
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8462
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8463
+ac_tool_warned=yes ;;
8464
+esac
8465
+    STRIP=$ac_ct_STRIP
8466
+  fi
8467
+else
8468
+  STRIP="$ac_cv_prog_STRIP"
8469
+fi
8470
+
8471
+fi
8472
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8473
+
8474
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
8475
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
8476
+if test -z "$MKDIR_P"; then
8477
+  if ${ac_cv_path_mkdir+:} false; then :
8478
+  $as_echo_n "(cached) " >&6
8479
+else
8480
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8481
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
8482
+do
8483
+  IFS=$as_save_IFS
8484
+  test -z "$as_dir" && as_dir=.
8485
+    for ac_prog in mkdir gmkdir; do
8486
+        for ac_exec_ext in '' $ac_executable_extensions; do
8487
+          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
8488
+          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
8489
+            'mkdir (GNU coreutils) '* | \
8490
+            'mkdir (coreutils) '* | \
8491
+            'mkdir (fileutils) '4.1*)
8492
+              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
8493
+              break 3;;
8494
+          esac
8495
+        done
8496
+       done
8497
+  done
8498
+IFS=$as_save_IFS
8499
+
8500
+fi
8501
+
8502
+  test -d ./--version && rmdir ./--version
8503
+  if test "${ac_cv_path_mkdir+set}" = set; then
8504
+    MKDIR_P="$ac_cv_path_mkdir -p"
8505
+  else
8506
+    # As a last resort, use the slow shell script.  Don't cache a
8507
+    # value for MKDIR_P within a source directory, because that will
8508
+    # break other packages using the cache if that directory is
8509
+    # removed, or if the value is a relative name.
8510
+    MKDIR_P="$ac_install_sh -d"
8511
+  fi
8512
+fi
8513
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8514
+$as_echo "$MKDIR_P" >&6; }
8515
+
8516
+mkdir_p="$MKDIR_P"
8517
+case $mkdir_p in
8518
+  [\\/$]* | ?:[\\/]*) ;;
8519
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8520
+esac
8521
+
8522
+for ac_prog in gawk mawk nawk awk
8523
+do
8524
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
8525
+set dummy $ac_prog; ac_word=$2
8526
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8527
+$as_echo_n "checking for $ac_word... " >&6; }
8528
+if ${ac_cv_prog_AWK+:} false; then :
8529
+  $as_echo_n "(cached) " >&6
8530
+else
8531
+  if test -n "$AWK"; then
8532
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
8533
+else
8534
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8535
+for as_dir in $PATH
8536
+do
8537
+  IFS=$as_save_IFS
8538
+  test -z "$as_dir" && as_dir=.
8539
+    for ac_exec_ext in '' $ac_executable_extensions; do
8540
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8541
+    ac_cv_prog_AWK="$ac_prog"
8542
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8543
+    break 2
8544
+  fi
8545
+done
8546
+  done
8547
+IFS=$as_save_IFS
8548
+
8549
+fi
8550
+fi
8551
+AWK=$ac_cv_prog_AWK
8552
+if test -n "$AWK"; then
8553
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
8554
+$as_echo "$AWK" >&6; }
8555
+else
8556
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8557
+$as_echo "no" >&6; }
8558
+fi
8559
+
8560
+
8561
+  test -n "$AWK" && break
8562
+done
8563
+
8564
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8565
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8566
+set x ${MAKE-make}
8567
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8568
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
8569
+  $as_echo_n "(cached) " >&6
8570
+else
8571
+  cat >conftest.make <<\_ACEOF
8572
+SHELL = /bin/sh
8573
+all:
8574
+       @echo '@@@%%%=$(MAKE)=@@@%%%'
8575
+_ACEOF
8576
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8577
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
8578
+  *@@@%%%=?*=@@@%%%*)
8579
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
8580
+  *)
8581
+    eval ac_cv_prog_make_${ac_make}_set=no;;
8582
+esac
8583
+rm -f conftest.make
8584
+fi
8585
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8586
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8587
+$as_echo "yes" >&6; }
8588
+  SET_MAKE=
8589
+else
8590
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591
+$as_echo "no" >&6; }
8592
+  SET_MAKE="MAKE=${MAKE-make}"
8593
+fi
8594
+
8595
+rm -rf .tst 2>/dev/null
8596
+mkdir .tst 2>/dev/null
8597
+if test -d .tst; then
8598
+  am__leading_dot=.
8599
+else
8600
+  am__leading_dot=_
8601
+fi
8602
+rmdir .tst 2>/dev/null
8603
+
8604
+DEPDIR="${am__leading_dot}deps"
8605
+
8606
+ac_config_commands="$ac_config_commands depfiles"
8607
+
8608
+
8609
+am_make=${MAKE-make}
8610
+cat > confinc << 'END'
8611
+am__doit:
8612
+       @echo this is the am__doit target
8613
+.PHONY: am__doit
8614
+END
8615
+# If we don't find an include directive, just comment out the code.
8616
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
8617
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
8618
+am__include="#"
8619
+am__quote=
8620
+_am_result=none
8621
+# First try GNU make style include.
8622
+echo "include confinc" > confmf
8623
+# Ignore all kinds of additional output from `make'.
8624
+case `$am_make -s -f confmf 2> /dev/null` in #(
8625
+*the\ am__doit\ target*)
8626
+  am__include=include
8627
+  am__quote=
8628
+  _am_result=GNU
8629
+  ;;
8630
+esac
8631
+# Now try BSD make style include.
8632
+if test "$am__include" = "#"; then
8633
+   echo '.include "confinc"' > confmf
8634
+   case `$am_make -s -f confmf 2> /dev/null` in #(
8635
+   *the\ am__doit\ target*)
8636
+     am__include=.include
8637
+     am__quote="\""
8638
+     _am_result=BSD
8639
+     ;;
8640
+   esac
8641
+fi
8642
+
8643
+
8644
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
8645
+$as_echo "$_am_result" >&6; }
8646
+rm -f confinc confmf
8647
+
8648
+# Check whether --enable-dependency-tracking was given.
8649
+if test "${enable_dependency_tracking+set}" = set; then :
8650
+  enableval=$enable_dependency_tracking;
8651
+fi
8652
+
8653
+if test "x$enable_dependency_tracking" != xno; then
8654
+  am_depcomp="$ac_aux_dir/depcomp"
8655
+  AMDEPBACKSLASH='\'
8656
+  am__nodep='_no'
8657
+fi
8658
+ if test "x$enable_dependency_tracking" != xno; then
8659
+  AMDEP_TRUE=
8660
+  AMDEP_FALSE='#'
8661
+else
8662
+  AMDEP_TRUE='#'
8663
+  AMDEP_FALSE=
8664
+fi
8665
+
8666
+
8667
+
8668
+# Check whether --enable-multilib was given.
8669
+if test "${enable_multilib+set}" = set; then :
8670
+  enableval=$enable_multilib; case "${enableval}" in
8671
+  yes) multilib=yes ;;
8672
+  no)  multilib=no ;;
8673
+  *)   as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
8674
+ esac
8675
+else
8676
+  multilib=yes
8677
+fi
8678
+
8679
+# Check whether --enable-target-optspace was given.
8680
+if test "${enable_target_optspace+set}" = set; then :
8681
+  enableval=$enable_target_optspace; case "${enableval}" in
8682
+  yes) target_optspace=yes ;;
8683
+  no)  target_optspace=no ;;
8684
+  *)   as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
8685
+ esac
8686
+else
8687
+  target_optspace=
8688
+fi
8689
+
8690
+# Check whether --enable-malloc-debugging was given.
8691
+if test "${enable_malloc_debugging+set}" = set; then :
8692
+  enableval=$enable_malloc_debugging; case "${enableval}" in
8693
+  yes) malloc_debugging=yes ;;
8694
+  no)  malloc_debugging=no ;;
8695
+  *)   as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
8696
+ esac
8697
+else
8698
+  malloc_debugging=
8699
+fi
8700
+
8701
+# Check whether --enable-newlib-multithread was given.
8702
+if test "${enable_newlib_multithread+set}" = set; then :
8703
+  enableval=$enable_newlib_multithread; case "${enableval}" in
8704
+  yes) newlib_multithread=yes ;;
8705
+  no)  newlib_multithread=no ;;
8706
+  *)   as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
8707
+ esac
8708
+else
8709
+  newlib_multithread=yes
8710
+fi
8711
+
8712
+# Check whether --enable-newlib-iconv was given.
8713
+if test "${enable_newlib_iconv+set}" = set; then :
8714
+  enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
8715
+   case "${enableval}" in
8716
+     yes) newlib_iconv=yes ;;
8717
+     no)  newlib_iconv=no ;;
8718
+     *)   as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
8719
+   esac
8720
+ fi
8721
+else
8722
+  newlib_iconv=${newlib_iconv}
8723
+fi
8724
+
8725
+# Check whether --enable-newlib-elix-level was given.
8726
+if test "${enable_newlib_elix_level+set}" = set; then :
8727
+  enableval=$enable_newlib_elix_level; case "${enableval}" in
8728
+  0)   newlib_elix_level=0 ;;
8729
+  1)   newlib_elix_level=1 ;;
8730
+  2)   newlib_elix_level=2 ;;
8731
+  3)   newlib_elix_level=3 ;;
8732
+  4)   newlib_elix_level=4 ;;
8733
+  *)   as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
8734
+ esac
8735
+else
8736
+  newlib_elix_level=0
8737
+fi
8738
+
8739
+# Check whether --enable-newlib-io-float was given.
8740
+if test "${enable_newlib_io_float+set}" = set; then :
8741
+  enableval=$enable_newlib_io_float; case "${enableval}" in
8742
+  yes) newlib_io_float=yes ;;
8743
+  no)  newlib_io_float=no ;;
8744
+  *)   as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
8745
+ esac
8746
+else
8747
+  newlib_io_float=yes
8748
+fi
8749
+
8750
+# Check whether --enable-newlib-supplied-syscalls was given.
8751
+if test "${enable_newlib_supplied_syscalls+set}" = set; then :
8752
+  enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
8753
+  yes) newlib_may_supply_syscalls=yes ;;
8754
+  no)  newlib_may_supply_syscalls=no ;;
8755
+  *)   as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
8756
+ esac
8757
+else
8758
+  newlib_may_supply_syscalls=yes
8759
+fi
8760
+
8761
+ if test x${newlib_may_supply_syscalls} = xyes; then
8762
+  MAY_SUPPLY_SYSCALLS_TRUE=
8763
+  MAY_SUPPLY_SYSCALLS_FALSE='#'
8764
+else
8765
+  MAY_SUPPLY_SYSCALLS_TRUE='#'
8766
+  MAY_SUPPLY_SYSCALLS_FALSE=
8767
+fi
8768
+
8769
+
8770
+
8771
+test -z "${with_target_subdir}" && with_target_subdir=.
8772
+
8773
+if test "${srcdir}" = "."; then
8774
+  if test "${with_target_subdir}" != "."; then
8775
+    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
8776
+  else
8777
+    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
8778
+  fi
8779
+else
8780
+  newlib_basedir="${srcdir}/../../.."
8781
+fi
8782
+
8783
+
8784
+
8785
+
8786
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
8787
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8788
+  # is not polluted with repeated "-I."
8789
+  am__isrc=' -I$(srcdir)'
8790
+  # test to see if srcdir already configured
8791
+  if test -f $srcdir/config.status; then
8792
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8793
+  fi
8794
+fi
8795
+
8796
+# test whether we have cygpath
8797
+if test -z "$CYGPATH_W"; then
8798
+  if (cygpath --version) >/dev/null 2>/dev/null; then
8799
+    CYGPATH_W='cygpath -w'
8800
+  else
8801
+    CYGPATH_W=echo
8802
+  fi
8803
+fi
8804
+
8805
+
8806
+# Define the identity of the package.
8807
+ PACKAGE='newlib'
8808
+ VERSION='2.5.0'
8809
+
8810
+
8811
+# Some tools Automake needs.
8812
+
8813
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8814
+
8815
+
8816
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
8817
+
8818
+
8819
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8820
+
8821
+
8822
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
8823
+
8824
+
8825
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
8826
+
8827
+# We need awk for the "check" target.  The system "awk" is bad on
8828
+# some platforms.
8829
+# Always define AMTAR for backward compatibility.  Yes, it's still used
8830
+# in the wild :-(  We should find a proper way to deprecate it ...
8831
+AMTAR='$${TAR-tar}'
8832
+
8833
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
8834
+
8835
+
8836
+
8837
+
8838
+
8839
+
8840
+# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
8841
+# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
8842
+# are probably using a cross compiler, which will not be able to fully
8843
+# link an executable.  This should really be fixed in autoconf
8844
+# itself.
8845
+
8846
+
8847
+
8848
+
8849
+
8850
+
8851
+
8852
+# Extract the first word of "gcc", so it can be a program name with args.
8853
+set dummy gcc; ac_word=$2
8854
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8855
+$as_echo_n "checking for $ac_word... " >&6; }
8856
+if ${ac_cv_prog_CC+:} false; then :
8857
+  $as_echo_n "(cached) " >&6
8858
+else
8859
+  if test -n "$CC"; then
8860
+  ac_cv_prog_CC="$CC" # Let the user override the test.
8861
+else
8862
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8863
+for as_dir in $PATH
8864
+do
8865
+  IFS=$as_save_IFS
8866
+  test -z "$as_dir" && as_dir=.
8867
+    for ac_exec_ext in '' $ac_executable_extensions; do
8868
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8869
+    ac_cv_prog_CC="gcc"
8870
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8871
+    break 2
8872
+  fi
8873
+done
8874
+  done
8875
+IFS=$as_save_IFS
8876
+
8877
+fi
8878
+fi
8879
+CC=$ac_cv_prog_CC
8880
+if test -n "$CC"; then
8881
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8882
+$as_echo "$CC" >&6; }
8883
+else
8884
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8885
+$as_echo "no" >&6; }
8886
+fi
8887
+
8888
+
8889
+
8890
+depcc="$CC"   am_compiler_list=
8891
+
8892
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8893
+$as_echo_n "checking dependency style of $depcc... " >&6; }
8894
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
8895
+  $as_echo_n "(cached) " >&6
8896
+else
8897
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8898
+  # We make a subdir and do the tests there.  Otherwise we can end up
8899
+  # making bogus files that we don't know about and never remove.  For
8900
+  # instance it was reported that on HP-UX the gcc test will end up
8901
+  # making a dummy file named `D' -- because `-MD' means `put the output
8902
+  # in D'.
8903
+  rm -rf conftest.dir
8904
+  mkdir conftest.dir
8905
+  # Copy depcomp to subdir because otherwise we won't find it if we're
8906
+  # using a relative directory.
8907
+  cp "$am_depcomp" conftest.dir
8908
+  cd conftest.dir
8909
+  # We will build objects and dependencies in a subdirectory because
8910
+  # it helps to detect inapplicable dependency modes.  For instance
8911
+  # both Tru64's cc and ICC support -MD to output dependencies as a
8912
+  # side effect of compilation, but ICC will put the dependencies in
8913
+  # the current directory while Tru64 will put them in the object
8914
+  # directory.
8915
+  mkdir sub
8916
+
8917
+  am_cv_CC_dependencies_compiler_type=none
8918
+  if test "$am_compiler_list" = ""; then
8919
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8920
+  fi
8921
+  am__universal=false
8922
+  case " $depcc " in #(
8923
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8924
+     esac
8925
+
8926
+  for depmode in $am_compiler_list; do
8927
+    # Setup a source with many dependencies, because some compilers
8928
+    # like to wrap large dependency lists on column 80 (with \), and
8929
+    # we should not choose a depcomp mode which is confused by this.
8930
+    #
8931
+    # We need to recreate these files for each test, as the compiler may
8932
+    # overwrite some of them when testing with obscure command lines.
8933
+    # This happens at least with the AIX C compiler.
8934
+    : > sub/conftest.c
8935
+    for i in 1 2 3 4 5 6; do
8936
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8937
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8938
+      # Solaris 8's {/usr,}/bin/sh.
8939
+      touch sub/conftst$i.h
8940
+    done
8941
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8942
+
8943
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8944
+    # mode.  It turns out that the SunPro C++ compiler does not properly
8945
+    # handle `-M -o', and we need to detect this.  Also, some Intel
8946
+    # versions had trouble with output in subdirs
8947
+    am__obj=sub/conftest.${OBJEXT-o}
8948
+    am__minus_obj="-o $am__obj"
8949
+    case $depmode in
8950
+    gcc)
8951
+      # This depmode causes a compiler race in universal mode.
8952
+      test "$am__universal" = false || continue
8953
+      ;;
8954
+    nosideeffect)
8955
+      # after this tag, mechanisms are not by side-effect, so they'll
8956
+      # only be used when explicitly requested
8957
+      if test "x$enable_dependency_tracking" = xyes; then
8958
+       continue
8959
+      else
8960
+       break
8961
+      fi
8962
+      ;;
8963
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8964
+      # This compiler won't grok `-c -o', but also, the minuso test has
8965
+      # not run yet.  These depmodes are late enough in the game, and
8966
+      # so weak that their functioning should not be impacted.
8967
+      am__obj=conftest.${OBJEXT-o}
8968
+      am__minus_obj=
8969
+      ;;
8970
+    none) break ;;
8971
+    esac
8972
+    if depmode=$depmode \
8973
+       source=sub/conftest.c object=$am__obj \
8974
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8975
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8976
+         >/dev/null 2>conftest.err &&
8977
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8978
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8979
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8980
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8981
+      # icc doesn't choke on unknown options, it will just issue warnings
8982
+      # or remarks (even with -Werror).  So we grep stderr for any message
8983
+      # that says an option was ignored or not supported.
8984
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
8985
+      #   icc: Command line warning: ignoring option '-M'; no argument required
8986
+      # The diagnosis changed in icc 8.0:
8987
+      #   icc: Command line remark: option '-MP' not supported
8988
+      if (grep 'ignoring option' conftest.err ||
8989
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8990
+        am_cv_CC_dependencies_compiler_type=$depmode
8991
+        break
8992
+      fi
8993
+    fi
8994
+  done
8995
+
8996
+  cd ..
8997
+  rm -rf conftest.dir
8998
+else
8999
+  am_cv_CC_dependencies_compiler_type=none
9000
+fi
9001
+
9002
+fi
9003
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9004
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9005
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9006
+
9007
+ if
9008
+  test "x$enable_dependency_tracking" != xno \
9009
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9010
+  am__fastdepCC_TRUE=
9011
+  am__fastdepCC_FALSE='#'
9012
+else
9013
+  am__fastdepCC_TRUE='#'
9014
+  am__fastdepCC_FALSE=
9015
+fi
9016
+
9017
+
9018
+if test -z "$CC"; then
9019
+  # Extract the first word of "cc", so it can be a program name with args.
9020
+set dummy cc; ac_word=$2
9021
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9022
+$as_echo_n "checking for $ac_word... " >&6; }
9023
+if ${ac_cv_prog_CC+:} false; then :
9024
+  $as_echo_n "(cached) " >&6
9025
+else
9026
+  if test -n "$CC"; then
9027
+  ac_cv_prog_CC="$CC" # Let the user override the test.
9028
+else
9029
+  ac_prog_rejected=no
9030
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9031
+for as_dir in $PATH
9032
+do
9033
+  IFS=$as_save_IFS
9034
+  test -z "$as_dir" && as_dir=.
9035
+    for ac_exec_ext in '' $ac_executable_extensions; do
9036
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9037
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9038
+       ac_prog_rejected=yes
9039
+       continue
9040
+     fi
9041
+    ac_cv_prog_CC="cc"
9042
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9043
+    break 2
9044
+  fi
9045
+done
9046
+  done
9047
+IFS=$as_save_IFS
9048
+
9049
+if test $ac_prog_rejected = yes; then
9050
+  # We found a bogon in the path, so make sure we never use it.
9051
+  set dummy $ac_cv_prog_CC
9052
+  shift
9053
+  if test $# != 0; then
9054
+    # We chose a different compiler from the bogus one.
9055
+    # However, it has the same basename, so the bogon will be chosen
9056
+    # first if we set CC to just the basename; use the full file name.
9057
+    shift
9058
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9059
+  fi
9060
+fi
9061
+fi
9062
+fi
9063
+CC=$ac_cv_prog_CC
9064
+if test -n "$CC"; then
9065
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9066
+$as_echo "$CC" >&6; }
9067
+else
9068
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9069
+$as_echo "no" >&6; }
9070
+fi
9071
+
9072
+
9073
+  test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
9074
+fi
9075
+
9076
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
9077
+$as_echo_n "checking whether we are using GNU C... " >&6; }
9078
+if ${ac_cv_c_compiler_gnu+:} false; then :
9079
+  $as_echo_n "(cached) " >&6
9080
+else
9081
+  cat > conftest.c <<EOF
9082
+#ifdef __GNUC__
9083
+  yes;
9084
+#endif
9085
+EOF
9086
+if { ac_try='${CC-cc} -E conftest.c'
9087
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
9088
+  (eval $ac_try) 2>&5
9089
+  ac_status=$?
9090
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9091
+  test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
9092
+  ac_cv_c_compiler_gnu=yes
9093
+else
9094
+  ac_cv_c_compiler_gnu=no
9095
+fi
9096
+fi
9097
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
9098
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
9099
+
9100
+if test $ac_cv_c_compiler_gnu = yes; then
9101
+  GCC=yes
9102
+  ac_test_CFLAGS="${CFLAGS+set}"
9103
+  ac_save_CFLAGS="$CFLAGS"
9104
+  ac_test_CFLAGS=${CFLAGS+set}
9105
+ac_save_CFLAGS=$CFLAGS
9106
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
9107
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
9108
+if ${ac_cv_prog_cc_g+:} false; then :
9109
+  $as_echo_n "(cached) " >&6
9110
+else
9111
+  ac_save_c_werror_flag=$ac_c_werror_flag
9112
+   ac_c_werror_flag=yes
9113
+   ac_cv_prog_cc_g=no
9114
+   CFLAGS="-g"
9115
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116
+/* end confdefs.h.  */
9117
+
9118
+int
9119
+main ()
9120
+{
9121
+
9122
+  ;
9123
+  return 0;
9124
+}
9125
+_ACEOF
9126
+if ac_fn_c_try_compile "$LINENO"; then :
9127
+  ac_cv_prog_cc_g=yes
9128
+else
9129
+  CFLAGS=""
9130
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131
+/* end confdefs.h.  */
9132
+
9133
+int
9134
+main ()
9135
+{
9136
+
9137
+  ;
9138
+  return 0;
9139
+}
9140
+_ACEOF
9141
+if ac_fn_c_try_compile "$LINENO"; then :
9142
+
9143
+else
9144
+  ac_c_werror_flag=$ac_save_c_werror_flag
9145
+        CFLAGS="-g"
9146
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9147
+/* end confdefs.h.  */
9148
+
9149
+int
9150
+main ()
9151
+{
9152
+
9153
+  ;
9154
+  return 0;
9155
+}
9156
+_ACEOF
9157
+if ac_fn_c_try_compile "$LINENO"; then :
9158
+  ac_cv_prog_cc_g=yes
9159
+fi
9160
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9161
+fi
9162
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9163
+fi
9164
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9165
+   ac_c_werror_flag=$ac_save_c_werror_flag
9166
+fi
9167
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
9168
+$as_echo "$ac_cv_prog_cc_g" >&6; }
9169
+if test "$ac_test_CFLAGS" = set; then
9170
+  CFLAGS=$ac_save_CFLAGS
9171
+elif test $ac_cv_prog_cc_g = yes; then
9172
+  if test "$GCC" = yes; then
9173
+    CFLAGS="-g -O2"
9174
+  else
9175
+    CFLAGS="-g"
9176
+  fi
9177
+else
9178
+  if test "$GCC" = yes; then
9179
+    CFLAGS="-O2"
9180
+  else
9181
+    CFLAGS=
9182
+  fi
9183
+fi
9184
+  if test "$ac_test_CFLAGS" = set; then
9185
+    CFLAGS="$ac_save_CFLAGS"
9186
+  elif test $ac_cv_prog_cc_g = yes; then
9187
+    CFLAGS="-g -O2"
9188
+  else
9189
+    CFLAGS="-O2"
9190
+  fi
9191
+else
9192
+  GCC=
9193
+  test "${CFLAGS+set}" = set || CFLAGS="-g"
9194
+fi
9195
+
9196
+
9197
+if test -n "$ac_tool_prefix"; then
9198
+  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9199
+set dummy ${ac_tool_prefix}as; ac_word=$2
9200
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201
+$as_echo_n "checking for $ac_word... " >&6; }
9202
+if ${ac_cv_prog_AS+:} false; then :
9203
+  $as_echo_n "(cached) " >&6
9204
+else
9205
+  if test -n "$AS"; then
9206
+  ac_cv_prog_AS="$AS" # Let the user override the test.
9207
+else
9208
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9209
+for as_dir in $PATH
9210
+do
9211
+  IFS=$as_save_IFS
9212
+  test -z "$as_dir" && as_dir=.
9213
+    for ac_exec_ext in '' $ac_executable_extensions; do
9214
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9215
+    ac_cv_prog_AS="${ac_tool_prefix}as"
9216
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9217
+    break 2
9218
+  fi
9219
+done
9220
+  done
9221
+IFS=$as_save_IFS
9222
+
9223
+fi
9224
+fi
9225
+AS=$ac_cv_prog_AS
9226
+if test -n "$AS"; then
9227
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9228
+$as_echo "$AS" >&6; }
9229
+else
9230
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231
+$as_echo "no" >&6; }
9232
+fi
9233
+
9234
+
9235
+fi
9236
+if test -z "$ac_cv_prog_AS"; then
9237
+  ac_ct_AS=$AS
9238
+  # Extract the first word of "as", so it can be a program name with args.
9239
+set dummy as; ac_word=$2
9240
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9241
+$as_echo_n "checking for $ac_word... " >&6; }
9242
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
9243
+  $as_echo_n "(cached) " >&6
9244
+else
9245
+  if test -n "$ac_ct_AS"; then
9246
+  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9247
+else
9248
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9249
+for as_dir in $PATH
9250
+do
9251
+  IFS=$as_save_IFS
9252
+  test -z "$as_dir" && as_dir=.
9253
+    for ac_exec_ext in '' $ac_executable_extensions; do
9254
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9255
+    ac_cv_prog_ac_ct_AS="as"
9256
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9257
+    break 2
9258
+  fi
9259
+done
9260
+  done
9261
+IFS=$as_save_IFS
9262
+
9263
+fi
9264
+fi
9265
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
9266
+if test -n "$ac_ct_AS"; then
9267
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9268
+$as_echo "$ac_ct_AS" >&6; }
9269
+else
9270
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271
+$as_echo "no" >&6; }
9272
+fi
9273
+
9274
+  if test "x$ac_ct_AS" = x; then
9275
+    AS=""
9276
+  else
9277
+    case $cross_compiling:$ac_tool_warned in
9278
+yes:)
9279
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9280
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9281
+ac_tool_warned=yes ;;
9282
+esac
9283
+    AS=$ac_ct_AS
9284
+  fi
9285
+else
9286
+  AS="$ac_cv_prog_AS"
9287
+fi
9288
+
9289
+if test -n "$ac_tool_prefix"; then
9290
+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9291
+set dummy ${ac_tool_prefix}ar; ac_word=$2
9292
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293
+$as_echo_n "checking for $ac_word... " >&6; }
9294
+if ${ac_cv_prog_AR+:} false; then :
9295
+  $as_echo_n "(cached) " >&6
9296
+else
9297
+  if test -n "$AR"; then
9298
+  ac_cv_prog_AR="$AR" # Let the user override the test.
9299
+else
9300
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301
+for as_dir in $PATH
9302
+do
9303
+  IFS=$as_save_IFS
9304
+  test -z "$as_dir" && as_dir=.
9305
+    for ac_exec_ext in '' $ac_executable_extensions; do
9306
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9307
+    ac_cv_prog_AR="${ac_tool_prefix}ar"
9308
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9309
+    break 2
9310
+  fi
9311
+done
9312
+  done
9313
+IFS=$as_save_IFS
9314
+
9315
+fi
9316
+fi
9317
+AR=$ac_cv_prog_AR
9318
+if test -n "$AR"; then
9319
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9320
+$as_echo "$AR" >&6; }
9321
+else
9322
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9323
+$as_echo "no" >&6; }
9324
+fi
9325
+
9326
+
9327
+fi
9328
+if test -z "$ac_cv_prog_AR"; then
9329
+  ac_ct_AR=$AR
9330
+  # Extract the first word of "ar", so it can be a program name with args.
9331
+set dummy ar; ac_word=$2
9332
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9333
+$as_echo_n "checking for $ac_word... " >&6; }
9334
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
9335
+  $as_echo_n "(cached) " >&6
9336
+else
9337
+  if test -n "$ac_ct_AR"; then
9338
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9339
+else
9340
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9341
+for as_dir in $PATH
9342
+do
9343
+  IFS=$as_save_IFS
9344
+  test -z "$as_dir" && as_dir=.
9345
+    for ac_exec_ext in '' $ac_executable_extensions; do
9346
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9347
+    ac_cv_prog_ac_ct_AR="ar"
9348
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9349
+    break 2
9350
+  fi
9351
+done
9352
+  done
9353
+IFS=$as_save_IFS
9354
+
9355
+fi
9356
+fi
9357
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
9358
+if test -n "$ac_ct_AR"; then
9359
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9360
+$as_echo "$ac_ct_AR" >&6; }
9361
+else
9362
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9363
+$as_echo "no" >&6; }
9364
+fi
9365
+
9366
+  if test "x$ac_ct_AR" = x; then
9367
+    AR=""
9368
+  else
9369
+    case $cross_compiling:$ac_tool_warned in
9370
+yes:)
9371
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9372
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9373
+ac_tool_warned=yes ;;
9374
+esac
9375
+    AR=$ac_ct_AR
9376
+  fi
9377
+else
9378
+  AR="$ac_cv_prog_AR"
9379
+fi
9380
+
9381
+if test -n "$ac_tool_prefix"; then
9382
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9383
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9384
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9385
+$as_echo_n "checking for $ac_word... " >&6; }
9386
+if ${ac_cv_prog_RANLIB+:} false; then :
9387
+  $as_echo_n "(cached) " >&6
9388
+else
9389
+  if test -n "$RANLIB"; then
9390
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9391
+else
9392
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393
+for as_dir in $PATH
9394
+do
9395
+  IFS=$as_save_IFS
9396
+  test -z "$as_dir" && as_dir=.
9397
+    for ac_exec_ext in '' $ac_executable_extensions; do
9398
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9400
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9401
+    break 2
9402
+  fi
9403
+done
9404
+  done
9405
+IFS=$as_save_IFS
9406
+
9407
+fi
9408
+fi
9409
+RANLIB=$ac_cv_prog_RANLIB
9410
+if test -n "$RANLIB"; then
9411
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9412
+$as_echo "$RANLIB" >&6; }
9413
+else
9414
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9415
+$as_echo "no" >&6; }
9416
+fi
9417
+
9418
+
9419
+fi
9420
+if test -z "$ac_cv_prog_RANLIB"; then
9421
+  ac_ct_RANLIB=$RANLIB
9422
+  # Extract the first word of "ranlib", so it can be a program name with args.
9423
+set dummy ranlib; ac_word=$2
9424
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9425
+$as_echo_n "checking for $ac_word... " >&6; }
9426
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9427
+  $as_echo_n "(cached) " >&6
9428
+else
9429
+  if test -n "$ac_ct_RANLIB"; then
9430
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9431
+else
9432
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9433
+for as_dir in $PATH
9434
+do
9435
+  IFS=$as_save_IFS
9436
+  test -z "$as_dir" && as_dir=.
9437
+    for ac_exec_ext in '' $ac_executable_extensions; do
9438
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9439
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
9440
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9441
+    break 2
9442
+  fi
9443
+done
9444
+  done
9445
+IFS=$as_save_IFS
9446
+
9447
+fi
9448
+fi
9449
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9450
+if test -n "$ac_ct_RANLIB"; then
9451
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9452
+$as_echo "$ac_ct_RANLIB" >&6; }
9453
+else
9454
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9455
+$as_echo "no" >&6; }
9456
+fi
9457
+
9458
+  if test "x$ac_ct_RANLIB" = x; then
9459
+    RANLIB=":"
9460
+  else
9461
+    case $cross_compiling:$ac_tool_warned in
9462
+yes:)
9463
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9464
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9465
+ac_tool_warned=yes ;;
9466
+esac
9467
+    RANLIB=$ac_ct_RANLIB
9468
+  fi
9469
+else
9470
+  RANLIB="$ac_cv_prog_RANLIB"
9471
+fi
9472
+
9473
+if test -n "$ac_tool_prefix"; then
9474
+  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9475
+set dummy ${ac_tool_prefix}readelf; ac_word=$2
9476
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9477
+$as_echo_n "checking for $ac_word... " >&6; }
9478
+if ${ac_cv_prog_READELF+:} false; then :
9479
+  $as_echo_n "(cached) " >&6
9480
+else
9481
+  if test -n "$READELF"; then
9482
+  ac_cv_prog_READELF="$READELF" # Let the user override the test.
9483
+else
9484
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9485
+for as_dir in $PATH
9486
+do
9487
+  IFS=$as_save_IFS
9488
+  test -z "$as_dir" && as_dir=.
9489
+    for ac_exec_ext in '' $ac_executable_extensions; do
9490
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9491
+    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9492
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9493
+    break 2
9494
+  fi
9495
+done
9496
+  done
9497
+IFS=$as_save_IFS
9498
+
9499
+fi
9500
+fi
9501
+READELF=$ac_cv_prog_READELF
9502
+if test -n "$READELF"; then
9503
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9504
+$as_echo "$READELF" >&6; }
9505
+else
9506
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9507
+$as_echo "no" >&6; }
9508
+fi
9509
+
9510
+
9511
+fi
9512
+if test -z "$ac_cv_prog_READELF"; then
9513
+  ac_ct_READELF=$READELF
9514
+  # Extract the first word of "readelf", so it can be a program name with args.
9515
+set dummy readelf; ac_word=$2
9516
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9517
+$as_echo_n "checking for $ac_word... " >&6; }
9518
+if ${ac_cv_prog_ac_ct_READELF+:} false; then :
9519
+  $as_echo_n "(cached) " >&6
9520
+else
9521
+  if test -n "$ac_ct_READELF"; then
9522
+  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9523
+else
9524
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9525
+for as_dir in $PATH
9526
+do
9527
+  IFS=$as_save_IFS
9528
+  test -z "$as_dir" && as_dir=.
9529
+    for ac_exec_ext in '' $ac_executable_extensions; do
9530
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9531
+    ac_cv_prog_ac_ct_READELF="readelf"
9532
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9533
+    break 2
9534
+  fi
9535
+done
9536
+  done
9537
+IFS=$as_save_IFS
9538
+
9539
+fi
9540
+fi
9541
+ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9542
+if test -n "$ac_ct_READELF"; then
9543
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9544
+$as_echo "$ac_ct_READELF" >&6; }
9545
+else
9546
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9547
+$as_echo "no" >&6; }
9548
+fi
9549
+
9550
+  if test "x$ac_ct_READELF" = x; then
9551
+    READELF=":"
9552
+  else
9553
+    case $cross_compiling:$ac_tool_warned in
9554
+yes:)
9555
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9556
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9557
+ac_tool_warned=yes ;;
9558
+esac
9559
+    READELF=$ac_ct_READELF
9560
+  fi
9561
+else
9562
+  READELF="$ac_cv_prog_READELF"
9563
+fi
9564
+
9565
+
9566
+
9567
+
9568
+# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
9569
+ac_given_INSTALL=$INSTALL
9570
+
9571
+
9572
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9573
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9574
+    # Check whether --enable-maintainer-mode was given.
9575
+if test "${enable_maintainer_mode+set}" = set; then :
9576
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9577
+else
9578
+  USE_MAINTAINER_MODE=no
9579
+fi
9580
+
9581
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9582
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
9583
+   if test $USE_MAINTAINER_MODE = yes; then
9584
+  MAINTAINER_MODE_TRUE=
9585
+  MAINTAINER_MODE_FALSE='#'
9586
+else
9587
+  MAINTAINER_MODE_TRUE='#'
9588
+  MAINTAINER_MODE_FALSE=
9589
+fi
9590
+
9591
+  MAINT=$MAINTAINER_MODE_TRUE
9592
+
9593
+
9594
+# By default we simply use the C compiler to build assembly code.
9595
+
9596
+test "${CCAS+set}" = set || CCAS=$CC
9597
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
9598
+
9599
+
9600
+
9601
+
9602
+# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
9603
+# at least currently, we never actually build a program, so we never
9604
+# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
9605
+# fails, because we are probably configuring with a cross compiler
9606
+# which can't create executables.  So we include AC_EXEEXT to keep
9607
+# automake happy, but we don't execute it, since we don't care about
9608
+# the result.
9609
+if false; then
9610
+
9611
+  dummy_var=1
9612
+fi
9613
+
9614
+. ${newlib_basedir}/configure.host
9615
+
9616
+newlib_cflags="${newlib_cflags} -fno-builtin"
9617
+
9618
+NEWLIB_CFLAGS=${newlib_cflags}
9619
+
9620
+
9621
+NO_INCLUDE_LIST=${noinclude}
9622
+
9623
+
9624
+LDFLAGS=${ldflags}
9625
+
9626
+
9627
+ if test x${newlib_elix_level} = x0; then
9628
+  ELIX_LEVEL_0_TRUE=
9629
+  ELIX_LEVEL_0_FALSE='#'
9630
+else
9631
+  ELIX_LEVEL_0_TRUE='#'
9632
+  ELIX_LEVEL_0_FALSE=
9633
+fi
9634
+
9635
+ if test x${newlib_elix_level} = x1; then
9636
+  ELIX_LEVEL_1_TRUE=
9637
+  ELIX_LEVEL_1_FALSE='#'
9638
+else
9639
+  ELIX_LEVEL_1_TRUE='#'
9640
+  ELIX_LEVEL_1_FALSE=
9641
+fi
9642
+
9643
+ if test x${newlib_elix_level} = x2; then
9644
+  ELIX_LEVEL_2_TRUE=
9645
+  ELIX_LEVEL_2_FALSE='#'
9646
+else
9647
+  ELIX_LEVEL_2_TRUE='#'
9648
+  ELIX_LEVEL_2_FALSE=
9649
+fi
9650
+
9651
+ if test x${newlib_elix_level} = x3; then
9652
+  ELIX_LEVEL_3_TRUE=
9653
+  ELIX_LEVEL_3_FALSE='#'
9654
+else
9655
+  ELIX_LEVEL_3_TRUE='#'
9656
+  ELIX_LEVEL_3_FALSE=
9657
+fi
9658
+
9659
+ if test x${newlib_elix_level} = x4; then
9660
+  ELIX_LEVEL_4_TRUE=
9661
+  ELIX_LEVEL_4_FALSE='#'
9662
+else
9663
+  ELIX_LEVEL_4_TRUE='#'
9664
+  ELIX_LEVEL_4_FALSE=
9665
+fi
9666
+
9667
+
9668
+ if test x${use_libtool} = xyes; then
9669
+  USE_LIBTOOL_TRUE=
9670
+  USE_LIBTOOL_FALSE='#'
9671
+else
9672
+  USE_LIBTOOL_TRUE='#'
9673
+  USE_LIBTOOL_FALSE=
9674
+fi
9675
+
9676
+
9677
+# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
9678
+# use oext, which is set in configure.host based on the target platform.
9679
+OBJEXT=${oext}
9680
+
9681
+
9682
+
9683
+
9684
+
9685
+
9686
+
9687
+
9688
+
9689
+
9690
+
9691
+ac_config_files="$ac_config_files Makefile"
9692
+
9693
+cat >confcache <<\_ACEOF
9694
+# This file is a shell script that caches the results of configure
9695
+# tests run on this system so they can be shared between configure
9696
+# scripts and configure runs, see configure's option --config-cache.
9697
+# It is not useful on other systems.  If it contains results you don't
9698
+# want to keep, you may remove or edit it.
9699
+#
9700
+# config.status only pays attention to the cache file if you give it
9701
+# the --recheck option to rerun configure.
9702
+#
9703
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
9704
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
9705
+# following values.
9706
+
9707
+_ACEOF
9708
+
9709
+# The following way of writing the cache mishandles newlines in values,
9710
+# but we know of no workaround that is simple, portable, and efficient.
9711
+# So, we kill variables containing newlines.
9712
+# Ultrix sh set writes to stderr and can't be redirected directly,
9713
+# and sets the high bit in the cache file unless we assign to the vars.
9714
+(
9715
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9716
+    eval ac_val=\$$ac_var
9717
+    case $ac_val in #(
9718
+    *${as_nl}*)
9719
+      case $ac_var in #(
9720
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9721
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9722
+      esac
9723
+      case $ac_var in #(
9724
+      _ | IFS | as_nl) ;; #(
9725
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9726
+      *) { eval $ac_var=; unset $ac_var;} ;;
9727
+      esac ;;
9728
+    esac
9729
+  done
9730
+
9731
+  (set) 2>&1 |
9732
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9733
+    *${as_nl}ac_space=\ *)
9734
+      # `set' does not quote correctly, so add quotes: double-quote
9735
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
9736
+      sed -n \
9737
+       "s/'/'\\\\''/g;
9738
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9739
+      ;; #(
9740
+    *)
9741
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
9742
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9743
+      ;;
9744
+    esac |
9745
+    sort
9746
+) |
9747
+  sed '
9748
+     /^ac_cv_env_/b end
9749
+     t clear
9750
+     :clear
9751
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9752
+     t end
9753
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9754
+     :end' >>confcache
9755
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9756
+  if test -w "$cache_file"; then
9757
+    if test "x$cache_file" != "x/dev/null"; then
9758
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9759
+$as_echo "$as_me: updating cache $cache_file" >&6;}
9760
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
9761
+       cat confcache >"$cache_file"
9762
+      else
9763
+        case $cache_file in #(
9764
+        */* | ?:*)
9765
+         mv -f confcache "$cache_file"$$ &&
9766
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
9767
+        *)
9768
+         mv -f confcache "$cache_file" ;;
9769
+       esac
9770
+      fi
9771
+    fi
9772
+  else
9773
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9774
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9775
+  fi
9776
+fi
9777
+rm -f confcache
9778
+
9779
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
9780
+# Let make expand exec_prefix.
9781
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9782
+
9783
+# Transform confdefs.h into DEFS.
9784
+# Protect against shell expansion while executing Makefile rules.
9785
+# Protect against Makefile macro expansion.
9786
+#
9787
+# If the first sed substitution is executed (which looks for macros that
9788
+# take arguments), then branch to the quote section.  Otherwise,
9789
+# look for a macro that doesn't take arguments.
9790
+ac_script='
9791
+:mline
9792
+/\\$/{
9793
+ N
9794
+ s,\\\n,,
9795
+ b mline
9796
+}
9797
+t clear
9798
+:clear
9799
+s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
9800
+t quote
9801
+s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
9802
+t quote
9803
+b any
9804
+:quote
9805
+s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9806
+s/\[/\\&/g
9807
+s/\]/\\&/g
9808
+s/\$/$$/g
9809
+H
9810
+:any
9811
+${
9812
+       g
9813
+       s/^\n//
9814
+       s/\n/ /g
9815
+       p
9816
+}
9817
+'
9818
+DEFS=`sed -n "$ac_script" confdefs.h`
9819
+
9820
+
9821
+ac_libobjs=
9822
+ac_ltlibobjs=
9823
+U=
9824
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9825
+  # 1. Remove the extension, and $U if already installed.
9826
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9827
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9828
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9829
+  #    will be set to the directory where LIBOBJS objects are built.
9830
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9831
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9832
+done
9833
+LIBOBJS=$ac_libobjs
9834
+
9835
+LTLIBOBJS=$ac_ltlibobjs
9836
+
9837
+
9838
+if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
9839
+  as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
9840
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9841
+fi
9842
+
9843
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9844
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
9845
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9846
+fi
9847
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9848
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9849
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9850
+fi
9851
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9852
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
9853
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9854
+fi
9855
+if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
9856
+  as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
9857
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9858
+fi
9859
+if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
9860
+  as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
9861
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9862
+fi
9863
+if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
9864
+  as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
9865
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9866
+fi
9867
+if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
9868
+  as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
9869
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9870
+fi
9871
+if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
9872
+  as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
9873
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9874
+fi
9875
+if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
9876
+  as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
9877
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9878
+fi
9879
+
9880
+: "${CONFIG_STATUS=./config.status}"
9881
+ac_write_fail=0
9882
+ac_clean_files_save=$ac_clean_files
9883
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9884
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9885
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9886
+as_write_fail=0
9887
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9888
+#! $SHELL
9889
+# Generated by $as_me.
9890
+# Run this file to recreate the current configuration.
9891
+# Compiler output produced by configure, useful for debugging
9892
+# configure, is in config.log if it exists.
9893
+
9894
+debug=false
9895
+ac_cs_recheck=false
9896
+ac_cs_silent=false
9897
+
9898
+SHELL=\${CONFIG_SHELL-$SHELL}
9899
+export SHELL
9900
+_ASEOF
9901
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9902
+## -------------------- ##
9903
+## M4sh Initialization. ##
9904
+## -------------------- ##
9905
+
9906
+# Be more Bourne compatible
9907
+DUALCASE=1; export DUALCASE # for MKS sh
9908
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9909
+  emulate sh
9910
+  NULLCMD=:
9911
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9912
+  # is contrary to our usage.  Disable this feature.
9913
+  alias -g '${1+"$@"}'='"$@"'
9914
+  setopt NO_GLOB_SUBST
9915
+else
9916
+  case `(set -o) 2>/dev/null` in #(
9917
+  *posix*) :
9918
+    set -o posix ;; #(
9919
+  *) :
9920
+     ;;
9921
+esac
9922
+fi
9923
+
9924
+
9925
+as_nl='
9926
+'
9927
+export as_nl
9928
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
9929
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9930
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9931
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9932
+# Prefer a ksh shell builtin over an external printf program on Solaris,
9933
+# but without wasting forks for bash or zsh.
9934
+if test -z "$BASH_VERSION$ZSH_VERSION" \
9935
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9936
+  as_echo='print -r --'
9937
+  as_echo_n='print -rn --'
9938
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9939
+  as_echo='printf %s\n'
9940
+  as_echo_n='printf %s'
9941
+else
9942
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9943
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9944
+    as_echo_n='/usr/ucb/echo -n'
9945
+  else
9946
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9947
+    as_echo_n_body='eval
9948
+      arg=$1;
9949
+      case $arg in #(
9950
+      *"$as_nl"*)
9951
+       expr "X$arg" : "X\\(.*\\)$as_nl";
9952
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9953
+      esac;
9954
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9955
+    '
9956
+    export as_echo_n_body
9957
+    as_echo_n='sh -c $as_echo_n_body as_echo'
9958
+  fi
9959
+  export as_echo_body
9960
+  as_echo='sh -c $as_echo_body as_echo'
9961
+fi
9962
+
9963
+# The user is always right.
9964
+if test "${PATH_SEPARATOR+set}" != set; then
9965
+  PATH_SEPARATOR=:
9966
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9967
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9968
+      PATH_SEPARATOR=';'
9969
+  }
9970
+fi
9971
+
9972
+
9973
+# IFS
9974
+# We need space, tab and new line, in precisely that order.  Quoting is
9975
+# there to prevent editors from complaining about space-tab.
9976
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9977
+# splitting by setting IFS to empty value.)
9978
+IFS=" ""       $as_nl"
9979
+
9980
+# Find who we are.  Look in the path if we contain no directory separator.
9981
+as_myself=
9982
+case $0 in #((
9983
+  *[\\/]* ) as_myself=$0 ;;
9984
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9985
+for as_dir in $PATH
9986
+do
9987
+  IFS=$as_save_IFS
9988
+  test -z "$as_dir" && as_dir=.
9989
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9990
+  done
9991
+IFS=$as_save_IFS
9992
+
9993
+     ;;
9994
+esac
9995
+# We did not find ourselves, most probably we were run as `sh COMMAND'
9996
+# in which case we are not to be found in the path.
9997
+if test "x$as_myself" = x; then
9998
+  as_myself=$0
9999
+fi
10000
+if test ! -f "$as_myself"; then
10001
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10002
+  exit 1
10003
+fi
10004
+
10005
+# Unset variables that we do not need and which cause bugs (e.g. in
10006
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
10007
+# suppresses any "Segmentation fault" message there.  '((' could
10008
+# trigger a bug in pdksh 5.2.14.
10009
+for as_var in BASH_ENV ENV MAIL MAILPATH
10010
+do eval test x\${$as_var+set} = xset \
10011
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10012
+done
10013
+PS1='$ '
10014
+PS2='> '
10015
+PS4='+ '
10016
+
10017
+# NLS nuisances.
10018
+LC_ALL=C
10019
+export LC_ALL
10020
+LANGUAGE=C
10021
+export LANGUAGE
10022
+
10023
+# CDPATH.
10024
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10025
+
10026
+
10027
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
10028
+# ----------------------------------------
10029
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10030
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10031
+# script with STATUS, using 1 if that was 0.
10032
+as_fn_error ()
10033
+{
10034
+  as_status=$1; test $as_status -eq 0 && as_status=1
10035
+  if test "$4"; then
10036
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10037
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10038
+  fi
10039
+  $as_echo "$as_me: error: $2" >&2
10040
+  as_fn_exit $as_status
10041
+} # as_fn_error
10042
+
10043
+
10044
+# as_fn_set_status STATUS
10045
+# -----------------------
10046
+# Set $? to STATUS, without forking.
10047
+as_fn_set_status ()
10048
+{
10049
+  return $1
10050
+} # as_fn_set_status
10051
+
10052
+# as_fn_exit STATUS
10053
+# -----------------
10054
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10055
+as_fn_exit ()
10056
+{
10057
+  set +e
10058
+  as_fn_set_status $1
10059
+  exit $1
10060
+} # as_fn_exit
10061
+
10062
+# as_fn_unset VAR
10063
+# ---------------
10064
+# Portably unset VAR.
10065
+as_fn_unset ()
10066
+{
10067
+  { eval $1=; unset $1;}
10068
+}
10069
+as_unset=as_fn_unset
10070
+# as_fn_append VAR VALUE
10071
+# ----------------------
10072
+# Append the text in VALUE to the end of the definition contained in VAR. Take
10073
+# advantage of any shell optimizations that allow amortized linear growth over
10074
+# repeated appends, instead of the typical quadratic growth present in naive
10075
+# implementations.
10076
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10077
+  eval 'as_fn_append ()
10078
+  {
10079
+    eval $1+=\$2
10080
+  }'
10081
+else
10082
+  as_fn_append ()
10083
+  {
10084
+    eval $1=\$$1\$2
10085
+  }
10086
+fi # as_fn_append
10087
+
10088
+# as_fn_arith ARG...
10089
+# ------------------
10090
+# Perform arithmetic evaluation on the ARGs, and store the result in the
10091
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
10092
+# must be portable across $(()) and expr.
10093
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10094
+  eval 'as_fn_arith ()
10095
+  {
10096
+    as_val=$(( $* ))
10097
+  }'
10098
+else
10099
+  as_fn_arith ()
10100
+  {
10101
+    as_val=`expr "$@" || test $? -eq 1`
10102
+  }
10103
+fi # as_fn_arith
10104
+
10105
+
10106
+if expr a : '\(a\)' >/dev/null 2>&1 &&
10107
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10108
+  as_expr=expr
10109
+else
10110
+  as_expr=false
10111
+fi
10112
+
10113
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10114
+  as_basename=basename
10115
+else
10116
+  as_basename=false
10117
+fi
10118
+
10119
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10120
+  as_dirname=dirname
10121
+else
10122
+  as_dirname=false
10123
+fi
10124
+
10125
+as_me=`$as_basename -- "$0" ||
10126
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10127
+        X"$0" : 'X\(//\)$' \| \
10128
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10129
+$as_echo X/"$0" |
10130
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
10131
+           s//\1/
10132
+           q
10133
+         }
10134
+         /^X\/\(\/\/\)$/{
10135
+           s//\1/
10136
+           q
10137
+         }
10138
+         /^X\/\(\/\).*/{
10139
+           s//\1/
10140
+           q
10141
+         }
10142
+         s/.*/./; q'`
10143
+
10144
+# Avoid depending upon Character Ranges.
10145
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10146
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10147
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10148
+as_cr_digits='0123456789'
10149
+as_cr_alnum=$as_cr_Letters$as_cr_digits
10150
+
10151
+ECHO_C= ECHO_N= ECHO_T=
10152
+case `echo -n x` in #(((((
10153
+-n*)
10154
+  case `echo 'xy\c'` in
10155
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
10156
+  xy)  ECHO_C='\c';;
10157
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
10158
+       ECHO_T='        ';;
10159
+  esac;;
10160
+*)
10161
+  ECHO_N='-n';;
10162
+esac
10163
+
10164
+rm -f conf$$ conf$$.exe conf$$.file
10165
+if test -d conf$$.dir; then
10166
+  rm -f conf$$.dir/conf$$.file
10167
+else
10168
+  rm -f conf$$.dir
10169
+  mkdir conf$$.dir 2>/dev/null
10170
+fi
10171
+if (echo >conf$$.file) 2>/dev/null; then
10172
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
10173
+    as_ln_s='ln -s'
10174
+    # ... but there are two gotchas:
10175
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10176
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10177
+    # In both cases, we have to default to `cp -p'.
10178
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10179
+      as_ln_s='cp -p'
10180
+  elif ln conf$$.file conf$$ 2>/dev/null; then
10181
+    as_ln_s=ln
10182
+  else
10183
+    as_ln_s='cp -p'
10184
+  fi
10185
+else
10186
+  as_ln_s='cp -p'
10187
+fi
10188
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10189
+rmdir conf$$.dir 2>/dev/null
10190
+
10191
+
10192
+# as_fn_mkdir_p
10193
+# -------------
10194
+# Create "$as_dir" as a directory, including parents if necessary.
10195
+as_fn_mkdir_p ()
10196
+{
10197
+
10198
+  case $as_dir in #(
10199
+  -*) as_dir=./$as_dir;;
10200
+  esac
10201
+  test -d "$as_dir" || eval $as_mkdir_p || {
10202
+    as_dirs=
10203
+    while :; do
10204
+      case $as_dir in #(
10205
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10206
+      *) as_qdir=$as_dir;;
10207
+      esac
10208
+      as_dirs="'$as_qdir' $as_dirs"
10209
+      as_dir=`$as_dirname -- "$as_dir" ||
10210
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10211
+        X"$as_dir" : 'X\(//\)[^/]' \| \
10212
+        X"$as_dir" : 'X\(//\)$' \| \
10213
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10214
+$as_echo X"$as_dir" |
10215
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10216
+           s//\1/
10217
+           q
10218
+         }
10219
+         /^X\(\/\/\)[^/].*/{
10220
+           s//\1/
10221
+           q
10222
+         }
10223
+         /^X\(\/\/\)$/{
10224
+           s//\1/
10225
+           q
10226
+         }
10227
+         /^X\(\/\).*/{
10228
+           s//\1/
10229
+           q
10230
+         }
10231
+         s/.*/./; q'`
10232
+      test -d "$as_dir" && break
10233
+    done
10234
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
10235
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10236
+
10237
+
10238
+} # as_fn_mkdir_p
10239
+if mkdir -p . 2>/dev/null; then
10240
+  as_mkdir_p='mkdir -p "$as_dir"'
10241
+else
10242
+  test -d ./-p && rmdir ./-p
10243
+  as_mkdir_p=false
10244
+fi
10245
+
10246
+if test -x / >/dev/null 2>&1; then
10247
+  as_test_x='test -x'
10248
+else
10249
+  if ls -dL / >/dev/null 2>&1; then
10250
+    as_ls_L_option=L
10251
+  else
10252
+    as_ls_L_option=
10253
+  fi
10254
+  as_test_x='
10255
+    eval sh -c '\''
10256
+      if test -d "$1"; then
10257
+       test -d "$1/.";
10258
+      else
10259
+       case $1 in #(
10260
+       -*)set "./$1";;
10261
+       esac;
10262
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10263
+       ???[sx]*):;;*)false;;esac;fi
10264
+    '\'' sh
10265
+  '
10266
+fi
10267
+as_executable_p=$as_test_x
10268
+
10269
+# Sed expression to map a string onto a valid CPP name.
10270
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10271
+
10272
+# Sed expression to map a string onto a valid variable name.
10273
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10274
+
10275
+
10276
+exec 6>&1
10277
+## ----------------------------------- ##
10278
+## Main body of $CONFIG_STATUS script. ##
10279
+## ----------------------------------- ##
10280
+_ASEOF
10281
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10282
+
10283
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10284
+# Save the log message, to keep $0 and so on meaningful, and to
10285
+# report actual input values of CONFIG_FILES etc. instead of their
10286
+# values after options handling.
10287
+ac_log="
10288
+This file was extended by newlib $as_me 2.5.0, which was
10289
+generated by GNU Autoconf 2.68.  Invocation command line was
10290
+
10291
+  CONFIG_FILES    = $CONFIG_FILES
10292
+  CONFIG_HEADERS  = $CONFIG_HEADERS
10293
+  CONFIG_LINKS    = $CONFIG_LINKS
10294
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
10295
+  $ $0 $@
10296
+
10297
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
10298
+"
10299
+
10300
+_ACEOF
10301
+
10302
+case $ac_config_files in *"
10303
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
10304
+esac
10305
+
10306
+
10307
+
10308
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10309
+# Files that config.status was made for.
10310
+config_files="$ac_config_files"
10311
+config_commands="$ac_config_commands"
10312
+
10313
+_ACEOF
10314
+
10315
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10316
+ac_cs_usage="\
10317
+\`$as_me' instantiates files and other configuration actions
10318
+from templates according to the current configuration.  Unless the files
10319
+and actions are specified as TAGs, all are instantiated by default.
10320
+
10321
+Usage: $0 [OPTION]... [TAG]...
10322
+
10323
+  -h, --help       print this help, then exit
10324
+  -V, --version    print version number and configuration settings, then exit
10325
+      --config     print configuration, then exit
10326
+  -q, --quiet, --silent
10327
+                   do not print progress messages
10328
+  -d, --debug      don't remove temporary files
10329
+      --recheck    update $as_me by reconfiguring in the same conditions
10330
+      --file=FILE[:TEMPLATE]
10331
+                   instantiate the configuration file FILE
10332
+
10333
+Configuration files:
10334
+$config_files
10335
+
10336
+Configuration commands:
10337
+$config_commands
10338
+
10339
+Report bugs to the package provider."
10340
+
10341
+_ACEOF
10342
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10343
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10344
+ac_cs_version="\\
10345
+newlib config.status 2.5.0
10346
+configured by $0, generated by GNU Autoconf 2.68,
10347
+  with options \\"\$ac_cs_config\\"
10348
+
10349
+Copyright (C) 2010 Free Software Foundation, Inc.
10350
+This config.status script is free software; the Free Software Foundation
10351
+gives unlimited permission to copy, distribute and modify it."
10352
+
10353
+ac_pwd='$ac_pwd'
10354
+srcdir='$srcdir'
10355
+INSTALL='$INSTALL'
10356
+MKDIR_P='$MKDIR_P'
10357
+AWK='$AWK'
10358
+test -n "\$AWK" || AWK=awk
10359
+_ACEOF
10360
+
10361
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10362
+# The default lists apply if the user does not specify any file.
10363
+ac_need_defaults=:
10364
+while test $# != 0
10365
+do
10366
+  case $1 in
10367
+  --*=?*)
10368
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10369
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10370
+    ac_shift=:
10371
+    ;;
10372
+  --*=)
10373
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10374
+    ac_optarg=
10375
+    ac_shift=:
10376
+    ;;
10377
+  *)
10378
+    ac_option=$1
10379
+    ac_optarg=$2
10380
+    ac_shift=shift
10381
+    ;;
10382
+  esac
10383
+
10384
+  case $ac_option in
10385
+  # Handling of the options.
10386
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10387
+    ac_cs_recheck=: ;;
10388
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10389
+    $as_echo "$ac_cs_version"; exit ;;
10390
+  --config | --confi | --conf | --con | --co | --c )
10391
+    $as_echo "$ac_cs_config"; exit ;;
10392
+  --debug | --debu | --deb | --de | --d | -d )
10393
+    debug=: ;;
10394
+  --file | --fil | --fi | --f )
10395
+    $ac_shift
10396
+    case $ac_optarg in
10397
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10398
+    '') as_fn_error $? "missing file argument" ;;
10399
+    esac
10400
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
10401
+    ac_need_defaults=false;;
10402
+  --he | --h |  --help | --hel | -h )
10403
+    $as_echo "$ac_cs_usage"; exit ;;
10404
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10405
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10406
+    ac_cs_silent=: ;;
10407
+
10408
+  # This is an error.
10409
+  -*) as_fn_error $? "unrecognized option: \`$1'
10410
+Try \`$0 --help' for more information." ;;
10411
+
10412
+  *) as_fn_append ac_config_targets " $1"
10413
+     ac_need_defaults=false ;;
10414
+
10415
+  esac
10416
+  shift
10417
+done
10418
+
10419
+ac_configure_extra_args=
10420
+
10421
+if $ac_cs_silent; then
10422
+  exec 6>/dev/null
10423
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
10424
+fi
10425
+
10426
+_ACEOF
10427
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10428
+if \$ac_cs_recheck; then
10429
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10430
+  shift
10431
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10432
+  CONFIG_SHELL='$SHELL'
10433
+  export CONFIG_SHELL
10434
+  exec "\$@"
10435
+fi
10436
+
10437
+_ACEOF
10438
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10439
+exec 5>>config.log
10440
+{
10441
+  echo
10442
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10443
+## Running $as_me. ##
10444
+_ASBOX
10445
+  $as_echo "$ac_log"
10446
+} >&5
10447
+
10448
+_ACEOF
10449
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10450
+#
10451
+# INIT-COMMANDS
10452
+#
10453
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10454
+
10455
+_ACEOF
10456
+
10457
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10458
+
10459
+# Handling of arguments.
10460
+for ac_config_target in $ac_config_targets
10461
+do
10462
+  case $ac_config_target in
10463
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10464
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10465
+
10466
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10467
+  esac
10468
+done
10469
+
10470
+
10471
+# If the user did not use the arguments to specify the items to instantiate,
10472
+# then the envvar interface is used.  Set only those that are not.
10473
+# We use the long form for the default assignment because of an extremely
10474
+# bizarre bug on SunOS 4.1.3.
10475
+if $ac_need_defaults; then
10476
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10477
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10478
+fi
10479
+
10480
+# Have a temporary directory for convenience.  Make it in the build tree
10481
+# simply because there is no reason against having it here, and in addition,
10482
+# creating and moving files from /tmp can sometimes cause problems.
10483
+# Hook for its removal unless debugging.
10484
+# Note that there is a small window in which the directory will not be cleaned:
10485
+# after its creation but before its name has been assigned to `$tmp'.
10486
+$debug ||
10487
+{
10488
+  tmp= ac_tmp=
10489
+  trap 'exit_status=$?
10490
+  : "${ac_tmp:=$tmp}"
10491
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10492
+' 0
10493
+  trap 'as_fn_exit 1' 1 2 13 15
10494
+}
10495
+# Create a (secure) tmp directory for tmp files.
10496
+
10497
+{
10498
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10499
+  test -d "$tmp"
10500
+}  ||
10501
+{
10502
+  tmp=./conf$$-$RANDOM
10503
+  (umask 077 && mkdir "$tmp")
10504
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10505
+ac_tmp=$tmp
10506
+
10507
+# Set up the scripts for CONFIG_FILES section.
10508
+# No need to generate them if there are no CONFIG_FILES.
10509
+# This happens for instance with `./config.status config.h'.
10510
+if test -n "$CONFIG_FILES"; then
10511
+
10512
+
10513
+ac_cr=`echo X | tr X '\015'`
10514
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
10515
+# But we know of no other shell where ac_cr would be empty at this
10516
+# point, so we can use a bashism as a fallback.
10517
+if test "x$ac_cr" = x; then
10518
+  eval ac_cr=\$\'\\r\'
10519
+fi
10520
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10521
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10522
+  ac_cs_awk_cr='\\r'
10523
+else
10524
+  ac_cs_awk_cr=$ac_cr
10525
+fi
10526
+
10527
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10528
+_ACEOF
10529
+
10530
+
10531
+{
10532
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
10533
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10534
+  echo "_ACEOF"
10535
+} >conf$$subs.sh ||
10536
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10537
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10538
+ac_delim='%!_!# '
10539
+for ac_last_try in false false false false false :; do
10540
+  . ./conf$$subs.sh ||
10541
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10542
+
10543
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10544
+  if test $ac_delim_n = $ac_delim_num; then
10545
+    break
10546
+  elif $ac_last_try; then
10547
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10548
+  else
10549
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10550
+  fi
10551
+done
10552
+rm -f conf$$subs.sh
10553
+
10554
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10555
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10556
+_ACEOF
10557
+sed -n '
10558
+h
10559
+s/^/S["/; s/!.*/"]=/
10560
+p
10561
+g
10562
+s/^[^!]*!//
10563
+:repl
10564
+t repl
10565
+s/'"$ac_delim"'$//
10566
+t delim
10567
+:nl
10568
+h
10569
+s/\(.\{148\}\)..*/\1/
10570
+t more1
10571
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10572
+p
10573
+n
10574
+b repl
10575
+:more1
10576
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10577
+p
10578
+g
10579
+s/.\{148\}//
10580
+t nl
10581
+:delim
10582
+h
10583
+s/\(.\{148\}\)..*/\1/
10584
+t more2
10585
+s/["\\]/\\&/g; s/^/"/; s/$/"/
10586
+p
10587
+b
10588
+:more2
10589
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10590
+p
10591
+g
10592
+s/.\{148\}//
10593
+t delim
10594
+' <conf$$subs.awk | sed '
10595
+/^[^""]/{
10596
+  N
10597
+  s/\n//
10598
+}
10599
+' >>$CONFIG_STATUS || ac_write_fail=1
10600
+rm -f conf$$subs.awk
10601
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10602
+_ACAWK
10603
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10604
+  for (key in S) S_is_set[key] = 1
10605
+  FS = ""
10606
+
10607
+}
10608
+{
10609
+  line = $ 0
10610
+  nfields = split(line, field, "@")
10611
+  substed = 0
10612
+  len = length(field[1])
10613
+  for (i = 2; i < nfields; i++) {
10614
+    key = field[i]
10615
+    keylen = length(key)
10616
+    if (S_is_set[key]) {
10617
+      value = S[key]
10618
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10619
+      len += length(value) + length(field[++i])
10620
+      substed = 1
10621
+    } else
10622
+      len += 1 + keylen
10623
+  }
10624
+
10625
+  print line
10626
+}
10627
+
10628
+_ACAWK
10629
+_ACEOF
10630
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10631
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10632
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10633
+else
10634
+  cat
10635
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10636
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10637
+_ACEOF
10638
+
10639
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10640
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10641
+# trailing colons and then remove the whole line if VPATH becomes empty
10642
+# (actually we leave an empty line to preserve line numbers).
10643
+if test "x$srcdir" = x.; then
10644
+  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
10645
+h
10646
+s///
10647
+s/^/:/
10648
+s/[     ]*$/:/
10649
+s/:\$(srcdir):/:/g
10650
+s/:\${srcdir}:/:/g
10651
+s/:@srcdir@:/:/g
10652
+s/^:*//
10653
+s/:*$//
10654
+x
10655
+s/\(=[  ]*\).*/\1/
10656
+G
10657
+s/\n//
10658
+s/^[^=]*=[      ]*$//
10659
+}'
10660
+fi
10661
+
10662
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10663
+fi # test -n "$CONFIG_FILES"
10664
+
10665
+
10666
+eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
10667
+shift
10668
+for ac_tag
10669
+do
10670
+  case $ac_tag in
10671
+  :[FHLC]) ac_mode=$ac_tag; continue;;
10672
+  esac
10673
+  case $ac_mode$ac_tag in
10674
+  :[FHL]*:*);;
10675
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10676
+  :[FH]-) ac_tag=-:-;;
10677
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10678
+  esac
10679
+  ac_save_IFS=$IFS
10680
+  IFS=:
10681
+  set x $ac_tag
10682
+  IFS=$ac_save_IFS
10683
+  shift
10684
+  ac_file=$1
10685
+  shift
10686
+
10687
+  case $ac_mode in
10688
+  :L) ac_source=$1;;
10689
+  :[FH])
10690
+    ac_file_inputs=
10691
+    for ac_f
10692
+    do
10693
+      case $ac_f in
10694
+      -) ac_f="$ac_tmp/stdin";;
10695
+      *) # Look for the file first in the build tree, then in the source tree
10696
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
10697
+        # because $ac_f cannot contain `:'.
10698
+        test -f "$ac_f" ||
10699
+          case $ac_f in
10700
+          [\\/$]*) false;;
10701
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10702
+          esac ||
10703
+          as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10704
+      esac
10705
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10706
+      as_fn_append ac_file_inputs " '$ac_f'"
10707
+    done
10708
+
10709
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
10710
+    # use $as_me), people would be surprised to read:
10711
+    #    /* config.h.  Generated by config.status.  */
10712
+    configure_input='Generated from '`
10713
+         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10714
+       `' by configure.'
10715
+    if test x"$ac_file" != x-; then
10716
+      configure_input="$ac_file.  $configure_input"
10717
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10718
+$as_echo "$as_me: creating $ac_file" >&6;}
10719
+    fi
10720
+    # Neutralize special characters interpreted by sed in replacement strings.
10721
+    case $configure_input in #(
10722
+    *\&* | *\|* | *\\* )
10723
+       ac_sed_conf_input=`$as_echo "$configure_input" |
10724
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
10725
+    *) ac_sed_conf_input=$configure_input;;
10726
+    esac
10727
+
10728
+    case $ac_tag in
10729
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
10730
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10731
+    esac
10732
+    ;;
10733
+  esac
10734
+
10735
+  ac_dir=`$as_dirname -- "$ac_file" ||
10736
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10737
+        X"$ac_file" : 'X\(//\)[^/]' \| \
10738
+        X"$ac_file" : 'X\(//\)$' \| \
10739
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10740
+$as_echo X"$ac_file" |
10741
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10742
+           s//\1/
10743
+           q
10744
+         }
10745
+         /^X\(\/\/\)[^/].*/{
10746
+           s//\1/
10747
+           q
10748
+         }
10749
+         /^X\(\/\/\)$/{
10750
+           s//\1/
10751
+           q
10752
+         }
10753
+         /^X\(\/\).*/{
10754
+           s//\1/
10755
+           q
10756
+         }
10757
+         s/.*/./; q'`
10758
+  as_dir="$ac_dir"; as_fn_mkdir_p
10759
+  ac_builddir=.
10760
+
10761
+case "$ac_dir" in
10762
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10763
+*)
10764
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10765
+  # A ".." for each directory in $ac_dir_suffix.
10766
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10767
+  case $ac_top_builddir_sub in
10768
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10769
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10770
+  esac ;;
10771
+esac
10772
+ac_abs_top_builddir=$ac_pwd
10773
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
10774
+# for backward compatibility:
10775
+ac_top_builddir=$ac_top_build_prefix
10776
+
10777
+case $srcdir in
10778
+  .)  # We are building in place.
10779
+    ac_srcdir=.
10780
+    ac_top_srcdir=$ac_top_builddir_sub
10781
+    ac_abs_top_srcdir=$ac_pwd ;;
10782
+  [\\/]* | ?:[\\/]* )  # Absolute name.
10783
+    ac_srcdir=$srcdir$ac_dir_suffix;
10784
+    ac_top_srcdir=$srcdir
10785
+    ac_abs_top_srcdir=$srcdir ;;
10786
+  *) # Relative name.
10787
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10788
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
10789
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10790
+esac
10791
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10792
+
10793
+
10794
+  case $ac_mode in
10795
+  :F)
10796
+  #
10797
+  # CONFIG_FILE
10798
+  #
10799
+
10800
+  case $INSTALL in
10801
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10802
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10803
+  esac
10804
+  ac_MKDIR_P=$MKDIR_P
10805
+  case $MKDIR_P in
10806
+  [\\/$]* | ?:[\\/]* ) ;;
10807
+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10808
+  esac
10809
+_ACEOF
10810
+
10811
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10812
+# If the template does not know about datarootdir, expand it.
10813
+# FIXME: This hack should be removed a few years after 2.60.
10814
+ac_datarootdir_hack=; ac_datarootdir_seen=
10815
+ac_sed_dataroot='
10816
+/datarootdir/ {
10817
+  p
10818
+  q
10819
+}
10820
+/@datadir@/p
10821
+/@docdir@/p
10822
+/@infodir@/p
10823
+/@localedir@/p
10824
+/@mandir@/p'
10825
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10826
+*datarootdir*) ac_datarootdir_seen=yes;;
10827
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10828
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10829
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10830
+_ACEOF
10831
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10832
+  ac_datarootdir_hack='
10833
+  s&@datadir@&$datadir&g
10834
+  s&@docdir@&$docdir&g
10835
+  s&@infodir@&$infodir&g
10836
+  s&@localedir@&$localedir&g
10837
+  s&@mandir@&$mandir&g
10838
+  s&\\\${datarootdir}&$datarootdir&g' ;;
10839
+esac
10840
+_ACEOF
10841
+
10842
+# Neutralize VPATH when `$srcdir' = `.'.
10843
+# Shell code in configure.ac might set extrasub.
10844
+# FIXME: do we really want to maintain this feature?
10845
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10846
+ac_sed_extra="$ac_vpsub
10847
+$extrasub
10848
+_ACEOF
10849
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10850
+:t
10851
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10852
+s|@configure_input@|$ac_sed_conf_input|;t t
10853
+s&@top_builddir@&$ac_top_builddir_sub&;t t
10854
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
10855
+s&@srcdir@&$ac_srcdir&;t t
10856
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
10857
+s&@top_srcdir@&$ac_top_srcdir&;t t
10858
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10859
+s&@builddir@&$ac_builddir&;t t
10860
+s&@abs_builddir@&$ac_abs_builddir&;t t
10861
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10862
+s&@INSTALL@&$ac_INSTALL&;t t
10863
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
10864
+$ac_datarootdir_hack
10865
+"
10866
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10867
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10868
+
10869
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10870
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10871
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
10872
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
10873
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10874
+which seems to be undefined.  Please make sure it is defined" >&5
10875
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10876
+which seems to be undefined.  Please make sure it is defined" >&2;}
10877
+
10878
+  rm -f "$ac_tmp/stdin"
10879
+  case $ac_file in
10880
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10881
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10882
+  esac \
10883
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10884
+ ;;
10885
+
10886
+
10887
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10888
+$as_echo "$as_me: executing $ac_file commands" >&6;}
10889
+ ;;
10890
+  esac
10891
+
10892
+
10893
+  case $ac_file$ac_mode in
10894
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10895
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
10896
+  # are listed without --file.  Let's play safe and only enable the eval
10897
+  # if we detect the quoting.
10898
+  case $CONFIG_FILES in
10899
+  *\'*) eval set x "$CONFIG_FILES" ;;
10900
+  *)   set x $CONFIG_FILES ;;
10901
+  esac
10902
+  shift
10903
+  for mf
10904
+  do
10905
+    # Strip MF so we end up with the name of the file.
10906
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
10907
+    # Check whether this is an Automake generated Makefile or not.
10908
+    # We used to match only the files named `Makefile.in', but
10909
+    # some people rename them; so instead we look at the file content.
10910
+    # Grep'ing the first line is not enough: some people post-process
10911
+    # each Makefile.in and add a new line on top of each file to say so.
10912
+    # Grep'ing the whole file is not good either: AIX grep has a line
10913
+    # limit of 2048, but all sed's we know have understand at least 4000.
10914
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10915
+      dirpart=`$as_dirname -- "$mf" ||
10916
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10917
+        X"$mf" : 'X\(//\)[^/]' \| \
10918
+        X"$mf" : 'X\(//\)$' \| \
10919
+        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10920
+$as_echo X"$mf" |
10921
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10922
+           s//\1/
10923
+           q
10924
+         }
10925
+         /^X\(\/\/\)[^/].*/{
10926
+           s//\1/
10927
+           q
10928
+         }
10929
+         /^X\(\/\/\)$/{
10930
+           s//\1/
10931
+           q
10932
+         }
10933
+         /^X\(\/\).*/{
10934
+           s//\1/
10935
+           q
10936
+         }
10937
+         s/.*/./; q'`
10938
+    else
10939
+      continue
10940
+    fi
10941
+    # Extract the definition of DEPDIR, am__include, and am__quote
10942
+    # from the Makefile without running `make'.
10943
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10944
+    test -z "$DEPDIR" && continue
10945
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
10946
+    test -z "am__include" && continue
10947
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10948
+    # When using ansi2knr, U may be empty or an underscore; expand it
10949
+    U=`sed -n 's/^U = //p' < "$mf"`
10950
+    # Find all dependency output files, they are included files with
10951
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
10952
+    # simplest approach to changing $(DEPDIR) to its actual value in the
10953
+    # expansion.
10954
+    for file in `sed -n "
10955
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10956
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10957
+      # Make sure the directory exists.
10958
+      test -f "$dirpart/$file" && continue
10959
+      fdir=`$as_dirname -- "$file" ||
10960
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10961
+        X"$file" : 'X\(//\)[^/]' \| \
10962
+        X"$file" : 'X\(//\)$' \| \
10963
+        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10964
+$as_echo X"$file" |
10965
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10966
+           s//\1/
10967
+           q
10968
+         }
10969
+         /^X\(\/\/\)[^/].*/{
10970
+           s//\1/
10971
+           q
10972
+         }
10973
+         /^X\(\/\/\)$/{
10974
+           s//\1/
10975
+           q
10976
+         }
10977
+         /^X\(\/\).*/{
10978
+           s//\1/
10979
+           q
10980
+         }
10981
+         s/.*/./; q'`
10982
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
10983
+      # echo "creating $dirpart/$file"
10984
+      echo '# dummy' > "$dirpart/$file"
10985
+    done
10986
+  done
10987
+}
10988
+ ;;
10989
+
10990
+  esac
10991
+done # for ac_tag
10992
+
10993
+
10994
+as_fn_exit 0
10995
+_ACEOF
10996
+ac_clean_files=$ac_clean_files_save
10997
+
10998
+test $ac_write_fail = 0 ||
10999
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
11000
+
11001
+
11002
+# configure is writing to config.log, and then calls config.status.
11003
+# config.status does its own redirection, appending to config.log.
11004
+# Unfortunately, on DOS this fails, as config.log is still kept open
11005
+# by configure, so config.status won't be able to write to it; its
11006
+# output is simply discarded.  So we exec the FD to /dev/null,
11007
+# effectively closing config.log, so it can be properly (re)opened and
11008
+# appended to by config.status.  When coming back to configure, we
11009
+# need to make the FD available again.
11010
+if test "$no_create" != yes; then
11011
+  ac_cs_success=:
11012
+  ac_config_status_args=
11013
+  test "$silent" = yes &&
11014
+    ac_config_status_args="$ac_config_status_args --quiet"
11015
+  exec 5>/dev/null
11016
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11017
+  exec 5>>config.log
11018
+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11019
+  # would make configure fail if this is the last instruction.
11020
+  $ac_cs_success || as_fn_exit 1
11021
+fi
11022
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11023
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11024
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11025
+fi
11026
+
11027
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/configure.in newlib-2.5.0-zip/newlib/libc/machine/zip/configure.in
11028
--- newlib-2.5.0/newlib/libc/machine/zip/configure.in   1969-12-31 19:00:00.000000000 -0500
11029
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/configure.in       2017-01-13 09:07:32.069910859 -0500
11030
@@ -0,0 +1,14 @@
11031
+dnl This is the newlib/libc/machine/or1k configure.in file.
11032
+dnl Process this file with autoconf to produce a configure script.
11033
+
11034
+AC_PREREQ(2.59)
11035
+AC_INIT([newlib],[NEWLIB_VERSION])
11036
+AC_CONFIG_SRCDIR([Makefile.am])
11037
+
11038
+dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
11039
+AC_CONFIG_AUX_DIR(../../../..)
11040
+
11041
+NEWLIB_CONFIGURE(../../..)
11042
+
11043
+AC_CONFIG_FILES([Makefile])
11044
+AC_OUTPUT
11045
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/ieeefp.h newlib-2.5.0-zip/newlib/libc/machine/zip/ieeefp.h
11046
--- newlib-2.5.0/newlib/libc/machine/zip/ieeefp.h       1969-12-31 19:00:00.000000000 -0500
11047
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/ieeefp.h   2017-01-13 09:39:02.419391050 -0500
11048
@@ -0,0 +1,45 @@
11049
+////////////////////////////////////////////////////////////////////////////////
11050
+//
11051
+// Filename:   ieeefp.h
11052
+//
11053
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
11054
+//
11055
+// Purpose:    To define, for the sake of newlib, how floating point works
11056
+//             on the ZipCPU.
11057
+//
11058
+//
11059
+// Creator:    Dan Gisselquist, Ph.D.
11060
+//             Gisselquist Technology, LLC
11061
+//
11062
+////////////////////////////////////////////////////////////////////////////////
11063
+//
11064
+// Copyright (C) 2017, Gisselquist Technology, LLC
11065
+//
11066
+// This program is free software (firmware): you can redistribute it and/or
11067
+// modify it under the terms of  the GNU General Public License as published
11068
+// by the Free Software Foundation, either version 3 of the License, or (at
11069
+// your option) any later version.
11070
+//
11071
+// This program is distributed in the hope that it will be useful, but WITHOUT
11072
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
11073
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11074
+// for more details.
11075
+//
11076
+// License:    GPL, v3, as defined and found on www.gnu.org,
11077
+//             http://www.gnu.org/licenses/gpl.html
11078
+//
11079
+//
11080
+////////////////////////////////////////////////////////////////////////////////
11081
+//
11082
+//
11083
+#ifdef __ZIPCPU__
11084
+
11085
+#ifndef        __IEEE_BIG_ENDIAN
11086
+#define        __IEEE_BIG_ENDIAN
11087
+#endif
11088
+
11089
+#ifndef        _FLOAT_ARG
11090
+#define        _FLOAT_ARG      float
11091
+#endif
11092
+
11093
+#endif
11094
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/Makefile.am newlib-2.5.0-zip/newlib/libc/machine/zip/Makefile.am
11095
--- newlib-2.5.0/newlib/libc/machine/zip/Makefile.am    1969-12-31 19:00:00.000000000 -0500
11096
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/Makefile.am        2017-01-13 09:10:39.033134510 -0500
11097
@@ -0,0 +1,16 @@
11098
+## Process this file with automake to generate Makefile.in
11099
+
11100
+AUTOMAKE_OPTIONS = cygnus
11101
+
11102
+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
11103
+
11104
+AM_CCASFLAGS = $(INCLUDES)
11105
+
11106
+noinst_LIBRARIES = lib.a
11107
+
11108
+lib_a_SOURCES = setjmp.S
11109
+lib_a_CCASFLAGS=$(AM_CCASFLAGS)
11110
+lib_a_CFLAGS=$(AM_CFLAGS)
11111
+
11112
+ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
11113
+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
11114
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/Makefile.in newlib-2.5.0-zip/newlib/libc/machine/zip/Makefile.in
11115
--- newlib-2.5.0/newlib/libc/machine/zip/Makefile.in    1969-12-31 19:00:00.000000000 -0500
11116
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/Makefile.in        2017-01-13 09:11:20.927649493 -0500
11117
@@ -0,0 +1,440 @@
11118
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
11119
+# @configure_input@
11120
+
11121
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
11122
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
11123
+# Foundation, Inc.
11124
+# This Makefile.in is free software; the Free Software Foundation
11125
+# gives unlimited permission to copy and/or distribute it,
11126
+# with or without modifications, as long as this notice is preserved.
11127
+
11128
+# This program is distributed in the hope that it will be useful,
11129
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11130
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11131
+# PARTICULAR PURPOSE.
11132
+
11133
+@SET_MAKE@
11134
+
11135
+VPATH = @srcdir@
11136
+am__make_dryrun = \
11137
+  { \
11138
+    am__dry=no; \
11139
+    case $$MAKEFLAGS in \
11140
+      *\\[\ \  ]*) \
11141
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
11142
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
11143
+      *) \
11144
+        for am__flg in $$MAKEFLAGS; do \
11145
+          case $$am__flg in \
11146
+            *=*|--*) ;; \
11147
+            *n*) am__dry=yes; break;; \
11148
+          esac; \
11149
+        done;; \
11150
+    esac; \
11151
+    test $$am__dry = yes; \
11152
+  }
11153
+pkgdatadir = $(datadir)/@PACKAGE@
11154
+pkgincludedir = $(includedir)/@PACKAGE@
11155
+pkglibdir = $(libdir)/@PACKAGE@
11156
+pkglibexecdir = $(libexecdir)/@PACKAGE@
11157
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
11158
+install_sh_DATA = $(install_sh) -c -m 644
11159
+install_sh_PROGRAM = $(install_sh) -c
11160
+install_sh_SCRIPT = $(install_sh) -c
11161
+INSTALL_HEADER = $(INSTALL_DATA)
11162
+transform = $(program_transform_name)
11163
+NORMAL_INSTALL = :
11164
+PRE_INSTALL = :
11165
+POST_INSTALL = :
11166
+NORMAL_UNINSTALL = :
11167
+PRE_UNINSTALL = :
11168
+POST_UNINSTALL = :
11169
+build_triplet = @build@
11170
+host_triplet = @host@
11171
+subdir = .
11172
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
11173
+       $(top_srcdir)/configure $(am__configure_deps) \
11174
+       $(srcdir)/../../../../mkinstalldirs
11175
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
11176
+am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
11177
+       $(top_srcdir)/configure.in
11178
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
11179
+       $(ACLOCAL_M4)
11180
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
11181
+ configure.lineno config.status.lineno
11182
+mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
11183
+CONFIG_CLEAN_FILES =
11184
+CONFIG_CLEAN_VPATH_FILES =
11185
+LIBRARIES = $(noinst_LIBRARIES)
11186
+ARFLAGS = cru
11187
+lib_a_AR = $(AR) $(ARFLAGS)
11188
+lib_a_LIBADD =
11189
+am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
11190
+lib_a_OBJECTS = $(am_lib_a_OBJECTS)
11191
+DEFAULT_INCLUDES = -I.@am__isrc@
11192
+depcomp =
11193
+am__depfiles_maybe =
11194
+CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
11195
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
11196
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
11197
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
11198
+CCLD = $(CC)
11199
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
11200
+SOURCES = $(lib_a_SOURCES)
11201
+am__can_run_installinfo = \
11202
+  case $$AM_UPDATE_INFO_DIR in \
11203
+    n|no|NO) false;; \
11204
+    *) (install-info --version) >/dev/null 2>&1;; \
11205
+  esac
11206
+ETAGS = etags
11207
+CTAGS = ctags
11208
+ACLOCAL = @ACLOCAL@
11209
+AMTAR = @AMTAR@
11210
+AR = @AR@
11211
+AS = @AS@
11212
+AUTOCONF = @AUTOCONF@
11213
+AUTOHEADER = @AUTOHEADER@
11214
+AUTOMAKE = @AUTOMAKE@
11215
+AWK = @AWK@
11216
+CC = @CC@
11217
+CCAS = @CCAS@
11218
+CCASFLAGS = @CCASFLAGS@
11219
+CCDEPMODE = @CCDEPMODE@
11220
+CYGPATH_W = @CYGPATH_W@
11221
+DEFS = @DEFS@
11222
+DEPDIR = @DEPDIR@
11223
+ECHO_C = @ECHO_C@
11224
+ECHO_N = @ECHO_N@
11225
+ECHO_T = @ECHO_T@
11226
+INSTALL = @INSTALL@
11227
+INSTALL_DATA = @INSTALL_DATA@
11228
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
11229
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
11230
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
11231
+LDFLAGS = @LDFLAGS@
11232
+LIBOBJS = @LIBOBJS@
11233
+LIBS = @LIBS@
11234
+LTLIBOBJS = @LTLIBOBJS@
11235
+MAINT = @MAINT@
11236
+MAKEINFO = @MAKEINFO@
11237
+MKDIR_P = @MKDIR_P@
11238
+NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
11239
+NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
11240
+OBJEXT = @OBJEXT@
11241
+PACKAGE = @PACKAGE@
11242
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
11243
+PACKAGE_NAME = @PACKAGE_NAME@
11244
+PACKAGE_STRING = @PACKAGE_STRING@
11245
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
11246
+PACKAGE_URL = @PACKAGE_URL@
11247
+PACKAGE_VERSION = @PACKAGE_VERSION@
11248
+PATH_SEPARATOR = @PATH_SEPARATOR@
11249
+RANLIB = @RANLIB@
11250
+READELF = @READELF@
11251
+SET_MAKE = @SET_MAKE@
11252
+SHELL = @SHELL@
11253
+STRIP = @STRIP@
11254
+VERSION = @VERSION@
11255
+abs_builddir = @abs_builddir@
11256
+abs_srcdir = @abs_srcdir@
11257
+abs_top_builddir = @abs_top_builddir@
11258
+abs_top_srcdir = @abs_top_srcdir@
11259
+aext = @aext@
11260
+am__include = @am__include@
11261
+am__leading_dot = @am__leading_dot@
11262
+am__quote = @am__quote@
11263
+am__tar = @am__tar@
11264
+am__untar = @am__untar@
11265
+bindir = @bindir@
11266
+build = @build@
11267
+build_alias = @build_alias@
11268
+build_cpu = @build_cpu@
11269
+build_os = @build_os@
11270
+build_vendor = @build_vendor@
11271
+builddir = @builddir@
11272
+datadir = @datadir@
11273
+datarootdir = @datarootdir@
11274
+docdir = @docdir@
11275
+dvidir = @dvidir@
11276
+exec_prefix = @exec_prefix@
11277
+host = @host@
11278
+host_alias = @host_alias@
11279
+host_cpu = @host_cpu@
11280
+host_os = @host_os@
11281
+host_vendor = @host_vendor@
11282
+htmldir = @htmldir@
11283
+includedir = @includedir@
11284
+infodir = @infodir@
11285
+install_sh = @install_sh@
11286
+libdir = @libdir@
11287
+libexecdir = @libexecdir@
11288
+libm_machine_dir = @libm_machine_dir@
11289
+localedir = @localedir@
11290
+localstatedir = @localstatedir@
11291
+lpfx = @lpfx@
11292
+machine_dir = @machine_dir@
11293
+mandir = @mandir@
11294
+mkdir_p = @mkdir_p@
11295
+newlib_basedir = @newlib_basedir@
11296
+oext = @oext@
11297
+oldincludedir = @oldincludedir@
11298
+pdfdir = @pdfdir@
11299
+prefix = @prefix@
11300
+program_transform_name = @program_transform_name@
11301
+psdir = @psdir@
11302
+sbindir = @sbindir@
11303
+sharedstatedir = @sharedstatedir@
11304
+srcdir = @srcdir@
11305
+sys_dir = @sys_dir@
11306
+sysconfdir = @sysconfdir@
11307
+target_alias = @target_alias@
11308
+top_build_prefix = @top_build_prefix@
11309
+top_builddir = @top_builddir@
11310
+top_srcdir = @top_srcdir@
11311
+AUTOMAKE_OPTIONS = cygnus
11312
+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
11313
+AM_CCASFLAGS = $(INCLUDES)
11314
+noinst_LIBRARIES = lib.a
11315
+lib_a_SOURCES = setjmp.S
11316
+lib_a_CCASFLAGS = $(AM_CCASFLAGS)
11317
+lib_a_CFLAGS = $(AM_CFLAGS)
11318
+ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
11319
+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
11320
+all: all-am
11321
+
11322
+.SUFFIXES:
11323
+.SUFFIXES: .S .o .obj
11324
+am--refresh: Makefile
11325
+       @:
11326
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
11327
+       @for dep in $?; do \
11328
+         case '$(am__configure_deps)' in \
11329
+           *$$dep*) \
11330
+             echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
11331
+             $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
11332
+               && exit 0; \
11333
+             exit 1;; \
11334
+         esac; \
11335
+       done; \
11336
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
11337
+       $(am__cd) $(top_srcdir) && \
11338
+         $(AUTOMAKE) --cygnus Makefile
11339
+.PRECIOUS: Makefile
11340
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
11341
+       @case '$?' in \
11342
+         *config.status*) \
11343
+           echo ' $(SHELL) ./config.status'; \
11344
+           $(SHELL) ./config.status;; \
11345
+         *) \
11346
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
11347
+           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
11348
+       esac;
11349
+
11350
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
11351
+       $(SHELL) ./config.status --recheck
11352
+
11353
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
11354
+       $(am__cd) $(srcdir) && $(AUTOCONF)
11355
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
11356
+       $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
11357
+$(am__aclocal_m4_deps):
11358
+
11359
+clean-noinstLIBRARIES:
11360
+       -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
11361
+lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) $(EXTRA_lib_a_DEPENDENCIES)
11362
+       -rm -f lib.a
11363
+       $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
11364
+       $(RANLIB) lib.a
11365
+
11366
+mostlyclean-compile:
11367
+       -rm -f *.$(OBJEXT)
11368
+
11369
+distclean-compile:
11370
+       -rm -f *.tab.c
11371
+
11372
+.S.o:
11373
+       $(CPPASCOMPILE) -c -o $@ $<
11374
+
11375
+.S.obj:
11376
+       $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
11377
+
11378
+lib_a-setjmp.o: setjmp.S
11379
+       $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.o `test -f 'setjmp.S' || echo '$(srcdir)/'`setjmp.S
11380
+
11381
+lib_a-setjmp.obj: setjmp.S
11382
+       $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-setjmp.obj `if test -f 'setjmp.S'; then $(CYGPATH_W) 'setjmp.S'; else $(CYGPATH_W) '$(srcdir)/setjmp.S'; fi`
11383
+
11384
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
11385
+       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
11386
+       unique=`for i in $$list; do \
11387
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11388
+         done | \
11389
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11390
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11391
+       mkid -fID $$unique
11392
+tags: TAGS
11393
+
11394
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
11395
+               $(TAGS_FILES) $(LISP)
11396
+       set x; \
11397
+       here=`pwd`; \
11398
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
11399
+       unique=`for i in $$list; do \
11400
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11401
+         done | \
11402
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11403
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11404
+       shift; \
11405
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
11406
+         test -n "$$unique" || unique=$$empty_fix; \
11407
+         if test $$# -gt 0; then \
11408
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
11409
+             "$$@" $$unique; \
11410
+         else \
11411
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
11412
+             $$unique; \
11413
+         fi; \
11414
+       fi
11415
+ctags: CTAGS
11416
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
11417
+               $(TAGS_FILES) $(LISP)
11418
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
11419
+       unique=`for i in $$list; do \
11420
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11421
+         done | \
11422
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11423
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11424
+       test -z "$(CTAGS_ARGS)$$unique" \
11425
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
11426
+            $$unique
11427
+
11428
+GTAGS:
11429
+       here=`$(am__cd) $(top_builddir) && pwd` \
11430
+         && $(am__cd) $(top_srcdir) \
11431
+         && gtags -i $(GTAGS_ARGS) "$$here"
11432
+
11433
+distclean-tags:
11434
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
11435
+check-am:
11436
+check: check-am
11437
+all-am: Makefile $(LIBRARIES)
11438
+installdirs:
11439
+install: install-am
11440
+install-exec: install-exec-am
11441
+install-data: install-data-am
11442
+uninstall: uninstall-am
11443
+
11444
+install-am: all-am
11445
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
11446
+
11447
+installcheck: installcheck-am
11448
+install-strip:
11449
+       if test -z '$(STRIP)'; then \
11450
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
11451
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
11452
+             install; \
11453
+       else \
11454
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
11455
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
11456
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
11457
+       fi
11458
+mostlyclean-generic:
11459
+
11460
+clean-generic:
11461
+
11462
+distclean-generic:
11463
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
11464
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
11465
+
11466
+maintainer-clean-generic:
11467
+       @echo "This command is intended for maintainers to use"
11468
+       @echo "it deletes files that may require special tools to rebuild."
11469
+clean: clean-am
11470
+
11471
+clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
11472
+
11473
+distclean: distclean-am
11474
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
11475
+       -rm -f Makefile
11476
+distclean-am: clean-am distclean-compile distclean-generic \
11477
+       distclean-tags
11478
+
11479
+dvi: dvi-am
11480
+
11481
+dvi-am:
11482
+
11483
+html: html-am
11484
+
11485
+html-am:
11486
+
11487
+info: info-am
11488
+
11489
+info-am:
11490
+
11491
+install-data-am:
11492
+
11493
+install-dvi: install-dvi-am
11494
+
11495
+install-dvi-am:
11496
+
11497
+install-exec-am:
11498
+
11499
+install-html: install-html-am
11500
+
11501
+install-html-am:
11502
+
11503
+install-info: install-info-am
11504
+
11505
+install-info-am:
11506
+
11507
+install-man:
11508
+
11509
+install-pdf: install-pdf-am
11510
+
11511
+install-pdf-am:
11512
+
11513
+install-ps: install-ps-am
11514
+
11515
+install-ps-am:
11516
+
11517
+installcheck-am:
11518
+
11519
+maintainer-clean: maintainer-clean-am
11520
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
11521
+       -rm -rf $(top_srcdir)/autom4te.cache
11522
+       -rm -f Makefile
11523
+maintainer-clean-am: distclean-am maintainer-clean-generic
11524
+
11525
+mostlyclean: mostlyclean-am
11526
+
11527
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
11528
+
11529
+pdf: pdf-am
11530
+
11531
+pdf-am:
11532
+
11533
+ps: ps-am
11534
+
11535
+ps-am:
11536
+
11537
+uninstall-am:
11538
+
11539
+.MAKE: install-am install-strip
11540
+
11541
+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
11542
+       clean-generic clean-noinstLIBRARIES ctags distclean \
11543
+       distclean-compile distclean-generic distclean-tags dvi dvi-am \
11544
+       html html-am info info-am install install-am install-data \
11545
+       install-data-am install-dvi install-dvi-am install-exec \
11546
+       install-exec-am install-html install-html-am install-info \
11547
+       install-info-am install-man install-pdf install-pdf-am \
11548
+       install-ps install-ps-am install-strip installcheck \
11549
+       installcheck-am installdirs maintainer-clean \
11550
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
11551
+       mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
11552
+       uninstall-am
11553
+
11554
+
11555
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
11556
+# Otherwise a system limit (for SysV at least) may be exceeded.
11557
+.NOEXPORT:
11558
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/setjmp.h newlib-2.5.0-zip/newlib/libc/machine/zip/setjmp.h
11559
--- newlib-2.5.0/newlib/libc/machine/zip/setjmp.h       1969-12-31 19:00:00.000000000 -0500
11560
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/setjmp.h   2017-01-13 09:43:25.179164867 -0500
11561
@@ -0,0 +1,9 @@
11562
+#ifdef __ZIPCPU__
11563
+
11564
+/* Enough space for all but the PC and R1 registers */
11565
+#define        _JBLEN  14
11566
+#define        _JBTYPE unsigned
11567
+
11568
+typedef        _JBTYPE jmp_buf[_JBLEN];
11569
+
11570
+#endif
11571
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/setjmp.S newlib-2.5.0-zip/newlib/libc/machine/zip/setjmp.S
11572
--- newlib-2.5.0/newlib/libc/machine/zip/setjmp.S       1969-12-31 19:00:00.000000000 -0500
11573
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/setjmp.S   2017-02-06 17:40:50.561372408 -0500
11574
@@ -0,0 +1,68 @@
11575
+////////////////////////////////////////////////////////////////////////////////
11576
+//
11577
+// Filename:   setjmp.S
11578
+//
11579
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
11580
+//
11581
+// Purpose:
11582
+//
11583
+//
11584
+// Creator:    Dan Gisselquist, Ph.D.
11585
+//             Gisselquist Technology, LLC
11586
+//
11587
+////////////////////////////////////////////////////////////////////////////////
11588
+//
11589
+// Copyright (C) 2017, Gisselquist Technology, LLC
11590
+//
11591
+// This program is free software (firmware): you can redistribute it and/or
11592
+// modify it under the terms of  the GNU General Public License as published
11593
+// by the Free Software Foundation, either version 3 of the License, or (at
11594
+// your option) any later version.
11595
+//
11596
+// This program is distributed in the hope that it will be useful, but WITHOUT
11597
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
11598
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11599
+// for more details.
11600
+//
11601
+// License:    GPL, v3, as defined and found on www.gnu.org,
11602
+//             http://www.gnu.org/licenses/gpl.html
11603
+//
11604
+//
11605
+////////////////////////////////////////////////////////////////////////////////
11606
+//
11607
+//
11608
+       .text
11609
+       .align  4
11610
+       .global setjmp
11611
+       .type   setjmp,@function
11612
+setjmp:
11613
+       SW      r0,(r1)
11614
+       SW      r5,4(r1)
11615
+       SW      r6,8(r1)
11616
+       SW      r7,12(r1)
11617
+       SW      r8,16(r1)
11618
+       SW      r9,20(r1)
11619
+       SW      r10,24(r1)
11620
+       SW      r11,28(r1)
11621
+       SW      r12,32(r1)
11622
+       SW      sp,36(r1)
11623
+       CLR     R1
11624
+       RETN
11625
+
11626
+
11627
+       .align  4
11628
+       .global longjmp
11629
+       .type   longjmp,@function
11630
+longjmp:
11631
+       LW      (r1),r0
11632
+       LW      4(r1),r5
11633
+       LW      8(r1),r6
11634
+       LW      12(r1),r7
11635
+       LW      16(r1),r8
11636
+       LW      20(r1),r9
11637
+       LW      24(r1),r10
11638
+       LW      28(r1),r11
11639
+       LW      32(r1),r12
11640
+       LW      36(r1),sp
11641
+       LDI     1,R1
11642
+       RETN
11643
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/stdlib/mallocr.c newlib-2.5.0-zip/newlib/libc/stdlib/mallocr.c
11644
--- newlib-2.5.0/newlib/libc/stdlib/mallocr.c   2016-12-22 21:33:54.000000000 -0500
11645
+++ newlib-2.5.0-zip/newlib/libc/stdlib/mallocr.c       2017-01-12 15:02:26.321526300 -0500
11646
@@ -303,7 +303,10 @@
11647
 
11648
 #include <reent.h>
11649
 
11650
+#ifndef        POINTER_UINT
11651
 #define POINTER_UINT unsigned _POINTER_INT
11652
+#endif
11653
+
11654
 #define SEPARATE_OBJECTS
11655
 #define HAVE_MMAP 0
11656
 #define MORECORE(size) _sbrk_r(reent_ptr, (size))
11657
@@ -1419,7 +1422,7 @@
11658
 
11659
 /* Check if m has acceptable alignment */
11660
 
11661
-#define aligned_OK(m)    (((unsigned long)((m)) & (MALLOC_ALIGN_MASK)) == 0)
11662
+#define aligned_OK(m)    (((POINTER_UINT)((m)) & (MALLOC_ALIGN_MASK)) == 0)
11663
 
11664
 
11665
 
11666
@@ -3064,7 +3067,7 @@
11667
 
11668
   p = mem2chunk(m);
11669
 
11670
-  if ((((unsigned long)(m)) % alignment) == 0) /* aligned */
11671
+  if ((((POINTER_UINT)(m)) % alignment) == 0) /* aligned */
11672
   {
11673
 #if HAVE_MMAP
11674
     if(chunk_is_mmapped(p))
11675
@@ -3085,7 +3088,7 @@
11676
       this is always possible.
11677
     */
11678
 
11679
-    brk = (char*)mem2chunk(((unsigned long)(m + alignment - 1)) & -alignment);
11680
+    brk = (char*)mem2chunk(((POINTER_UINT)(m + alignment - 1)) & -alignment);
11681
     if ((long)(brk - (char*)(p)) < (long)MINSIZE) brk = brk + alignment;
11682
 
11683
     newp = (mchunkptr)brk;
11684
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/xdr/xdr_mem.c newlib-2.5.0-zip/newlib/libc/xdr/xdr_mem.c
11685
--- newlib-2.5.0/newlib/libc/xdr/xdr_mem.c      2016-12-22 21:33:54.000000000 -0500
11686
+++ newlib-2.5.0-zip/newlib/libc/xdr/xdr_mem.c  2017-01-12 15:11:22.933739845 -0500
11687
@@ -108,7 +108,7 @@
11688
        enum xdr_op op)
11689
 {
11690
   xdrs->x_op = op;
11691
-  xdrs->x_ops = ((unsigned long)addr & (sizeof (int32_t) - 1))
11692
+  xdrs->x_ops = ((POINTER_UINT)addr & (sizeof (int32_t) - 1))
11693
     ? (struct xdr_ops *)&xdrmem_ops_unaligned
11694
     : (struct xdr_ops *)&xdrmem_ops_aligned;
11695
   xdrs->x_private = xdrs->x_base = addr;
11696
@@ -212,7 +212,7 @@
11697
         XDR * xdrs)
11698
 {
11699
   /* XXX w/64-bit pointers, u_int not enough! */
11700
-  return (u_int) ((u_long) xdrs->x_private - (u_long) xdrs->x_base);
11701
+  return (u_int) ((POINTER_UINT) xdrs->x_private - (POINTER_UINT) xdrs->x_base);
11702
 }
11703
 
11704
 static bool_t
11705
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/xdr/xdr_sizeof.c newlib-2.5.0-zip/newlib/libc/xdr/xdr_sizeof.c
11706
--- newlib-2.5.0/newlib/libc/xdr/xdr_sizeof.c   2016-12-22 21:33:54.000000000 -0500
11707
+++ newlib-2.5.0-zip/newlib/libc/xdr/xdr_sizeof.c       2017-01-12 15:10:25.306280391 -0500
11708
@@ -88,7 +88,7 @@
11709
     return NULL;
11710
   if (xdrs->x_op != XDR_ENCODE)
11711
     return NULL;
11712
-  if (len < (u_int) (long int) xdrs->x_base)
11713
+  if (len < (u_int) (POINTER_UINT) xdrs->x_base)
11714
     {
11715
       /* x_private was already allocated */
11716
       xdrs->x_handy += len;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.