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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [m88kbug/] [configure] - Blame information for rev 1774

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

Line No. Rev Author Line
1 56 joel
#! /bin/sh
2
 
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated automatically using autoconf version 2.12.2
5
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6
#
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
 
10
# Defaults:
11
ac_help=
12
ac_default_prefix=/usr/local
13
# Any additions from configure.in:
14
ac_help="$ac_help
15
  --enable-multilib         build many library versions (default)"
16
ac_help="$ac_help
17
  --enable-target-optspace  optimize for space"
18
ac_help="$ac_help
19
  --enable-newlib-mb        enable multibyte support"
20
ac_help="$ac_help
21
  --enable-maintainer-mode enable make rules and dependencies not useful
22
                          (and sometimes confusing) to the casual installer"
23
 
24
# Initialize some variables set by options.
25
# The variables have the same names as the options, with
26
# dashes changed to underlines.
27
build=NONE
28
cache_file=./config.cache
29
exec_prefix=NONE
30
host=NONE
31
no_create=
32
nonopt=NONE
33
no_recursion=
34
prefix=NONE
35
program_prefix=NONE
36
program_suffix=NONE
37
program_transform_name=s,x,x,
38
silent=
39
site=
40
srcdir=
41
target=NONE
42
verbose=
43
x_includes=NONE
44
x_libraries=NONE
45
bindir='${exec_prefix}/bin'
46
sbindir='${exec_prefix}/sbin'
47
libexecdir='${exec_prefix}/libexec'
48
datadir='${prefix}/share'
49
sysconfdir='${prefix}/etc'
50
sharedstatedir='${prefix}/com'
51
localstatedir='${prefix}/var'
52
libdir='${exec_prefix}/lib'
53
includedir='${prefix}/include'
54
oldincludedir='/usr/include'
55
infodir='${prefix}/info'
56
mandir='${prefix}/man'
57
 
58
# Initialize some other variables.
59
subdirs=
60
MFLAGS= MAKEFLAGS=
61
SHELL=${CONFIG_SHELL-/bin/sh}
62
# Maximum number of lines to put in a shell here document.
63
ac_max_here_lines=12
64
 
65
ac_prev=
66
for ac_option
67
do
68
 
69
  # If the previous option needs an argument, assign it.
70
  if test -n "$ac_prev"; then
71
    eval "$ac_prev=\$ac_option"
72
    ac_prev=
73
    continue
74
  fi
75
 
76
  case "$ac_option" in
77
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
78
  *) ac_optarg= ;;
79
  esac
80
 
81
  # Accept the important Cygnus configure options, so we can diagnose typos.
82
 
83
  case "$ac_option" in
84
 
85
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
86
    ac_prev=bindir ;;
87
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
88
    bindir="$ac_optarg" ;;
89
 
90
  -build | --build | --buil | --bui | --bu)
91
    ac_prev=build ;;
92
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
93
    build="$ac_optarg" ;;
94
 
95
  -cache-file | --cache-file | --cache-fil | --cache-fi \
96
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
97
    ac_prev=cache_file ;;
98
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
99
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
100
    cache_file="$ac_optarg" ;;
101
 
102
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
103
    ac_prev=datadir ;;
104
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
105
  | --da=*)
106
    datadir="$ac_optarg" ;;
107
 
108
  -disable-* | --disable-*)
109
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
110
    # Reject names that are not valid shell variable names.
111
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
112
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
113
    fi
114
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
115
    eval "enable_${ac_feature}=no" ;;
116
 
117
  -enable-* | --enable-*)
118
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
119
    # Reject names that are not valid shell variable names.
120
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
121
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
122
    fi
123
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
124
    case "$ac_option" in
125
      *=*) ;;
126
      *) ac_optarg=yes ;;
127
    esac
128
    eval "enable_${ac_feature}='$ac_optarg'" ;;
129
 
130
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
131
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
132
  | --exec | --exe | --ex)
133
    ac_prev=exec_prefix ;;
134
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
135
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
136
  | --exec=* | --exe=* | --ex=*)
137
    exec_prefix="$ac_optarg" ;;
138
 
139
  -gas | --gas | --ga | --g)
140
    # Obsolete; use --with-gas.
141
    with_gas=yes ;;
142
 
143
  -help | --help | --hel | --he)
144
    # Omit some internal or obsolete options to make the list less imposing.
145
    # This message is too long to be a string in the A/UX 3.1 sh.
146
    cat << EOF
147
Usage: configure [options] [host]
148
Options: [defaults in brackets after descriptions]
149
Configuration:
150
  --cache-file=FILE       cache test results in FILE
151
  --help                  print this message
152
  --no-create             do not create output files
153
  --quiet, --silent       do not print \`checking...' messages
154
  --version               print the version of autoconf that created configure
155
Directory and file names:
156
  --prefix=PREFIX         install architecture-independent files in PREFIX
157
                          [$ac_default_prefix]
158
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
159
                          [same as prefix]
160
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
161
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
162
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
163
  --datadir=DIR           read-only architecture-independent data in DIR
164
                          [PREFIX/share]
165
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
166
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
167
                          [PREFIX/com]
168
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
169
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
170
  --includedir=DIR        C header files in DIR [PREFIX/include]
171
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
172
  --infodir=DIR           info documentation in DIR [PREFIX/info]
173
  --mandir=DIR            man documentation in DIR [PREFIX/man]
174
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
175
  --program-prefix=PREFIX prepend PREFIX to installed program names
176
  --program-suffix=SUFFIX append SUFFIX to installed program names
177
  --program-transform-name=PROGRAM
178
                          run sed PROGRAM on installed program names
179
EOF
180
    cat << EOF
181
Host type:
182
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
183
  --host=HOST             configure for HOST [guessed]
184
  --target=TARGET         configure for TARGET [TARGET=HOST]
185
Features and packages:
186
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
187
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
188
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
189
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
190
  --x-includes=DIR        X include files are in DIR
191
  --x-libraries=DIR       X library files are in DIR
192
EOF
193
    if test -n "$ac_help"; then
194
      echo "--enable and --with options recognized:$ac_help"
195
    fi
196
    exit 0 ;;
197
 
198
  -host | --host | --hos | --ho)
199
    ac_prev=host ;;
200
  -host=* | --host=* | --hos=* | --ho=*)
201
    host="$ac_optarg" ;;
202
 
203
  -includedir | --includedir | --includedi | --included | --include \
204
  | --includ | --inclu | --incl | --inc)
205
    ac_prev=includedir ;;
206
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
207
  | --includ=* | --inclu=* | --incl=* | --inc=*)
208
    includedir="$ac_optarg" ;;
209
 
210
  -infodir | --infodir | --infodi | --infod | --info | --inf)
211
    ac_prev=infodir ;;
212
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
213
    infodir="$ac_optarg" ;;
214
 
215
  -libdir | --libdir | --libdi | --libd)
216
    ac_prev=libdir ;;
217
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
218
    libdir="$ac_optarg" ;;
219
 
220
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
221
  | --libexe | --libex | --libe)
222
    ac_prev=libexecdir ;;
223
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
224
  | --libexe=* | --libex=* | --libe=*)
225
    libexecdir="$ac_optarg" ;;
226
 
227
  -localstatedir | --localstatedir | --localstatedi | --localstated \
228
  | --localstate | --localstat | --localsta | --localst \
229
  | --locals | --local | --loca | --loc | --lo)
230
    ac_prev=localstatedir ;;
231
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
232
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
233
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
234
    localstatedir="$ac_optarg" ;;
235
 
236
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
237
    ac_prev=mandir ;;
238
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
239
    mandir="$ac_optarg" ;;
240
 
241
  -nfp | --nfp | --nf)
242
    # Obsolete; use --without-fp.
243
    with_fp=no ;;
244
 
245
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
246
  | --no-cr | --no-c)
247
    no_create=yes ;;
248
 
249
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
250
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
251
    no_recursion=yes ;;
252
 
253
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
254
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
255
  | --oldin | --oldi | --old | --ol | --o)
256
    ac_prev=oldincludedir ;;
257
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
258
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
259
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
260
    oldincludedir="$ac_optarg" ;;
261
 
262
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
263
    ac_prev=prefix ;;
264
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
265
    prefix="$ac_optarg" ;;
266
 
267
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
268
  | --program-pre | --program-pr | --program-p)
269
    ac_prev=program_prefix ;;
270
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
271
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
272
    program_prefix="$ac_optarg" ;;
273
 
274
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
275
  | --program-suf | --program-su | --program-s)
276
    ac_prev=program_suffix ;;
277
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
278
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
279
    program_suffix="$ac_optarg" ;;
280
 
281
  -program-transform-name | --program-transform-name \
282
  | --program-transform-nam | --program-transform-na \
283
  | --program-transform-n | --program-transform- \
284
  | --program-transform | --program-transfor \
285
  | --program-transfo | --program-transf \
286
  | --program-trans | --program-tran \
287
  | --progr-tra | --program-tr | --program-t)
288
    ac_prev=program_transform_name ;;
289
  -program-transform-name=* | --program-transform-name=* \
290
  | --program-transform-nam=* | --program-transform-na=* \
291
  | --program-transform-n=* | --program-transform-=* \
292
  | --program-transform=* | --program-transfor=* \
293
  | --program-transfo=* | --program-transf=* \
294
  | --program-trans=* | --program-tran=* \
295
  | --progr-tra=* | --program-tr=* | --program-t=*)
296
    program_transform_name="$ac_optarg" ;;
297
 
298
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
299
  | -silent | --silent | --silen | --sile | --sil)
300
    silent=yes ;;
301
 
302
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
303
    ac_prev=sbindir ;;
304
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
305
  | --sbi=* | --sb=*)
306
    sbindir="$ac_optarg" ;;
307
 
308
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
309
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
310
  | --sharedst | --shareds | --shared | --share | --shar \
311
  | --sha | --sh)
312
    ac_prev=sharedstatedir ;;
313
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
314
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
315
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
316
  | --sha=* | --sh=*)
317
    sharedstatedir="$ac_optarg" ;;
318
 
319
  -site | --site | --sit)
320
    ac_prev=site ;;
321
  -site=* | --site=* | --sit=*)
322
    site="$ac_optarg" ;;
323
 
324
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
325
    ac_prev=srcdir ;;
326
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
327
    srcdir="$ac_optarg" ;;
328
 
329
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
330
  | --syscon | --sysco | --sysc | --sys | --sy)
331
    ac_prev=sysconfdir ;;
332
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
333
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
334
    sysconfdir="$ac_optarg" ;;
335
 
336
  -target | --target | --targe | --targ | --tar | --ta | --t)
337
    ac_prev=target ;;
338
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
339
    target="$ac_optarg" ;;
340
 
341
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
342
    verbose=yes ;;
343
 
344
  -version | --version | --versio | --versi | --vers)
345
    echo "configure generated by autoconf version 2.12.2"
346
    exit 0 ;;
347
 
348
  -with-* | --with-*)
349
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
350
    # Reject names that are not valid shell variable names.
351
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
352
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
353
    fi
354
    ac_package=`echo $ac_package| sed 's/-/_/g'`
355
    case "$ac_option" in
356
      *=*) ;;
357
      *) ac_optarg=yes ;;
358
    esac
359
    eval "with_${ac_package}='$ac_optarg'" ;;
360
 
361
  -without-* | --without-*)
362
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
363
    # Reject names that are not valid shell variable names.
364
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
365
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
366
    fi
367
    ac_package=`echo $ac_package| sed 's/-/_/g'`
368
    eval "with_${ac_package}=no" ;;
369
 
370
  --x)
371
    # Obsolete; use --with-x.
372
    with_x=yes ;;
373
 
374
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
375
  | --x-incl | --x-inc | --x-in | --x-i)
376
    ac_prev=x_includes ;;
377
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
378
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
379
    x_includes="$ac_optarg" ;;
380
 
381
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
382
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
383
    ac_prev=x_libraries ;;
384
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
385
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
386
    x_libraries="$ac_optarg" ;;
387
 
388
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
389
    ;;
390
 
391
  *)
392
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
393
      echo "configure: warning: $ac_option: invalid host type" 1>&2
394
    fi
395
    if test "x$nonopt" != xNONE; then
396
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
397
    fi
398
    nonopt="$ac_option"
399
    ;;
400
 
401
  esac
402
done
403
 
404
if test -n "$ac_prev"; then
405
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
406
fi
407
 
408
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
409
 
410
# File descriptor usage:
411
# 0 standard input
412
# 1 file creation
413
# 2 errors and warnings
414
# 3 some systems may open it to /dev/tty
415
# 4 used on the Kubota Titan
416
# 6 checking for... messages and results
417
# 5 compiler messages saved in config.log
418
if test "$silent" = yes; then
419
  exec 6>/dev/null
420
else
421
  exec 6>&1
422
fi
423
exec 5>./config.log
424
 
425
echo "\
426
This file contains any messages produced by compilers while
427
running configure, to aid debugging if configure makes a mistake.
428
" 1>&5
429
 
430
# Strip out --no-create and --no-recursion so they do not pile up.
431
# Also quote any args containing shell metacharacters.
432
ac_configure_args=
433
for ac_arg
434
do
435
  case "$ac_arg" in
436
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
437
  | --no-cr | --no-c) ;;
438
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
439
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
440
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
441
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
442
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
443
  esac
444
done
445
 
446
# NLS nuisances.
447
# Only set these to C if already set.  These must not be set unconditionally
448
# because not all systems understand e.g. LANG=C (notably SCO).
449
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
450
# Non-C LC_CTYPE values break the ctype check.
451
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
452
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
453
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
454
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
455
 
456
# confdefs.h avoids OS command line length limits that DEFS can exceed.
457
rm -rf conftest* confdefs.h
458
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
459
echo > confdefs.h
460
 
461
# A filename unique to this package, relative to the directory that
462
# configure is in, which we can look for to find out if srcdir is correct.
463
ac_unique_file=syscalls.c
464
 
465
# Find the source files, if location was not specified.
466
if test -z "$srcdir"; then
467
  ac_srcdir_defaulted=yes
468
  # Try the directory containing this script, then its parent.
469
  ac_prog=$0
470
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
471
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
472
  srcdir=$ac_confdir
473
  if test ! -r $srcdir/$ac_unique_file; then
474
    srcdir=..
475
  fi
476
else
477
  ac_srcdir_defaulted=no
478
fi
479
if test ! -r $srcdir/$ac_unique_file; then
480
  if test "$ac_srcdir_defaulted" = yes; then
481
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
482
  else
483
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
484
  fi
485
fi
486
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
487
 
488
# Prefer explicitly selected file to automatically selected ones.
489
if test -z "$CONFIG_SITE"; then
490
  if test "x$prefix" != xNONE; then
491
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
492
  else
493
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
494
  fi
495
fi
496
for ac_site_file in $CONFIG_SITE; do
497
  if test -r "$ac_site_file"; then
498
    echo "loading site script $ac_site_file"
499
    . "$ac_site_file"
500
  fi
501
done
502
 
503
if test -r "$cache_file"; then
504
  echo "loading cache $cache_file"
505
  . $cache_file
506
else
507
  echo "creating cache $cache_file"
508
  > $cache_file
509
fi
510
 
511
ac_ext=c
512
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
513
ac_cpp='$CPP $CPPFLAGS'
514
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
515
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
516
cross_compiling=$ac_cv_prog_cc_cross
517
 
518
ac_exeext=
519
ac_objext=o
520
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
521
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
522
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
523
    ac_n= ac_c='
524
' ac_t='        '
525
  else
526
    ac_n=-n ac_c= ac_t=
527
  fi
528
else
529
  ac_n= ac_c='\c' ac_t=
530
fi
531
 
532
 
533
 
534
ac_aux_dir=
535
for ac_dir in ../../../.. $srcdir/../../../..; do
536
  if test -f $ac_dir/install-sh; then
537
    ac_aux_dir=$ac_dir
538
    ac_install_sh="$ac_aux_dir/install-sh -c"
539
    break
540
  elif test -f $ac_dir/install.sh; then
541
    ac_aux_dir=$ac_dir
542
    ac_install_sh="$ac_aux_dir/install.sh -c"
543
    break
544
  fi
545
done
546
if test -z "$ac_aux_dir"; then
547
  { echo "configure: error: can not find install-sh or install.sh in ../../../.. $srcdir/../../../.." 1>&2; exit 1; }
548
fi
549
ac_config_guess=$ac_aux_dir/config.guess
550
ac_config_sub=$ac_aux_dir/config.sub
551
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
552
 
553
 
554
# Find a good install program.  We prefer a C program (faster),
555
# so one script is as good as another.  But avoid the broken or
556
# incompatible versions:
557
# SysV /etc/install, /usr/sbin/install
558
# SunOS /usr/etc/install
559
# IRIX /sbin/install
560
# AIX /bin/install
561
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
562
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
563
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
564
# ./install, which can be erroneously created by make from ./install.sh.
565
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
566
echo "configure:567: checking for a BSD compatible install" >&5
567
if test -z "$INSTALL"; then
568
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
569
  echo $ac_n "(cached) $ac_c" 1>&6
570
else
571
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
572
  for ac_dir in $PATH; do
573
    # Account for people who put trailing slashes in PATH elements.
574
    case "$ac_dir/" in
575
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
576
    *)
577
      # OSF1 and SCO ODT 3.0 have their own names for install.
578
      # Don't use installbsd from OSF since it installs stuff as root
579
      # by default.
580
      for ac_prog in ginstall scoinst install; do
581
        if test -f $ac_dir/$ac_prog; then
582
          if test $ac_prog = install &&
583
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
584
            # AIX install.  It has an incompatible calling convention.
585
            :
586
          else
587
            ac_cv_path_install="$ac_dir/$ac_prog -c"
588
            break 2
589
          fi
590
        fi
591
      done
592
      ;;
593
    esac
594
  done
595
  IFS="$ac_save_IFS"
596
 
597
fi
598
  if test "${ac_cv_path_install+set}" = set; then
599
    INSTALL="$ac_cv_path_install"
600
  else
601
    # As a last resort, use the slow shell script.  We don't cache a
602
    # path for INSTALL within a source directory, because that will
603
    # break other packages using the cache if that directory is
604
    # removed, or if the path is relative.
605
    INSTALL="$ac_install_sh"
606
  fi
607
fi
608
echo "$ac_t""$INSTALL" 1>&6
609
 
610
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
611
# It thinks the first close brace ends the variable substitution.
612
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
613
 
614
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
615
 
616
 
617
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
618
 
619
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
620
echo "configure:621: checking whether build environment is sane" >&5
621
# Just in case
622
sleep 1
623
echo timestamp > conftestfile
624
# Do `set' in a subshell so we don't clobber the current shell's
625
# arguments.  Must try -L first in case configure is actually a
626
# symlink; some systems play weird games with the mod time of symlinks
627
# (eg FreeBSD returns the mod time of the symlink's containing
628
# directory).
629
if (
630
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
631
   if test "$*" = "X"; then
632
      # -L didn't work.
633
      set X `ls -t $srcdir/configure conftestfile`
634
   fi
635
   if test "$*" != "X $srcdir/configure conftestfile" \
636
      && test "$*" != "X conftestfile $srcdir/configure"; then
637
 
638
      # If neither matched, then we have a broken ls.  This can happen
639
      # if, for instance, CONFIG_SHELL is bash and it inherits a
640
      # broken ls alias from the environment.  This has actually
641
      # happened.  Such a system could not be considered "sane".
642
      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
643
alias in your environment" 1>&2; exit 1; }
644
   fi
645
 
646
   test "$2" = conftestfile
647
   )
648
then
649
   # Ok.
650
   :
651
else
652
   { echo "configure: error: newly created file is older than distributed files!
653
Check your system clock" 1>&2; exit 1; }
654
fi
655
rm -f conftest*
656
echo "$ac_t""yes" 1>&6
657
if test "$program_transform_name" = s,x,x,; then
658
  program_transform_name=
659
else
660
  # Double any \ or $.  echo might interpret backslashes.
661
  cat <<\EOF_SED > conftestsed
662
s,\\,\\\\,g; s,\$,$$,g
663
EOF_SED
664
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
665
  rm -f conftestsed
666
fi
667
test "$program_prefix" != NONE &&
668
  program_transform_name="s,^,${program_prefix},; $program_transform_name"
669
# Use a double $ so make ignores it.
670
test "$program_suffix" != NONE &&
671
  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
672
 
673
# sed with no file args requires a program.
674
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
675
 
676
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
677
echo "configure:678: checking whether ${MAKE-make} sets \${MAKE}" >&5
678
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
679
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
680
  echo $ac_n "(cached) $ac_c" 1>&6
681
else
682
  cat > conftestmake <<\EOF
683
all:
684
        @echo 'ac_maketemp="${MAKE}"'
685
EOF
686
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
687
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
688
if test -n "$ac_maketemp"; then
689
  eval ac_cv_prog_make_${ac_make}_set=yes
690
else
691
  eval ac_cv_prog_make_${ac_make}_set=no
692
fi
693
rm -f conftestmake
694
fi
695
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
696
  echo "$ac_t""yes" 1>&6
697
  SET_MAKE=
698
else
699
  echo "$ac_t""no" 1>&6
700
  SET_MAKE="MAKE=${MAKE-make}"
701
fi
702
 
703
if test $host != $build; then
704
  ac_tool_prefix=${host_alias}-
705
else
706
  ac_tool_prefix=
707
fi
708
 
709
echo $ac_n "checking for Cygwin32 environment""... $ac_c" 1>&6
710
echo "configure:711: checking for Cygwin32 environment" >&5
711
if eval "test \"`echo '$''{'am_cv_cygwin32'+set}'`\" = set"; then
712
  echo $ac_n "(cached) $ac_c" 1>&6
713
else
714
  cat > conftest.$ac_ext <
715
#line 716 "configure"
716
#include "confdefs.h"
717
 
718
int main() {
719
return __CYGWIN32__;
720
; return 0; }
721
EOF
722
if { (eval echo configure:723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
723
  rm -rf conftest*
724
  am_cv_cygwin32=yes
725
else
726
  echo "configure: failed program was:" >&5
727
  cat conftest.$ac_ext >&5
728
  rm -rf conftest*
729
  am_cv_cygwin32=no
730
fi
731
rm -f conftest*
732
rm -f conftest*
733
fi
734
 
735
echo "$ac_t""$am_cv_cygwin32" 1>&6
736
CYGWIN32=
737
test "$am_cv_cygwin32" = yes && CYGWIN32=yes
738
echo $ac_n "checking for Mingw32 environment""... $ac_c" 1>&6
739
echo "configure:740: checking for Mingw32 environment" >&5
740
if eval "test \"`echo '$''{'am_cv_mingw32'+set}'`\" = set"; then
741
  echo $ac_n "(cached) $ac_c" 1>&6
742
else
743
  cat > conftest.$ac_ext <
744
#line 745 "configure"
745
#include "confdefs.h"
746
 
747
int main() {
748
return __MINGW32__;
749
; return 0; }
750
EOF
751
if { (eval echo configure:752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
752
  rm -rf conftest*
753
  am_cv_mingw32=yes
754
else
755
  echo "configure: failed program was:" >&5
756
  cat conftest.$ac_ext >&5
757
  rm -rf conftest*
758
  am_cv_mingw32=no
759
fi
760
rm -f conftest*
761
rm -f conftest*
762
fi
763
 
764
echo "$ac_t""$am_cv_mingw32" 1>&6
765
MINGW32=
766
test "$am_cv_mingw32" = yes && MINGW32=yes
767
 
768
# Check whether --enable-multilib or --disable-multilib was given.
769
if test "${enable_multilib+set}" = set; then
770
  enableval="$enable_multilib"
771
  case "${enableval}" in
772
  yes) multilib=yes ;;
773
  no)  multilib=no ;;
774
  *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
775
 esac
776
else
777
  multilib=yes
778
fi
779
 
780
# Check whether --enable-target-optspace or --disable-target-optspace was given.
781
if test "${enable_target_optspace+set}" = set; then
782
  enableval="$enable_target_optspace"
783
  case "${enableval}" in
784
  yes) target_optspace=yes ;;
785
  no)  target_optspace=no ;;
786
  *)   { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;;
787
 esac
788
else
789
  target_optspace=
790
fi
791
 
792
# Check whether --enable-newlib-mb or --disable-newlib-mb was given.
793
if test "${enable_newlib_mb+set}" = set; then
794
  enableval="$enable_newlib_mb"
795
  case "${enableval}" in
796
  yes) newlib_mb=yes ;;
797
  no)  newlib_mb=no ;;
798
  *)   { echo "configure: error: bad value ${enableval} for newlib-mb option" 1>&2; exit 1; } ;;
799
 esac
800
else
801
  newlib_mb=no
802
fi
803
 
804
 
805
test -z "${with_target_subdir}" && with_target_subdir=.
806
 
807
if test "${srcdir}" = "."; then
808
  if test "${with_target_subdir}" != "."; then
809
    newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
810
  else
811
    newlib_basedir="${srcdir}/${with_multisrctop}../../.."
812
  fi
813
else
814
  newlib_basedir="${srcdir}/../../.."
815
fi
816
 
817
 
818
 
819
# Make sure we can run config.sub.
820
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
821
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
822
fi
823
 
824
echo $ac_n "checking host system type""... $ac_c" 1>&6
825
echo "configure:826: checking host system type" >&5
826
 
827
host_alias=$host
828
case "$host_alias" in
829
NONE)
830
  case $nonopt in
831
  NONE)
832
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
833
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
834
    fi ;;
835
  *) host_alias=$nonopt ;;
836
  esac ;;
837
esac
838
 
839
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
840
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
841
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
842
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
843
echo "$ac_t""$host" 1>&6
844
 
845
 
846
 
847
PACKAGE=newlib
848
 
849
VERSION=1.8.1
850
 
851
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
852
  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
853
fi
854
cat >> confdefs.h <
855
#define PACKAGE "$PACKAGE"
856
EOF
857
 
858
cat >> confdefs.h <
859
#define VERSION "$VERSION"
860
EOF
861
 
862
 
863
 
864
missing_dir=`cd $ac_aux_dir && pwd`
865
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
866
echo "configure:867: checking for working aclocal" >&5
867
# Run test in a subshell; some versions of sh will print an error if
868
# an executable is not found, even if stderr is redirected.
869
# Redirect stdin to placate older versions of autoconf.  Sigh.
870
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
871
   ACLOCAL=aclocal
872
   echo "$ac_t""found" 1>&6
873
else
874
   ACLOCAL="$missing_dir/missing aclocal"
875
   echo "$ac_t""missing" 1>&6
876
fi
877
 
878
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
879
echo "configure:880: checking for working autoconf" >&5
880
# Run test in a subshell; some versions of sh will print an error if
881
# an executable is not found, even if stderr is redirected.
882
# Redirect stdin to placate older versions of autoconf.  Sigh.
883
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
884
   AUTOCONF=autoconf
885
   echo "$ac_t""found" 1>&6
886
else
887
   AUTOCONF="$missing_dir/missing autoconf"
888
   echo "$ac_t""missing" 1>&6
889
fi
890
 
891
echo $ac_n "checking for working automake""... $ac_c" 1>&6
892
echo "configure:893: checking for working automake" >&5
893
# Run test in a subshell; some versions of sh will print an error if
894
# an executable is not found, even if stderr is redirected.
895
# Redirect stdin to placate older versions of autoconf.  Sigh.
896
if (automake --version) < /dev/null > /dev/null 2>&1; then
897
   AUTOMAKE=automake
898
   echo "$ac_t""found" 1>&6
899
else
900
   AUTOMAKE="$missing_dir/missing automake"
901
   echo "$ac_t""missing" 1>&6
902
fi
903
 
904
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
905
echo "configure:906: checking for working autoheader" >&5
906
# Run test in a subshell; some versions of sh will print an error if
907
# an executable is not found, even if stderr is redirected.
908
# Redirect stdin to placate older versions of autoconf.  Sigh.
909
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
910
   AUTOHEADER=autoheader
911
   echo "$ac_t""found" 1>&6
912
else
913
   AUTOHEADER="$missing_dir/missing autoheader"
914
   echo "$ac_t""missing" 1>&6
915
fi
916
 
917
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
918
echo "configure:919: checking for working makeinfo" >&5
919
# Run test in a subshell; some versions of sh will print an error if
920
# an executable is not found, even if stderr is redirected.
921
# Redirect stdin to placate older versions of autoconf.  Sigh.
922
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
923
   MAKEINFO=makeinfo
924
   echo "$ac_t""found" 1>&6
925
else
926
   MAKEINFO="$missing_dir/missing makeinfo"
927
   echo "$ac_t""missing" 1>&6
928
fi
929
 
930
 
931
 
932
# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
933
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
934
# are probably using a cross compiler, which will not be able to fully
935
# link an executable.  This should really be fixed in autoconf
936
# itself.
937
 
938
 
939
 
940
# Extract the first word of "gcc", so it can be a program name with args.
941
set dummy gcc; ac_word=$2
942
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
943
echo "configure:944: checking for $ac_word" >&5
944
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
945
  echo $ac_n "(cached) $ac_c" 1>&6
946
else
947
  if test -n "$CC"; then
948
  ac_cv_prog_CC="$CC" # Let the user override the test.
949
else
950
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
951
  for ac_dir in $PATH; do
952
    test -z "$ac_dir" && ac_dir=.
953
    if test -f $ac_dir/$ac_word; then
954
      ac_cv_prog_CC="gcc"
955
      break
956
    fi
957
  done
958
  IFS="$ac_save_ifs"
959
fi
960
fi
961
CC="$ac_cv_prog_CC"
962
if test -n "$CC"; then
963
  echo "$ac_t""$CC" 1>&6
964
else
965
  echo "$ac_t""no" 1>&6
966
fi
967
 
968
if test -z "$CC"; then
969
  # Extract the first word of "cc", so it can be a program name with args.
970
set dummy cc; ac_word=$2
971
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
972
echo "configure:973: checking for $ac_word" >&5
973
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
974
  echo $ac_n "(cached) $ac_c" 1>&6
975
else
976
  if test -n "$CC"; then
977
  ac_cv_prog_CC="$CC" # Let the user override the test.
978
else
979
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
980
  ac_prog_rejected=no
981
  for ac_dir in $PATH; do
982
    test -z "$ac_dir" && ac_dir=.
983
    if test -f $ac_dir/$ac_word; then
984
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
985
        ac_prog_rejected=yes
986
        continue
987
      fi
988
      ac_cv_prog_CC="cc"
989
      break
990
    fi
991
  done
992
  IFS="$ac_save_ifs"
993
if test $ac_prog_rejected = yes; then
994
  # We found a bogon in the path, so make sure we never use it.
995
  set dummy $ac_cv_prog_CC
996
  shift
997
  if test $# -gt 0; then
998
    # We chose a different compiler from the bogus one.
999
    # However, it has the same basename, so the bogon will be chosen
1000
    # first if we set CC to just the basename; use the full file name.
1001
    shift
1002
    set dummy "$ac_dir/$ac_word" "$@"
1003
    shift
1004
    ac_cv_prog_CC="$@"
1005
  fi
1006
fi
1007
fi
1008
fi
1009
CC="$ac_cv_prog_CC"
1010
if test -n "$CC"; then
1011
  echo "$ac_t""$CC" 1>&6
1012
else
1013
  echo "$ac_t""no" 1>&6
1014
fi
1015
 
1016
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1017
fi
1018
 
1019
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1020
echo "configure:1021: checking whether we are using GNU C" >&5
1021
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1022
  echo $ac_n "(cached) $ac_c" 1>&6
1023
else
1024
  cat > conftest.c <
1025
#ifdef __GNUC__
1026
  yes;
1027
#endif
1028
EOF
1029
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1030
  ac_cv_prog_gcc=yes
1031
else
1032
  ac_cv_prog_gcc=no
1033
fi
1034
fi
1035
 
1036
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1037
 
1038
if test $ac_cv_prog_gcc = yes; then
1039
  GCC=yes
1040
  ac_test_CFLAGS="${CFLAGS+set}"
1041
  ac_save_CFLAGS="$CFLAGS"
1042
  CFLAGS=
1043
  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1044
echo "configure:1045: checking whether ${CC-cc} accepts -g" >&5
1045
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1046
  echo $ac_n "(cached) $ac_c" 1>&6
1047
else
1048
  echo 'void f(){}' > conftest.c
1049
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1050
  ac_cv_prog_cc_g=yes
1051
else
1052
  ac_cv_prog_cc_g=no
1053
fi
1054
rm -f conftest*
1055
 
1056
fi
1057
 
1058
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1059
  if test "$ac_test_CFLAGS" = set; then
1060
    CFLAGS="$ac_save_CFLAGS"
1061
  elif test $ac_cv_prog_cc_g = yes; then
1062
    CFLAGS="-g -O2"
1063
  else
1064
    CFLAGS="-O2"
1065
  fi
1066
else
1067
  GCC=
1068
  test "${CFLAGS+set}" = set || CFLAGS="-g"
1069
fi
1070
 
1071
 
1072
# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't
1073
# run it explicitly here, it will be run implicitly before
1074
# NEWLIB_CONFIGURE, which doesn't work because that means that it will
1075
# be run before AC_CANONICAL_HOST.
1076
echo $ac_n "checking build system type""... $ac_c" 1>&6
1077
echo "configure:1078: checking build system type" >&5
1078
 
1079
build_alias=$build
1080
case "$build_alias" in
1081
NONE)
1082
  case $nonopt in
1083
  NONE) build_alias=$host_alias ;;
1084
  *) build_alias=$nonopt ;;
1085
  esac ;;
1086
esac
1087
 
1088
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1089
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1090
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1091
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1092
echo "$ac_t""$build" 1>&6
1093
 
1094
 
1095
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1096
set dummy ${ac_tool_prefix}as; ac_word=$2
1097
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1098
echo "configure:1099: checking for $ac_word" >&5
1099
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1100
  echo $ac_n "(cached) $ac_c" 1>&6
1101
else
1102
  if test -n "$AS"; then
1103
  ac_cv_prog_AS="$AS" # Let the user override the test.
1104
else
1105
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1106
  for ac_dir in $PATH; do
1107
    test -z "$ac_dir" && ac_dir=.
1108
    if test -f $ac_dir/$ac_word; then
1109
      ac_cv_prog_AS="${ac_tool_prefix}as"
1110
      break
1111
    fi
1112
  done
1113
  IFS="$ac_save_ifs"
1114
  test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1115
fi
1116
fi
1117
AS="$ac_cv_prog_AS"
1118
if test -n "$AS"; then
1119
  echo "$ac_t""$AS" 1>&6
1120
else
1121
  echo "$ac_t""no" 1>&6
1122
fi
1123
 
1124
 
1125
 
1126
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1127
set dummy ${ac_tool_prefix}ar; ac_word=$2
1128
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1129
echo "configure:1130: checking for $ac_word" >&5
1130
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1131
  echo $ac_n "(cached) $ac_c" 1>&6
1132
else
1133
  if test -n "$AR"; then
1134
  ac_cv_prog_AR="$AR" # Let the user override the test.
1135
else
1136
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1137
  for ac_dir in $PATH; do
1138
    test -z "$ac_dir" && ac_dir=.
1139
    if test -f $ac_dir/$ac_word; then
1140
      ac_cv_prog_AR="${ac_tool_prefix}ar"
1141
      break
1142
    fi
1143
  done
1144
  IFS="$ac_save_ifs"
1145
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1146
fi
1147
fi
1148
AR="$ac_cv_prog_AR"
1149
if test -n "$AR"; then
1150
  echo "$ac_t""$AR" 1>&6
1151
else
1152
  echo "$ac_t""no" 1>&6
1153
fi
1154
 
1155
 
1156
 
1157
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1158
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1159
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1160
echo "configure:1161: checking for $ac_word" >&5
1161
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1162
  echo $ac_n "(cached) $ac_c" 1>&6
1163
else
1164
  if test -n "$RANLIB"; then
1165
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1166
else
1167
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1168
  for ac_dir in $PATH; do
1169
    test -z "$ac_dir" && ac_dir=.
1170
    if test -f $ac_dir/$ac_word; then
1171
      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1172
      break
1173
    fi
1174
  done
1175
  IFS="$ac_save_ifs"
1176
fi
1177
fi
1178
RANLIB="$ac_cv_prog_RANLIB"
1179
if test -n "$RANLIB"; then
1180
  echo "$ac_t""$RANLIB" 1>&6
1181
else
1182
  echo "$ac_t""no" 1>&6
1183
fi
1184
 
1185
 
1186
if test -z "$ac_cv_prog_RANLIB"; then
1187
if test -n "$ac_tool_prefix"; then
1188
  # Extract the first word of "ranlib", so it can be a program name with args.
1189
set dummy ranlib; ac_word=$2
1190
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1191
echo "configure:1192: checking for $ac_word" >&5
1192
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1193
  echo $ac_n "(cached) $ac_c" 1>&6
1194
else
1195
  if test -n "$RANLIB"; then
1196
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1197
else
1198
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1199
  for ac_dir in $PATH; do
1200
    test -z "$ac_dir" && ac_dir=.
1201
    if test -f $ac_dir/$ac_word; then
1202
      ac_cv_prog_RANLIB="ranlib"
1203
      break
1204
    fi
1205
  done
1206
  IFS="$ac_save_ifs"
1207
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1208
fi
1209
fi
1210
RANLIB="$ac_cv_prog_RANLIB"
1211
if test -n "$RANLIB"; then
1212
  echo "$ac_t""$RANLIB" 1>&6
1213
else
1214
  echo "$ac_t""no" 1>&6
1215
fi
1216
 
1217
else
1218
  RANLIB=":"
1219
fi
1220
fi
1221
 
1222
 
1223
 
1224
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1225
 
1226
 
1227
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1228
echo "configure:1229: checking whether to enable maintainer-specific portions of Makefiles" >&5
1229
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1230
if test "${enable_maintainer_mode+set}" = set; then
1231
  enableval="$enable_maintainer_mode"
1232
  USE_MAINTAINER_MODE=$enableval
1233
else
1234
  USE_MAINTAINER_MODE=no
1235
fi
1236
 
1237
  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1238
  if test $USE_MAINTAINER_MODE = yes; then
1239
    MAINT=
1240
  else
1241
    MAINT='#M#'
1242
  fi
1243
 
1244
 
1245
 
1246
# We need AM_EXEEXT to keep automake happy in cygnus mode.  However,
1247
# at least currently, we never actually build a program, so we never
1248
# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
1249
# fails, because we are probably configuring with a cross compiler
1250
# which can't create executables.  So we include AM_EXEEXT to keep
1251
# automake happy, but we don't execute it, since we don't care about
1252
# the result.
1253
if false; then
1254
 
1255
 
1256
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1257
echo "configure:1258: checking for executable suffix" >&5
1258
if eval "test \"`echo '$''{'am_cv_exeext'+set}'`\" = set"; then
1259
  echo $ac_n "(cached) $ac_c" 1>&6
1260
else
1261
  if test "$CYGWIN32" = yes || test "$MINGW32" = yes; then
1262
am_cv_exeext=.exe
1263
else
1264
cat > am_c_test.c << 'EOF'
1265
int main() {
1266
/* Nothing needed here */
1267
}
1268
EOF
1269
${CC-cc} -o am_c_test $CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c $LIBS 1>&5
1270
am_cv_exeext=
1271
for file in am_c_test.*; do
1272
   case $file in
1273
    *.c) ;;
1274
    *.o) ;;
1275
    *) am_cv_exeext=`echo $file | sed -e s/am_c_test//` ;;
1276
   esac
1277
done
1278
rm -f am_c_test*
1279
fi
1280
 
1281
test x"${am_cv_exeext}" = x && am_cv_exeext=no
1282
fi
1283
EXEEXT=""
1284
test x"${am_cv_exeext}" != xno && EXEEXT=${am_cv_exeext}
1285
echo "$ac_t""${am_cv_exeext}" 1>&6
1286
 
1287
fi
1288
 
1289
. ${newlib_basedir}/configure.host
1290
 
1291
case ${newlib_basedir} in
1292
/* | A-Za-z:/\\*) newlib_flagbasedir=${newlib_basedir} ;;
1293
*) newlib_flagbasedir='$(top_builddir)/'${newlib_basedir} ;;
1294
esac
1295
 
1296
newlib_cflags="${newlib_cflags} -I"'$(top_builddir)'"/../../../targ-include -I${newlib_flagbasedir}/libc/include"
1297
case "${host}" in
1298
  *-*-cygwin32*)
1299
    newlib_cflags="${newlib_cflags} -I${newlib_flagbasedir}/../winsup/include"
1300
    ;;
1301
esac
1302
 
1303
newlib_cflags="${newlib_cflags} -fno-builtin"
1304
 
1305
NEWLIB_CFLAGS=${newlib_cflags}
1306
 
1307
 
1308
 
1309
 
1310
 
1311
 
1312
trap '' 1 2 15
1313
cat > confcache <<\EOF
1314
# This file is a shell script that caches the results of configure
1315
# tests run on this system so they can be shared between configure
1316
# scripts and configure runs.  It is not useful on other systems.
1317
# If it contains results you don't want to keep, you may remove or edit it.
1318
#
1319
# By default, configure uses ./config.cache as the cache file,
1320
# creating it if it does not exist already.  You can give configure
1321
# the --cache-file=FILE option to use a different cache file; that is
1322
# what configure does when it calls configure scripts in
1323
# subdirectories, so they share the cache.
1324
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1325
# config.status only pays attention to the cache file if you give it the
1326
# --recheck option to rerun configure.
1327
#
1328
EOF
1329
# The following way of writing the cache mishandles newlines in values,
1330
# but we know of no workaround that is simple, portable, and efficient.
1331
# So, don't put newlines in cache variables' values.
1332
# Ultrix sh set writes to stderr and can't be redirected directly,
1333
# and sets the high bit in the cache file unless we assign to the vars.
1334
(set) 2>&1 |
1335
  case `(ac_space=' '; set) 2>&1 | grep ac_space` in
1336
  *ac_space=\ *)
1337
    # `set' does not quote correctly, so add quotes (double-quote substitution
1338
    # turns \\\\ into \\, and sed turns \\ into \).
1339
    sed -n \
1340
      -e "s/'/'\\\\''/g" \
1341
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1342
    ;;
1343
  *)
1344
    # `set' quotes correctly as required by POSIX, so do not add quotes.
1345
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1346
    ;;
1347
  esac >> confcache
1348
if cmp -s $cache_file confcache; then
1349
  :
1350
else
1351
  if test -w $cache_file; then
1352
    echo "updating cache $cache_file"
1353
    cat confcache > $cache_file
1354
  else
1355
    echo "not updating unwritable cache $cache_file"
1356
  fi
1357
fi
1358
rm -f confcache
1359
 
1360
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1361
 
1362
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1363
# Let make expand exec_prefix.
1364
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1365
 
1366
# Any assignment to VPATH causes Sun make to only execute
1367
# the first set of double-colon rules, so remove it if not needed.
1368
# If there is a colon in the path, we need to keep it.
1369
if test "x$srcdir" = x.; then
1370
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1371
fi
1372
 
1373
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1374
 
1375
# Transform confdefs.h into DEFS.
1376
# Protect against shell expansion while executing Makefile rules.
1377
# Protect against Makefile macro expansion.
1378
cat > conftest.defs <<\EOF
1379
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1380
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1381
s%\[%\\&%g
1382
s%\]%\\&%g
1383
s%\$%$$%g
1384
EOF
1385
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1386
rm -f conftest.defs
1387
 
1388
 
1389
# Without the "./", some shells look in PATH for config.status.
1390
: ${CONFIG_STATUS=./config.status}
1391
 
1392
echo creating $CONFIG_STATUS
1393
rm -f $CONFIG_STATUS
1394
cat > $CONFIG_STATUS <
1395
#! /bin/sh
1396
# Generated automatically by configure.
1397
# Run this file to recreate the current configuration.
1398
# This directory was configured as follows,
1399
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1400
#
1401
# $0 $ac_configure_args
1402
#
1403
# Compiler output produced by configure, useful for debugging
1404
# configure, is in ./config.log if it exists.
1405
 
1406
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1407
for ac_option
1408
do
1409
  case "\$ac_option" in
1410
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1411
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1412
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1413
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1414
    echo "$CONFIG_STATUS generated by autoconf version 2.12.2"
1415
    exit 0 ;;
1416
  -help | --help | --hel | --he | --h)
1417
    echo "\$ac_cs_usage"; exit 0 ;;
1418
  *) echo "\$ac_cs_usage"; exit 1 ;;
1419
  esac
1420
done
1421
 
1422
ac_given_srcdir=$srcdir
1423
ac_given_INSTALL="$INSTALL"
1424
 
1425
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1426
EOF
1427
cat >> $CONFIG_STATUS <
1428
 
1429
# Protect against being on the right side of a sed subst in config.status.
1430
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1431
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1432
$ac_vpsub
1433
$extrasub
1434
s%@SHELL@%$SHELL%g
1435
s%@CFLAGS@%$CFLAGS%g
1436
s%@CPPFLAGS@%$CPPFLAGS%g
1437
s%@CXXFLAGS@%$CXXFLAGS%g
1438
s%@DEFS@%$DEFS%g
1439
s%@LDFLAGS@%$LDFLAGS%g
1440
s%@LIBS@%$LIBS%g
1441
s%@exec_prefix@%$exec_prefix%g
1442
s%@prefix@%$prefix%g
1443
s%@program_transform_name@%$program_transform_name%g
1444
s%@bindir@%$bindir%g
1445
s%@sbindir@%$sbindir%g
1446
s%@libexecdir@%$libexecdir%g
1447
s%@datadir@%$datadir%g
1448
s%@sysconfdir@%$sysconfdir%g
1449
s%@sharedstatedir@%$sharedstatedir%g
1450
s%@localstatedir@%$localstatedir%g
1451
s%@libdir@%$libdir%g
1452
s%@includedir@%$includedir%g
1453
s%@oldincludedir@%$oldincludedir%g
1454
s%@infodir@%$infodir%g
1455
s%@mandir@%$mandir%g
1456
s%@newlib_basedir@%$newlib_basedir%g
1457
s%@host@%$host%g
1458
s%@host_alias@%$host_alias%g
1459
s%@host_cpu@%$host_cpu%g
1460
s%@host_vendor@%$host_vendor%g
1461
s%@host_os@%$host_os%g
1462
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1463
s%@INSTALL_DATA@%$INSTALL_DATA%g
1464
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1465
s%@PACKAGE@%$PACKAGE%g
1466
s%@VERSION@%$VERSION%g
1467
s%@ACLOCAL@%$ACLOCAL%g
1468
s%@AUTOCONF@%$AUTOCONF%g
1469
s%@AUTOMAKE@%$AUTOMAKE%g
1470
s%@AUTOHEADER@%$AUTOHEADER%g
1471
s%@MAKEINFO@%$MAKEINFO%g
1472
s%@SET_MAKE@%$SET_MAKE%g
1473
s%@CC@%$CC%g
1474
s%@build@%$build%g
1475
s%@build_alias@%$build_alias%g
1476
s%@build_cpu@%$build_cpu%g
1477
s%@build_vendor@%$build_vendor%g
1478
s%@build_os@%$build_os%g
1479
s%@AS@%$AS%g
1480
s%@AR@%$AR%g
1481
s%@RANLIB@%$RANLIB%g
1482
s%@MAINT@%$MAINT%g
1483
s%@EXEEXT@%$EXEEXT%g
1484
s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
1485
s%@machine_dir@%$machine_dir%g
1486
s%@sys_dir@%$sys_dir%g
1487
 
1488
CEOF
1489
EOF
1490
 
1491
cat >> $CONFIG_STATUS <<\EOF
1492
 
1493
# Split the substitutions into bite-sized pieces for seds with
1494
# small command number limits, like on Digital OSF/1 and HP-UX.
1495
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1496
ac_file=1 # Number of current file.
1497
ac_beg=1 # First line for current file.
1498
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1499
ac_more_lines=:
1500
ac_sed_cmds=""
1501
while $ac_more_lines; do
1502
  if test $ac_beg -gt 1; then
1503
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1504
  else
1505
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1506
  fi
1507
  if test ! -s conftest.s$ac_file; then
1508
    ac_more_lines=false
1509
    rm -f conftest.s$ac_file
1510
  else
1511
    if test -z "$ac_sed_cmds"; then
1512
      ac_sed_cmds="sed -f conftest.s$ac_file"
1513
    else
1514
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1515
    fi
1516
    ac_file=`expr $ac_file + 1`
1517
    ac_beg=$ac_end
1518
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
1519
  fi
1520
done
1521
if test -z "$ac_sed_cmds"; then
1522
  ac_sed_cmds=cat
1523
fi
1524
EOF
1525
 
1526
cat >> $CONFIG_STATUS <
1527
 
1528
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1529
EOF
1530
cat >> $CONFIG_STATUS <<\EOF
1531
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1532
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1533
  case "$ac_file" in
1534
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1535
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1536
  *) ac_file_in="${ac_file}.in" ;;
1537
  esac
1538
 
1539
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1540
 
1541
  # Remove last slash and all that follows it.  Not all systems have dirname.
1542
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1543
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1544
    # The file is in a subdirectory.
1545
    test ! -d "$ac_dir" && mkdir "$ac_dir"
1546
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1547
    # A "../" for each directory in $ac_dir_suffix.
1548
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1549
  else
1550
    ac_dir_suffix= ac_dots=
1551
  fi
1552
 
1553
  case "$ac_given_srcdir" in
1554
  .)  srcdir=.
1555
      if test -z "$ac_dots"; then top_srcdir=.
1556
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1557
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1558
  *) # Relative path.
1559
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1560
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
1561
  esac
1562
 
1563
  case "$ac_given_INSTALL" in
1564
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
1565
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1566
  esac
1567
 
1568
  echo creating "$ac_file"
1569
  rm -f "$ac_file"
1570
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1571
  case "$ac_file" in
1572
  *Makefile*) ac_comsub="1i\\
1573
# $configure_input" ;;
1574
  *) ac_comsub= ;;
1575
  esac
1576
 
1577
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1578
  sed -e "$ac_comsub
1579
s%@configure_input@%$configure_input%g
1580
s%@srcdir@%$srcdir%g
1581
s%@top_srcdir@%$top_srcdir%g
1582
s%@INSTALL@%$INSTALL%g
1583
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1584
fi; done
1585
rm -f conftest.s*
1586
 
1587
EOF
1588
cat >> $CONFIG_STATUS <
1589
 
1590
EOF
1591
cat >> $CONFIG_STATUS <<\EOF
1592
 
1593
exit 0
1594
EOF
1595
chmod +x $CONFIG_STATUS
1596
rm -fr confdefs* $ac_clean_files
1597
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1598
 

powered by: WebSVN 2.1.0

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