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

Subversion Repositories zipcpu

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

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 209 dgisselq
+++ newlib-2.5.0-zip/newlib/configure.host      2018-03-22 19:19:26.894978411 -0400
6178 202 dgisselq
@@ -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 209 dgisselq
@@ -565,6 +568,11 @@
6189 202 dgisselq
   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
+#        have_crt0="yes"
6196
+       ;;
6197
 esac
6198
 
6199
 # Host specific flag settings -- usually for features that are not
6200 209 dgisselq
@@ -851,6 +859,9 @@
6201 202 dgisselq
   z8k-*-*)
6202
        syscall_dir=syscalls
6203
        ;;
6204
+  zip*)
6205
+       syscall_dir=syscalls
6206
+       ;;
6207
   *)
6208
        newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
6209
        syscall_dir=
6210
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
6211
--- newlib-2.5.0/newlib/libc/include/machine/setjmp.h   2016-12-22 21:33:54.000000000 -0500
6212
+++ newlib-2.5.0-zip/newlib/libc/include/machine/setjmp.h       2017-02-06 17:42:10.748982467 -0500
6213
@@ -349,6 +349,11 @@
6214
 #define _JBTYPE unsigned long
6215
 #endif
6216
 
6217
+#ifdef __ZIPCPU__
6218
+#define _JBLEN 10
6219
+#define _JBTYPE unsigned int
6220
+#endif
6221
+
6222
 #ifdef __RX__
6223
 #define _JBLEN 0x44
6224
 #endif
6225
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
6226
--- newlib-2.5.0/newlib/libc/include/sys/config.h       2016-12-22 21:33:54.000000000 -0500
6227
+++ newlib-2.5.0-zip/newlib/libc/include/sys/config.h   2017-01-12 14:45:33.624732766 -0500
6228
@@ -216,7 +216,11 @@
6229
 /* End of block that should be kept in sync with GCC's limits.h.  */
6230
 
6231
 #ifndef _POINTER_INT
6232
-#define _POINTER_INT long
6233
+typedef        int     __attribute__((mode(pointer)))  _POINTER_INT;
6234
+#define _POINTER_INT _POINTER_INT
6235
+typedef        unsigned int    __attribute__((mode(pointer)))  POINTER_UINT;
6236
+#define        POINTER_UINT    POINTER_UINT
6237
+// #define _POINTER_INT long
6238
 #endif
6239
 
6240
 #ifdef __frv__
6241
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/configure newlib-2.5.0-zip/newlib/libc/machine/configure
6242
--- newlib-2.5.0/newlib/libc/machine/configure  2016-12-22 21:33:54.000000000 -0500
6243
+++ newlib-2.5.0-zip/newlib/libc/machine/configure      2017-01-13 18:05:52.580953443 -0500
6244
@@ -837,7 +837,8 @@
6245
 x86_64
6246
 xc16x
6247
 xstormy16
6248
-z8k'
6249
+z8k
6250
+zip'
6251
 
6252
 # Initialize some variables set by options.
6253
 ac_init_help=
6254
@@ -11939,6 +11940,8 @@
6255
  ;;
6256
        z8k) subdirs="$subdirs z8k"
6257
  ;;
6258
+       zip) subdirs="$subdirs zip"
6259
+ ;;
6260
   esac;
6261
 fi
6262
 
6263
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/configure.in newlib-2.5.0-zip/newlib/libc/machine/configure.in
6264
--- newlib-2.5.0/newlib/libc/machine/configure.in       2016-12-22 21:33:54.000000000 -0500
6265
+++ newlib-2.5.0-zip/newlib/libc/machine/configure.in   2017-01-13 08:03:54.564740952 -0500
6266
@@ -77,6 +77,7 @@
6267
        xc16x) AC_CONFIG_SUBDIRS(xc16x) ;;
6268
        xstormy16) AC_CONFIG_SUBDIRS(xstormy16) ;;
6269
        z8k) AC_CONFIG_SUBDIRS(z8k) ;;
6270
+       zip) AC_CONFIG_SUBDIRS(zip) ;;
6271
   esac;
6272
 fi
6273
 
6274
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/machine/zip/configure newlib-2.5.0-zip/newlib/libc/machine/zip/configure
6275
--- newlib-2.5.0/newlib/libc/machine/zip/configure      1969-12-31 19:00:00.000000000 -0500
6276
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/configure  2017-01-13 18:03:21.075858391 -0500
6277
@@ -0,0 +1,4748 @@
6278
+#! /bin/sh
6279
+# Guess values for system-dependent variables and create Makefiles.
6280
+# Generated by GNU Autoconf 2.68 for newlib 2.5.0.
6281
+#
6282
+#
6283
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6284
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
6285
+# Foundation, Inc.
6286
+#
6287
+#
6288
+# This configure script is free software; the Free Software Foundation
6289
+# gives unlimited permission to copy, distribute and modify it.
6290
+## -------------------- ##
6291
+## M4sh Initialization. ##
6292
+## -------------------- ##
6293
+
6294
+# Be more Bourne compatible
6295
+DUALCASE=1; export DUALCASE # for MKS sh
6296
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6297
+  emulate sh
6298
+  NULLCMD=:
6299
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6300
+  # is contrary to our usage.  Disable this feature.
6301
+  alias -g '${1+"$@"}'='"$@"'
6302
+  setopt NO_GLOB_SUBST
6303
+else
6304
+  case `(set -o) 2>/dev/null` in #(
6305
+  *posix*) :
6306
+    set -o posix ;; #(
6307
+  *) :
6308
+     ;;
6309
+esac
6310
+fi
6311
+
6312
+
6313
+as_nl='
6314
+'
6315
+export as_nl
6316
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
6317
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6318
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6319
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6320
+# Prefer a ksh shell builtin over an external printf program on Solaris,
6321
+# but without wasting forks for bash or zsh.
6322
+if test -z "$BASH_VERSION$ZSH_VERSION" \
6323
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6324
+  as_echo='print -r --'
6325
+  as_echo_n='print -rn --'
6326
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6327
+  as_echo='printf %s\n'
6328
+  as_echo_n='printf %s'
6329
+else
6330
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6331
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6332
+    as_echo_n='/usr/ucb/echo -n'
6333
+  else
6334
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6335
+    as_echo_n_body='eval
6336
+      arg=$1;
6337
+      case $arg in #(
6338
+      *"$as_nl"*)
6339
+       expr "X$arg" : "X\\(.*\\)$as_nl";
6340
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6341
+      esac;
6342
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6343
+    '
6344
+    export as_echo_n_body
6345
+    as_echo_n='sh -c $as_echo_n_body as_echo'
6346
+  fi
6347
+  export as_echo_body
6348
+  as_echo='sh -c $as_echo_body as_echo'
6349
+fi
6350
+
6351
+# The user is always right.
6352
+if test "${PATH_SEPARATOR+set}" != set; then
6353
+  PATH_SEPARATOR=:
6354
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6355
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6356
+      PATH_SEPARATOR=';'
6357
+  }
6358
+fi
6359
+
6360
+
6361
+# IFS
6362
+# We need space, tab and new line, in precisely that order.  Quoting is
6363
+# there to prevent editors from complaining about space-tab.
6364
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6365
+# splitting by setting IFS to empty value.)
6366
+IFS=" ""       $as_nl"
6367
+
6368
+# Find who we are.  Look in the path if we contain no directory separator.
6369
+as_myself=
6370
+case $0 in #((
6371
+  *[\\/]* ) as_myself=$0 ;;
6372
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373
+for as_dir in $PATH
6374
+do
6375
+  IFS=$as_save_IFS
6376
+  test -z "$as_dir" && as_dir=.
6377
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6378
+  done
6379
+IFS=$as_save_IFS
6380
+
6381
+     ;;
6382
+esac
6383
+# We did not find ourselves, most probably we were run as `sh COMMAND'
6384
+# in which case we are not to be found in the path.
6385
+if test "x$as_myself" = x; then
6386
+  as_myself=$0
6387
+fi
6388
+if test ! -f "$as_myself"; then
6389
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6390
+  exit 1
6391
+fi
6392
+
6393
+# Unset variables that we do not need and which cause bugs (e.g. in
6394
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6395
+# suppresses any "Segmentation fault" message there.  '((' could
6396
+# trigger a bug in pdksh 5.2.14.
6397
+for as_var in BASH_ENV ENV MAIL MAILPATH
6398
+do eval test x\${$as_var+set} = xset \
6399
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6400
+done
6401
+PS1='$ '
6402
+PS2='> '
6403
+PS4='+ '
6404
+
6405
+# NLS nuisances.
6406
+LC_ALL=C
6407
+export LC_ALL
6408
+LANGUAGE=C
6409
+export LANGUAGE
6410
+
6411
+# CDPATH.
6412
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6413
+
6414
+if test "x$CONFIG_SHELL" = x; then
6415
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
6416
+  emulate sh
6417
+  NULLCMD=:
6418
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
6419
+  # is contrary to our usage.  Disable this feature.
6420
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
6421
+  setopt NO_GLOB_SUBST
6422
+else
6423
+  case \`(set -o) 2>/dev/null\` in #(
6424
+  *posix*) :
6425
+    set -o posix ;; #(
6426
+  *) :
6427
+     ;;
6428
+esac
6429
+fi
6430
+"
6431
+  as_required="as_fn_return () { (exit \$1); }
6432
+as_fn_success () { as_fn_return 0; }
6433
+as_fn_failure () { as_fn_return 1; }
6434
+as_fn_ret_success () { return 0; }
6435
+as_fn_ret_failure () { return 1; }
6436
+
6437
+exitcode=0
6438
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
6439
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
6440
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
6441
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
6442
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
6443
+
6444
+else
6445
+  exitcode=1; echo positional parameters were not saved.
6446
+fi
6447
+test x\$exitcode = x0 || exit 1"
6448
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
6449
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
6450
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
6451
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
6452
+  if (eval "$as_required") 2>/dev/null; then :
6453
+  as_have_required=yes
6454
+else
6455
+  as_have_required=no
6456
+fi
6457
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
6458
+
6459
+else
6460
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461
+as_found=false
6462
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6463
+do
6464
+  IFS=$as_save_IFS
6465
+  test -z "$as_dir" && as_dir=.
6466
+  as_found=:
6467
+  case $as_dir in #(
6468
+        /*)
6469
+          for as_base in sh bash ksh sh5; do
6470
+            # Try only shells that exist, to save several forks.
6471
+            as_shell=$as_dir/$as_base
6472
+            if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
6473
+                   { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
6474
+  CONFIG_SHELL=$as_shell as_have_required=yes
6475
+                  if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
6476
+  break 2
6477
+fi
6478
+fi
6479
+          done;;
6480
+       esac
6481
+  as_found=false
6482
+done
6483
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
6484
+             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
6485
+  CONFIG_SHELL=$SHELL as_have_required=yes
6486
+fi; }
6487
+IFS=$as_save_IFS
6488
+
6489
+
6490
+      if test "x$CONFIG_SHELL" != x; then :
6491
+  # We cannot yet assume a decent shell, so we have to provide a
6492
+       # neutralization value for shells without unset; and this also
6493
+       # works around shells that cannot unset nonexistent variables.
6494
+       # Preserve -v and -x to the replacement shell.
6495
+       BASH_ENV=/dev/null
6496
+       ENV=/dev/null
6497
+       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
6498
+       export CONFIG_SHELL
6499
+       case $- in # ((((
6500
+         *v*x* | *x*v* ) as_opts=-vx ;;
6501
+         *v* ) as_opts=-v ;;
6502
+         *x* ) as_opts=-x ;;
6503
+         * ) as_opts= ;;
6504
+       esac
6505
+       exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
6506
+fi
6507
+
6508
+    if test x$as_have_required = xno; then :
6509
+  $as_echo "$0: This script requires a shell more modern than all"
6510
+  $as_echo "$0: the shells that I found on your system."
6511
+  if test x${ZSH_VERSION+set} = xset ; then
6512
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
6513
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
6514
+  else
6515
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
6516
+$0: including any error possibly output before this
6517
+$0: message. Then install a modern shell, or manually run
6518
+$0: the script under such a shell if you do have one."
6519
+  fi
6520
+  exit 1
6521
+fi
6522
+fi
6523
+fi
6524
+SHELL=${CONFIG_SHELL-/bin/sh}
6525
+export SHELL
6526
+# Unset more variables known to interfere with behavior of common tools.
6527
+CLICOLOR_FORCE= GREP_OPTIONS=
6528
+unset CLICOLOR_FORCE GREP_OPTIONS
6529
+
6530
+## --------------------- ##
6531
+## M4sh Shell Functions. ##
6532
+## --------------------- ##
6533
+# as_fn_unset VAR
6534
+# ---------------
6535
+# Portably unset VAR.
6536
+as_fn_unset ()
6537
+{
6538
+  { eval $1=; unset $1;}
6539
+}
6540
+as_unset=as_fn_unset
6541
+
6542
+# as_fn_set_status STATUS
6543
+# -----------------------
6544
+# Set $? to STATUS, without forking.
6545
+as_fn_set_status ()
6546
+{
6547
+  return $1
6548
+} # as_fn_set_status
6549
+
6550
+# as_fn_exit STATUS
6551
+# -----------------
6552
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6553
+as_fn_exit ()
6554
+{
6555
+  set +e
6556
+  as_fn_set_status $1
6557
+  exit $1
6558
+} # as_fn_exit
6559
+
6560
+# as_fn_mkdir_p
6561
+# -------------
6562
+# Create "$as_dir" as a directory, including parents if necessary.
6563
+as_fn_mkdir_p ()
6564
+{
6565
+
6566
+  case $as_dir in #(
6567
+  -*) as_dir=./$as_dir;;
6568
+  esac
6569
+  test -d "$as_dir" || eval $as_mkdir_p || {
6570
+    as_dirs=
6571
+    while :; do
6572
+      case $as_dir in #(
6573
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6574
+      *) as_qdir=$as_dir;;
6575
+      esac
6576
+      as_dirs="'$as_qdir' $as_dirs"
6577
+      as_dir=`$as_dirname -- "$as_dir" ||
6578
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6579
+        X"$as_dir" : 'X\(//\)[^/]' \| \
6580
+        X"$as_dir" : 'X\(//\)$' \| \
6581
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6582
+$as_echo X"$as_dir" |
6583
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6584
+           s//\1/
6585
+           q
6586
+         }
6587
+         /^X\(\/\/\)[^/].*/{
6588
+           s//\1/
6589
+           q
6590
+         }
6591
+         /^X\(\/\/\)$/{
6592
+           s//\1/
6593
+           q
6594
+         }
6595
+         /^X\(\/\).*/{
6596
+           s//\1/
6597
+           q
6598
+         }
6599
+         s/.*/./; q'`
6600
+      test -d "$as_dir" && break
6601
+    done
6602
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
6603
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6604
+
6605
+
6606
+} # as_fn_mkdir_p
6607
+# as_fn_append VAR VALUE
6608
+# ----------------------
6609
+# Append the text in VALUE to the end of the definition contained in VAR. Take
6610
+# advantage of any shell optimizations that allow amortized linear growth over
6611
+# repeated appends, instead of the typical quadratic growth present in naive
6612
+# implementations.
6613
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6614
+  eval 'as_fn_append ()
6615
+  {
6616
+    eval $1+=\$2
6617
+  }'
6618
+else
6619
+  as_fn_append ()
6620
+  {
6621
+    eval $1=\$$1\$2
6622
+  }
6623
+fi # as_fn_append
6624
+
6625
+# as_fn_arith ARG...
6626
+# ------------------
6627
+# Perform arithmetic evaluation on the ARGs, and store the result in the
6628
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
6629
+# must be portable across $(()) and expr.
6630
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6631
+  eval 'as_fn_arith ()
6632
+  {
6633
+    as_val=$(( $* ))
6634
+  }'
6635
+else
6636
+  as_fn_arith ()
6637
+  {
6638
+    as_val=`expr "$@" || test $? -eq 1`
6639
+  }
6640
+fi # as_fn_arith
6641
+
6642
+
6643
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
6644
+# ----------------------------------------
6645
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6646
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6647
+# script with STATUS, using 1 if that was 0.
6648
+as_fn_error ()
6649
+{
6650
+  as_status=$1; test $as_status -eq 0 && as_status=1
6651
+  if test "$4"; then
6652
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6653
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6654
+  fi
6655
+  $as_echo "$as_me: error: $2" >&2
6656
+  as_fn_exit $as_status
6657
+} # as_fn_error
6658
+
6659
+if expr a : '\(a\)' >/dev/null 2>&1 &&
6660
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6661
+  as_expr=expr
6662
+else
6663
+  as_expr=false
6664
+fi
6665
+
6666
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6667
+  as_basename=basename
6668
+else
6669
+  as_basename=false
6670
+fi
6671
+
6672
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6673
+  as_dirname=dirname
6674
+else
6675
+  as_dirname=false
6676
+fi
6677
+
6678
+as_me=`$as_basename -- "$0" ||
6679
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6680
+        X"$0" : 'X\(//\)$' \| \
6681
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6682
+$as_echo X/"$0" |
6683
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
6684
+           s//\1/
6685
+           q
6686
+         }
6687
+         /^X\/\(\/\/\)$/{
6688
+           s//\1/
6689
+           q
6690
+         }
6691
+         /^X\/\(\/\).*/{
6692
+           s//\1/
6693
+           q
6694
+         }
6695
+         s/.*/./; q'`
6696
+
6697
+# Avoid depending upon Character Ranges.
6698
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6699
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6700
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6701
+as_cr_digits='0123456789'
6702
+as_cr_alnum=$as_cr_Letters$as_cr_digits
6703
+
6704
+
6705
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
6706
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
6707
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
6708
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
6709
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
6710
+  sed -n '
6711
+    p
6712
+    /[$]LINENO/=
6713
+  ' <$as_myself |
6714
+    sed '
6715
+      s/[$]LINENO.*/&-/
6716
+      t lineno
6717
+      b
6718
+      :lineno
6719
+      N
6720
+      :loop
6721
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6722
+      t loop
6723
+      s/-\n.*//
6724
+    ' >$as_me.lineno &&
6725
+  chmod +x "$as_me.lineno" ||
6726
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
6727
+
6728
+  # Don't try to exec as it changes $[0], causing all sort of problems
6729
+  # (the dirname of $[0] is not the place where we might find the
6730
+  # original and so on.  Autoconf is especially sensitive to this).
6731
+  . "./$as_me.lineno"
6732
+  # Exit status is that of the last command.
6733
+  exit
6734
+}
6735
+
6736
+ECHO_C= ECHO_N= ECHO_T=
6737
+case `echo -n x` in #(((((
6738
+-n*)
6739
+  case `echo 'xy\c'` in
6740
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
6741
+  xy)  ECHO_C='\c';;
6742
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6743
+       ECHO_T='        ';;
6744
+  esac;;
6745
+*)
6746
+  ECHO_N='-n';;
6747
+esac
6748
+
6749
+rm -f conf$$ conf$$.exe conf$$.file
6750
+if test -d conf$$.dir; then
6751
+  rm -f conf$$.dir/conf$$.file
6752
+else
6753
+  rm -f conf$$.dir
6754
+  mkdir conf$$.dir 2>/dev/null
6755
+fi
6756
+if (echo >conf$$.file) 2>/dev/null; then
6757
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
6758
+    as_ln_s='ln -s'
6759
+    # ... but there are two gotchas:
6760
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6761
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6762
+    # In both cases, we have to default to `cp -p'.
6763
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6764
+      as_ln_s='cp -p'
6765
+  elif ln conf$$.file conf$$ 2>/dev/null; then
6766
+    as_ln_s=ln
6767
+  else
6768
+    as_ln_s='cp -p'
6769
+  fi
6770
+else
6771
+  as_ln_s='cp -p'
6772
+fi
6773
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6774
+rmdir conf$$.dir 2>/dev/null
6775
+
6776
+if mkdir -p . 2>/dev/null; then
6777
+  as_mkdir_p='mkdir -p "$as_dir"'
6778
+else
6779
+  test -d ./-p && rmdir ./-p
6780
+  as_mkdir_p=false
6781
+fi
6782
+
6783
+if test -x / >/dev/null 2>&1; then
6784
+  as_test_x='test -x'
6785
+else
6786
+  if ls -dL / >/dev/null 2>&1; then
6787
+    as_ls_L_option=L
6788
+  else
6789
+    as_ls_L_option=
6790
+  fi
6791
+  as_test_x='
6792
+    eval sh -c '\''
6793
+      if test -d "$1"; then
6794
+       test -d "$1/.";
6795
+      else
6796
+       case $1 in #(
6797
+       -*)set "./$1";;
6798
+       esac;
6799
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6800
+       ???[sx]*):;;*)false;;esac;fi
6801
+    '\'' sh
6802
+  '
6803
+fi
6804
+as_executable_p=$as_test_x
6805
+
6806
+# Sed expression to map a string onto a valid CPP name.
6807
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6808
+
6809
+# Sed expression to map a string onto a valid variable name.
6810
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6811
+
6812
+
6813
+test -n "$DJDIR" || exec 7<&0 </dev/null
6814
+exec 6>&1
6815
+
6816
+# Name of the host.
6817
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
6818
+# so uname gets run too.
6819
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
6820
+
6821
+#
6822
+# Initializations.
6823
+#
6824
+ac_default_prefix=/usr/local
6825
+ac_clean_files=
6826
+ac_config_libobj_dir=.
6827
+LIBOBJS=
6828
+cross_compiling=no
6829
+subdirs=
6830
+MFLAGS=
6831
+MAKEFLAGS=
6832
+
6833
+# Identity of this package.
6834
+PACKAGE_NAME='newlib'
6835
+PACKAGE_TARNAME='newlib'
6836
+PACKAGE_VERSION='2.5.0'
6837
+PACKAGE_STRING='newlib 2.5.0'
6838
+PACKAGE_BUGREPORT=''
6839
+PACKAGE_URL=''
6840
+
6841
+ac_unique_file="Makefile.am"
6842
+ac_subst_vars='LTLIBOBJS
6843
+LIBOBJS
6844
+sys_dir
6845
+machine_dir
6846
+libm_machine_dir
6847
+lpfx
6848
+aext
6849
+oext
6850
+OBJEXT
6851
+USE_LIBTOOL_FALSE
6852
+USE_LIBTOOL_TRUE
6853
+ELIX_LEVEL_4_FALSE
6854
+ELIX_LEVEL_4_TRUE
6855
+ELIX_LEVEL_3_FALSE
6856
+ELIX_LEVEL_3_TRUE
6857
+ELIX_LEVEL_2_FALSE
6858
+ELIX_LEVEL_2_TRUE
6859
+ELIX_LEVEL_1_FALSE
6860
+ELIX_LEVEL_1_TRUE
6861
+ELIX_LEVEL_0_FALSE
6862
+ELIX_LEVEL_0_TRUE
6863
+LDFLAGS
6864
+NO_INCLUDE_LIST
6865
+NEWLIB_CFLAGS
6866
+CCASFLAGS
6867
+CCAS
6868
+MAINT
6869
+MAINTAINER_MODE_FALSE
6870
+MAINTAINER_MODE_TRUE
6871
+READELF
6872
+RANLIB
6873
+AR
6874
+AS
6875
+am__fastdepCC_FALSE
6876
+am__fastdepCC_TRUE
6877
+CCDEPMODE
6878
+am__nodep
6879
+AMDEPBACKSLASH
6880
+AMDEP_FALSE
6881
+AMDEP_TRUE
6882
+am__quote
6883
+am__include
6884
+DEPDIR
6885
+CC
6886
+am__untar
6887
+am__tar
6888
+AMTAR
6889
+am__leading_dot
6890
+SET_MAKE
6891
+AWK
6892
+mkdir_p
6893
+MKDIR_P
6894
+INSTALL_STRIP_PROGRAM
6895
+STRIP
6896
+install_sh
6897
+MAKEINFO
6898
+AUTOHEADER
6899
+AUTOMAKE
6900
+AUTOCONF
6901
+ACLOCAL
6902
+VERSION
6903
+PACKAGE
6904
+CYGPATH_W
6905
+am__isrc
6906
+INSTALL_DATA
6907
+INSTALL_SCRIPT
6908
+INSTALL_PROGRAM
6909
+host_os
6910
+host_vendor
6911
+host_cpu
6912
+host
6913
+build_os
6914
+build_vendor
6915
+build_cpu
6916
+build
6917
+newlib_basedir
6918
+MAY_SUPPLY_SYSCALLS_FALSE
6919
+MAY_SUPPLY_SYSCALLS_TRUE
6920
+target_alias
6921
+host_alias
6922
+build_alias
6923
+LIBS
6924
+ECHO_T
6925
+ECHO_N
6926
+ECHO_C
6927
+DEFS
6928
+mandir
6929
+localedir
6930
+libdir
6931
+psdir
6932
+pdfdir
6933
+dvidir
6934
+htmldir
6935
+infodir
6936
+docdir
6937
+oldincludedir
6938
+includedir
6939
+localstatedir
6940
+sharedstatedir
6941
+sysconfdir
6942
+datadir
6943
+datarootdir
6944
+libexecdir
6945
+sbindir
6946
+bindir
6947
+program_transform_name
6948
+prefix
6949
+exec_prefix
6950
+PACKAGE_URL
6951
+PACKAGE_BUGREPORT
6952
+PACKAGE_STRING
6953
+PACKAGE_VERSION
6954
+PACKAGE_TARNAME
6955
+PACKAGE_NAME
6956
+PATH_SEPARATOR
6957
+SHELL'
6958
+ac_subst_files=''
6959
+ac_user_opts='
6960
+enable_option_checking
6961
+enable_multilib
6962
+enable_target_optspace
6963
+enable_malloc_debugging
6964
+enable_newlib_multithread
6965
+enable_newlib_iconv
6966
+enable_newlib_elix_level
6967
+enable_newlib_io_float
6968
+enable_newlib_supplied_syscalls
6969
+enable_dependency_tracking
6970
+enable_maintainer_mode
6971
+'
6972
+      ac_precious_vars='build_alias
6973
+host_alias
6974
+target_alias
6975
+CCAS
6976
+CCASFLAGS'
6977
+
6978
+
6979
+# Initialize some variables set by options.
6980
+ac_init_help=
6981
+ac_init_version=false
6982
+ac_unrecognized_opts=
6983
+ac_unrecognized_sep=
6984
+# The variables have the same names as the options, with
6985
+# dashes changed to underlines.
6986
+cache_file=/dev/null
6987
+exec_prefix=NONE
6988
+no_create=
6989
+no_recursion=
6990
+prefix=NONE
6991
+program_prefix=NONE
6992
+program_suffix=NONE
6993
+program_transform_name=s,x,x,
6994
+silent=
6995
+site=
6996
+srcdir=
6997
+verbose=
6998
+x_includes=NONE
6999
+x_libraries=NONE
7000
+
7001
+# Installation directory options.
7002
+# These are left unexpanded so users can "make install exec_prefix=/foo"
7003
+# and all the variables that are supposed to be based on exec_prefix
7004
+# by default will actually change.
7005
+# Use braces instead of parens because sh, perl, etc. also accept them.
7006
+# (The list follows the same order as the GNU Coding Standards.)
7007
+bindir='${exec_prefix}/bin'
7008
+sbindir='${exec_prefix}/sbin'
7009
+libexecdir='${exec_prefix}/libexec'
7010
+datarootdir='${prefix}/share'
7011
+datadir='${datarootdir}'
7012
+sysconfdir='${prefix}/etc'
7013
+sharedstatedir='${prefix}/com'
7014
+localstatedir='${prefix}/var'
7015
+includedir='${prefix}/include'
7016
+oldincludedir='/usr/include'
7017
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7018
+infodir='${datarootdir}/info'
7019
+htmldir='${docdir}'
7020
+dvidir='${docdir}'
7021
+pdfdir='${docdir}'
7022
+psdir='${docdir}'
7023
+libdir='${exec_prefix}/lib'
7024
+localedir='${datarootdir}/locale'
7025
+mandir='${datarootdir}/man'
7026
+
7027
+ac_prev=
7028
+ac_dashdash=
7029
+for ac_option
7030
+do
7031
+  # If the previous option needs an argument, assign it.
7032
+  if test -n "$ac_prev"; then
7033
+    eval $ac_prev=\$ac_option
7034
+    ac_prev=
7035
+    continue
7036
+  fi
7037
+
7038
+  case $ac_option in
7039
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
7040
+  *=)   ac_optarg= ;;
7041
+  *)    ac_optarg=yes ;;
7042
+  esac
7043
+
7044
+  # Accept the important Cygnus configure options, so we can diagnose typos.
7045
+
7046
+  case $ac_dashdash$ac_option in
7047
+  --)
7048
+    ac_dashdash=yes ;;
7049
+
7050
+  -bindir | --bindir | --bindi | --bind | --bin | --bi)
7051
+    ac_prev=bindir ;;
7052
+  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7053
+    bindir=$ac_optarg ;;
7054
+
7055
+  -build | --build | --buil | --bui | --bu)
7056
+    ac_prev=build_alias ;;
7057
+  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7058
+    build_alias=$ac_optarg ;;
7059
+
7060
+  -cache-file | --cache-file | --cache-fil | --cache-fi \
7061
+  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7062
+    ac_prev=cache_file ;;
7063
+  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7064
+  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7065
+    cache_file=$ac_optarg ;;
7066
+
7067
+  --config-cache | -C)
7068
+    cache_file=config.cache ;;
7069
+
7070
+  -datadir | --datadir | --datadi | --datad)
7071
+    ac_prev=datadir ;;
7072
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
7073
+    datadir=$ac_optarg ;;
7074
+
7075
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
7076
+  | --dataroo | --dataro | --datar)
7077
+    ac_prev=datarootdir ;;
7078
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
7079
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
7080
+    datarootdir=$ac_optarg ;;
7081
+
7082
+  -disable-* | --disable-*)
7083
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7084
+    # Reject names that are not valid shell variable names.
7085
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7086
+      as_fn_error $? "invalid feature name: $ac_useropt"
7087
+    ac_useropt_orig=$ac_useropt
7088
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7089
+    case $ac_user_opts in
7090
+      *"
7091
+"enable_$ac_useropt"
7092
+"*) ;;
7093
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
7094
+        ac_unrecognized_sep=', ';;
7095
+    esac
7096
+    eval enable_$ac_useropt=no ;;
7097
+
7098
+  -docdir | --docdir | --docdi | --doc | --do)
7099
+    ac_prev=docdir ;;
7100
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
7101
+    docdir=$ac_optarg ;;
7102
+
7103
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
7104
+    ac_prev=dvidir ;;
7105
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
7106
+    dvidir=$ac_optarg ;;
7107
+
7108
+  -enable-* | --enable-*)
7109
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
7110
+    # Reject names that are not valid shell variable names.
7111
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7112
+      as_fn_error $? "invalid feature name: $ac_useropt"
7113
+    ac_useropt_orig=$ac_useropt
7114
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7115
+    case $ac_user_opts in
7116
+      *"
7117
+"enable_$ac_useropt"
7118
+"*) ;;
7119
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
7120
+        ac_unrecognized_sep=', ';;
7121
+    esac
7122
+    eval enable_$ac_useropt=\$ac_optarg ;;
7123
+
7124
+  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
7125
+  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
7126
+  | --exec | --exe | --ex)
7127
+    ac_prev=exec_prefix ;;
7128
+  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
7129
+  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
7130
+  | --exec=* | --exe=* | --ex=*)
7131
+    exec_prefix=$ac_optarg ;;
7132
+
7133
+  -gas | --gas | --ga | --g)
7134
+    # Obsolete; use --with-gas.
7135
+    with_gas=yes ;;
7136
+
7137
+  -help | --help | --hel | --he | -h)
7138
+    ac_init_help=long ;;
7139
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
7140
+    ac_init_help=recursive ;;
7141
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
7142
+    ac_init_help=short ;;
7143
+
7144
+  -host | --host | --hos | --ho)
7145
+    ac_prev=host_alias ;;
7146
+  -host=* | --host=* | --hos=* | --ho=*)
7147
+    host_alias=$ac_optarg ;;
7148
+
7149
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
7150
+    ac_prev=htmldir ;;
7151
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
7152
+  | --ht=*)
7153
+    htmldir=$ac_optarg ;;
7154
+
7155
+  -includedir | --includedir | --includedi | --included | --include \
7156
+  | --includ | --inclu | --incl | --inc)
7157
+    ac_prev=includedir ;;
7158
+  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
7159
+  | --includ=* | --inclu=* | --incl=* | --inc=*)
7160
+    includedir=$ac_optarg ;;
7161
+
7162
+  -infodir | --infodir | --infodi | --infod | --info | --inf)
7163
+    ac_prev=infodir ;;
7164
+  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
7165
+    infodir=$ac_optarg ;;
7166
+
7167
+  -libdir | --libdir | --libdi | --libd)
7168
+    ac_prev=libdir ;;
7169
+  -libdir=* | --libdir=* | --libdi=* | --libd=*)
7170
+    libdir=$ac_optarg ;;
7171
+
7172
+  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
7173
+  | --libexe | --libex | --libe)
7174
+    ac_prev=libexecdir ;;
7175
+  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
7176
+  | --libexe=* | --libex=* | --libe=*)
7177
+    libexecdir=$ac_optarg ;;
7178
+
7179
+  -localedir | --localedir | --localedi | --localed | --locale)
7180
+    ac_prev=localedir ;;
7181
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
7182
+    localedir=$ac_optarg ;;
7183
+
7184
+  -localstatedir | --localstatedir | --localstatedi | --localstated \
7185
+  | --localstate | --localstat | --localsta | --localst | --locals)
7186
+    ac_prev=localstatedir ;;
7187
+  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7188
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
7189
+    localstatedir=$ac_optarg ;;
7190
+
7191
+  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
7192
+    ac_prev=mandir ;;
7193
+  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
7194
+    mandir=$ac_optarg ;;
7195
+
7196
+  -nfp | --nfp | --nf)
7197
+    # Obsolete; use --without-fp.
7198
+    with_fp=no ;;
7199
+
7200
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7201
+  | --no-cr | --no-c | -n)
7202
+    no_create=yes ;;
7203
+
7204
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7205
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
7206
+    no_recursion=yes ;;
7207
+
7208
+  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
7209
+  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
7210
+  | --oldin | --oldi | --old | --ol | --o)
7211
+    ac_prev=oldincludedir ;;
7212
+  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
7213
+  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
7214
+  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
7215
+    oldincludedir=$ac_optarg ;;
7216
+
7217
+  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7218
+    ac_prev=prefix ;;
7219
+  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7220
+    prefix=$ac_optarg ;;
7221
+
7222
+  -program-prefix | --program-prefix | --program-prefi | --program-pref \
7223
+  | --program-pre | --program-pr | --program-p)
7224
+    ac_prev=program_prefix ;;
7225
+  -program-prefix=* | --program-prefix=* | --program-prefi=* \
7226
+  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
7227
+    program_prefix=$ac_optarg ;;
7228
+
7229
+  -program-suffix | --program-suffix | --program-suffi | --program-suff \
7230
+  | --program-suf | --program-su | --program-s)
7231
+    ac_prev=program_suffix ;;
7232
+  -program-suffix=* | --program-suffix=* | --program-suffi=* \
7233
+  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
7234
+    program_suffix=$ac_optarg ;;
7235
+
7236
+  -program-transform-name | --program-transform-name \
7237
+  | --program-transform-nam | --program-transform-na \
7238
+  | --program-transform-n | --program-transform- \
7239
+  | --program-transform | --program-transfor \
7240
+  | --program-transfo | --program-transf \
7241
+  | --program-trans | --program-tran \
7242
+  | --progr-tra | --program-tr | --program-t)
7243
+    ac_prev=program_transform_name ;;
7244
+  -program-transform-name=* | --program-transform-name=* \
7245
+  | --program-transform-nam=* | --program-transform-na=* \
7246
+  | --program-transform-n=* | --program-transform-=* \
7247
+  | --program-transform=* | --program-transfor=* \
7248
+  | --program-transfo=* | --program-transf=* \
7249
+  | --program-trans=* | --program-tran=* \
7250
+  | --progr-tra=* | --program-tr=* | --program-t=*)
7251
+    program_transform_name=$ac_optarg ;;
7252
+
7253
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
7254
+    ac_prev=pdfdir ;;
7255
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
7256
+    pdfdir=$ac_optarg ;;
7257
+
7258
+  -psdir | --psdir | --psdi | --psd | --ps)
7259
+    ac_prev=psdir ;;
7260
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
7261
+    psdir=$ac_optarg ;;
7262
+
7263
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7264
+  | -silent | --silent | --silen | --sile | --sil)
7265
+    silent=yes ;;
7266
+
7267
+  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
7268
+    ac_prev=sbindir ;;
7269
+  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
7270
+  | --sbi=* | --sb=*)
7271
+    sbindir=$ac_optarg ;;
7272
+
7273
+  -sharedstatedir | --sharedstatedir | --sharedstatedi \
7274
+  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
7275
+  | --sharedst | --shareds | --shared | --share | --shar \
7276
+  | --sha | --sh)
7277
+    ac_prev=sharedstatedir ;;
7278
+  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
7279
+  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
7280
+  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
7281
+  | --sha=* | --sh=*)
7282
+    sharedstatedir=$ac_optarg ;;
7283
+
7284
+  -site | --site | --sit)
7285
+    ac_prev=site ;;
7286
+  -site=* | --site=* | --sit=*)
7287
+    site=$ac_optarg ;;
7288
+
7289
+  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7290
+    ac_prev=srcdir ;;
7291
+  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7292
+    srcdir=$ac_optarg ;;
7293
+
7294
+  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
7295
+  | --syscon | --sysco | --sysc | --sys | --sy)
7296
+    ac_prev=sysconfdir ;;
7297
+  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
7298
+  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
7299
+    sysconfdir=$ac_optarg ;;
7300
+
7301
+  -target | --target | --targe | --targ | --tar | --ta | --t)
7302
+    ac_prev=target_alias ;;
7303
+  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
7304
+    target_alias=$ac_optarg ;;
7305
+
7306
+  -v | -verbose | --verbose | --verbos | --verbo | --verb)
7307
+    verbose=yes ;;
7308
+
7309
+  -version | --version | --versio | --versi | --vers | -V)
7310
+    ac_init_version=: ;;
7311
+
7312
+  -with-* | --with-*)
7313
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7314
+    # Reject names that are not valid shell variable names.
7315
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7316
+      as_fn_error $? "invalid package name: $ac_useropt"
7317
+    ac_useropt_orig=$ac_useropt
7318
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7319
+    case $ac_user_opts in
7320
+      *"
7321
+"with_$ac_useropt"
7322
+"*) ;;
7323
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
7324
+        ac_unrecognized_sep=', ';;
7325
+    esac
7326
+    eval with_$ac_useropt=\$ac_optarg ;;
7327
+
7328
+  -without-* | --without-*)
7329
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7330
+    # Reject names that are not valid shell variable names.
7331
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7332
+      as_fn_error $? "invalid package name: $ac_useropt"
7333
+    ac_useropt_orig=$ac_useropt
7334
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7335
+    case $ac_user_opts in
7336
+      *"
7337
+"with_$ac_useropt"
7338
+"*) ;;
7339
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
7340
+        ac_unrecognized_sep=', ';;
7341
+    esac
7342
+    eval with_$ac_useropt=no ;;
7343
+
7344
+  --x)
7345
+    # Obsolete; use --with-x.
7346
+    with_x=yes ;;
7347
+
7348
+  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
7349
+  | --x-incl | --x-inc | --x-in | --x-i)
7350
+    ac_prev=x_includes ;;
7351
+  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
7352
+  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
7353
+    x_includes=$ac_optarg ;;
7354
+
7355
+  -x-libraries | --x-libraries | --x-librarie | --x-librari \
7356
+  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
7357
+    ac_prev=x_libraries ;;
7358
+  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
7359
+  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7360
+    x_libraries=$ac_optarg ;;
7361
+
7362
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
7363
+Try \`$0 --help' for more information"
7364
+    ;;
7365
+
7366
+  *=*)
7367
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
7368
+    # Reject names that are not valid shell variable names.
7369
+    case $ac_envvar in #(
7370
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
7371
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
7372
+    esac
7373
+    eval $ac_envvar=\$ac_optarg
7374
+    export $ac_envvar ;;
7375
+
7376
+  *)
7377
+    # FIXME: should be removed in autoconf 3.0.
7378
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7379
+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7380
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
7381
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
7382
+    ;;
7383
+
7384
+  esac
7385
+done
7386
+
7387
+if test -n "$ac_prev"; then
7388
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
7389
+  as_fn_error $? "missing argument to $ac_option"
7390
+fi
7391
+
7392
+if test -n "$ac_unrecognized_opts"; then
7393
+  case $enable_option_checking in
7394
+    no) ;;
7395
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
7396
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
7397
+  esac
7398
+fi
7399
+
7400
+# Check all directory arguments for consistency.
7401
+for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
7402
+               datadir sysconfdir sharedstatedir localstatedir includedir \
7403
+               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
7404
+               libdir localedir mandir
7405
+do
7406
+  eval ac_val=\$$ac_var
7407
+  # Remove trailing slashes.
7408
+  case $ac_val in
7409
+    */ )
7410
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
7411
+      eval $ac_var=\$ac_val;;
7412
+  esac
7413
+  # Be sure to have absolute directory names.
7414
+  case $ac_val in
7415
+    [\\/$]* | ?:[\\/]* )  continue;;
7416
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
7417
+  esac
7418
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
7419
+done
7420
+
7421
+# There might be people who depend on the old broken behavior: `$host'
7422
+# used to hold the argument of --host etc.
7423
+# FIXME: To remove some day.
7424
+build=$build_alias
7425
+host=$host_alias
7426
+target=$target_alias
7427
+
7428
+# FIXME: To remove some day.
7429
+if test "x$host_alias" != x; then
7430
+  if test "x$build_alias" = x; then
7431
+    cross_compiling=maybe
7432
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
7433
+    If a cross compiler is detected then cross compile mode will be used" >&2
7434
+  elif test "x$build_alias" != "x$host_alias"; then
7435
+    cross_compiling=yes
7436
+  fi
7437
+fi
7438
+
7439
+ac_tool_prefix=
7440
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
7441
+
7442
+test "$silent" = yes && exec 6>/dev/null
7443
+
7444
+
7445
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
7446
+ac_ls_di=`ls -di .` &&
7447
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
7448
+  as_fn_error $? "working directory cannot be determined"
7449
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
7450
+  as_fn_error $? "pwd does not report name of working directory"
7451
+
7452
+
7453
+# Find the source files, if location was not specified.
7454
+if test -z "$srcdir"; then
7455
+  ac_srcdir_defaulted=yes
7456
+  # Try the directory containing this script, then the parent directory.
7457
+  ac_confdir=`$as_dirname -- "$as_myself" ||
7458
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7459
+        X"$as_myself" : 'X\(//\)[^/]' \| \
7460
+        X"$as_myself" : 'X\(//\)$' \| \
7461
+        X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
7462
+$as_echo X"$as_myself" |
7463
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7464
+           s//\1/
7465
+           q
7466
+         }
7467
+         /^X\(\/\/\)[^/].*/{
7468
+           s//\1/
7469
+           q
7470
+         }
7471
+         /^X\(\/\/\)$/{
7472
+           s//\1/
7473
+           q
7474
+         }
7475
+         /^X\(\/\).*/{
7476
+           s//\1/
7477
+           q
7478
+         }
7479
+         s/.*/./; q'`
7480
+  srcdir=$ac_confdir
7481
+  if test ! -r "$srcdir/$ac_unique_file"; then
7482
+    srcdir=..
7483
+  fi
7484
+else
7485
+  ac_srcdir_defaulted=no
7486
+fi
7487
+if test ! -r "$srcdir/$ac_unique_file"; then
7488
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
7489
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
7490
+fi
7491
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
7492
+ac_abs_confdir=`(
7493
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
7494
+       pwd)`
7495
+# When building in place, set srcdir=.
7496
+if test "$ac_abs_confdir" = "$ac_pwd"; then
7497
+  srcdir=.
7498
+fi
7499
+# Remove unnecessary trailing slashes from srcdir.
7500
+# Double slashes in file names in object file debugging info
7501
+# mess up M-x gdb in Emacs.
7502
+case $srcdir in
7503
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
7504
+esac
7505
+for ac_var in $ac_precious_vars; do
7506
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
7507
+  eval ac_env_${ac_var}_value=\$${ac_var}
7508
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
7509
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
7510
+done
7511
+
7512
+#
7513
+# Report the --help message.
7514
+#
7515
+if test "$ac_init_help" = "long"; then
7516
+  # Omit some internal or obsolete options to make the list less imposing.
7517
+  # This message is too long to be a string in the A/UX 3.1 sh.
7518
+  cat <<_ACEOF
7519
+\`configure' configures newlib 2.5.0 to adapt to many kinds of systems.
7520
+
7521
+Usage: $0 [OPTION]... [VAR=VALUE]...
7522
+
7523
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
7524
+VAR=VALUE.  See below for descriptions of some of the useful variables.
7525
+
7526
+Defaults for the options are specified in brackets.
7527
+
7528
+Configuration:
7529
+  -h, --help              display this help and exit
7530
+      --help=short        display options specific to this package
7531
+      --help=recursive    display the short help of all the included packages
7532
+  -V, --version           display version information and exit
7533
+  -q, --quiet, --silent   do not print \`checking ...' messages
7534
+      --cache-file=FILE   cache test results in FILE [disabled]
7535
+  -C, --config-cache      alias for \`--cache-file=config.cache'
7536
+  -n, --no-create         do not create output files
7537
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
7538
+
7539
+Installation directories:
7540
+  --prefix=PREFIX         install architecture-independent files in PREFIX
7541
+                          [$ac_default_prefix]
7542
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
7543
+                          [PREFIX]
7544
+
7545
+By default, \`make install' will install all the files in
7546
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
7547
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
7548
+for instance \`--prefix=\$HOME'.
7549
+
7550
+For better control, use the options below.
7551
+
7552
+Fine tuning of the installation directories:
7553
+  --bindir=DIR            user executables [EPREFIX/bin]
7554
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
7555
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
7556
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
7557
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
7558
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
7559
+  --libdir=DIR            object code libraries [EPREFIX/lib]
7560
+  --includedir=DIR        C header files [PREFIX/include]
7561
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
7562
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
7563
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
7564
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
7565
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
7566
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
7567
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/newlib]
7568
+  --htmldir=DIR           html documentation [DOCDIR]
7569
+  --dvidir=DIR            dvi documentation [DOCDIR]
7570
+  --pdfdir=DIR            pdf documentation [DOCDIR]
7571
+  --psdir=DIR             ps documentation [DOCDIR]
7572
+_ACEOF
7573
+
7574
+  cat <<\_ACEOF
7575
+
7576
+Program names:
7577
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
7578
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
7579
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
7580
+
7581
+System types:
7582
+  --build=BUILD     configure for building on BUILD [guessed]
7583
+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
7584
+_ACEOF
7585
+fi
7586
+
7587
+if test -n "$ac_init_help"; then
7588
+  case $ac_init_help in
7589
+     short | recursive ) echo "Configuration of newlib 2.5.0:";;
7590
+   esac
7591
+  cat <<\_ACEOF
7592
+
7593
+Optional Features:
7594
+  --disable-option-checking  ignore unrecognized --enable/--with options
7595
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
7596
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
7597
+  --enable-multilib         build many library versions (default)
7598
+  --enable-target-optspace  optimize for space
7599
+  --enable-malloc-debugging indicate malloc debugging requested
7600
+  --enable-newlib-multithread        enable support for multiple threads
7601
+  --enable-newlib-iconv     enable iconv library support
7602
+  --enable-newlib-elix-level         supply desired elix library level (1-4)
7603
+  --disable-newlib-io-float disable printf/scanf family float support
7604
+  --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
7605
+  --disable-dependency-tracking  speeds up one-time build
7606
+  --enable-dependency-tracking   do not reject slow dependency extractors
7607
+  --enable-maintainer-mode  enable make rules and dependencies not useful
7608
+                         (and sometimes confusing) to the casual installer
7609
+
7610
+Some influential environment variables:
7611
+  CCAS        assembler compiler command (defaults to CC)
7612
+  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
7613
+
7614
+Use these variables to override the choices made by `configure' or to help
7615
+it to find libraries and programs with nonstandard names/locations.
7616
+
7617
+Report bugs to the package provider.
7618
+_ACEOF
7619
+ac_status=$?
7620
+fi
7621
+
7622
+if test "$ac_init_help" = "recursive"; then
7623
+  # If there are subdirs, report their specific --help.
7624
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
7625
+    test -d "$ac_dir" ||
7626
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
7627
+      continue
7628
+    ac_builddir=.
7629
+
7630
+case "$ac_dir" in
7631
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7632
+*)
7633
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7634
+  # A ".." for each directory in $ac_dir_suffix.
7635
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7636
+  case $ac_top_builddir_sub in
7637
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7638
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7639
+  esac ;;
7640
+esac
7641
+ac_abs_top_builddir=$ac_pwd
7642
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
7643
+# for backward compatibility:
7644
+ac_top_builddir=$ac_top_build_prefix
7645
+
7646
+case $srcdir in
7647
+  .)  # We are building in place.
7648
+    ac_srcdir=.
7649
+    ac_top_srcdir=$ac_top_builddir_sub
7650
+    ac_abs_top_srcdir=$ac_pwd ;;
7651
+  [\\/]* | ?:[\\/]* )  # Absolute name.
7652
+    ac_srcdir=$srcdir$ac_dir_suffix;
7653
+    ac_top_srcdir=$srcdir
7654
+    ac_abs_top_srcdir=$srcdir ;;
7655
+  *) # Relative name.
7656
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7657
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
7658
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7659
+esac
7660
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7661
+
7662
+    cd "$ac_dir" || { ac_status=$?; continue; }
7663
+    # Check for guested configure.
7664
+    if test -f "$ac_srcdir/configure.gnu"; then
7665
+      echo &&
7666
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
7667
+    elif test -f "$ac_srcdir/configure"; then
7668
+      echo &&
7669
+      $SHELL "$ac_srcdir/configure" --help=recursive
7670
+    else
7671
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7672
+    fi || ac_status=$?
7673
+    cd "$ac_pwd" || { ac_status=$?; break; }
7674
+  done
7675
+fi
7676
+
7677
+test -n "$ac_init_help" && exit $ac_status
7678
+if $ac_init_version; then
7679
+  cat <<\_ACEOF
7680
+newlib configure 2.5.0
7681
+generated by GNU Autoconf 2.68
7682
+
7683
+Copyright (C) 2010 Free Software Foundation, Inc.
7684
+This configure script is free software; the Free Software Foundation
7685
+gives unlimited permission to copy, distribute and modify it.
7686
+_ACEOF
7687
+  exit
7688
+fi
7689
+
7690
+## ------------------------ ##
7691
+## Autoconf initialization. ##
7692
+## ------------------------ ##
7693
+
7694
+# ac_fn_c_try_compile LINENO
7695
+# --------------------------
7696
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
7697
+ac_fn_c_try_compile ()
7698
+{
7699
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7700
+  rm -f conftest.$ac_objext
7701
+  if { { ac_try="$ac_compile"
7702
+case "(($ac_try" in
7703
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7704
+  *) ac_try_echo=$ac_try;;
7705
+esac
7706
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7707
+$as_echo "$ac_try_echo"; } >&5
7708
+  (eval "$ac_compile") 2>conftest.err
7709
+  ac_status=$?
7710
+  if test -s conftest.err; then
7711
+    grep -v '^ *+' conftest.err >conftest.er1
7712
+    cat conftest.er1 >&5
7713
+    mv -f conftest.er1 conftest.err
7714
+  fi
7715
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7716
+  test $ac_status = 0; } && {
7717
+        test -z "$ac_c_werror_flag" ||
7718
+        test ! -s conftest.err
7719
+       } && test -s conftest.$ac_objext; then :
7720
+  ac_retval=0
7721
+else
7722
+  $as_echo "$as_me: failed program was:" >&5
7723
+sed 's/^/| /' conftest.$ac_ext >&5
7724
+
7725
+       ac_retval=1
7726
+fi
7727
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
7728
+  as_fn_set_status $ac_retval
7729
+
7730
+} # ac_fn_c_try_compile
7731
+cat >config.log <<_ACEOF
7732
+This file contains any messages produced by compilers while
7733
+running configure, to aid debugging if configure makes a mistake.
7734
+
7735
+It was created by newlib $as_me 2.5.0, which was
7736
+generated by GNU Autoconf 2.68.  Invocation command line was
7737
+
7738
+  $ $0 $@
7739
+
7740
+_ACEOF
7741
+exec 5>>config.log
7742
+{
7743
+cat <<_ASUNAME
7744
+## --------- ##
7745
+## Platform. ##
7746
+## --------- ##
7747
+
7748
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7749
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
7750
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
7751
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
7752
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
7753
+
7754
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7755
+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7756
+
7757
+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7758
+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7759
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7760
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
7761
+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7762
+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7763
+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7764
+
7765
+_ASUNAME
7766
+
7767
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768
+for as_dir in $PATH
7769
+do
7770
+  IFS=$as_save_IFS
7771
+  test -z "$as_dir" && as_dir=.
7772
+    $as_echo "PATH: $as_dir"
7773
+  done
7774
+IFS=$as_save_IFS
7775
+
7776
+} >&5
7777
+
7778
+cat >&5 <<_ACEOF
7779
+
7780
+
7781
+## ----------- ##
7782
+## Core tests. ##
7783
+## ----------- ##
7784
+
7785
+_ACEOF
7786
+
7787
+
7788
+# Keep a trace of the command line.
7789
+# Strip out --no-create and --no-recursion so they do not pile up.
7790
+# Strip out --silent because we don't want to record it for future runs.
7791
+# Also quote any args containing shell meta-characters.
7792
+# Make two passes to allow for proper duplicate-argument suppression.
7793
+ac_configure_args=
7794
+ac_configure_args0=
7795
+ac_configure_args1=
7796
+ac_must_keep_next=false
7797
+for ac_pass in 1 2
7798
+do
7799
+  for ac_arg
7800
+  do
7801
+    case $ac_arg in
7802
+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
7803
+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7804
+    | -silent | --silent | --silen | --sile | --sil)
7805
+      continue ;;
7806
+    *\'*)
7807
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7808
+    esac
7809
+    case $ac_pass in
7810
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
7811
+    2)
7812
+      as_fn_append ac_configure_args1 " '$ac_arg'"
7813
+      if test $ac_must_keep_next = true; then
7814
+       ac_must_keep_next=false # Got value, back to normal.
7815
+      else
7816
+       case $ac_arg in
7817
+         *=* | --config-cache | -C | -disable-* | --disable-* \
7818
+         | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7819
+         | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7820
+         | -with-* | --with-* | -without-* | --without-* | --x)
7821
+           case "$ac_configure_args0 " in
7822
+             "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
7823
+           esac
7824
+           ;;
7825
+         -* ) ac_must_keep_next=true ;;
7826
+       esac
7827
+      fi
7828
+      as_fn_append ac_configure_args " '$ac_arg'"
7829
+      ;;
7830
+    esac
7831
+  done
7832
+done
7833
+{ ac_configure_args0=; unset ac_configure_args0;}
7834
+{ ac_configure_args1=; unset ac_configure_args1;}
7835
+
7836
+# When interrupted or exit'd, cleanup temporary files, and complete
7837
+# config.log.  We remove comments because anyway the quotes in there
7838
+# would cause problems or look ugly.
7839
+# WARNING: Use '\'' to represent an apostrophe within the trap.
7840
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
7841
+trap 'exit_status=$?
7842
+  # Save into config.log some information that might help in debugging.
7843
+  {
7844
+    echo
7845
+
7846
+    $as_echo "## ---------------- ##
7847
+## Cache variables. ##
7848
+## ---------------- ##"
7849
+    echo
7850
+    # The following way of writing the cache mishandles newlines in values,
7851
+(
7852
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
7853
+    eval ac_val=\$$ac_var
7854
+    case $ac_val in #(
7855
+    *${as_nl}*)
7856
+      case $ac_var in #(
7857
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7858
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7859
+      esac
7860
+      case $ac_var in #(
7861
+      _ | IFS | as_nl) ;; #(
7862
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7863
+      *) { eval $ac_var=; unset $ac_var;} ;;
7864
+      esac ;;
7865
+    esac
7866
+  done
7867
+  (set) 2>&1 |
7868
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
7869
+    *${as_nl}ac_space=\ *)
7870
+      sed -n \
7871
+       "s/'\''/'\''\\\\'\'''\''/g;
7872
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
7873
+      ;; #(
7874
+    *)
7875
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7876
+      ;;
7877
+    esac |
7878
+    sort
7879
+)
7880
+    echo
7881
+
7882
+    $as_echo "## ----------------- ##
7883
+## Output variables. ##
7884
+## ----------------- ##"
7885
+    echo
7886
+    for ac_var in $ac_subst_vars
7887
+    do
7888
+      eval ac_val=\$$ac_var
7889
+      case $ac_val in
7890
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7891
+      esac
7892
+      $as_echo "$ac_var='\''$ac_val'\''"
7893
+    done | sort
7894
+    echo
7895
+
7896
+    if test -n "$ac_subst_files"; then
7897
+      $as_echo "## ------------------- ##
7898
+## File substitutions. ##
7899
+## ------------------- ##"
7900
+      echo
7901
+      for ac_var in $ac_subst_files
7902
+      do
7903
+       eval ac_val=\$$ac_var
7904
+       case $ac_val in
7905
+       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7906
+       esac
7907
+       $as_echo "$ac_var='\''$ac_val'\''"
7908
+      done | sort
7909
+      echo
7910
+    fi
7911
+
7912
+    if test -s confdefs.h; then
7913
+      $as_echo "## ----------- ##
7914
+## confdefs.h. ##
7915
+## ----------- ##"
7916
+      echo
7917
+      cat confdefs.h
7918
+      echo
7919
+    fi
7920
+    test "$ac_signal" != 0 &&
7921
+      $as_echo "$as_me: caught signal $ac_signal"
7922
+    $as_echo "$as_me: exit $exit_status"
7923
+  } >&5
7924
+  rm -f core *.core core.conftest.* &&
7925
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
7926
+    exit $exit_status
7927
+' 0
7928
+for ac_signal in 1 2 13 15; do
7929
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
7930
+done
7931
+ac_signal=0
7932
+
7933
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
7934
+rm -f -r conftest* confdefs.h
7935
+
7936
+$as_echo "/* confdefs.h */" > confdefs.h
7937
+
7938
+# Predefined preprocessor variables.
7939
+
7940
+cat >>confdefs.h <<_ACEOF
7941
+#define PACKAGE_NAME "$PACKAGE_NAME"
7942
+_ACEOF
7943
+
7944
+cat >>confdefs.h <<_ACEOF
7945
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
7946
+_ACEOF
7947
+
7948
+cat >>confdefs.h <<_ACEOF
7949
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
7950
+_ACEOF
7951
+
7952
+cat >>confdefs.h <<_ACEOF
7953
+#define PACKAGE_STRING "$PACKAGE_STRING"
7954
+_ACEOF
7955
+
7956
+cat >>confdefs.h <<_ACEOF
7957
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
7958
+_ACEOF
7959
+
7960
+cat >>confdefs.h <<_ACEOF
7961
+#define PACKAGE_URL "$PACKAGE_URL"
7962
+_ACEOF
7963
+
7964
+
7965
+# Let the site file select an alternate cache file if it wants to.
7966
+# Prefer an explicitly selected file to automatically selected ones.
7967
+ac_site_file1=NONE
7968
+ac_site_file2=NONE
7969
+if test -n "$CONFIG_SITE"; then
7970
+  # We do not want a PATH search for config.site.
7971
+  case $CONFIG_SITE in #((
7972
+    -*)  ac_site_file1=./$CONFIG_SITE;;
7973
+    */*) ac_site_file1=$CONFIG_SITE;;
7974
+    *)   ac_site_file1=./$CONFIG_SITE;;
7975
+  esac
7976
+elif test "x$prefix" != xNONE; then
7977
+  ac_site_file1=$prefix/share/config.site
7978
+  ac_site_file2=$prefix/etc/config.site
7979
+else
7980
+  ac_site_file1=$ac_default_prefix/share/config.site
7981
+  ac_site_file2=$ac_default_prefix/etc/config.site
7982
+fi
7983
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
7984
+do
7985
+  test "x$ac_site_file" = xNONE && continue
7986
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
7987
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
7988
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
7989
+    sed 's/^/| /' "$ac_site_file" >&5
7990
+    . "$ac_site_file" \
7991
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7992
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7993
+as_fn_error $? "failed to load site script $ac_site_file
7994
+See \`config.log' for more details" "$LINENO" 5; }
7995
+  fi
7996
+done
7997
+
7998
+if test -r "$cache_file"; then
7999
+  # Some versions of bash will fail to source /dev/null (special files
8000
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
8001
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
8002
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
8003
+$as_echo "$as_me: loading cache $cache_file" >&6;}
8004
+    case $cache_file in
8005
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
8006
+      *)                      . "./$cache_file";;
8007
+    esac
8008
+  fi
8009
+else
8010
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
8011
+$as_echo "$as_me: creating cache $cache_file" >&6;}
8012
+  >$cache_file
8013
+fi
8014
+
8015
+# Check that the precious variables saved in the cache have kept the same
8016
+# value.
8017
+ac_cache_corrupted=false
8018
+for ac_var in $ac_precious_vars; do
8019
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
8020
+  eval ac_new_set=\$ac_env_${ac_var}_set
8021
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
8022
+  eval ac_new_val=\$ac_env_${ac_var}_value
8023
+  case $ac_old_set,$ac_new_set in
8024
+    set,)
8025
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8026
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8027
+      ac_cache_corrupted=: ;;
8028
+    ,set)
8029
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
8030
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
8031
+      ac_cache_corrupted=: ;;
8032
+    ,);;
8033
+    *)
8034
+      if test "x$ac_old_val" != "x$ac_new_val"; then
8035
+       # differences in whitespace do not lead to failure.
8036
+       ac_old_val_w=`echo x $ac_old_val`
8037
+       ac_new_val_w=`echo x $ac_new_val`
8038
+       if test "$ac_old_val_w" != "$ac_new_val_w"; then
8039
+         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
8040
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
8041
+         ac_cache_corrupted=:
8042
+       else
8043
+         { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
8044
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
8045
+         eval $ac_var=\$ac_old_val
8046
+       fi
8047
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
8048
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
8049
+       { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
8050
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
8051
+      fi;;
8052
+  esac
8053
+  # Pass precious variables to config.status.
8054
+  if test "$ac_new_set" = set; then
8055
+    case $ac_new_val in
8056
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
8057
+    *) ac_arg=$ac_var=$ac_new_val ;;
8058
+    esac
8059
+    case " $ac_configure_args " in
8060
+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
8061
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
8062
+    esac
8063
+  fi
8064
+done
8065
+if $ac_cache_corrupted; then
8066
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8067
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8068
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
8069
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
8070
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
8071
+fi
8072
+## -------------------- ##
8073
+## Main body of script. ##
8074
+## -------------------- ##
8075
+
8076
+ac_ext=c
8077
+ac_cpp='$CPP $CPPFLAGS'
8078
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8079
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8080
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
8081
+
8082
+
8083
+
8084
+
8085
+ac_aux_dir=
8086
+for ac_dir in ../../../.. "$srcdir"/../../../..; do
8087
+  if test -f "$ac_dir/install-sh"; then
8088
+    ac_aux_dir=$ac_dir
8089
+    ac_install_sh="$ac_aux_dir/install-sh -c"
8090
+    break
8091
+  elif test -f "$ac_dir/install.sh"; then
8092
+    ac_aux_dir=$ac_dir
8093
+    ac_install_sh="$ac_aux_dir/install.sh -c"
8094
+    break
8095
+  elif test -f "$ac_dir/shtool"; then
8096
+    ac_aux_dir=$ac_dir
8097
+    ac_install_sh="$ac_aux_dir/shtool install -c"
8098
+    break
8099
+  fi
8100
+done
8101
+if test -z "$ac_aux_dir"; then
8102
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../../.. \"$srcdir\"/../../../.." "$LINENO" 5
8103
+fi
8104
+
8105
+# These three variables are undocumented and unsupported,
8106
+# and are intended to be withdrawn in a future Autoconf release.
8107
+# They can cause serious problems if a builder's source tree is in a directory
8108
+# whose full name contains unusual characters.
8109
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
8110
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
8111
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
8112
+
8113
+
8114
+
8115
+
8116
+# Make sure we can run config.sub.
8117
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
8118
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
8119
+
8120
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
8121
+$as_echo_n "checking build system type... " >&6; }
8122
+if ${ac_cv_build+:} false; then :
8123
+  $as_echo_n "(cached) " >&6
8124
+else
8125
+  ac_build_alias=$build_alias
8126
+test "x$ac_build_alias" = x &&
8127
+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
8128
+test "x$ac_build_alias" = x &&
8129
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
8130
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
8131
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
8132
+
8133
+fi
8134
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
8135
+$as_echo "$ac_cv_build" >&6; }
8136
+case $ac_cv_build in
8137
+*-*-*) ;;
8138
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
8139
+esac
8140
+build=$ac_cv_build
8141
+ac_save_IFS=$IFS; IFS='-'
8142
+set x $ac_cv_build
8143
+shift
8144
+build_cpu=$1
8145
+build_vendor=$2
8146
+shift; shift
8147
+# Remember, the first character of IFS is used to create $*,
8148
+# except with old shells:
8149
+build_os=$*
8150
+IFS=$ac_save_IFS
8151
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
8152
+
8153
+
8154
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
8155
+$as_echo_n "checking host system type... " >&6; }
8156
+if ${ac_cv_host+:} false; then :
8157
+  $as_echo_n "(cached) " >&6
8158
+else
8159
+  if test "x$host_alias" = x; then
8160
+  ac_cv_host=$ac_cv_build
8161
+else
8162
+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
8163
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
8164
+fi
8165
+
8166
+fi
8167
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
8168
+$as_echo "$ac_cv_host" >&6; }
8169
+case $ac_cv_host in
8170
+*-*-*) ;;
8171
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
8172
+esac
8173
+host=$ac_cv_host
8174
+ac_save_IFS=$IFS; IFS='-'
8175
+set x $ac_cv_host
8176
+shift
8177
+host_cpu=$1
8178
+host_vendor=$2
8179
+shift; shift
8180
+# Remember, the first character of IFS is used to create $*,
8181
+# except with old shells:
8182
+host_os=$*
8183
+IFS=$ac_save_IFS
8184
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
8185
+
8186
+
8187
+am__api_version='1.11'
8188
+
8189
+# Find a good install program.  We prefer a C program (faster),
8190
+# so one script is as good as another.  But avoid the broken or
8191
+# incompatible versions:
8192
+# SysV /etc/install, /usr/sbin/install
8193
+# SunOS /usr/etc/install
8194
+# IRIX /sbin/install
8195
+# AIX /bin/install
8196
+# AmigaOS /C/install, which installs bootblocks on floppy discs
8197
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8198
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
8199
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8200
+# OS/2's system install, which has a completely different semantic
8201
+# ./install, which can be erroneously created by make from ./install.sh.
8202
+# Reject install programs that cannot install multiple files.
8203
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
8204
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
8205
+if test -z "$INSTALL"; then
8206
+if ${ac_cv_path_install+:} false; then :
8207
+  $as_echo_n "(cached) " >&6
8208
+else
8209
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210
+for as_dir in $PATH
8211
+do
8212
+  IFS=$as_save_IFS
8213
+  test -z "$as_dir" && as_dir=.
8214
+    # Account for people who put trailing slashes in PATH elements.
8215
+case $as_dir/ in #((
8216
+  ./ | .// | /[cC]/* | \
8217
+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8218
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
8219
+  /usr/ucb/* ) ;;
8220
+  *)
8221
+    # OSF1 and SCO ODT 3.0 have their own names for install.
8222
+    # Don't use installbsd from OSF since it installs stuff as root
8223
+    # by default.
8224
+    for ac_prog in ginstall scoinst install; do
8225
+      for ac_exec_ext in '' $ac_executable_extensions; do
8226
+       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
8227
+         if test $ac_prog = install &&
8228
+           grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8229
+           # AIX install.  It has an incompatible calling convention.
8230
+           :
8231
+         elif test $ac_prog = install &&
8232
+           grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8233
+           # program-specific install script used by HP pwplus--don't use.
8234
+           :
8235
+         else
8236
+           rm -rf conftest.one conftest.two conftest.dir
8237
+           echo one > conftest.one
8238
+           echo two > conftest.two
8239
+           mkdir conftest.dir
8240
+           if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
8241
+             test -s conftest.one && test -s conftest.two &&
8242
+             test -s conftest.dir/conftest.one &&
8243
+             test -s conftest.dir/conftest.two
8244
+           then
8245
+             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8246
+             break 3
8247
+           fi
8248
+         fi
8249
+       fi
8250
+      done
8251
+    done
8252
+    ;;
8253
+esac
8254
+
8255
+  done
8256
+IFS=$as_save_IFS
8257
+
8258
+rm -rf conftest.one conftest.two conftest.dir
8259
+
8260
+fi
8261
+  if test "${ac_cv_path_install+set}" = set; then
8262
+    INSTALL=$ac_cv_path_install
8263
+  else
8264
+    # As a last resort, use the slow shell script.  Don't cache a
8265
+    # value for INSTALL within a source directory, because that will
8266
+    # break other packages using the cache if that directory is
8267
+    # removed, or if the value is a relative name.
8268
+    INSTALL=$ac_install_sh
8269
+  fi
8270
+fi
8271
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
8272
+$as_echo "$INSTALL" >&6; }
8273
+
8274
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8275
+# It thinks the first close brace ends the variable substitution.
8276
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8277
+
8278
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8279
+
8280
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8281
+
8282
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
8283
+$as_echo_n "checking whether build environment is sane... " >&6; }
8284
+# Just in case
8285
+sleep 1
8286
+echo timestamp > conftest.file
8287
+# Reject unsafe characters in $srcdir or the absolute working directory
8288
+# name.  Accept space and tab only in the latter.
8289
+am_lf='
8290
+'
8291
+case `pwd` in
8292
+  *[\\\"\#\$\&\'\`$am_lf]*)
8293
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
8294
+esac
8295
+case $srcdir in
8296
+  *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
8297
+    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
8298
+esac
8299
+
8300
+# Do `set' in a subshell so we don't clobber the current shell's
8301
+# arguments.  Must try -L first in case configure is actually a
8302
+# symlink; some systems play weird games with the mod time of symlinks
8303
+# (eg FreeBSD returns the mod time of the symlink's containing
8304
+# directory).
8305
+if (
8306
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
8307
+   if test "$*" = "X"; then
8308
+      # -L didn't work.
8309
+      set X `ls -t "$srcdir/configure" conftest.file`
8310
+   fi
8311
+   rm -f conftest.file
8312
+   if test "$*" != "X $srcdir/configure conftest.file" \
8313
+      && test "$*" != "X conftest.file $srcdir/configure"; then
8314
+
8315
+      # If neither matched, then we have a broken ls.  This can happen
8316
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
8317
+      # broken ls alias from the environment.  This has actually
8318
+      # happened.  Such a system could not be considered "sane".
8319
+      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
8320
+alias in your environment" "$LINENO" 5
8321
+   fi
8322
+
8323
+   test "$2" = conftest.file
8324
+   )
8325
+then
8326
+   # Ok.
8327
+   :
8328
+else
8329
+   as_fn_error $? "newly created file is older than distributed files!
8330
+Check your system clock" "$LINENO" 5
8331
+fi
8332
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8333
+$as_echo "yes" >&6; }
8334
+test "$program_prefix" != NONE &&
8335
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
8336
+# Use a double $ so make ignores it.
8337
+test "$program_suffix" != NONE &&
8338
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
8339
+# Double any \ or $.
8340
+# By default was `s,x,x', remove it if useless.
8341
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
8342
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
8343
+
8344
+# expand $ac_aux_dir to an absolute path
8345
+am_aux_dir=`cd $ac_aux_dir && pwd`
8346
+
8347
+if test x"${MISSING+set}" != xset; then
8348
+  case $am_aux_dir in
8349
+  *\ * | *\    *)
8350
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
8351
+  *)
8352
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
8353
+  esac
8354
+fi
8355
+# Use eval to expand $SHELL
8356
+if eval "$MISSING --run true"; then
8357
+  am_missing_run="$MISSING --run "
8358
+else
8359
+  am_missing_run=
8360
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
8361
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
8362
+fi
8363
+
8364
+if test x"${install_sh}" != xset; then
8365
+  case $am_aux_dir in
8366
+  *\ * | *\    *)
8367
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
8368
+  *)
8369
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
8370
+  esac
8371
+fi
8372
+
8373
+# Installed binaries are usually stripped using `strip' when the user
8374
+# run `make install-strip'.  However `strip' might not be the right
8375
+# tool to use in cross-compilation environments, therefore Automake
8376
+# will honor the `STRIP' environment variable to overrule this program.
8377
+if test "$cross_compiling" != no; then
8378
+  if test -n "$ac_tool_prefix"; then
8379
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8380
+set dummy ${ac_tool_prefix}strip; ac_word=$2
8381
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8382
+$as_echo_n "checking for $ac_word... " >&6; }
8383
+if ${ac_cv_prog_STRIP+:} false; then :
8384
+  $as_echo_n "(cached) " >&6
8385
+else
8386
+  if test -n "$STRIP"; then
8387
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8388
+else
8389
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390
+for as_dir in $PATH
8391
+do
8392
+  IFS=$as_save_IFS
8393
+  test -z "$as_dir" && as_dir=.
8394
+    for ac_exec_ext in '' $ac_executable_extensions; do
8395
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8396
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8397
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8398
+    break 2
8399
+  fi
8400
+done
8401
+  done
8402
+IFS=$as_save_IFS
8403
+
8404
+fi
8405
+fi
8406
+STRIP=$ac_cv_prog_STRIP
8407
+if test -n "$STRIP"; then
8408
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8409
+$as_echo "$STRIP" >&6; }
8410
+else
8411
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412
+$as_echo "no" >&6; }
8413
+fi
8414
+
8415
+
8416
+fi
8417
+if test -z "$ac_cv_prog_STRIP"; then
8418
+  ac_ct_STRIP=$STRIP
8419
+  # Extract the first word of "strip", so it can be a program name with args.
8420
+set dummy strip; ac_word=$2
8421
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8422
+$as_echo_n "checking for $ac_word... " >&6; }
8423
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8424
+  $as_echo_n "(cached) " >&6
8425
+else
8426
+  if test -n "$ac_ct_STRIP"; then
8427
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8428
+else
8429
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8430
+for as_dir in $PATH
8431
+do
8432
+  IFS=$as_save_IFS
8433
+  test -z "$as_dir" && as_dir=.
8434
+    for ac_exec_ext in '' $ac_executable_extensions; do
8435
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8436
+    ac_cv_prog_ac_ct_STRIP="strip"
8437
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8438
+    break 2
8439
+  fi
8440
+done
8441
+  done
8442
+IFS=$as_save_IFS
8443
+
8444
+fi
8445
+fi
8446
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8447
+if test -n "$ac_ct_STRIP"; then
8448
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8449
+$as_echo "$ac_ct_STRIP" >&6; }
8450
+else
8451
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8452
+$as_echo "no" >&6; }
8453
+fi
8454
+
8455
+  if test "x$ac_ct_STRIP" = x; then
8456
+    STRIP=":"
8457
+  else
8458
+    case $cross_compiling:$ac_tool_warned in
8459
+yes:)
8460
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8461
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8462
+ac_tool_warned=yes ;;
8463
+esac
8464
+    STRIP=$ac_ct_STRIP
8465
+  fi
8466
+else
8467
+  STRIP="$ac_cv_prog_STRIP"
8468
+fi
8469
+
8470
+fi
8471
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8472
+
8473
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
8474
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
8475
+if test -z "$MKDIR_P"; then
8476
+  if ${ac_cv_path_mkdir+:} false; then :
8477
+  $as_echo_n "(cached) " >&6
8478
+else
8479
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
8481
+do
8482
+  IFS=$as_save_IFS
8483
+  test -z "$as_dir" && as_dir=.
8484
+    for ac_prog in mkdir gmkdir; do
8485
+        for ac_exec_ext in '' $ac_executable_extensions; do
8486
+          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
8487
+          case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
8488
+            'mkdir (GNU coreutils) '* | \
8489
+            'mkdir (coreutils) '* | \
8490
+            'mkdir (fileutils) '4.1*)
8491
+              ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
8492
+              break 3;;
8493
+          esac
8494
+        done
8495
+       done
8496
+  done
8497
+IFS=$as_save_IFS
8498
+
8499
+fi
8500
+
8501
+  test -d ./--version && rmdir ./--version
8502
+  if test "${ac_cv_path_mkdir+set}" = set; then
8503
+    MKDIR_P="$ac_cv_path_mkdir -p"
8504
+  else
8505
+    # As a last resort, use the slow shell script.  Don't cache a
8506
+    # value for MKDIR_P within a source directory, because that will
8507
+    # break other packages using the cache if that directory is
8508
+    # removed, or if the value is a relative name.
8509
+    MKDIR_P="$ac_install_sh -d"
8510
+  fi
8511
+fi
8512
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8513
+$as_echo "$MKDIR_P" >&6; }
8514
+
8515
+mkdir_p="$MKDIR_P"
8516
+case $mkdir_p in
8517
+  [\\/$]* | ?:[\\/]*) ;;
8518
+  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8519
+esac
8520
+
8521
+for ac_prog in gawk mawk nawk awk
8522
+do
8523
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
8524
+set dummy $ac_prog; ac_word=$2
8525
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8526
+$as_echo_n "checking for $ac_word... " >&6; }
8527
+if ${ac_cv_prog_AWK+:} false; then :
8528
+  $as_echo_n "(cached) " >&6
8529
+else
8530
+  if test -n "$AWK"; then
8531
+  ac_cv_prog_AWK="$AWK" # Let the user override the test.
8532
+else
8533
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8534
+for as_dir in $PATH
8535
+do
8536
+  IFS=$as_save_IFS
8537
+  test -z "$as_dir" && as_dir=.
8538
+    for ac_exec_ext in '' $ac_executable_extensions; do
8539
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8540
+    ac_cv_prog_AWK="$ac_prog"
8541
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8542
+    break 2
8543
+  fi
8544
+done
8545
+  done
8546
+IFS=$as_save_IFS
8547
+
8548
+fi
8549
+fi
8550
+AWK=$ac_cv_prog_AWK
8551
+if test -n "$AWK"; then
8552
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
8553
+$as_echo "$AWK" >&6; }
8554
+else
8555
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8556
+$as_echo "no" >&6; }
8557
+fi
8558
+
8559
+
8560
+  test -n "$AWK" && break
8561
+done
8562
+
8563
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8564
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8565
+set x ${MAKE-make}
8566
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8567
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
8568
+  $as_echo_n "(cached) " >&6
8569
+else
8570
+  cat >conftest.make <<\_ACEOF
8571
+SHELL = /bin/sh
8572
+all:
8573
+       @echo '@@@%%%=$(MAKE)=@@@%%%'
8574
+_ACEOF
8575
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8576
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
8577
+  *@@@%%%=?*=@@@%%%*)
8578
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
8579
+  *)
8580
+    eval ac_cv_prog_make_${ac_make}_set=no;;
8581
+esac
8582
+rm -f conftest.make
8583
+fi
8584
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8585
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8586
+$as_echo "yes" >&6; }
8587
+  SET_MAKE=
8588
+else
8589
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8590
+$as_echo "no" >&6; }
8591
+  SET_MAKE="MAKE=${MAKE-make}"
8592
+fi
8593
+
8594
+rm -rf .tst 2>/dev/null
8595
+mkdir .tst 2>/dev/null
8596
+if test -d .tst; then
8597
+  am__leading_dot=.
8598
+else
8599
+  am__leading_dot=_
8600
+fi
8601
+rmdir .tst 2>/dev/null
8602
+
8603
+DEPDIR="${am__leading_dot}deps"
8604
+
8605
+ac_config_commands="$ac_config_commands depfiles"
8606
+
8607
+
8608
+am_make=${MAKE-make}
8609
+cat > confinc << 'END'
8610
+am__doit:
8611
+       @echo this is the am__doit target
8612
+.PHONY: am__doit
8613
+END
8614
+# If we don't find an include directive, just comment out the code.
8615
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
8616
+$as_echo_n "checking for style of include used by $am_make... " >&6; }
8617
+am__include="#"
8618
+am__quote=
8619
+_am_result=none
8620
+# First try GNU make style include.
8621
+echo "include confinc" > confmf
8622
+# Ignore all kinds of additional output from `make'.
8623
+case `$am_make -s -f confmf 2> /dev/null` in #(
8624
+*the\ am__doit\ target*)
8625
+  am__include=include
8626
+  am__quote=
8627
+  _am_result=GNU
8628
+  ;;
8629
+esac
8630
+# Now try BSD make style include.
8631
+if test "$am__include" = "#"; then
8632
+   echo '.include "confinc"' > confmf
8633
+   case `$am_make -s -f confmf 2> /dev/null` in #(
8634
+   *the\ am__doit\ target*)
8635
+     am__include=.include
8636
+     am__quote="\""
8637
+     _am_result=BSD
8638
+     ;;
8639
+   esac
8640
+fi
8641
+
8642
+
8643
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
8644
+$as_echo "$_am_result" >&6; }
8645
+rm -f confinc confmf
8646
+
8647
+# Check whether --enable-dependency-tracking was given.
8648
+if test "${enable_dependency_tracking+set}" = set; then :
8649
+  enableval=$enable_dependency_tracking;
8650
+fi
8651
+
8652
+if test "x$enable_dependency_tracking" != xno; then
8653
+  am_depcomp="$ac_aux_dir/depcomp"
8654
+  AMDEPBACKSLASH='\'
8655
+  am__nodep='_no'
8656
+fi
8657
+ if test "x$enable_dependency_tracking" != xno; then
8658
+  AMDEP_TRUE=
8659
+  AMDEP_FALSE='#'
8660
+else
8661
+  AMDEP_TRUE='#'
8662
+  AMDEP_FALSE=
8663
+fi
8664
+
8665
+
8666
+
8667
+# Check whether --enable-multilib was given.
8668
+if test "${enable_multilib+set}" = set; then :
8669
+  enableval=$enable_multilib; case "${enableval}" in
8670
+  yes) multilib=yes ;;
8671
+  no)  multilib=no ;;
8672
+  *)   as_fn_error $? "bad value ${enableval} for multilib option" "$LINENO" 5 ;;
8673
+ esac
8674
+else
8675
+  multilib=yes
8676
+fi
8677
+
8678
+# Check whether --enable-target-optspace was given.
8679
+if test "${enable_target_optspace+set}" = set; then :
8680
+  enableval=$enable_target_optspace; case "${enableval}" in
8681
+  yes) target_optspace=yes ;;
8682
+  no)  target_optspace=no ;;
8683
+  *)   as_fn_error $? "bad value ${enableval} for target-optspace option" "$LINENO" 5 ;;
8684
+ esac
8685
+else
8686
+  target_optspace=
8687
+fi
8688
+
8689
+# Check whether --enable-malloc-debugging was given.
8690
+if test "${enable_malloc_debugging+set}" = set; then :
8691
+  enableval=$enable_malloc_debugging; case "${enableval}" in
8692
+  yes) malloc_debugging=yes ;;
8693
+  no)  malloc_debugging=no ;;
8694
+  *)   as_fn_error $? "bad value ${enableval} for malloc-debugging option" "$LINENO" 5 ;;
8695
+ esac
8696
+else
8697
+  malloc_debugging=
8698
+fi
8699
+
8700
+# Check whether --enable-newlib-multithread was given.
8701
+if test "${enable_newlib_multithread+set}" = set; then :
8702
+  enableval=$enable_newlib_multithread; case "${enableval}" in
8703
+  yes) newlib_multithread=yes ;;
8704
+  no)  newlib_multithread=no ;;
8705
+  *)   as_fn_error $? "bad value ${enableval} for newlib-multithread option" "$LINENO" 5 ;;
8706
+ esac
8707
+else
8708
+  newlib_multithread=yes
8709
+fi
8710
+
8711
+# Check whether --enable-newlib-iconv was given.
8712
+if test "${enable_newlib_iconv+set}" = set; then :
8713
+  enableval=$enable_newlib_iconv; if test "${newlib_iconv+set}" != set; then
8714
+   case "${enableval}" in
8715
+     yes) newlib_iconv=yes ;;
8716
+     no)  newlib_iconv=no ;;
8717
+     *)   as_fn_error $? "bad value ${enableval} for newlib-iconv option" "$LINENO" 5 ;;
8718
+   esac
8719
+ fi
8720
+else
8721
+  newlib_iconv=${newlib_iconv}
8722
+fi
8723
+
8724
+# Check whether --enable-newlib-elix-level was given.
8725
+if test "${enable_newlib_elix_level+set}" = set; then :
8726
+  enableval=$enable_newlib_elix_level; case "${enableval}" in
8727
+  0)   newlib_elix_level=0 ;;
8728
+  1)   newlib_elix_level=1 ;;
8729
+  2)   newlib_elix_level=2 ;;
8730
+  3)   newlib_elix_level=3 ;;
8731
+  4)   newlib_elix_level=4 ;;
8732
+  *)   as_fn_error $? "bad value ${enableval} for newlib-elix-level option" "$LINENO" 5 ;;
8733
+ esac
8734
+else
8735
+  newlib_elix_level=0
8736
+fi
8737
+
8738
+# Check whether --enable-newlib-io-float was given.
8739
+if test "${enable_newlib_io_float+set}" = set; then :
8740
+  enableval=$enable_newlib_io_float; case "${enableval}" in
8741
+  yes) newlib_io_float=yes ;;
8742
+  no)  newlib_io_float=no ;;
8743
+  *)   as_fn_error $? "bad value ${enableval} for newlib-io-float option" "$LINENO" 5 ;;
8744
+ esac
8745
+else
8746
+  newlib_io_float=yes
8747
+fi
8748
+
8749
+# Check whether --enable-newlib-supplied-syscalls was given.
8750
+if test "${enable_newlib_supplied_syscalls+set}" = set; then :
8751
+  enableval=$enable_newlib_supplied_syscalls; case "${enableval}" in
8752
+  yes) newlib_may_supply_syscalls=yes ;;
8753
+  no)  newlib_may_supply_syscalls=no ;;
8754
+  *)   as_fn_error $? "bad value ${enableval} for newlib-supplied-syscalls option" "$LINENO" 5 ;;
8755
+ esac
8756
+else
8757
+  newlib_may_supply_syscalls=yes
8758
+fi
8759
+
8760
+ if test x${newlib_may_supply_syscalls} = xyes; then
8761
+  MAY_SUPPLY_SYSCALLS_TRUE=
8762
+  MAY_SUPPLY_SYSCALLS_FALSE='#'
8763
+else
8764
+  MAY_SUPPLY_SYSCALLS_TRUE='#'
8765
+  MAY_SUPPLY_SYSCALLS_FALSE=
8766
+fi
8767
+
8768
+
8769
+
8770
+test -z "${with_target_subdir}" && with_target_subdir=.
8771
+
8772
+if test "${srcdir}" = "."; then
8773
+  if test "${with_target_subdir}" != "."; then
8774
+    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
8775
+  else
8776
+    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
8777
+  fi
8778
+else
8779
+  newlib_basedir="${srcdir}/../../.."
8780
+fi
8781
+
8782
+
8783
+
8784
+
8785
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
8786
+  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8787
+  # is not polluted with repeated "-I."
8788
+  am__isrc=' -I$(srcdir)'
8789
+  # test to see if srcdir already configured
8790
+  if test -f $srcdir/config.status; then
8791
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
8792
+  fi
8793
+fi
8794
+
8795
+# test whether we have cygpath
8796
+if test -z "$CYGPATH_W"; then
8797
+  if (cygpath --version) >/dev/null 2>/dev/null; then
8798
+    CYGPATH_W='cygpath -w'
8799
+  else
8800
+    CYGPATH_W=echo
8801
+  fi
8802
+fi
8803
+
8804
+
8805
+# Define the identity of the package.
8806
+ PACKAGE='newlib'
8807
+ VERSION='2.5.0'
8808
+
8809
+
8810
+# Some tools Automake needs.
8811
+
8812
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8813
+
8814
+
8815
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
8816
+
8817
+
8818
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8819
+
8820
+
8821
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
8822
+
8823
+
8824
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
8825
+
8826
+# We need awk for the "check" target.  The system "awk" is bad on
8827
+# some platforms.
8828
+# Always define AMTAR for backward compatibility.  Yes, it's still used
8829
+# in the wild :-(  We should find a proper way to deprecate it ...
8830
+AMTAR='$${TAR-tar}'
8831
+
8832
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
8833
+
8834
+
8835
+
8836
+
8837
+
8838
+
8839
+# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
8840
+# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
8841
+# are probably using a cross compiler, which will not be able to fully
8842
+# link an executable.  This should really be fixed in autoconf
8843
+# itself.
8844
+
8845
+
8846
+
8847
+
8848
+
8849
+
8850
+
8851
+# Extract the first word of "gcc", so it can be a program name with args.
8852
+set dummy gcc; ac_word=$2
8853
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8854
+$as_echo_n "checking for $ac_word... " >&6; }
8855
+if ${ac_cv_prog_CC+:} false; then :
8856
+  $as_echo_n "(cached) " >&6
8857
+else
8858
+  if test -n "$CC"; then
8859
+  ac_cv_prog_CC="$CC" # Let the user override the test.
8860
+else
8861
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8862
+for as_dir in $PATH
8863
+do
8864
+  IFS=$as_save_IFS
8865
+  test -z "$as_dir" && as_dir=.
8866
+    for ac_exec_ext in '' $ac_executable_extensions; do
8867
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8868
+    ac_cv_prog_CC="gcc"
8869
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8870
+    break 2
8871
+  fi
8872
+done
8873
+  done
8874
+IFS=$as_save_IFS
8875
+
8876
+fi
8877
+fi
8878
+CC=$ac_cv_prog_CC
8879
+if test -n "$CC"; then
8880
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8881
+$as_echo "$CC" >&6; }
8882
+else
8883
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8884
+$as_echo "no" >&6; }
8885
+fi
8886
+
8887
+
8888
+
8889
+depcc="$CC"   am_compiler_list=
8890
+
8891
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8892
+$as_echo_n "checking dependency style of $depcc... " >&6; }
8893
+if ${am_cv_CC_dependencies_compiler_type+:} false; then :
8894
+  $as_echo_n "(cached) " >&6
8895
+else
8896
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8897
+  # We make a subdir and do the tests there.  Otherwise we can end up
8898
+  # making bogus files that we don't know about and never remove.  For
8899
+  # instance it was reported that on HP-UX the gcc test will end up
8900
+  # making a dummy file named `D' -- because `-MD' means `put the output
8901
+  # in D'.
8902
+  rm -rf conftest.dir
8903
+  mkdir conftest.dir
8904
+  # Copy depcomp to subdir because otherwise we won't find it if we're
8905
+  # using a relative directory.
8906
+  cp "$am_depcomp" conftest.dir
8907
+  cd conftest.dir
8908
+  # We will build objects and dependencies in a subdirectory because
8909
+  # it helps to detect inapplicable dependency modes.  For instance
8910
+  # both Tru64's cc and ICC support -MD to output dependencies as a
8911
+  # side effect of compilation, but ICC will put the dependencies in
8912
+  # the current directory while Tru64 will put them in the object
8913
+  # directory.
8914
+  mkdir sub
8915
+
8916
+  am_cv_CC_dependencies_compiler_type=none
8917
+  if test "$am_compiler_list" = ""; then
8918
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8919
+  fi
8920
+  am__universal=false
8921
+  case " $depcc " in #(
8922
+     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8923
+     esac
8924
+
8925
+  for depmode in $am_compiler_list; do
8926
+    # Setup a source with many dependencies, because some compilers
8927
+    # like to wrap large dependency lists on column 80 (with \), and
8928
+    # we should not choose a depcomp mode which is confused by this.
8929
+    #
8930
+    # We need to recreate these files for each test, as the compiler may
8931
+    # overwrite some of them when testing with obscure command lines.
8932
+    # This happens at least with the AIX C compiler.
8933
+    : > sub/conftest.c
8934
+    for i in 1 2 3 4 5 6; do
8935
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8936
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8937
+      # Solaris 8's {/usr,}/bin/sh.
8938
+      touch sub/conftst$i.h
8939
+    done
8940
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8941
+
8942
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8943
+    # mode.  It turns out that the SunPro C++ compiler does not properly
8944
+    # handle `-M -o', and we need to detect this.  Also, some Intel
8945
+    # versions had trouble with output in subdirs
8946
+    am__obj=sub/conftest.${OBJEXT-o}
8947
+    am__minus_obj="-o $am__obj"
8948
+    case $depmode in
8949
+    gcc)
8950
+      # This depmode causes a compiler race in universal mode.
8951
+      test "$am__universal" = false || continue
8952
+      ;;
8953
+    nosideeffect)
8954
+      # after this tag, mechanisms are not by side-effect, so they'll
8955
+      # only be used when explicitly requested
8956
+      if test "x$enable_dependency_tracking" = xyes; then
8957
+       continue
8958
+      else
8959
+       break
8960
+      fi
8961
+      ;;
8962
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
8963
+      # This compiler won't grok `-c -o', but also, the minuso test has
8964
+      # not run yet.  These depmodes are late enough in the game, and
8965
+      # so weak that their functioning should not be impacted.
8966
+      am__obj=conftest.${OBJEXT-o}
8967
+      am__minus_obj=
8968
+      ;;
8969
+    none) break ;;
8970
+    esac
8971
+    if depmode=$depmode \
8972
+       source=sub/conftest.c object=$am__obj \
8973
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8974
+       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8975
+         >/dev/null 2>conftest.err &&
8976
+       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8977
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8978
+       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8979
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8980
+      # icc doesn't choke on unknown options, it will just issue warnings
8981
+      # or remarks (even with -Werror).  So we grep stderr for any message
8982
+      # that says an option was ignored or not supported.
8983
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
8984
+      #   icc: Command line warning: ignoring option '-M'; no argument required
8985
+      # The diagnosis changed in icc 8.0:
8986
+      #   icc: Command line remark: option '-MP' not supported
8987
+      if (grep 'ignoring option' conftest.err ||
8988
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8989
+        am_cv_CC_dependencies_compiler_type=$depmode
8990
+        break
8991
+      fi
8992
+    fi
8993
+  done
8994
+
8995
+  cd ..
8996
+  rm -rf conftest.dir
8997
+else
8998
+  am_cv_CC_dependencies_compiler_type=none
8999
+fi
9000
+
9001
+fi
9002
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9003
+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9004
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9005
+
9006
+ if
9007
+  test "x$enable_dependency_tracking" != xno \
9008
+  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9009
+  am__fastdepCC_TRUE=
9010
+  am__fastdepCC_FALSE='#'
9011
+else
9012
+  am__fastdepCC_TRUE='#'
9013
+  am__fastdepCC_FALSE=
9014
+fi
9015
+
9016
+
9017
+if test -z "$CC"; then
9018
+  # Extract the first word of "cc", so it can be a program name with args.
9019
+set dummy cc; ac_word=$2
9020
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9021
+$as_echo_n "checking for $ac_word... " >&6; }
9022
+if ${ac_cv_prog_CC+:} false; then :
9023
+  $as_echo_n "(cached) " >&6
9024
+else
9025
+  if test -n "$CC"; then
9026
+  ac_cv_prog_CC="$CC" # Let the user override the test.
9027
+else
9028
+  ac_prog_rejected=no
9029
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9030
+for as_dir in $PATH
9031
+do
9032
+  IFS=$as_save_IFS
9033
+  test -z "$as_dir" && as_dir=.
9034
+    for ac_exec_ext in '' $ac_executable_extensions; do
9035
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036
+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9037
+       ac_prog_rejected=yes
9038
+       continue
9039
+     fi
9040
+    ac_cv_prog_CC="cc"
9041
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9042
+    break 2
9043
+  fi
9044
+done
9045
+  done
9046
+IFS=$as_save_IFS
9047
+
9048
+if test $ac_prog_rejected = yes; then
9049
+  # We found a bogon in the path, so make sure we never use it.
9050
+  set dummy $ac_cv_prog_CC
9051
+  shift
9052
+  if test $# != 0; then
9053
+    # We chose a different compiler from the bogus one.
9054
+    # However, it has the same basename, so the bogon will be chosen
9055
+    # first if we set CC to just the basename; use the full file name.
9056
+    shift
9057
+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9058
+  fi
9059
+fi
9060
+fi
9061
+fi
9062
+CC=$ac_cv_prog_CC
9063
+if test -n "$CC"; then
9064
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9065
+$as_echo "$CC" >&6; }
9066
+else
9067
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9068
+$as_echo "no" >&6; }
9069
+fi
9070
+
9071
+
9072
+  test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
9073
+fi
9074
+
9075
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
9076
+$as_echo_n "checking whether we are using GNU C... " >&6; }
9077
+if ${ac_cv_c_compiler_gnu+:} false; then :
9078
+  $as_echo_n "(cached) " >&6
9079
+else
9080
+  cat > conftest.c <<EOF
9081
+#ifdef __GNUC__
9082
+  yes;
9083
+#endif
9084
+EOF
9085
+if { ac_try='${CC-cc} -E conftest.c'
9086
+  { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
9087
+  (eval $ac_try) 2>&5
9088
+  ac_status=$?
9089
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9090
+  test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
9091
+  ac_cv_c_compiler_gnu=yes
9092
+else
9093
+  ac_cv_c_compiler_gnu=no
9094
+fi
9095
+fi
9096
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
9097
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
9098
+
9099
+if test $ac_cv_c_compiler_gnu = yes; then
9100
+  GCC=yes
9101
+  ac_test_CFLAGS="${CFLAGS+set}"
9102
+  ac_save_CFLAGS="$CFLAGS"
9103
+  ac_test_CFLAGS=${CFLAGS+set}
9104
+ac_save_CFLAGS=$CFLAGS
9105
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
9106
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
9107
+if ${ac_cv_prog_cc_g+:} false; then :
9108
+  $as_echo_n "(cached) " >&6
9109
+else
9110
+  ac_save_c_werror_flag=$ac_c_werror_flag
9111
+   ac_c_werror_flag=yes
9112
+   ac_cv_prog_cc_g=no
9113
+   CFLAGS="-g"
9114
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9115
+/* end confdefs.h.  */
9116
+
9117
+int
9118
+main ()
9119
+{
9120
+
9121
+  ;
9122
+  return 0;
9123
+}
9124
+_ACEOF
9125
+if ac_fn_c_try_compile "$LINENO"; then :
9126
+  ac_cv_prog_cc_g=yes
9127
+else
9128
+  CFLAGS=""
9129
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9130
+/* end confdefs.h.  */
9131
+
9132
+int
9133
+main ()
9134
+{
9135
+
9136
+  ;
9137
+  return 0;
9138
+}
9139
+_ACEOF
9140
+if ac_fn_c_try_compile "$LINENO"; then :
9141
+
9142
+else
9143
+  ac_c_werror_flag=$ac_save_c_werror_flag
9144
+        CFLAGS="-g"
9145
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146
+/* end confdefs.h.  */
9147
+
9148
+int
9149
+main ()
9150
+{
9151
+
9152
+  ;
9153
+  return 0;
9154
+}
9155
+_ACEOF
9156
+if ac_fn_c_try_compile "$LINENO"; then :
9157
+  ac_cv_prog_cc_g=yes
9158
+fi
9159
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9160
+fi
9161
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9162
+fi
9163
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9164
+   ac_c_werror_flag=$ac_save_c_werror_flag
9165
+fi
9166
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
9167
+$as_echo "$ac_cv_prog_cc_g" >&6; }
9168
+if test "$ac_test_CFLAGS" = set; then
9169
+  CFLAGS=$ac_save_CFLAGS
9170
+elif test $ac_cv_prog_cc_g = yes; then
9171
+  if test "$GCC" = yes; then
9172
+    CFLAGS="-g -O2"
9173
+  else
9174
+    CFLAGS="-g"
9175
+  fi
9176
+else
9177
+  if test "$GCC" = yes; then
9178
+    CFLAGS="-O2"
9179
+  else
9180
+    CFLAGS=
9181
+  fi
9182
+fi
9183
+  if test "$ac_test_CFLAGS" = set; then
9184
+    CFLAGS="$ac_save_CFLAGS"
9185
+  elif test $ac_cv_prog_cc_g = yes; then
9186
+    CFLAGS="-g -O2"
9187
+  else
9188
+    CFLAGS="-O2"
9189
+  fi
9190
+else
9191
+  GCC=
9192
+  test "${CFLAGS+set}" = set || CFLAGS="-g"
9193
+fi
9194
+
9195
+
9196
+if test -n "$ac_tool_prefix"; then
9197
+  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
9198
+set dummy ${ac_tool_prefix}as; ac_word=$2
9199
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9200
+$as_echo_n "checking for $ac_word... " >&6; }
9201
+if ${ac_cv_prog_AS+:} false; then :
9202
+  $as_echo_n "(cached) " >&6
9203
+else
9204
+  if test -n "$AS"; then
9205
+  ac_cv_prog_AS="$AS" # Let the user override the test.
9206
+else
9207
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9208
+for as_dir in $PATH
9209
+do
9210
+  IFS=$as_save_IFS
9211
+  test -z "$as_dir" && as_dir=.
9212
+    for ac_exec_ext in '' $ac_executable_extensions; do
9213
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9214
+    ac_cv_prog_AS="${ac_tool_prefix}as"
9215
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9216
+    break 2
9217
+  fi
9218
+done
9219
+  done
9220
+IFS=$as_save_IFS
9221
+
9222
+fi
9223
+fi
9224
+AS=$ac_cv_prog_AS
9225
+if test -n "$AS"; then
9226
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
9227
+$as_echo "$AS" >&6; }
9228
+else
9229
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230
+$as_echo "no" >&6; }
9231
+fi
9232
+
9233
+
9234
+fi
9235
+if test -z "$ac_cv_prog_AS"; then
9236
+  ac_ct_AS=$AS
9237
+  # Extract the first word of "as", so it can be a program name with args.
9238
+set dummy as; ac_word=$2
9239
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9240
+$as_echo_n "checking for $ac_word... " >&6; }
9241
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
9242
+  $as_echo_n "(cached) " >&6
9243
+else
9244
+  if test -n "$ac_ct_AS"; then
9245
+  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
9246
+else
9247
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9248
+for as_dir in $PATH
9249
+do
9250
+  IFS=$as_save_IFS
9251
+  test -z "$as_dir" && as_dir=.
9252
+    for ac_exec_ext in '' $ac_executable_extensions; do
9253
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9254
+    ac_cv_prog_ac_ct_AS="as"
9255
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9256
+    break 2
9257
+  fi
9258
+done
9259
+  done
9260
+IFS=$as_save_IFS
9261
+
9262
+fi
9263
+fi
9264
+ac_ct_AS=$ac_cv_prog_ac_ct_AS
9265
+if test -n "$ac_ct_AS"; then
9266
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
9267
+$as_echo "$ac_ct_AS" >&6; }
9268
+else
9269
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9270
+$as_echo "no" >&6; }
9271
+fi
9272
+
9273
+  if test "x$ac_ct_AS" = x; then
9274
+    AS=""
9275
+  else
9276
+    case $cross_compiling:$ac_tool_warned in
9277
+yes:)
9278
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9279
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9280
+ac_tool_warned=yes ;;
9281
+esac
9282
+    AS=$ac_ct_AS
9283
+  fi
9284
+else
9285
+  AS="$ac_cv_prog_AS"
9286
+fi
9287
+
9288
+if test -n "$ac_tool_prefix"; then
9289
+  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9290
+set dummy ${ac_tool_prefix}ar; ac_word=$2
9291
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9292
+$as_echo_n "checking for $ac_word... " >&6; }
9293
+if ${ac_cv_prog_AR+:} false; then :
9294
+  $as_echo_n "(cached) " >&6
9295
+else
9296
+  if test -n "$AR"; then
9297
+  ac_cv_prog_AR="$AR" # Let the user override the test.
9298
+else
9299
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300
+for as_dir in $PATH
9301
+do
9302
+  IFS=$as_save_IFS
9303
+  test -z "$as_dir" && as_dir=.
9304
+    for ac_exec_ext in '' $ac_executable_extensions; do
9305
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9306
+    ac_cv_prog_AR="${ac_tool_prefix}ar"
9307
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9308
+    break 2
9309
+  fi
9310
+done
9311
+  done
9312
+IFS=$as_save_IFS
9313
+
9314
+fi
9315
+fi
9316
+AR=$ac_cv_prog_AR
9317
+if test -n "$AR"; then
9318
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9319
+$as_echo "$AR" >&6; }
9320
+else
9321
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9322
+$as_echo "no" >&6; }
9323
+fi
9324
+
9325
+
9326
+fi
9327
+if test -z "$ac_cv_prog_AR"; then
9328
+  ac_ct_AR=$AR
9329
+  # Extract the first word of "ar", so it can be a program name with args.
9330
+set dummy ar; ac_word=$2
9331
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9332
+$as_echo_n "checking for $ac_word... " >&6; }
9333
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
9334
+  $as_echo_n "(cached) " >&6
9335
+else
9336
+  if test -n "$ac_ct_AR"; then
9337
+  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9338
+else
9339
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9340
+for as_dir in $PATH
9341
+do
9342
+  IFS=$as_save_IFS
9343
+  test -z "$as_dir" && as_dir=.
9344
+    for ac_exec_ext in '' $ac_executable_extensions; do
9345
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9346
+    ac_cv_prog_ac_ct_AR="ar"
9347
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9348
+    break 2
9349
+  fi
9350
+done
9351
+  done
9352
+IFS=$as_save_IFS
9353
+
9354
+fi
9355
+fi
9356
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
9357
+if test -n "$ac_ct_AR"; then
9358
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9359
+$as_echo "$ac_ct_AR" >&6; }
9360
+else
9361
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9362
+$as_echo "no" >&6; }
9363
+fi
9364
+
9365
+  if test "x$ac_ct_AR" = x; then
9366
+    AR=""
9367
+  else
9368
+    case $cross_compiling:$ac_tool_warned in
9369
+yes:)
9370
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9371
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9372
+ac_tool_warned=yes ;;
9373
+esac
9374
+    AR=$ac_ct_AR
9375
+  fi
9376
+else
9377
+  AR="$ac_cv_prog_AR"
9378
+fi
9379
+
9380
+if test -n "$ac_tool_prefix"; then
9381
+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9382
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9383
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9384
+$as_echo_n "checking for $ac_word... " >&6; }
9385
+if ${ac_cv_prog_RANLIB+:} false; then :
9386
+  $as_echo_n "(cached) " >&6
9387
+else
9388
+  if test -n "$RANLIB"; then
9389
+  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9390
+else
9391
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392
+for as_dir in $PATH
9393
+do
9394
+  IFS=$as_save_IFS
9395
+  test -z "$as_dir" && as_dir=.
9396
+    for ac_exec_ext in '' $ac_executable_extensions; do
9397
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9398
+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9399
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9400
+    break 2
9401
+  fi
9402
+done
9403
+  done
9404
+IFS=$as_save_IFS
9405
+
9406
+fi
9407
+fi
9408
+RANLIB=$ac_cv_prog_RANLIB
9409
+if test -n "$RANLIB"; then
9410
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9411
+$as_echo "$RANLIB" >&6; }
9412
+else
9413
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9414
+$as_echo "no" >&6; }
9415
+fi
9416
+
9417
+
9418
+fi
9419
+if test -z "$ac_cv_prog_RANLIB"; then
9420
+  ac_ct_RANLIB=$RANLIB
9421
+  # Extract the first word of "ranlib", so it can be a program name with args.
9422
+set dummy ranlib; ac_word=$2
9423
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9424
+$as_echo_n "checking for $ac_word... " >&6; }
9425
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9426
+  $as_echo_n "(cached) " >&6
9427
+else
9428
+  if test -n "$ac_ct_RANLIB"; then
9429
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9430
+else
9431
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432
+for as_dir in $PATH
9433
+do
9434
+  IFS=$as_save_IFS
9435
+  test -z "$as_dir" && as_dir=.
9436
+    for ac_exec_ext in '' $ac_executable_extensions; do
9437
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9438
+    ac_cv_prog_ac_ct_RANLIB="ranlib"
9439
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9440
+    break 2
9441
+  fi
9442
+done
9443
+  done
9444
+IFS=$as_save_IFS
9445
+
9446
+fi
9447
+fi
9448
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9449
+if test -n "$ac_ct_RANLIB"; then
9450
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9451
+$as_echo "$ac_ct_RANLIB" >&6; }
9452
+else
9453
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9454
+$as_echo "no" >&6; }
9455
+fi
9456
+
9457
+  if test "x$ac_ct_RANLIB" = x; then
9458
+    RANLIB=":"
9459
+  else
9460
+    case $cross_compiling:$ac_tool_warned in
9461
+yes:)
9462
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9463
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9464
+ac_tool_warned=yes ;;
9465
+esac
9466
+    RANLIB=$ac_ct_RANLIB
9467
+  fi
9468
+else
9469
+  RANLIB="$ac_cv_prog_RANLIB"
9470
+fi
9471
+
9472
+if test -n "$ac_tool_prefix"; then
9473
+  # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9474
+set dummy ${ac_tool_prefix}readelf; ac_word=$2
9475
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9476
+$as_echo_n "checking for $ac_word... " >&6; }
9477
+if ${ac_cv_prog_READELF+:} false; then :
9478
+  $as_echo_n "(cached) " >&6
9479
+else
9480
+  if test -n "$READELF"; then
9481
+  ac_cv_prog_READELF="$READELF" # Let the user override the test.
9482
+else
9483
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484
+for as_dir in $PATH
9485
+do
9486
+  IFS=$as_save_IFS
9487
+  test -z "$as_dir" && as_dir=.
9488
+    for ac_exec_ext in '' $ac_executable_extensions; do
9489
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9490
+    ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9491
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9492
+    break 2
9493
+  fi
9494
+done
9495
+  done
9496
+IFS=$as_save_IFS
9497
+
9498
+fi
9499
+fi
9500
+READELF=$ac_cv_prog_READELF
9501
+if test -n "$READELF"; then
9502
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9503
+$as_echo "$READELF" >&6; }
9504
+else
9505
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9506
+$as_echo "no" >&6; }
9507
+fi
9508
+
9509
+
9510
+fi
9511
+if test -z "$ac_cv_prog_READELF"; then
9512
+  ac_ct_READELF=$READELF
9513
+  # Extract the first word of "readelf", so it can be a program name with args.
9514
+set dummy readelf; ac_word=$2
9515
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9516
+$as_echo_n "checking for $ac_word... " >&6; }
9517
+if ${ac_cv_prog_ac_ct_READELF+:} false; then :
9518
+  $as_echo_n "(cached) " >&6
9519
+else
9520
+  if test -n "$ac_ct_READELF"; then
9521
+  ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9522
+else
9523
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9524
+for as_dir in $PATH
9525
+do
9526
+  IFS=$as_save_IFS
9527
+  test -z "$as_dir" && as_dir=.
9528
+    for ac_exec_ext in '' $ac_executable_extensions; do
9529
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530
+    ac_cv_prog_ac_ct_READELF="readelf"
9531
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9532
+    break 2
9533
+  fi
9534
+done
9535
+  done
9536
+IFS=$as_save_IFS
9537
+
9538
+fi
9539
+fi
9540
+ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9541
+if test -n "$ac_ct_READELF"; then
9542
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9543
+$as_echo "$ac_ct_READELF" >&6; }
9544
+else
9545
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9546
+$as_echo "no" >&6; }
9547
+fi
9548
+
9549
+  if test "x$ac_ct_READELF" = x; then
9550
+    READELF=":"
9551
+  else
9552
+    case $cross_compiling:$ac_tool_warned in
9553
+yes:)
9554
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9555
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9556
+ac_tool_warned=yes ;;
9557
+esac
9558
+    READELF=$ac_ct_READELF
9559
+  fi
9560
+else
9561
+  READELF="$ac_cv_prog_READELF"
9562
+fi
9563
+
9564
+
9565
+
9566
+
9567
+# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
9568
+ac_given_INSTALL=$INSTALL
9569
+
9570
+
9571
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
9572
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
9573
+    # Check whether --enable-maintainer-mode was given.
9574
+if test "${enable_maintainer_mode+set}" = set; then :
9575
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
9576
+else
9577
+  USE_MAINTAINER_MODE=no
9578
+fi
9579
+
9580
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
9581
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
9582
+   if test $USE_MAINTAINER_MODE = yes; then
9583
+  MAINTAINER_MODE_TRUE=
9584
+  MAINTAINER_MODE_FALSE='#'
9585
+else
9586
+  MAINTAINER_MODE_TRUE='#'
9587
+  MAINTAINER_MODE_FALSE=
9588
+fi
9589
+
9590
+  MAINT=$MAINTAINER_MODE_TRUE
9591
+
9592
+
9593
+# By default we simply use the C compiler to build assembly code.
9594
+
9595
+test "${CCAS+set}" = set || CCAS=$CC
9596
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
9597
+
9598
+
9599
+
9600
+
9601
+# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
9602
+# at least currently, we never actually build a program, so we never
9603
+# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
9604
+# fails, because we are probably configuring with a cross compiler
9605
+# which can't create executables.  So we include AC_EXEEXT to keep
9606
+# automake happy, but we don't execute it, since we don't care about
9607
+# the result.
9608
+if false; then
9609
+
9610
+  dummy_var=1
9611
+fi
9612
+
9613
+. ${newlib_basedir}/configure.host
9614
+
9615
+newlib_cflags="${newlib_cflags} -fno-builtin"
9616
+
9617
+NEWLIB_CFLAGS=${newlib_cflags}
9618
+
9619
+
9620
+NO_INCLUDE_LIST=${noinclude}
9621
+
9622
+
9623
+LDFLAGS=${ldflags}
9624
+
9625
+
9626
+ if test x${newlib_elix_level} = x0; then
9627
+  ELIX_LEVEL_0_TRUE=
9628
+  ELIX_LEVEL_0_FALSE='#'
9629
+else
9630
+  ELIX_LEVEL_0_TRUE='#'
9631
+  ELIX_LEVEL_0_FALSE=
9632
+fi
9633
+
9634
+ if test x${newlib_elix_level} = x1; then
9635
+  ELIX_LEVEL_1_TRUE=
9636
+  ELIX_LEVEL_1_FALSE='#'
9637
+else
9638
+  ELIX_LEVEL_1_TRUE='#'
9639
+  ELIX_LEVEL_1_FALSE=
9640
+fi
9641
+
9642
+ if test x${newlib_elix_level} = x2; then
9643
+  ELIX_LEVEL_2_TRUE=
9644
+  ELIX_LEVEL_2_FALSE='#'
9645
+else
9646
+  ELIX_LEVEL_2_TRUE='#'
9647
+  ELIX_LEVEL_2_FALSE=
9648
+fi
9649
+
9650
+ if test x${newlib_elix_level} = x3; then
9651
+  ELIX_LEVEL_3_TRUE=
9652
+  ELIX_LEVEL_3_FALSE='#'
9653
+else
9654
+  ELIX_LEVEL_3_TRUE='#'
9655
+  ELIX_LEVEL_3_FALSE=
9656
+fi
9657
+
9658
+ if test x${newlib_elix_level} = x4; then
9659
+  ELIX_LEVEL_4_TRUE=
9660
+  ELIX_LEVEL_4_FALSE='#'
9661
+else
9662
+  ELIX_LEVEL_4_TRUE='#'
9663
+  ELIX_LEVEL_4_FALSE=
9664
+fi
9665
+
9666
+
9667
+ if test x${use_libtool} = xyes; then
9668
+  USE_LIBTOOL_TRUE=
9669
+  USE_LIBTOOL_FALSE='#'
9670
+else
9671
+  USE_LIBTOOL_TRUE='#'
9672
+  USE_LIBTOOL_FALSE=
9673
+fi
9674
+
9675
+
9676
+# Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
9677
+# use oext, which is set in configure.host based on the target platform.
9678
+OBJEXT=${oext}
9679
+
9680
+
9681
+
9682
+
9683
+
9684
+
9685
+
9686
+
9687
+
9688
+
9689
+
9690
+ac_config_files="$ac_config_files Makefile"
9691
+
9692
+cat >confcache <<\_ACEOF
9693
+# This file is a shell script that caches the results of configure
9694
+# tests run on this system so they can be shared between configure
9695
+# scripts and configure runs, see configure's option --config-cache.
9696
+# It is not useful on other systems.  If it contains results you don't
9697
+# want to keep, you may remove or edit it.
9698
+#
9699
+# config.status only pays attention to the cache file if you give it
9700
+# the --recheck option to rerun configure.
9701
+#
9702
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
9703
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
9704
+# following values.
9705
+
9706
+_ACEOF
9707
+
9708
+# The following way of writing the cache mishandles newlines in values,
9709
+# but we know of no workaround that is simple, portable, and efficient.
9710
+# So, we kill variables containing newlines.
9711
+# Ultrix sh set writes to stderr and can't be redirected directly,
9712
+# and sets the high bit in the cache file unless we assign to the vars.
9713
+(
9714
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9715
+    eval ac_val=\$$ac_var
9716
+    case $ac_val in #(
9717
+    *${as_nl}*)
9718
+      case $ac_var in #(
9719
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9720
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9721
+      esac
9722
+      case $ac_var in #(
9723
+      _ | IFS | as_nl) ;; #(
9724
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9725
+      *) { eval $ac_var=; unset $ac_var;} ;;
9726
+      esac ;;
9727
+    esac
9728
+  done
9729
+
9730
+  (set) 2>&1 |
9731
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9732
+    *${as_nl}ac_space=\ *)
9733
+      # `set' does not quote correctly, so add quotes: double-quote
9734
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
9735
+      sed -n \
9736
+       "s/'/'\\\\''/g;
9737
+         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9738
+      ;; #(
9739
+    *)
9740
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
9741
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9742
+      ;;
9743
+    esac |
9744
+    sort
9745
+) |
9746
+  sed '
9747
+     /^ac_cv_env_/b end
9748
+     t clear
9749
+     :clear
9750
+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9751
+     t end
9752
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9753
+     :end' >>confcache
9754
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9755
+  if test -w "$cache_file"; then
9756
+    if test "x$cache_file" != "x/dev/null"; then
9757
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9758
+$as_echo "$as_me: updating cache $cache_file" >&6;}
9759
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
9760
+       cat confcache >"$cache_file"
9761
+      else
9762
+        case $cache_file in #(
9763
+        */* | ?:*)
9764
+         mv -f confcache "$cache_file"$$ &&
9765
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
9766
+        *)
9767
+         mv -f confcache "$cache_file" ;;
9768
+       esac
9769
+      fi
9770
+    fi
9771
+  else
9772
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9773
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9774
+  fi
9775
+fi
9776
+rm -f confcache
9777
+
9778
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
9779
+# Let make expand exec_prefix.
9780
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9781
+
9782
+# Transform confdefs.h into DEFS.
9783
+# Protect against shell expansion while executing Makefile rules.
9784
+# Protect against Makefile macro expansion.
9785
+#
9786
+# If the first sed substitution is executed (which looks for macros that
9787
+# take arguments), then branch to the quote section.  Otherwise,
9788
+# look for a macro that doesn't take arguments.
9789
+ac_script='
9790
+:mline
9791
+/\\$/{
9792
+ N
9793
+ s,\\\n,,
9794
+ b mline
9795
+}
9796
+t clear
9797
+:clear
9798
+s/^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
9799
+t quote
9800
+s/^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
9801
+t quote
9802
+b any
9803
+:quote
9804
+s/[     `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9805
+s/\[/\\&/g
9806
+s/\]/\\&/g
9807
+s/\$/$$/g
9808
+H
9809
+:any
9810
+${
9811
+       g
9812
+       s/^\n//
9813
+       s/\n/ /g
9814
+       p
9815
+}
9816
+'
9817
+DEFS=`sed -n "$ac_script" confdefs.h`
9818
+
9819
+
9820
+ac_libobjs=
9821
+ac_ltlibobjs=
9822
+U=
9823
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9824
+  # 1. Remove the extension, and $U if already installed.
9825
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9826
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9827
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9828
+  #    will be set to the directory where LIBOBJS objects are built.
9829
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9830
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9831
+done
9832
+LIBOBJS=$ac_libobjs
9833
+
9834
+LTLIBOBJS=$ac_ltlibobjs
9835
+
9836
+
9837
+if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
9838
+  as_fn_error $? "conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
9839
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9840
+fi
9841
+
9842
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9843
+  as_fn_error $? "conditional \"AMDEP\" was never defined.
9844
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9845
+fi
9846
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9847
+  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9848
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9849
+fi
9850
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9851
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
9852
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9853
+fi
9854
+if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
9855
+  as_fn_error $? "conditional \"ELIX_LEVEL_0\" was never defined.
9856
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9857
+fi
9858
+if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
9859
+  as_fn_error $? "conditional \"ELIX_LEVEL_1\" was never defined.
9860
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9861
+fi
9862
+if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
9863
+  as_fn_error $? "conditional \"ELIX_LEVEL_2\" was never defined.
9864
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9865
+fi
9866
+if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
9867
+  as_fn_error $? "conditional \"ELIX_LEVEL_3\" was never defined.
9868
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9869
+fi
9870
+if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
9871
+  as_fn_error $? "conditional \"ELIX_LEVEL_4\" was never defined.
9872
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9873
+fi
9874
+if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
9875
+  as_fn_error $? "conditional \"USE_LIBTOOL\" was never defined.
9876
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
9877
+fi
9878
+
9879
+: "${CONFIG_STATUS=./config.status}"
9880
+ac_write_fail=0
9881
+ac_clean_files_save=$ac_clean_files
9882
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9883
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9884
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9885
+as_write_fail=0
9886
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9887
+#! $SHELL
9888
+# Generated by $as_me.
9889
+# Run this file to recreate the current configuration.
9890
+# Compiler output produced by configure, useful for debugging
9891
+# configure, is in config.log if it exists.
9892
+
9893
+debug=false
9894
+ac_cs_recheck=false
9895
+ac_cs_silent=false
9896
+
9897
+SHELL=\${CONFIG_SHELL-$SHELL}
9898
+export SHELL
9899
+_ASEOF
9900
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9901
+## -------------------- ##
9902
+## M4sh Initialization. ##
9903
+## -------------------- ##
9904
+
9905
+# Be more Bourne compatible
9906
+DUALCASE=1; export DUALCASE # for MKS sh
9907
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9908
+  emulate sh
9909
+  NULLCMD=:
9910
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9911
+  # is contrary to our usage.  Disable this feature.
9912
+  alias -g '${1+"$@"}'='"$@"'
9913
+  setopt NO_GLOB_SUBST
9914
+else
9915
+  case `(set -o) 2>/dev/null` in #(
9916
+  *posix*) :
9917
+    set -o posix ;; #(
9918
+  *) :
9919
+     ;;
9920
+esac
9921
+fi
9922
+
9923
+
9924
+as_nl='
9925
+'
9926
+export as_nl
9927
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
9928
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9929
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9930
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9931
+# Prefer a ksh shell builtin over an external printf program on Solaris,
9932
+# but without wasting forks for bash or zsh.
9933
+if test -z "$BASH_VERSION$ZSH_VERSION" \
9934
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9935
+  as_echo='print -r --'
9936
+  as_echo_n='print -rn --'
9937
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9938
+  as_echo='printf %s\n'
9939
+  as_echo_n='printf %s'
9940
+else
9941
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9942
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9943
+    as_echo_n='/usr/ucb/echo -n'
9944
+  else
9945
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9946
+    as_echo_n_body='eval
9947
+      arg=$1;
9948
+      case $arg in #(
9949
+      *"$as_nl"*)
9950
+       expr "X$arg" : "X\\(.*\\)$as_nl";
9951
+       arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9952
+      esac;
9953
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9954
+    '
9955
+    export as_echo_n_body
9956
+    as_echo_n='sh -c $as_echo_n_body as_echo'
9957
+  fi
9958
+  export as_echo_body
9959
+  as_echo='sh -c $as_echo_body as_echo'
9960
+fi
9961
+
9962
+# The user is always right.
9963
+if test "${PATH_SEPARATOR+set}" != set; then
9964
+  PATH_SEPARATOR=:
9965
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9966
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9967
+      PATH_SEPARATOR=';'
9968
+  }
9969
+fi
9970
+
9971
+
9972
+# IFS
9973
+# We need space, tab and new line, in precisely that order.  Quoting is
9974
+# there to prevent editors from complaining about space-tab.
9975
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9976
+# splitting by setting IFS to empty value.)
9977
+IFS=" ""       $as_nl"
9978
+
9979
+# Find who we are.  Look in the path if we contain no directory separator.
9980
+as_myself=
9981
+case $0 in #((
9982
+  *[\\/]* ) as_myself=$0 ;;
9983
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9984
+for as_dir in $PATH
9985
+do
9986
+  IFS=$as_save_IFS
9987
+  test -z "$as_dir" && as_dir=.
9988
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9989
+  done
9990
+IFS=$as_save_IFS
9991
+
9992
+     ;;
9993
+esac
9994
+# We did not find ourselves, most probably we were run as `sh COMMAND'
9995
+# in which case we are not to be found in the path.
9996
+if test "x$as_myself" = x; then
9997
+  as_myself=$0
9998
+fi
9999
+if test ! -f "$as_myself"; then
10000
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10001
+  exit 1
10002
+fi
10003
+
10004
+# Unset variables that we do not need and which cause bugs (e.g. in
10005
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
10006
+# suppresses any "Segmentation fault" message there.  '((' could
10007
+# trigger a bug in pdksh 5.2.14.
10008
+for as_var in BASH_ENV ENV MAIL MAILPATH
10009
+do eval test x\${$as_var+set} = xset \
10010
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
10011
+done
10012
+PS1='$ '
10013
+PS2='> '
10014
+PS4='+ '
10015
+
10016
+# NLS nuisances.
10017
+LC_ALL=C
10018
+export LC_ALL
10019
+LANGUAGE=C
10020
+export LANGUAGE
10021
+
10022
+# CDPATH.
10023
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10024
+
10025
+
10026
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
10027
+# ----------------------------------------
10028
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10029
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10030
+# script with STATUS, using 1 if that was 0.
10031
+as_fn_error ()
10032
+{
10033
+  as_status=$1; test $as_status -eq 0 && as_status=1
10034
+  if test "$4"; then
10035
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
10036
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
10037
+  fi
10038
+  $as_echo "$as_me: error: $2" >&2
10039
+  as_fn_exit $as_status
10040
+} # as_fn_error
10041
+
10042
+
10043
+# as_fn_set_status STATUS
10044
+# -----------------------
10045
+# Set $? to STATUS, without forking.
10046
+as_fn_set_status ()
10047
+{
10048
+  return $1
10049
+} # as_fn_set_status
10050
+
10051
+# as_fn_exit STATUS
10052
+# -----------------
10053
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10054
+as_fn_exit ()
10055
+{
10056
+  set +e
10057
+  as_fn_set_status $1
10058
+  exit $1
10059
+} # as_fn_exit
10060
+
10061
+# as_fn_unset VAR
10062
+# ---------------
10063
+# Portably unset VAR.
10064
+as_fn_unset ()
10065
+{
10066
+  { eval $1=; unset $1;}
10067
+}
10068
+as_unset=as_fn_unset
10069
+# as_fn_append VAR VALUE
10070
+# ----------------------
10071
+# Append the text in VALUE to the end of the definition contained in VAR. Take
10072
+# advantage of any shell optimizations that allow amortized linear growth over
10073
+# repeated appends, instead of the typical quadratic growth present in naive
10074
+# implementations.
10075
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
10076
+  eval 'as_fn_append ()
10077
+  {
10078
+    eval $1+=\$2
10079
+  }'
10080
+else
10081
+  as_fn_append ()
10082
+  {
10083
+    eval $1=\$$1\$2
10084
+  }
10085
+fi # as_fn_append
10086
+
10087
+# as_fn_arith ARG...
10088
+# ------------------
10089
+# Perform arithmetic evaluation on the ARGs, and store the result in the
10090
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
10091
+# must be portable across $(()) and expr.
10092
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
10093
+  eval 'as_fn_arith ()
10094
+  {
10095
+    as_val=$(( $* ))
10096
+  }'
10097
+else
10098
+  as_fn_arith ()
10099
+  {
10100
+    as_val=`expr "$@" || test $? -eq 1`
10101
+  }
10102
+fi # as_fn_arith
10103
+
10104
+
10105
+if expr a : '\(a\)' >/dev/null 2>&1 &&
10106
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10107
+  as_expr=expr
10108
+else
10109
+  as_expr=false
10110
+fi
10111
+
10112
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10113
+  as_basename=basename
10114
+else
10115
+  as_basename=false
10116
+fi
10117
+
10118
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10119
+  as_dirname=dirname
10120
+else
10121
+  as_dirname=false
10122
+fi
10123
+
10124
+as_me=`$as_basename -- "$0" ||
10125
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10126
+        X"$0" : 'X\(//\)$' \| \
10127
+        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10128
+$as_echo X/"$0" |
10129
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
10130
+           s//\1/
10131
+           q
10132
+         }
10133
+         /^X\/\(\/\/\)$/{
10134
+           s//\1/
10135
+           q
10136
+         }
10137
+         /^X\/\(\/\).*/{
10138
+           s//\1/
10139
+           q
10140
+         }
10141
+         s/.*/./; q'`
10142
+
10143
+# Avoid depending upon Character Ranges.
10144
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10145
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10146
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10147
+as_cr_digits='0123456789'
10148
+as_cr_alnum=$as_cr_Letters$as_cr_digits
10149
+
10150
+ECHO_C= ECHO_N= ECHO_T=
10151
+case `echo -n x` in #(((((
10152
+-n*)
10153
+  case `echo 'xy\c'` in
10154
+  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
10155
+  xy)  ECHO_C='\c';;
10156
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
10157
+       ECHO_T='        ';;
10158
+  esac;;
10159
+*)
10160
+  ECHO_N='-n';;
10161
+esac
10162
+
10163
+rm -f conf$$ conf$$.exe conf$$.file
10164
+if test -d conf$$.dir; then
10165
+  rm -f conf$$.dir/conf$$.file
10166
+else
10167
+  rm -f conf$$.dir
10168
+  mkdir conf$$.dir 2>/dev/null
10169
+fi
10170
+if (echo >conf$$.file) 2>/dev/null; then
10171
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
10172
+    as_ln_s='ln -s'
10173
+    # ... but there are two gotchas:
10174
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10175
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10176
+    # In both cases, we have to default to `cp -p'.
10177
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10178
+      as_ln_s='cp -p'
10179
+  elif ln conf$$.file conf$$ 2>/dev/null; then
10180
+    as_ln_s=ln
10181
+  else
10182
+    as_ln_s='cp -p'
10183
+  fi
10184
+else
10185
+  as_ln_s='cp -p'
10186
+fi
10187
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10188
+rmdir conf$$.dir 2>/dev/null
10189
+
10190
+
10191
+# as_fn_mkdir_p
10192
+# -------------
10193
+# Create "$as_dir" as a directory, including parents if necessary.
10194
+as_fn_mkdir_p ()
10195
+{
10196
+
10197
+  case $as_dir in #(
10198
+  -*) as_dir=./$as_dir;;
10199
+  esac
10200
+  test -d "$as_dir" || eval $as_mkdir_p || {
10201
+    as_dirs=
10202
+    while :; do
10203
+      case $as_dir in #(
10204
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10205
+      *) as_qdir=$as_dir;;
10206
+      esac
10207
+      as_dirs="'$as_qdir' $as_dirs"
10208
+      as_dir=`$as_dirname -- "$as_dir" ||
10209
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10210
+        X"$as_dir" : 'X\(//\)[^/]' \| \
10211
+        X"$as_dir" : 'X\(//\)$' \| \
10212
+        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10213
+$as_echo X"$as_dir" |
10214
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10215
+           s//\1/
10216
+           q
10217
+         }
10218
+         /^X\(\/\/\)[^/].*/{
10219
+           s//\1/
10220
+           q
10221
+         }
10222
+         /^X\(\/\/\)$/{
10223
+           s//\1/
10224
+           q
10225
+         }
10226
+         /^X\(\/\).*/{
10227
+           s//\1/
10228
+           q
10229
+         }
10230
+         s/.*/./; q'`
10231
+      test -d "$as_dir" && break
10232
+    done
10233
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
10234
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
10235
+
10236
+
10237
+} # as_fn_mkdir_p
10238
+if mkdir -p . 2>/dev/null; then
10239
+  as_mkdir_p='mkdir -p "$as_dir"'
10240
+else
10241
+  test -d ./-p && rmdir ./-p
10242
+  as_mkdir_p=false
10243
+fi
10244
+
10245
+if test -x / >/dev/null 2>&1; then
10246
+  as_test_x='test -x'
10247
+else
10248
+  if ls -dL / >/dev/null 2>&1; then
10249
+    as_ls_L_option=L
10250
+  else
10251
+    as_ls_L_option=
10252
+  fi
10253
+  as_test_x='
10254
+    eval sh -c '\''
10255
+      if test -d "$1"; then
10256
+       test -d "$1/.";
10257
+      else
10258
+       case $1 in #(
10259
+       -*)set "./$1";;
10260
+       esac;
10261
+       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10262
+       ???[sx]*):;;*)false;;esac;fi
10263
+    '\'' sh
10264
+  '
10265
+fi
10266
+as_executable_p=$as_test_x
10267
+
10268
+# Sed expression to map a string onto a valid CPP name.
10269
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10270
+
10271
+# Sed expression to map a string onto a valid variable name.
10272
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10273
+
10274
+
10275
+exec 6>&1
10276
+## ----------------------------------- ##
10277
+## Main body of $CONFIG_STATUS script. ##
10278
+## ----------------------------------- ##
10279
+_ASEOF
10280
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
10281
+
10282
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10283
+# Save the log message, to keep $0 and so on meaningful, and to
10284
+# report actual input values of CONFIG_FILES etc. instead of their
10285
+# values after options handling.
10286
+ac_log="
10287
+This file was extended by newlib $as_me 2.5.0, which was
10288
+generated by GNU Autoconf 2.68.  Invocation command line was
10289
+
10290
+  CONFIG_FILES    = $CONFIG_FILES
10291
+  CONFIG_HEADERS  = $CONFIG_HEADERS
10292
+  CONFIG_LINKS    = $CONFIG_LINKS
10293
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
10294
+  $ $0 $@
10295
+
10296
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
10297
+"
10298
+
10299
+_ACEOF
10300
+
10301
+case $ac_config_files in *"
10302
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
10303
+esac
10304
+
10305
+
10306
+
10307
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10308
+# Files that config.status was made for.
10309
+config_files="$ac_config_files"
10310
+config_commands="$ac_config_commands"
10311
+
10312
+_ACEOF
10313
+
10314
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10315
+ac_cs_usage="\
10316
+\`$as_me' instantiates files and other configuration actions
10317
+from templates according to the current configuration.  Unless the files
10318
+and actions are specified as TAGs, all are instantiated by default.
10319
+
10320
+Usage: $0 [OPTION]... [TAG]...
10321
+
10322
+  -h, --help       print this help, then exit
10323
+  -V, --version    print version number and configuration settings, then exit
10324
+      --config     print configuration, then exit
10325
+  -q, --quiet, --silent
10326
+                   do not print progress messages
10327
+  -d, --debug      don't remove temporary files
10328
+      --recheck    update $as_me by reconfiguring in the same conditions
10329
+      --file=FILE[:TEMPLATE]
10330
+                   instantiate the configuration file FILE
10331
+
10332
+Configuration files:
10333
+$config_files
10334
+
10335
+Configuration commands:
10336
+$config_commands
10337
+
10338
+Report bugs to the package provider."
10339
+
10340
+_ACEOF
10341
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10342
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10343
+ac_cs_version="\\
10344
+newlib config.status 2.5.0
10345
+configured by $0, generated by GNU Autoconf 2.68,
10346
+  with options \\"\$ac_cs_config\\"
10347
+
10348
+Copyright (C) 2010 Free Software Foundation, Inc.
10349
+This config.status script is free software; the Free Software Foundation
10350
+gives unlimited permission to copy, distribute and modify it."
10351
+
10352
+ac_pwd='$ac_pwd'
10353
+srcdir='$srcdir'
10354
+INSTALL='$INSTALL'
10355
+MKDIR_P='$MKDIR_P'
10356
+AWK='$AWK'
10357
+test -n "\$AWK" || AWK=awk
10358
+_ACEOF
10359
+
10360
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10361
+# The default lists apply if the user does not specify any file.
10362
+ac_need_defaults=:
10363
+while test $# != 0
10364
+do
10365
+  case $1 in
10366
+  --*=?*)
10367
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10368
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10369
+    ac_shift=:
10370
+    ;;
10371
+  --*=)
10372
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10373
+    ac_optarg=
10374
+    ac_shift=:
10375
+    ;;
10376
+  *)
10377
+    ac_option=$1
10378
+    ac_optarg=$2
10379
+    ac_shift=shift
10380
+    ;;
10381
+  esac
10382
+
10383
+  case $ac_option in
10384
+  # Handling of the options.
10385
+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10386
+    ac_cs_recheck=: ;;
10387
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10388
+    $as_echo "$ac_cs_version"; exit ;;
10389
+  --config | --confi | --conf | --con | --co | --c )
10390
+    $as_echo "$ac_cs_config"; exit ;;
10391
+  --debug | --debu | --deb | --de | --d | -d )
10392
+    debug=: ;;
10393
+  --file | --fil | --fi | --f )
10394
+    $ac_shift
10395
+    case $ac_optarg in
10396
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10397
+    '') as_fn_error $? "missing file argument" ;;
10398
+    esac
10399
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
10400
+    ac_need_defaults=false;;
10401
+  --he | --h |  --help | --hel | -h )
10402
+    $as_echo "$ac_cs_usage"; exit ;;
10403
+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10404
+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10405
+    ac_cs_silent=: ;;
10406
+
10407
+  # This is an error.
10408
+  -*) as_fn_error $? "unrecognized option: \`$1'
10409
+Try \`$0 --help' for more information." ;;
10410
+
10411
+  *) as_fn_append ac_config_targets " $1"
10412
+     ac_need_defaults=false ;;
10413
+
10414
+  esac
10415
+  shift
10416
+done
10417
+
10418
+ac_configure_extra_args=
10419
+
10420
+if $ac_cs_silent; then
10421
+  exec 6>/dev/null
10422
+  ac_configure_extra_args="$ac_configure_extra_args --silent"
10423
+fi
10424
+
10425
+_ACEOF
10426
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10427
+if \$ac_cs_recheck; then
10428
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10429
+  shift
10430
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10431
+  CONFIG_SHELL='$SHELL'
10432
+  export CONFIG_SHELL
10433
+  exec "\$@"
10434
+fi
10435
+
10436
+_ACEOF
10437
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10438
+exec 5>>config.log
10439
+{
10440
+  echo
10441
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10442
+## Running $as_me. ##
10443
+_ASBOX
10444
+  $as_echo "$ac_log"
10445
+} >&5
10446
+
10447
+_ACEOF
10448
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10449
+#
10450
+# INIT-COMMANDS
10451
+#
10452
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10453
+
10454
+_ACEOF
10455
+
10456
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10457
+
10458
+# Handling of arguments.
10459
+for ac_config_target in $ac_config_targets
10460
+do
10461
+  case $ac_config_target in
10462
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
10463
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10464
+
10465
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
10466
+  esac
10467
+done
10468
+
10469
+
10470
+# If the user did not use the arguments to specify the items to instantiate,
10471
+# then the envvar interface is used.  Set only those that are not.
10472
+# We use the long form for the default assignment because of an extremely
10473
+# bizarre bug on SunOS 4.1.3.
10474
+if $ac_need_defaults; then
10475
+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10476
+  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
10477
+fi
10478
+
10479
+# Have a temporary directory for convenience.  Make it in the build tree
10480
+# simply because there is no reason against having it here, and in addition,
10481
+# creating and moving files from /tmp can sometimes cause problems.
10482
+# Hook for its removal unless debugging.
10483
+# Note that there is a small window in which the directory will not be cleaned:
10484
+# after its creation but before its name has been assigned to `$tmp'.
10485
+$debug ||
10486
+{
10487
+  tmp= ac_tmp=
10488
+  trap 'exit_status=$?
10489
+  : "${ac_tmp:=$tmp}"
10490
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
10491
+' 0
10492
+  trap 'as_fn_exit 1' 1 2 13 15
10493
+}
10494
+# Create a (secure) tmp directory for tmp files.
10495
+
10496
+{
10497
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10498
+  test -d "$tmp"
10499
+}  ||
10500
+{
10501
+  tmp=./conf$$-$RANDOM
10502
+  (umask 077 && mkdir "$tmp")
10503
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
10504
+ac_tmp=$tmp
10505
+
10506
+# Set up the scripts for CONFIG_FILES section.
10507
+# No need to generate them if there are no CONFIG_FILES.
10508
+# This happens for instance with `./config.status config.h'.
10509
+if test -n "$CONFIG_FILES"; then
10510
+
10511
+
10512
+ac_cr=`echo X | tr X '\015'`
10513
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
10514
+# But we know of no other shell where ac_cr would be empty at this
10515
+# point, so we can use a bashism as a fallback.
10516
+if test "x$ac_cr" = x; then
10517
+  eval ac_cr=\$\'\\r\'
10518
+fi
10519
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10520
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10521
+  ac_cs_awk_cr='\\r'
10522
+else
10523
+  ac_cs_awk_cr=$ac_cr
10524
+fi
10525
+
10526
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
10527
+_ACEOF
10528
+
10529
+
10530
+{
10531
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
10532
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10533
+  echo "_ACEOF"
10534
+} >conf$$subs.sh ||
10535
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10536
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
10537
+ac_delim='%!_!# '
10538
+for ac_last_try in false false false false false :; do
10539
+  . ./conf$$subs.sh ||
10540
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10541
+
10542
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
10543
+  if test $ac_delim_n = $ac_delim_num; then
10544
+    break
10545
+  elif $ac_last_try; then
10546
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10547
+  else
10548
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10549
+  fi
10550
+done
10551
+rm -f conf$$subs.sh
10552
+
10553
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10554
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10555
+_ACEOF
10556
+sed -n '
10557
+h
10558
+s/^/S["/; s/!.*/"]=/
10559
+p
10560
+g
10561
+s/^[^!]*!//
10562
+:repl
10563
+t repl
10564
+s/'"$ac_delim"'$//
10565
+t delim
10566
+:nl
10567
+h
10568
+s/\(.\{148\}\)..*/\1/
10569
+t more1
10570
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
10571
+p
10572
+n
10573
+b repl
10574
+:more1
10575
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10576
+p
10577
+g
10578
+s/.\{148\}//
10579
+t nl
10580
+:delim
10581
+h
10582
+s/\(.\{148\}\)..*/\1/
10583
+t more2
10584
+s/["\\]/\\&/g; s/^/"/; s/$/"/
10585
+p
10586
+b
10587
+:more2
10588
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10589
+p
10590
+g
10591
+s/.\{148\}//
10592
+t delim
10593
+' <conf$$subs.awk | sed '
10594
+/^[^""]/{
10595
+  N
10596
+  s/\n//
10597
+}
10598
+' >>$CONFIG_STATUS || ac_write_fail=1
10599
+rm -f conf$$subs.awk
10600
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10601
+_ACAWK
10602
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10603
+  for (key in S) S_is_set[key] = 1
10604
+  FS = ""
10605
+
10606
+}
10607
+{
10608
+  line = $ 0
10609
+  nfields = split(line, field, "@")
10610
+  substed = 0
10611
+  len = length(field[1])
10612
+  for (i = 2; i < nfields; i++) {
10613
+    key = field[i]
10614
+    keylen = length(key)
10615
+    if (S_is_set[key]) {
10616
+      value = S[key]
10617
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10618
+      len += length(value) + length(field[++i])
10619
+      substed = 1
10620
+    } else
10621
+      len += 1 + keylen
10622
+  }
10623
+
10624
+  print line
10625
+}
10626
+
10627
+_ACAWK
10628
+_ACEOF
10629
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10630
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10631
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10632
+else
10633
+  cat
10634
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10635
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10636
+_ACEOF
10637
+
10638
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10639
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10640
+# trailing colons and then remove the whole line if VPATH becomes empty
10641
+# (actually we leave an empty line to preserve line numbers).
10642
+if test "x$srcdir" = x.; then
10643
+  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
10644
+h
10645
+s///
10646
+s/^/:/
10647
+s/[     ]*$/:/
10648
+s/:\$(srcdir):/:/g
10649
+s/:\${srcdir}:/:/g
10650
+s/:@srcdir@:/:/g
10651
+s/^:*//
10652
+s/:*$//
10653
+x
10654
+s/\(=[  ]*\).*/\1/
10655
+G
10656
+s/\n//
10657
+s/^[^=]*=[      ]*$//
10658
+}'
10659
+fi
10660
+
10661
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10662
+fi # test -n "$CONFIG_FILES"
10663
+
10664
+
10665
+eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
10666
+shift
10667
+for ac_tag
10668
+do
10669
+  case $ac_tag in
10670
+  :[FHLC]) ac_mode=$ac_tag; continue;;
10671
+  esac
10672
+  case $ac_mode$ac_tag in
10673
+  :[FHL]*:*);;
10674
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10675
+  :[FH]-) ac_tag=-:-;;
10676
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10677
+  esac
10678
+  ac_save_IFS=$IFS
10679
+  IFS=:
10680
+  set x $ac_tag
10681
+  IFS=$ac_save_IFS
10682
+  shift
10683
+  ac_file=$1
10684
+  shift
10685
+
10686
+  case $ac_mode in
10687
+  :L) ac_source=$1;;
10688
+  :[FH])
10689
+    ac_file_inputs=
10690
+    for ac_f
10691
+    do
10692
+      case $ac_f in
10693
+      -) ac_f="$ac_tmp/stdin";;
10694
+      *) # Look for the file first in the build tree, then in the source tree
10695
+        # (if the path is not absolute).  The absolute path cannot be DOS-style,
10696
+        # because $ac_f cannot contain `:'.
10697
+        test -f "$ac_f" ||
10698
+          case $ac_f in
10699
+          [\\/$]*) false;;
10700
+          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10701
+          esac ||
10702
+          as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10703
+      esac
10704
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10705
+      as_fn_append ac_file_inputs " '$ac_f'"
10706
+    done
10707
+
10708
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
10709
+    # use $as_me), people would be surprised to read:
10710
+    #    /* config.h.  Generated by config.status.  */
10711
+    configure_input='Generated from '`
10712
+         $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10713
+       `' by configure.'
10714
+    if test x"$ac_file" != x-; then
10715
+      configure_input="$ac_file.  $configure_input"
10716
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10717
+$as_echo "$as_me: creating $ac_file" >&6;}
10718
+    fi
10719
+    # Neutralize special characters interpreted by sed in replacement strings.
10720
+    case $configure_input in #(
10721
+    *\&* | *\|* | *\\* )
10722
+       ac_sed_conf_input=`$as_echo "$configure_input" |
10723
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
10724
+    *) ac_sed_conf_input=$configure_input;;
10725
+    esac
10726
+
10727
+    case $ac_tag in
10728
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
10729
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10730
+    esac
10731
+    ;;
10732
+  esac
10733
+
10734
+  ac_dir=`$as_dirname -- "$ac_file" ||
10735
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10736
+        X"$ac_file" : 'X\(//\)[^/]' \| \
10737
+        X"$ac_file" : 'X\(//\)$' \| \
10738
+        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10739
+$as_echo X"$ac_file" |
10740
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10741
+           s//\1/
10742
+           q
10743
+         }
10744
+         /^X\(\/\/\)[^/].*/{
10745
+           s//\1/
10746
+           q
10747
+         }
10748
+         /^X\(\/\/\)$/{
10749
+           s//\1/
10750
+           q
10751
+         }
10752
+         /^X\(\/\).*/{
10753
+           s//\1/
10754
+           q
10755
+         }
10756
+         s/.*/./; q'`
10757
+  as_dir="$ac_dir"; as_fn_mkdir_p
10758
+  ac_builddir=.
10759
+
10760
+case "$ac_dir" in
10761
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10762
+*)
10763
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10764
+  # A ".." for each directory in $ac_dir_suffix.
10765
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10766
+  case $ac_top_builddir_sub in
10767
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10768
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10769
+  esac ;;
10770
+esac
10771
+ac_abs_top_builddir=$ac_pwd
10772
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
10773
+# for backward compatibility:
10774
+ac_top_builddir=$ac_top_build_prefix
10775
+
10776
+case $srcdir in
10777
+  .)  # We are building in place.
10778
+    ac_srcdir=.
10779
+    ac_top_srcdir=$ac_top_builddir_sub
10780
+    ac_abs_top_srcdir=$ac_pwd ;;
10781
+  [\\/]* | ?:[\\/]* )  # Absolute name.
10782
+    ac_srcdir=$srcdir$ac_dir_suffix;
10783
+    ac_top_srcdir=$srcdir
10784
+    ac_abs_top_srcdir=$srcdir ;;
10785
+  *) # Relative name.
10786
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10787
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
10788
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10789
+esac
10790
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10791
+
10792
+
10793
+  case $ac_mode in
10794
+  :F)
10795
+  #
10796
+  # CONFIG_FILE
10797
+  #
10798
+
10799
+  case $INSTALL in
10800
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10801
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10802
+  esac
10803
+  ac_MKDIR_P=$MKDIR_P
10804
+  case $MKDIR_P in
10805
+  [\\/$]* | ?:[\\/]* ) ;;
10806
+  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10807
+  esac
10808
+_ACEOF
10809
+
10810
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10811
+# If the template does not know about datarootdir, expand it.
10812
+# FIXME: This hack should be removed a few years after 2.60.
10813
+ac_datarootdir_hack=; ac_datarootdir_seen=
10814
+ac_sed_dataroot='
10815
+/datarootdir/ {
10816
+  p
10817
+  q
10818
+}
10819
+/@datadir@/p
10820
+/@docdir@/p
10821
+/@infodir@/p
10822
+/@localedir@/p
10823
+/@mandir@/p'
10824
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10825
+*datarootdir*) ac_datarootdir_seen=yes;;
10826
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10827
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10828
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10829
+_ACEOF
10830
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10831
+  ac_datarootdir_hack='
10832
+  s&@datadir@&$datadir&g
10833
+  s&@docdir@&$docdir&g
10834
+  s&@infodir@&$infodir&g
10835
+  s&@localedir@&$localedir&g
10836
+  s&@mandir@&$mandir&g
10837
+  s&\\\${datarootdir}&$datarootdir&g' ;;
10838
+esac
10839
+_ACEOF
10840
+
10841
+# Neutralize VPATH when `$srcdir' = `.'.
10842
+# Shell code in configure.ac might set extrasub.
10843
+# FIXME: do we really want to maintain this feature?
10844
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10845
+ac_sed_extra="$ac_vpsub
10846
+$extrasub
10847
+_ACEOF
10848
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10849
+:t
10850
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10851
+s|@configure_input@|$ac_sed_conf_input|;t t
10852
+s&@top_builddir@&$ac_top_builddir_sub&;t t
10853
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
10854
+s&@srcdir@&$ac_srcdir&;t t
10855
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
10856
+s&@top_srcdir@&$ac_top_srcdir&;t t
10857
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10858
+s&@builddir@&$ac_builddir&;t t
10859
+s&@abs_builddir@&$ac_abs_builddir&;t t
10860
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10861
+s&@INSTALL@&$ac_INSTALL&;t t
10862
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
10863
+$ac_datarootdir_hack
10864
+"
10865
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10866
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10867
+
10868
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10869
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10870
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
10871
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
10872
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10873
+which seems to be undefined.  Please make sure it is defined" >&5
10874
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10875
+which seems to be undefined.  Please make sure it is defined" >&2;}
10876
+
10877
+  rm -f "$ac_tmp/stdin"
10878
+  case $ac_file in
10879
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10880
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10881
+  esac \
10882
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10883
+ ;;
10884
+
10885
+
10886
+  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10887
+$as_echo "$as_me: executing $ac_file commands" >&6;}
10888
+ ;;
10889
+  esac
10890
+
10891
+
10892
+  case $ac_file$ac_mode in
10893
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10894
+  # Autoconf 2.62 quotes --file arguments for eval, but not when files
10895
+  # are listed without --file.  Let's play safe and only enable the eval
10896
+  # if we detect the quoting.
10897
+  case $CONFIG_FILES in
10898
+  *\'*) eval set x "$CONFIG_FILES" ;;
10899
+  *)   set x $CONFIG_FILES ;;
10900
+  esac
10901
+  shift
10902
+  for mf
10903
+  do
10904
+    # Strip MF so we end up with the name of the file.
10905
+    mf=`echo "$mf" | sed -e 's/:.*$//'`
10906
+    # Check whether this is an Automake generated Makefile or not.
10907
+    # We used to match only the files named `Makefile.in', but
10908
+    # some people rename them; so instead we look at the file content.
10909
+    # Grep'ing the first line is not enough: some people post-process
10910
+    # each Makefile.in and add a new line on top of each file to say so.
10911
+    # Grep'ing the whole file is not good either: AIX grep has a line
10912
+    # limit of 2048, but all sed's we know have understand at least 4000.
10913
+    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10914
+      dirpart=`$as_dirname -- "$mf" ||
10915
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10916
+        X"$mf" : 'X\(//\)[^/]' \| \
10917
+        X"$mf" : 'X\(//\)$' \| \
10918
+        X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10919
+$as_echo X"$mf" |
10920
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10921
+           s//\1/
10922
+           q
10923
+         }
10924
+         /^X\(\/\/\)[^/].*/{
10925
+           s//\1/
10926
+           q
10927
+         }
10928
+         /^X\(\/\/\)$/{
10929
+           s//\1/
10930
+           q
10931
+         }
10932
+         /^X\(\/\).*/{
10933
+           s//\1/
10934
+           q
10935
+         }
10936
+         s/.*/./; q'`
10937
+    else
10938
+      continue
10939
+    fi
10940
+    # Extract the definition of DEPDIR, am__include, and am__quote
10941
+    # from the Makefile without running `make'.
10942
+    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10943
+    test -z "$DEPDIR" && continue
10944
+    am__include=`sed -n 's/^am__include = //p' < "$mf"`
10945
+    test -z "am__include" && continue
10946
+    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10947
+    # When using ansi2knr, U may be empty or an underscore; expand it
10948
+    U=`sed -n 's/^U = //p' < "$mf"`
10949
+    # Find all dependency output files, they are included files with
10950
+    # $(DEPDIR) in their names.  We invoke sed twice because it is the
10951
+    # simplest approach to changing $(DEPDIR) to its actual value in the
10952
+    # expansion.
10953
+    for file in `sed -n "
10954
+      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10955
+        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10956
+      # Make sure the directory exists.
10957
+      test -f "$dirpart/$file" && continue
10958
+      fdir=`$as_dirname -- "$file" ||
10959
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10960
+        X"$file" : 'X\(//\)[^/]' \| \
10961
+        X"$file" : 'X\(//\)$' \| \
10962
+        X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10963
+$as_echo X"$file" |
10964
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10965
+           s//\1/
10966
+           q
10967
+         }
10968
+         /^X\(\/\/\)[^/].*/{
10969
+           s//\1/
10970
+           q
10971
+         }
10972
+         /^X\(\/\/\)$/{
10973
+           s//\1/
10974
+           q
10975
+         }
10976
+         /^X\(\/\).*/{
10977
+           s//\1/
10978
+           q
10979
+         }
10980
+         s/.*/./; q'`
10981
+      as_dir=$dirpart/$fdir; as_fn_mkdir_p
10982
+      # echo "creating $dirpart/$file"
10983
+      echo '# dummy' > "$dirpart/$file"
10984
+    done
10985
+  done
10986
+}
10987
+ ;;
10988
+
10989
+  esac
10990
+done # for ac_tag
10991
+
10992
+
10993
+as_fn_exit 0
10994
+_ACEOF
10995
+ac_clean_files=$ac_clean_files_save
10996
+
10997
+test $ac_write_fail = 0 ||
10998
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10999
+
11000
+
11001
+# configure is writing to config.log, and then calls config.status.
11002
+# config.status does its own redirection, appending to config.log.
11003
+# Unfortunately, on DOS this fails, as config.log is still kept open
11004
+# by configure, so config.status won't be able to write to it; its
11005
+# output is simply discarded.  So we exec the FD to /dev/null,
11006
+# effectively closing config.log, so it can be properly (re)opened and
11007
+# appended to by config.status.  When coming back to configure, we
11008
+# need to make the FD available again.
11009
+if test "$no_create" != yes; then
11010
+  ac_cs_success=:
11011
+  ac_config_status_args=
11012
+  test "$silent" = yes &&
11013
+    ac_config_status_args="$ac_config_status_args --quiet"
11014
+  exec 5>/dev/null
11015
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11016
+  exec 5>>config.log
11017
+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11018
+  # would make configure fail if this is the last instruction.
11019
+  $ac_cs_success || as_fn_exit 1
11020
+fi
11021
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
11022
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11023
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11024
+fi
11025
+
11026
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
11027
--- newlib-2.5.0/newlib/libc/machine/zip/configure.in   1969-12-31 19:00:00.000000000 -0500
11028
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/configure.in       2017-01-13 09:07:32.069910859 -0500
11029
@@ -0,0 +1,14 @@
11030
+dnl This is the newlib/libc/machine/or1k configure.in file.
11031
+dnl Process this file with autoconf to produce a configure script.
11032
+
11033
+AC_PREREQ(2.59)
11034
+AC_INIT([newlib],[NEWLIB_VERSION])
11035
+AC_CONFIG_SRCDIR([Makefile.am])
11036
+
11037
+dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
11038
+AC_CONFIG_AUX_DIR(../../../..)
11039
+
11040
+NEWLIB_CONFIGURE(../../..)
11041
+
11042
+AC_CONFIG_FILES([Makefile])
11043
+AC_OUTPUT
11044
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
11045
--- newlib-2.5.0/newlib/libc/machine/zip/ieeefp.h       1969-12-31 19:00:00.000000000 -0500
11046
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/ieeefp.h   2017-01-13 09:39:02.419391050 -0500
11047
@@ -0,0 +1,45 @@
11048
+////////////////////////////////////////////////////////////////////////////////
11049
+//
11050
+// Filename:   ieeefp.h
11051
+//
11052
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
11053
+//
11054
+// Purpose:    To define, for the sake of newlib, how floating point works
11055
+//             on the ZipCPU.
11056
+//
11057
+//
11058
+// Creator:    Dan Gisselquist, Ph.D.
11059
+//             Gisselquist Technology, LLC
11060
+//
11061
+////////////////////////////////////////////////////////////////////////////////
11062
+//
11063
+// Copyright (C) 2017, Gisselquist Technology, LLC
11064
+//
11065
+// This program is free software (firmware): you can redistribute it and/or
11066
+// modify it under the terms of  the GNU General Public License as published
11067
+// by the Free Software Foundation, either version 3 of the License, or (at
11068
+// your option) any later version.
11069
+//
11070
+// This program is distributed in the hope that it will be useful, but WITHOUT
11071
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
11072
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11073
+// for more details.
11074
+//
11075
+// License:    GPL, v3, as defined and found on www.gnu.org,
11076
+//             http://www.gnu.org/licenses/gpl.html
11077
+//
11078
+//
11079
+////////////////////////////////////////////////////////////////////////////////
11080
+//
11081
+//
11082
+#ifdef __ZIPCPU__
11083
+
11084
+#ifndef        __IEEE_BIG_ENDIAN
11085
+#define        __IEEE_BIG_ENDIAN
11086
+#endif
11087
+
11088
+#ifndef        _FLOAT_ARG
11089
+#define        _FLOAT_ARG      float
11090
+#endif
11091
+
11092
+#endif
11093
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
11094
--- newlib-2.5.0/newlib/libc/machine/zip/Makefile.am    1969-12-31 19:00:00.000000000 -0500
11095
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/Makefile.am        2017-01-13 09:10:39.033134510 -0500
11096
@@ -0,0 +1,16 @@
11097
+## Process this file with automake to generate Makefile.in
11098
+
11099
+AUTOMAKE_OPTIONS = cygnus
11100
+
11101
+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
11102
+
11103
+AM_CCASFLAGS = $(INCLUDES)
11104
+
11105
+noinst_LIBRARIES = lib.a
11106
+
11107
+lib_a_SOURCES = setjmp.S
11108
+lib_a_CCASFLAGS=$(AM_CCASFLAGS)
11109
+lib_a_CFLAGS=$(AM_CFLAGS)
11110
+
11111
+ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
11112
+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
11113
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
11114
--- newlib-2.5.0/newlib/libc/machine/zip/Makefile.in    1969-12-31 19:00:00.000000000 -0500
11115
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/Makefile.in        2017-01-13 09:11:20.927649493 -0500
11116
@@ -0,0 +1,440 @@
11117
+# Makefile.in generated by automake 1.11.6 from Makefile.am.
11118
+# @configure_input@
11119
+
11120
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
11121
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
11122
+# Foundation, Inc.
11123
+# This Makefile.in is free software; the Free Software Foundation
11124
+# gives unlimited permission to copy and/or distribute it,
11125
+# with or without modifications, as long as this notice is preserved.
11126
+
11127
+# This program is distributed in the hope that it will be useful,
11128
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11129
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11130
+# PARTICULAR PURPOSE.
11131
+
11132
+@SET_MAKE@
11133
+
11134
+VPATH = @srcdir@
11135
+am__make_dryrun = \
11136
+  { \
11137
+    am__dry=no; \
11138
+    case $$MAKEFLAGS in \
11139
+      *\\[\ \  ]*) \
11140
+        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
11141
+          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
11142
+      *) \
11143
+        for am__flg in $$MAKEFLAGS; do \
11144
+          case $$am__flg in \
11145
+            *=*|--*) ;; \
11146
+            *n*) am__dry=yes; break;; \
11147
+          esac; \
11148
+        done;; \
11149
+    esac; \
11150
+    test $$am__dry = yes; \
11151
+  }
11152
+pkgdatadir = $(datadir)/@PACKAGE@
11153
+pkgincludedir = $(includedir)/@PACKAGE@
11154
+pkglibdir = $(libdir)/@PACKAGE@
11155
+pkglibexecdir = $(libexecdir)/@PACKAGE@
11156
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
11157
+install_sh_DATA = $(install_sh) -c -m 644
11158
+install_sh_PROGRAM = $(install_sh) -c
11159
+install_sh_SCRIPT = $(install_sh) -c
11160
+INSTALL_HEADER = $(INSTALL_DATA)
11161
+transform = $(program_transform_name)
11162
+NORMAL_INSTALL = :
11163
+PRE_INSTALL = :
11164
+POST_INSTALL = :
11165
+NORMAL_UNINSTALL = :
11166
+PRE_UNINSTALL = :
11167
+POST_UNINSTALL = :
11168
+build_triplet = @build@
11169
+host_triplet = @host@
11170
+subdir = .
11171
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
11172
+       $(top_srcdir)/configure $(am__configure_deps) \
11173
+       $(srcdir)/../../../../mkinstalldirs
11174
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
11175
+am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
11176
+       $(top_srcdir)/configure.in
11177
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
11178
+       $(ACLOCAL_M4)
11179
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
11180
+ configure.lineno config.status.lineno
11181
+mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
11182
+CONFIG_CLEAN_FILES =
11183
+CONFIG_CLEAN_VPATH_FILES =
11184
+LIBRARIES = $(noinst_LIBRARIES)
11185
+ARFLAGS = cru
11186
+lib_a_AR = $(AR) $(ARFLAGS)
11187
+lib_a_LIBADD =
11188
+am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT)
11189
+lib_a_OBJECTS = $(am_lib_a_OBJECTS)
11190
+DEFAULT_INCLUDES = -I.@am__isrc@
11191
+depcomp =
11192
+am__depfiles_maybe =
11193
+CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
11194
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
11195
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
11196
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
11197
+CCLD = $(CC)
11198
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
11199
+SOURCES = $(lib_a_SOURCES)
11200
+am__can_run_installinfo = \
11201
+  case $$AM_UPDATE_INFO_DIR in \
11202
+    n|no|NO) false;; \
11203
+    *) (install-info --version) >/dev/null 2>&1;; \
11204
+  esac
11205
+ETAGS = etags
11206
+CTAGS = ctags
11207
+ACLOCAL = @ACLOCAL@
11208
+AMTAR = @AMTAR@
11209
+AR = @AR@
11210
+AS = @AS@
11211
+AUTOCONF = @AUTOCONF@
11212
+AUTOHEADER = @AUTOHEADER@
11213
+AUTOMAKE = @AUTOMAKE@
11214
+AWK = @AWK@
11215
+CC = @CC@
11216
+CCAS = @CCAS@
11217
+CCASFLAGS = @CCASFLAGS@
11218
+CCDEPMODE = @CCDEPMODE@
11219
+CYGPATH_W = @CYGPATH_W@
11220
+DEFS = @DEFS@
11221
+DEPDIR = @DEPDIR@
11222
+ECHO_C = @ECHO_C@
11223
+ECHO_N = @ECHO_N@
11224
+ECHO_T = @ECHO_T@
11225
+INSTALL = @INSTALL@
11226
+INSTALL_DATA = @INSTALL_DATA@
11227
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
11228
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
11229
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
11230
+LDFLAGS = @LDFLAGS@
11231
+LIBOBJS = @LIBOBJS@
11232
+LIBS = @LIBS@
11233
+LTLIBOBJS = @LTLIBOBJS@
11234
+MAINT = @MAINT@
11235
+MAKEINFO = @MAKEINFO@
11236
+MKDIR_P = @MKDIR_P@
11237
+NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
11238
+NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
11239
+OBJEXT = @OBJEXT@
11240
+PACKAGE = @PACKAGE@
11241
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
11242
+PACKAGE_NAME = @PACKAGE_NAME@
11243
+PACKAGE_STRING = @PACKAGE_STRING@
11244
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
11245
+PACKAGE_URL = @PACKAGE_URL@
11246
+PACKAGE_VERSION = @PACKAGE_VERSION@
11247
+PATH_SEPARATOR = @PATH_SEPARATOR@
11248
+RANLIB = @RANLIB@
11249
+READELF = @READELF@
11250
+SET_MAKE = @SET_MAKE@
11251
+SHELL = @SHELL@
11252
+STRIP = @STRIP@
11253
+VERSION = @VERSION@
11254
+abs_builddir = @abs_builddir@
11255
+abs_srcdir = @abs_srcdir@
11256
+abs_top_builddir = @abs_top_builddir@
11257
+abs_top_srcdir = @abs_top_srcdir@
11258
+aext = @aext@
11259
+am__include = @am__include@
11260
+am__leading_dot = @am__leading_dot@
11261
+am__quote = @am__quote@
11262
+am__tar = @am__tar@
11263
+am__untar = @am__untar@
11264
+bindir = @bindir@
11265
+build = @build@
11266
+build_alias = @build_alias@
11267
+build_cpu = @build_cpu@
11268
+build_os = @build_os@
11269
+build_vendor = @build_vendor@
11270
+builddir = @builddir@
11271
+datadir = @datadir@
11272
+datarootdir = @datarootdir@
11273
+docdir = @docdir@
11274
+dvidir = @dvidir@
11275
+exec_prefix = @exec_prefix@
11276
+host = @host@
11277
+host_alias = @host_alias@
11278
+host_cpu = @host_cpu@
11279
+host_os = @host_os@
11280
+host_vendor = @host_vendor@
11281
+htmldir = @htmldir@
11282
+includedir = @includedir@
11283
+infodir = @infodir@
11284
+install_sh = @install_sh@
11285
+libdir = @libdir@
11286
+libexecdir = @libexecdir@
11287
+libm_machine_dir = @libm_machine_dir@
11288
+localedir = @localedir@
11289
+localstatedir = @localstatedir@
11290
+lpfx = @lpfx@
11291
+machine_dir = @machine_dir@
11292
+mandir = @mandir@
11293
+mkdir_p = @mkdir_p@
11294
+newlib_basedir = @newlib_basedir@
11295
+oext = @oext@
11296
+oldincludedir = @oldincludedir@
11297
+pdfdir = @pdfdir@
11298
+prefix = @prefix@
11299
+program_transform_name = @program_transform_name@
11300
+psdir = @psdir@
11301
+sbindir = @sbindir@
11302
+sharedstatedir = @sharedstatedir@
11303
+srcdir = @srcdir@
11304
+sys_dir = @sys_dir@
11305
+sysconfdir = @sysconfdir@
11306
+target_alias = @target_alias@
11307
+top_build_prefix = @top_build_prefix@
11308
+top_builddir = @top_builddir@
11309
+top_srcdir = @top_srcdir@
11310
+AUTOMAKE_OPTIONS = cygnus
11311
+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
11312
+AM_CCASFLAGS = $(INCLUDES)
11313
+noinst_LIBRARIES = lib.a
11314
+lib_a_SOURCES = setjmp.S
11315
+lib_a_CCASFLAGS = $(AM_CCASFLAGS)
11316
+lib_a_CFLAGS = $(AM_CFLAGS)
11317
+ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
11318
+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
11319
+all: all-am
11320
+
11321
+.SUFFIXES:
11322
+.SUFFIXES: .S .o .obj
11323
+am--refresh: Makefile
11324
+       @:
11325
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
11326
+       @for dep in $?; do \
11327
+         case '$(am__configure_deps)' in \
11328
+           *$$dep*) \
11329
+             echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
11330
+             $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
11331
+               && exit 0; \
11332
+             exit 1;; \
11333
+         esac; \
11334
+       done; \
11335
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
11336
+       $(am__cd) $(top_srcdir) && \
11337
+         $(AUTOMAKE) --cygnus Makefile
11338
+.PRECIOUS: Makefile
11339
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
11340
+       @case '$?' in \
11341
+         *config.status*) \
11342
+           echo ' $(SHELL) ./config.status'; \
11343
+           $(SHELL) ./config.status;; \
11344
+         *) \
11345
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
11346
+           cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
11347
+       esac;
11348
+
11349
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
11350
+       $(SHELL) ./config.status --recheck
11351
+
11352
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
11353
+       $(am__cd) $(srcdir) && $(AUTOCONF)
11354
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
11355
+       $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
11356
+$(am__aclocal_m4_deps):
11357
+
11358
+clean-noinstLIBRARIES:
11359
+       -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
11360
+lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) $(EXTRA_lib_a_DEPENDENCIES)
11361
+       -rm -f lib.a
11362
+       $(lib_a_AR) lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
11363
+       $(RANLIB) lib.a
11364
+
11365
+mostlyclean-compile:
11366
+       -rm -f *.$(OBJEXT)
11367
+
11368
+distclean-compile:
11369
+       -rm -f *.tab.c
11370
+
11371
+.S.o:
11372
+       $(CPPASCOMPILE) -c -o $@ $<
11373
+
11374
+.S.obj:
11375
+       $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
11376
+
11377
+lib_a-setjmp.o: setjmp.S
11378
+       $(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
11379
+
11380
+lib_a-setjmp.obj: setjmp.S
11381
+       $(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`
11382
+
11383
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
11384
+       list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
11385
+       unique=`for i in $$list; do \
11386
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11387
+         done | \
11388
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11389
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11390
+       mkid -fID $$unique
11391
+tags: TAGS
11392
+
11393
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
11394
+               $(TAGS_FILES) $(LISP)
11395
+       set x; \
11396
+       here=`pwd`; \
11397
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
11398
+       unique=`for i in $$list; do \
11399
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11400
+         done | \
11401
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11402
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11403
+       shift; \
11404
+       if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
11405
+         test -n "$$unique" || unique=$$empty_fix; \
11406
+         if test $$# -gt 0; then \
11407
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
11408
+             "$$@" $$unique; \
11409
+         else \
11410
+           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
11411
+             $$unique; \
11412
+         fi; \
11413
+       fi
11414
+ctags: CTAGS
11415
+CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
11416
+               $(TAGS_FILES) $(LISP)
11417
+       list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
11418
+       unique=`for i in $$list; do \
11419
+           if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
11420
+         done | \
11421
+         $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
11422
+             END { if (nonempty) { for (i in files) print i; }; }'`; \
11423
+       test -z "$(CTAGS_ARGS)$$unique" \
11424
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
11425
+            $$unique
11426
+
11427
+GTAGS:
11428
+       here=`$(am__cd) $(top_builddir) && pwd` \
11429
+         && $(am__cd) $(top_srcdir) \
11430
+         && gtags -i $(GTAGS_ARGS) "$$here"
11431
+
11432
+distclean-tags:
11433
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
11434
+check-am:
11435
+check: check-am
11436
+all-am: Makefile $(LIBRARIES)
11437
+installdirs:
11438
+install: install-am
11439
+install-exec: install-exec-am
11440
+install-data: install-data-am
11441
+uninstall: uninstall-am
11442
+
11443
+install-am: all-am
11444
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
11445
+
11446
+installcheck: installcheck-am
11447
+install-strip:
11448
+       if test -z '$(STRIP)'; then \
11449
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
11450
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
11451
+             install; \
11452
+       else \
11453
+         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
11454
+           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
11455
+           "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
11456
+       fi
11457
+mostlyclean-generic:
11458
+
11459
+clean-generic:
11460
+
11461
+distclean-generic:
11462
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
11463
+       -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
11464
+
11465
+maintainer-clean-generic:
11466
+       @echo "This command is intended for maintainers to use"
11467
+       @echo "it deletes files that may require special tools to rebuild."
11468
+clean: clean-am
11469
+
11470
+clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
11471
+
11472
+distclean: distclean-am
11473
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
11474
+       -rm -f Makefile
11475
+distclean-am: clean-am distclean-compile distclean-generic \
11476
+       distclean-tags
11477
+
11478
+dvi: dvi-am
11479
+
11480
+dvi-am:
11481
+
11482
+html: html-am
11483
+
11484
+html-am:
11485
+
11486
+info: info-am
11487
+
11488
+info-am:
11489
+
11490
+install-data-am:
11491
+
11492
+install-dvi: install-dvi-am
11493
+
11494
+install-dvi-am:
11495
+
11496
+install-exec-am:
11497
+
11498
+install-html: install-html-am
11499
+
11500
+install-html-am:
11501
+
11502
+install-info: install-info-am
11503
+
11504
+install-info-am:
11505
+
11506
+install-man:
11507
+
11508
+install-pdf: install-pdf-am
11509
+
11510
+install-pdf-am:
11511
+
11512
+install-ps: install-ps-am
11513
+
11514
+install-ps-am:
11515
+
11516
+installcheck-am:
11517
+
11518
+maintainer-clean: maintainer-clean-am
11519
+       -rm -f $(am__CONFIG_DISTCLEAN_FILES)
11520
+       -rm -rf $(top_srcdir)/autom4te.cache
11521
+       -rm -f Makefile
11522
+maintainer-clean-am: distclean-am maintainer-clean-generic
11523
+
11524
+mostlyclean: mostlyclean-am
11525
+
11526
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
11527
+
11528
+pdf: pdf-am
11529
+
11530
+pdf-am:
11531
+
11532
+ps: ps-am
11533
+
11534
+ps-am:
11535
+
11536
+uninstall-am:
11537
+
11538
+.MAKE: install-am install-strip
11539
+
11540
+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
11541
+       clean-generic clean-noinstLIBRARIES ctags distclean \
11542
+       distclean-compile distclean-generic distclean-tags dvi dvi-am \
11543
+       html html-am info info-am install install-am install-data \
11544
+       install-data-am install-dvi install-dvi-am install-exec \
11545
+       install-exec-am install-html install-html-am install-info \
11546
+       install-info-am install-man install-pdf install-pdf-am \
11547
+       install-ps install-ps-am install-strip installcheck \
11548
+       installcheck-am installdirs maintainer-clean \
11549
+       maintainer-clean-generic mostlyclean mostlyclean-compile \
11550
+       mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
11551
+       uninstall-am
11552
+
11553
+
11554
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
11555
+# Otherwise a system limit (for SysV at least) may be exceeded.
11556
+.NOEXPORT:
11557
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
11558
--- newlib-2.5.0/newlib/libc/machine/zip/setjmp.h       1969-12-31 19:00:00.000000000 -0500
11559
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/setjmp.h   2017-01-13 09:43:25.179164867 -0500
11560
@@ -0,0 +1,9 @@
11561
+#ifdef __ZIPCPU__
11562
+
11563
+/* Enough space for all but the PC and R1 registers */
11564
+#define        _JBLEN  14
11565
+#define        _JBTYPE unsigned
11566
+
11567
+typedef        _JBTYPE jmp_buf[_JBLEN];
11568
+
11569
+#endif
11570
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
11571
--- newlib-2.5.0/newlib/libc/machine/zip/setjmp.S       1969-12-31 19:00:00.000000000 -0500
11572
+++ newlib-2.5.0-zip/newlib/libc/machine/zip/setjmp.S   2017-02-06 17:40:50.561372408 -0500
11573
@@ -0,0 +1,68 @@
11574
+////////////////////////////////////////////////////////////////////////////////
11575
+//
11576
+// Filename:   setjmp.S
11577
+//
11578
+// Project:    Zip CPU -- a small, lightweight, RISC CPU soft core
11579
+//
11580
+// Purpose:
11581
+//
11582
+//
11583
+// Creator:    Dan Gisselquist, Ph.D.
11584
+//             Gisselquist Technology, LLC
11585
+//
11586
+////////////////////////////////////////////////////////////////////////////////
11587
+//
11588
+// Copyright (C) 2017, Gisselquist Technology, LLC
11589
+//
11590
+// This program is free software (firmware): you can redistribute it and/or
11591
+// modify it under the terms of  the GNU General Public License as published
11592
+// by the Free Software Foundation, either version 3 of the License, or (at
11593
+// your option) any later version.
11594
+//
11595
+// This program is distributed in the hope that it will be useful, but WITHOUT
11596
+// ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY or
11597
+// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
11598
+// for more details.
11599
+//
11600
+// License:    GPL, v3, as defined and found on www.gnu.org,
11601
+//             http://www.gnu.org/licenses/gpl.html
11602
+//
11603
+//
11604
+////////////////////////////////////////////////////////////////////////////////
11605
+//
11606
+//
11607
+       .text
11608
+       .align  4
11609
+       .global setjmp
11610
+       .type   setjmp,@function
11611
+setjmp:
11612
+       SW      r0,(r1)
11613
+       SW      r5,4(r1)
11614
+       SW      r6,8(r1)
11615
+       SW      r7,12(r1)
11616
+       SW      r8,16(r1)
11617
+       SW      r9,20(r1)
11618
+       SW      r10,24(r1)
11619
+       SW      r11,28(r1)
11620
+       SW      r12,32(r1)
11621
+       SW      sp,36(r1)
11622
+       CLR     R1
11623
+       RETN
11624
+
11625
+
11626
+       .align  4
11627
+       .global longjmp
11628
+       .type   longjmp,@function
11629
+longjmp:
11630
+       LW      (r1),r0
11631
+       LW      4(r1),r5
11632
+       LW      8(r1),r6
11633
+       LW      12(r1),r7
11634
+       LW      16(r1),r8
11635
+       LW      20(r1),r9
11636
+       LW      24(r1),r10
11637
+       LW      28(r1),r11
11638
+       LW      32(r1),r12
11639
+       LW      36(r1),sp
11640
+       LDI     1,R1
11641
+       RETN
11642
diff -Naur '--exclude=*.swp' newlib-2.5.0/newlib/libc/stdlib/mallocr.c newlib-2.5.0-zip/newlib/libc/stdlib/mallocr.c
11643
--- newlib-2.5.0/newlib/libc/stdlib/mallocr.c   2016-12-22 21:33:54.000000000 -0500
11644
+++ newlib-2.5.0-zip/newlib/libc/stdlib/mallocr.c       2017-01-12 15:02:26.321526300 -0500
11645
@@ -303,7 +303,10 @@
11646
 
11647
 #include <reent.h>
11648
 
11649
+#ifndef        POINTER_UINT
11650
 #define POINTER_UINT unsigned _POINTER_INT
11651
+#endif
11652
+
11653
 #define SEPARATE_OBJECTS
11654
 #define HAVE_MMAP 0
11655
 #define MORECORE(size) _sbrk_r(reent_ptr, (size))
11656
@@ -1419,7 +1422,7 @@
11657
 
11658
 /* Check if m has acceptable alignment */
11659
 
11660
-#define aligned_OK(m)    (((unsigned long)((m)) & (MALLOC_ALIGN_MASK)) == 0)
11661
+#define aligned_OK(m)    (((POINTER_UINT)((m)) & (MALLOC_ALIGN_MASK)) == 0)
11662
 
11663
 
11664
 
11665
@@ -3064,7 +3067,7 @@
11666
 
11667
   p = mem2chunk(m);
11668
 
11669
-  if ((((unsigned long)(m)) % alignment) == 0) /* aligned */
11670
+  if ((((POINTER_UINT)(m)) % alignment) == 0) /* aligned */
11671
   {
11672
 #if HAVE_MMAP
11673
     if(chunk_is_mmapped(p))
11674
@@ -3085,7 +3088,7 @@
11675
       this is always possible.
11676
     */
11677
 
11678
-    brk = (char*)mem2chunk(((unsigned long)(m + alignment - 1)) & -alignment);
11679
+    brk = (char*)mem2chunk(((POINTER_UINT)(m + alignment - 1)) & -alignment);
11680
     if ((long)(brk - (char*)(p)) < (long)MINSIZE) brk = brk + alignment;
11681
 
11682
     newp = (mchunkptr)brk;
11683
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
11684
--- newlib-2.5.0/newlib/libc/xdr/xdr_mem.c      2016-12-22 21:33:54.000000000 -0500
11685
+++ newlib-2.5.0-zip/newlib/libc/xdr/xdr_mem.c  2017-01-12 15:11:22.933739845 -0500
11686
@@ -108,7 +108,7 @@
11687
        enum xdr_op op)
11688
 {
11689
   xdrs->x_op = op;
11690
-  xdrs->x_ops = ((unsigned long)addr & (sizeof (int32_t) - 1))
11691
+  xdrs->x_ops = ((POINTER_UINT)addr & (sizeof (int32_t) - 1))
11692
     ? (struct xdr_ops *)&xdrmem_ops_unaligned
11693
     : (struct xdr_ops *)&xdrmem_ops_aligned;
11694
   xdrs->x_private = xdrs->x_base = addr;
11695
@@ -212,7 +212,7 @@
11696
         XDR * xdrs)
11697
 {
11698
   /* XXX w/64-bit pointers, u_int not enough! */
11699
-  return (u_int) ((u_long) xdrs->x_private - (u_long) xdrs->x_base);
11700
+  return (u_int) ((POINTER_UINT) xdrs->x_private - (POINTER_UINT) xdrs->x_base);
11701
 }
11702
 
11703
 static bool_t
11704
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
11705
--- newlib-2.5.0/newlib/libc/xdr/xdr_sizeof.c   2016-12-22 21:33:54.000000000 -0500
11706
+++ newlib-2.5.0-zip/newlib/libc/xdr/xdr_sizeof.c       2017-01-12 15:10:25.306280391 -0500
11707
@@ -88,7 +88,7 @@
11708
     return NULL;
11709
   if (xdrs->x_op != XDR_ENCODE)
11710
     return NULL;
11711
-  if (len < (u_int) (long int) xdrs->x_base)
11712
+  if (len < (u_int) (POINTER_UINT) xdrs->x_base)
11713
     {
11714
       /* x_private was already allocated */
11715
       xdrs->x_handy += len;

powered by: WebSVN 2.1.0

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