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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [or1ksim/] [testbench/] [configure] - Blame information for rev 381

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

Line No. Rev Author Line
1 224 markom
#! /bin/sh
2
 
3
# From configure.in for or1ksim-1.2, version 2.14, from autoconf version 2.13
4
 
5
 
6
 
7
 
8
# Do all the work for Automake.  This macro actually does too much --
9
# some checks are only needed if your package does certain things.
10
# But this isn't really a big deal.
11
 
12
# serial 1
13
 
14
 
15
 
16
 
17
#
18
# Check to make sure that the build environment is sane.
19
#
20
 
21
 
22
 
23
 
24
 
25
# Define a conditional.
26
 
27
 
28
 
29
# Guess values for system-dependent variables and create Makefiles.
30
# Generated automatically using autoconf version 2.13
31
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
32
#
33
# This configure script is free software; the Free Software Foundation
34
# gives unlimited permission to copy, distribute and modify it.
35
 
36
# Defaults:
37
ac_help=
38
ac_default_prefix=/usr/local
39
# Any additions from configure.in:
40
 
41
# Initialize some variables set by options.
42
# The variables have the same names as the options, with
43
# dashes changed to underlines.
44
build=NONE
45
cache_file=./config.cache
46
exec_prefix=NONE
47
host=NONE
48
no_create=
49
nonopt=NONE
50
no_recursion=
51
prefix=NONE
52
program_prefix=NONE
53
program_suffix=NONE
54
program_transform_name=s,x,x,
55
silent=
56
site=
57
srcdir=
58
target=NONE
59
verbose=
60
x_includes=NONE
61
x_libraries=NONE
62
bindir='${exec_prefix}/bin'
63
sbindir='${exec_prefix}/sbin'
64
libexecdir='${exec_prefix}/libexec'
65
datadir='${prefix}/share'
66
sysconfdir='${prefix}/etc'
67
sharedstatedir='${prefix}/com'
68
localstatedir='${prefix}/var'
69
libdir='${exec_prefix}/lib'
70
includedir='${prefix}/include'
71
oldincludedir='/usr/include'
72
infodir='${prefix}/info'
73
mandir='${prefix}/man'
74
 
75
# Initialize some other variables.
76
subdirs=
77
MFLAGS= MAKEFLAGS=
78
SHELL=${CONFIG_SHELL-/bin/sh}
79
# Maximum number of lines to put in a shell here document.
80
ac_max_here_lines=12
81
 
82
ac_prev=
83
for ac_option
84
do
85
 
86
  # If the previous option needs an argument, assign it.
87
  if test -n "$ac_prev"; then
88
    eval "$ac_prev=\$ac_option"
89
    ac_prev=
90
    continue
91
  fi
92
 
93
  case "$ac_option" in
94
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
95
  *) ac_optarg= ;;
96
  esac
97
 
98
  # Accept the important Cygnus configure options, so we can diagnose typos.
99
 
100
  case "$ac_option" in
101
 
102
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
103
    ac_prev=bindir ;;
104
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
105
    bindir="$ac_optarg" ;;
106
 
107
  -build | --build | --buil | --bui | --bu)
108
    ac_prev=build ;;
109
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
110
    build="$ac_optarg" ;;
111
 
112
  -cache-file | --cache-file | --cache-fil | --cache-fi \
113
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
114
    ac_prev=cache_file ;;
115
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
116
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
117
    cache_file="$ac_optarg" ;;
118
 
119
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
120
    ac_prev=datadir ;;
121
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
122
  | --da=*)
123
    datadir="$ac_optarg" ;;
124
 
125
  -disable-* | --disable-*)
126
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
127
    # Reject names that are not valid shell variable names.
128
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
129
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
130
    fi
131
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
132
    eval "enable_${ac_feature}=no" ;;
133
 
134
  -enable-* | --enable-*)
135
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
136
    # Reject names that are not valid shell variable names.
137
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
138
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
139
    fi
140
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
141
    case "$ac_option" in
142
      *=*) ;;
143
      *) ac_optarg=yes ;;
144
    esac
145
    eval "enable_${ac_feature}='$ac_optarg'" ;;
146
 
147
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
148
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
149
  | --exec | --exe | --ex)
150
    ac_prev=exec_prefix ;;
151
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
152
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
153
  | --exec=* | --exe=* | --ex=*)
154
    exec_prefix="$ac_optarg" ;;
155
 
156
  -gas | --gas | --ga | --g)
157
    # Obsolete; use --with-gas.
158
    with_gas=yes ;;
159
 
160
  -help | --help | --hel | --he)
161
    # Omit some internal or obsolete options to make the list less imposing.
162
    # This message is too long to be a string in the A/UX 3.1 sh.
163
    cat << EOF
164
Usage: configure [options] [host]
165
Options: [defaults in brackets after descriptions]
166
Configuration:
167
  --cache-file=FILE       cache test results in FILE
168
  --help                  print this message
169
  --no-create             do not create output files
170
  --quiet, --silent       do not print \`checking...' messages
171
  --version               print the version of autoconf that created configure
172
Directory and file names:
173
  --prefix=PREFIX         install architecture-independent files in PREFIX
174
                          [$ac_default_prefix]
175
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
176
                          [same as prefix]
177
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
178
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
179
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
180
  --datadir=DIR           read-only architecture-independent data in DIR
181
                          [PREFIX/share]
182
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
183
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
184
                          [PREFIX/com]
185
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
186
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
187
  --includedir=DIR        C header files in DIR [PREFIX/include]
188
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
189
  --infodir=DIR           info documentation in DIR [PREFIX/info]
190
  --mandir=DIR            man documentation in DIR [PREFIX/man]
191
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
192
  --program-prefix=PREFIX prepend PREFIX to installed program names
193
  --program-suffix=SUFFIX append SUFFIX to installed program names
194
  --program-transform-name=PROGRAM
195
                          run sed PROGRAM on installed program names
196
EOF
197
    cat << EOF
198
Host type:
199
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
200
  --host=HOST             configure for HOST [guessed]
201
  --target=TARGET         configure for TARGET [TARGET=HOST]
202
Features and packages:
203
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
204
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
205
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
206
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
207
  --x-includes=DIR        X include files are in DIR
208
  --x-libraries=DIR       X library files are in DIR
209
EOF
210
    if test -n "$ac_help"; then
211
      echo "--enable and --with options recognized:$ac_help"
212
    fi
213
    exit 0 ;;
214
 
215
  -host | --host | --hos | --ho)
216
    ac_prev=host ;;
217
  -host=* | --host=* | --hos=* | --ho=*)
218
    host="$ac_optarg" ;;
219
 
220
  -includedir | --includedir | --includedi | --included | --include \
221
  | --includ | --inclu | --incl | --inc)
222
    ac_prev=includedir ;;
223
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
224
  | --includ=* | --inclu=* | --incl=* | --inc=*)
225
    includedir="$ac_optarg" ;;
226
 
227
  -infodir | --infodir | --infodi | --infod | --info | --inf)
228
    ac_prev=infodir ;;
229
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
230
    infodir="$ac_optarg" ;;
231
 
232
  -libdir | --libdir | --libdi | --libd)
233
    ac_prev=libdir ;;
234
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
235
    libdir="$ac_optarg" ;;
236
 
237
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
238
  | --libexe | --libex | --libe)
239
    ac_prev=libexecdir ;;
240
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
241
  | --libexe=* | --libex=* | --libe=*)
242
    libexecdir="$ac_optarg" ;;
243
 
244
  -localstatedir | --localstatedir | --localstatedi | --localstated \
245
  | --localstate | --localstat | --localsta | --localst \
246
  | --locals | --local | --loca | --loc | --lo)
247
    ac_prev=localstatedir ;;
248
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
249
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
250
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
251
    localstatedir="$ac_optarg" ;;
252
 
253
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
254
    ac_prev=mandir ;;
255
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
256
    mandir="$ac_optarg" ;;
257
 
258
  -nfp | --nfp | --nf)
259
    # Obsolete; use --without-fp.
260
    with_fp=no ;;
261
 
262
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
263
  | --no-cr | --no-c)
264
    no_create=yes ;;
265
 
266
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
267
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
268
    no_recursion=yes ;;
269
 
270
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
271
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
272
  | --oldin | --oldi | --old | --ol | --o)
273
    ac_prev=oldincludedir ;;
274
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
275
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
276
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
277
    oldincludedir="$ac_optarg" ;;
278
 
279
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
280
    ac_prev=prefix ;;
281
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
282
    prefix="$ac_optarg" ;;
283
 
284
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
285
  | --program-pre | --program-pr | --program-p)
286
    ac_prev=program_prefix ;;
287
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
288
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
289
    program_prefix="$ac_optarg" ;;
290
 
291
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
292
  | --program-suf | --program-su | --program-s)
293
    ac_prev=program_suffix ;;
294
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
295
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
296
    program_suffix="$ac_optarg" ;;
297
 
298
  -program-transform-name | --program-transform-name \
299
  | --program-transform-nam | --program-transform-na \
300
  | --program-transform-n | --program-transform- \
301
  | --program-transform | --program-transfor \
302
  | --program-transfo | --program-transf \
303
  | --program-trans | --program-tran \
304
  | --progr-tra | --program-tr | --program-t)
305
    ac_prev=program_transform_name ;;
306
  -program-transform-name=* | --program-transform-name=* \
307
  | --program-transform-nam=* | --program-transform-na=* \
308
  | --program-transform-n=* | --program-transform-=* \
309
  | --program-transform=* | --program-transfor=* \
310
  | --program-transfo=* | --program-transf=* \
311
  | --program-trans=* | --program-tran=* \
312
  | --progr-tra=* | --program-tr=* | --program-t=*)
313
    program_transform_name="$ac_optarg" ;;
314
 
315
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
316
  | -silent | --silent | --silen | --sile | --sil)
317
    silent=yes ;;
318
 
319
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
320
    ac_prev=sbindir ;;
321
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
322
  | --sbi=* | --sb=*)
323
    sbindir="$ac_optarg" ;;
324
 
325
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
326
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
327
  | --sharedst | --shareds | --shared | --share | --shar \
328
  | --sha | --sh)
329
    ac_prev=sharedstatedir ;;
330
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
331
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
332
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
333
  | --sha=* | --sh=*)
334
    sharedstatedir="$ac_optarg" ;;
335
 
336
  -site | --site | --sit)
337
    ac_prev=site ;;
338
  -site=* | --site=* | --sit=*)
339
    site="$ac_optarg" ;;
340
 
341
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
342
    ac_prev=srcdir ;;
343
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
344
    srcdir="$ac_optarg" ;;
345
 
346
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
347
  | --syscon | --sysco | --sysc | --sys | --sy)
348
    ac_prev=sysconfdir ;;
349
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
350
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
351
    sysconfdir="$ac_optarg" ;;
352
 
353
  -target | --target | --targe | --targ | --tar | --ta | --t)
354
    ac_prev=target ;;
355
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
356
    target="$ac_optarg" ;;
357
 
358
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
359
    verbose=yes ;;
360
 
361
  -version | --version | --versio | --versi | --vers)
362
    echo "configure generated by autoconf version 2.13"
363
    exit 0 ;;
364
 
365
  -with-* | --with-*)
366
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
367
    # Reject names that are not valid shell variable names.
368
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
369
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
370
    fi
371
    ac_package=`echo $ac_package| sed 's/-/_/g'`
372
    case "$ac_option" in
373
      *=*) ;;
374
      *) ac_optarg=yes ;;
375
    esac
376
    eval "with_${ac_package}='$ac_optarg'" ;;
377
 
378
  -without-* | --without-*)
379
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
380
    # Reject names that are not valid shell variable names.
381
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
382
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
383
    fi
384
    ac_package=`echo $ac_package| sed 's/-/_/g'`
385
    eval "with_${ac_package}=no" ;;
386
 
387
  --x)
388
    # Obsolete; use --with-x.
389
    with_x=yes ;;
390
 
391
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
392
  | --x-incl | --x-inc | --x-in | --x-i)
393
    ac_prev=x_includes ;;
394
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
395
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
396
    x_includes="$ac_optarg" ;;
397
 
398
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
399
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
400
    ac_prev=x_libraries ;;
401
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
402
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
403
    x_libraries="$ac_optarg" ;;
404
 
405
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
406
    ;;
407
 
408
  *)
409
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
410
      echo "configure: warning: $ac_option: invalid host type" 1>&2
411
    fi
412
    if test "x$nonopt" != xNONE; then
413
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
414
    fi
415
    nonopt="$ac_option"
416
    ;;
417
 
418
  esac
419
done
420
 
421
if test -n "$ac_prev"; then
422
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
423
fi
424
 
425
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
426
 
427
# File descriptor usage:
428
# 0 standard input
429
# 1 file creation
430
# 2 errors and warnings
431
# 3 some systems may open it to /dev/tty
432
# 4 used on the Kubota Titan
433
# 6 checking for... messages and results
434
# 5 compiler messages saved in config.log
435
if test "$silent" = yes; then
436
  exec 6>/dev/null
437
else
438
  exec 6>&1
439
fi
440
exec 5>./config.log
441
 
442
echo "\
443
This file contains any messages produced by compilers while
444
running configure, to aid debugging if configure makes a mistake.
445
" 1>&5
446
 
447
# Strip out --no-create and --no-recursion so they do not pile up.
448
# Also quote any args containing shell metacharacters.
449
ac_configure_args=
450
for ac_arg
451
do
452
  case "$ac_arg" in
453
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
454
  | --no-cr | --no-c) ;;
455
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
456
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
457
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
458
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
459
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
460
  esac
461
done
462
 
463
# NLS nuisances.
464
# Only set these to C if already set.  These must not be set unconditionally
465
# because not all systems understand e.g. LANG=C (notably SCO).
466
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
467
# Non-C LC_CTYPE values break the ctype check.
468
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
469
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
470
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
471
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
472
 
473
# confdefs.h avoids OS command line length limits that DEFS can exceed.
474
rm -rf conftest* confdefs.h
475
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
476
echo > confdefs.h
477
 
478
# A filename unique to this package, relative to the directory that
479
# configure is in, which we can look for to find out if srcdir is correct.
480
ac_unique_file=support/support.h
481
 
482
# Find the source files, if location was not specified.
483
if test -z "$srcdir"; then
484
  ac_srcdir_defaulted=yes
485
  # Try the directory containing this script, then its parent.
486
  ac_prog=$0
487
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
488
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
489
  srcdir=$ac_confdir
490
  if test ! -r $srcdir/$ac_unique_file; then
491
    srcdir=..
492
  fi
493
else
494
  ac_srcdir_defaulted=no
495
fi
496
if test ! -r $srcdir/$ac_unique_file; then
497
  if test "$ac_srcdir_defaulted" = yes; then
498
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
499
  else
500
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
501
  fi
502
fi
503
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
504
 
505
# Prefer explicitly selected file to automatically selected ones.
506
if test -z "$CONFIG_SITE"; then
507
  if test "x$prefix" != xNONE; then
508
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
509
  else
510
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
511
  fi
512
fi
513
for ac_site_file in $CONFIG_SITE; do
514
  if test -r "$ac_site_file"; then
515
    echo "loading site script $ac_site_file"
516
    . "$ac_site_file"
517
  fi
518
done
519
 
520 258 erez
if test -r "$cache_file"; then
521
  echo "loading cache $cache_file"
522
  . $cache_file
523
else
524
  echo "creating cache $cache_file"
525
  > $cache_file
526
fi
527 224 markom
 
528
ac_ext=c
529
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
530
ac_cpp='$CPP $CPPFLAGS'
531
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
532
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
533
cross_compiling=$ac_cv_prog_cc_cross
534
 
535
ac_exeext=
536
ac_objext=o
537
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
538
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
539
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
540
    ac_n= ac_c='
541
' ac_t='        '
542
  else
543
    ac_n=-n ac_c= ac_t=
544
  fi
545
else
546
  ac_n= ac_c='\c' ac_t=
547
fi
548
 
549
 
550
ac_aux_dir=
551
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
552
  if test -f $ac_dir/install-sh; then
553
    ac_aux_dir=$ac_dir
554
    ac_install_sh="$ac_aux_dir/install-sh -c"
555
    break
556
  elif test -f $ac_dir/install.sh; then
557
    ac_aux_dir=$ac_dir
558
    ac_install_sh="$ac_aux_dir/install.sh -c"
559
    break
560
  fi
561
done
562
if test -z "$ac_aux_dir"; then
563
  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
564
fi
565
ac_config_guess=$ac_aux_dir/config.guess
566
ac_config_sub=$ac_aux_dir/config.sub
567
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
568
 
569
 
570
# Make sure we can run config.sub.
571
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
572
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
573
fi
574
 
575
echo $ac_n "checking host system type""... $ac_c" 1>&6
576 258 erez
echo "configure:577: checking host system type" >&5
577 224 markom
 
578
host_alias=$host
579
case "$host_alias" in
580
NONE)
581
  case $nonopt in
582
  NONE)
583
    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
584
    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
585
    fi ;;
586
  *) host_alias=$nonopt ;;
587
  esac ;;
588
esac
589
 
590
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
591
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
592
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
593
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
594
echo "$ac_t""$host" 1>&6
595
 
596
# Find a good install program.  We prefer a C program (faster),
597
# so one script is as good as another.  But avoid the broken or
598
# incompatible versions:
599
# SysV /etc/install, /usr/sbin/install
600
# SunOS /usr/etc/install
601
# IRIX /sbin/install
602
# AIX /bin/install
603
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
604
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
605
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
606
# ./install, which can be erroneously created by make from ./install.sh.
607
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
608 258 erez
echo "configure:609: checking for a BSD compatible install" >&5
609 224 markom
if test -z "$INSTALL"; then
610
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
611
  echo $ac_n "(cached) $ac_c" 1>&6
612
else
613
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
614
  for ac_dir in $PATH; do
615
    # Account for people who put trailing slashes in PATH elements.
616
    case "$ac_dir/" in
617
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
618
    *)
619
      # OSF1 and SCO ODT 3.0 have their own names for install.
620
      # Don't use installbsd from OSF since it installs stuff as root
621
      # by default.
622
      for ac_prog in ginstall scoinst install; do
623
        if test -f $ac_dir/$ac_prog; then
624
          if test $ac_prog = install &&
625
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
626
            # AIX install.  It has an incompatible calling convention.
627
            :
628
          else
629
            ac_cv_path_install="$ac_dir/$ac_prog -c"
630
            break 2
631
          fi
632
        fi
633
      done
634
      ;;
635
    esac
636
  done
637
  IFS="$ac_save_IFS"
638
 
639
fi
640
  if test "${ac_cv_path_install+set}" = set; then
641
    INSTALL="$ac_cv_path_install"
642
  else
643
    # As a last resort, use the slow shell script.  We don't cache a
644
    # path for INSTALL within a source directory, because that will
645
    # break other packages using the cache if that directory is
646
    # removed, or if the path is relative.
647
    INSTALL="$ac_install_sh"
648
  fi
649
fi
650
echo "$ac_t""$INSTALL" 1>&6
651
 
652
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
653
# It thinks the first close brace ends the variable substitution.
654
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
655
 
656
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
657
 
658
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
659
 
660
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
661 258 erez
echo "configure:662: checking whether build environment is sane" >&5
662 224 markom
# Just in case
663
sleep 1
664
echo timestamp > conftestfile
665
# Do `set' in a subshell so we don't clobber the current shell's
666
# arguments.  Must try -L first in case configure is actually a
667
# symlink; some systems play weird games with the mod time of symlinks
668
# (eg FreeBSD returns the mod time of the symlink's containing
669
# directory).
670
if (
671
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
672
   if test "$*" = "X"; then
673
      # -L didn't work.
674
      set X `ls -t $srcdir/configure conftestfile`
675
   fi
676
   if test "$*" != "X $srcdir/configure conftestfile" \
677
      && test "$*" != "X conftestfile $srcdir/configure"; then
678
 
679
      # If neither matched, then we have a broken ls.  This can happen
680
      # if, for instance, CONFIG_SHELL is bash and it inherits a
681
      # broken ls alias from the environment.  This has actually
682
      # happened.  Such a system could not be considered "sane".
683
      { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
684
alias in your environment" 1>&2; exit 1; }
685
   fi
686
 
687
   test "$2" = conftestfile
688
   )
689
then
690
   # Ok.
691
   :
692
else
693
   { echo "configure: error: newly created file is older than distributed files!
694
Check your system clock" 1>&2; exit 1; }
695
fi
696
rm -f conftest*
697
echo "$ac_t""yes" 1>&6
698
if test "$program_transform_name" = s,x,x,; then
699
  program_transform_name=
700
else
701
  # Double any \ or $.  echo might interpret backslashes.
702
  cat <<\EOF_SED > conftestsed
703
s,\\,\\\\,g; s,\$,$$,g
704
EOF_SED
705
  program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
706
  rm -f conftestsed
707
fi
708
test "$program_prefix" != NONE &&
709
  program_transform_name="s,^,${program_prefix},; $program_transform_name"
710
# Use a double $ so make ignores it.
711
test "$program_suffix" != NONE &&
712
  program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
713
 
714
# sed with no file args requires a program.
715
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
716
 
717
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
718 258 erez
echo "configure:719: checking whether ${MAKE-make} sets \${MAKE}" >&5
719 224 markom
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
720
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
721
  echo $ac_n "(cached) $ac_c" 1>&6
722
else
723
  cat > conftestmake <<\EOF
724
all:
725
        @echo 'ac_maketemp="${MAKE}"'
726
EOF
727
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
728
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
729
if test -n "$ac_maketemp"; then
730
  eval ac_cv_prog_make_${ac_make}_set=yes
731
else
732
  eval ac_cv_prog_make_${ac_make}_set=no
733
fi
734
rm -f conftestmake
735
fi
736
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
737
  echo "$ac_t""yes" 1>&6
738
  SET_MAKE=
739
else
740
  echo "$ac_t""no" 1>&6
741
  SET_MAKE="MAKE=${MAKE-make}"
742
fi
743
 
744
 
745
PACKAGE=or1ksimtest
746
 
747
VERSION=1.3
748
 
749
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
750
  { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
751
fi
752
cat >> confdefs.h <
753
#define PACKAGE "$PACKAGE"
754
EOF
755
 
756
cat >> confdefs.h <
757
#define VERSION "$VERSION"
758
EOF
759
 
760
 
761
 
762
missing_dir=`cd $ac_aux_dir && pwd`
763
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
764 258 erez
echo "configure:765: checking for working aclocal" >&5
765 224 markom
# Run test in a subshell; some versions of sh will print an error if
766
# an executable is not found, even if stderr is redirected.
767
# Redirect stdin to placate older versions of autoconf.  Sigh.
768
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
769
   ACLOCAL=aclocal
770
   echo "$ac_t""found" 1>&6
771
else
772
   ACLOCAL="$missing_dir/missing aclocal"
773
   echo "$ac_t""missing" 1>&6
774
fi
775
 
776
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
777 258 erez
echo "configure:778: checking for working autoconf" >&5
778 224 markom
# Run test in a subshell; some versions of sh will print an error if
779
# an executable is not found, even if stderr is redirected.
780
# Redirect stdin to placate older versions of autoconf.  Sigh.
781
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
782
   AUTOCONF=autoconf
783
   echo "$ac_t""found" 1>&6
784
else
785
   AUTOCONF="$missing_dir/missing autoconf"
786
   echo "$ac_t""missing" 1>&6
787
fi
788
 
789
echo $ac_n "checking for working automake""... $ac_c" 1>&6
790 258 erez
echo "configure:791: checking for working automake" >&5
791 224 markom
# Run test in a subshell; some versions of sh will print an error if
792
# an executable is not found, even if stderr is redirected.
793
# Redirect stdin to placate older versions of autoconf.  Sigh.
794
if (automake --version) < /dev/null > /dev/null 2>&1; then
795
   AUTOMAKE=automake
796
   echo "$ac_t""found" 1>&6
797
else
798
   AUTOMAKE="$missing_dir/missing automake"
799
   echo "$ac_t""missing" 1>&6
800
fi
801
 
802
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
803 258 erez
echo "configure:804: checking for working autoheader" >&5
804 224 markom
# Run test in a subshell; some versions of sh will print an error if
805
# an executable is not found, even if stderr is redirected.
806
# Redirect stdin to placate older versions of autoconf.  Sigh.
807
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
808
   AUTOHEADER=autoheader
809
   echo "$ac_t""found" 1>&6
810
else
811
   AUTOHEADER="$missing_dir/missing autoheader"
812
   echo "$ac_t""missing" 1>&6
813
fi
814
 
815
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
816 258 erez
echo "configure:817: checking for working makeinfo" >&5
817 224 markom
# Run test in a subshell; some versions of sh will print an error if
818
# an executable is not found, even if stderr is redirected.
819
# Redirect stdin to placate older versions of autoconf.  Sigh.
820
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
821
   MAKEINFO=makeinfo
822
   echo "$ac_t""found" 1>&6
823
else
824
   MAKEINFO="$missing_dir/missing makeinfo"
825
   echo "$ac_t""missing" 1>&6
826
fi
827
 
828
 
829
 
830
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
831 258 erez
echo "configure:832: checking whether ${MAKE-make} sets \${MAKE}" >&5
832 224 markom
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
833
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
834
  echo $ac_n "(cached) $ac_c" 1>&6
835
else
836
  cat > conftestmake <<\EOF
837
all:
838
        @echo 'ac_maketemp="${MAKE}"'
839
EOF
840
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
841
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
842
if test -n "$ac_maketemp"; then
843
  eval ac_cv_prog_make_${ac_make}_set=yes
844
else
845
  eval ac_cv_prog_make_${ac_make}_set=no
846
fi
847
rm -f conftestmake
848
fi
849
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
850
  echo "$ac_t""yes" 1>&6
851
  SET_MAKE=
852
else
853
  echo "$ac_t""no" 1>&6
854
  SET_MAKE="MAKE=${MAKE-make}"
855
fi
856
 
857
# Find a good install program.  We prefer a C program (faster),
858
# so one script is as good as another.  But avoid the broken or
859
# incompatible versions:
860
# SysV /etc/install, /usr/sbin/install
861
# SunOS /usr/etc/install
862
# IRIX /sbin/install
863
# AIX /bin/install
864
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
865
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
866
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
867
# ./install, which can be erroneously created by make from ./install.sh.
868
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
869 258 erez
echo "configure:870: checking for a BSD compatible install" >&5
870 224 markom
if test -z "$INSTALL"; then
871
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
872
  echo $ac_n "(cached) $ac_c" 1>&6
873
else
874
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
875
  for ac_dir in $PATH; do
876
    # Account for people who put trailing slashes in PATH elements.
877
    case "$ac_dir/" in
878
    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
879
    *)
880
      # OSF1 and SCO ODT 3.0 have their own names for install.
881
      # Don't use installbsd from OSF since it installs stuff as root
882
      # by default.
883
      for ac_prog in ginstall scoinst install; do
884
        if test -f $ac_dir/$ac_prog; then
885
          if test $ac_prog = install &&
886
            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
887
            # AIX install.  It has an incompatible calling convention.
888
            :
889
          else
890
            ac_cv_path_install="$ac_dir/$ac_prog -c"
891
            break 2
892
          fi
893
        fi
894
      done
895
      ;;
896
    esac
897
  done
898
  IFS="$ac_save_IFS"
899
 
900
fi
901
  if test "${ac_cv_path_install+set}" = set; then
902
    INSTALL="$ac_cv_path_install"
903
  else
904
    # As a last resort, use the slow shell script.  We don't cache a
905
    # path for INSTALL within a source directory, because that will
906
    # break other packages using the cache if that directory is
907
    # removed, or if the path is relative.
908
    INSTALL="$ac_install_sh"
909
  fi
910
fi
911
echo "$ac_t""$INSTALL" 1>&6
912
 
913
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
914
# It thinks the first close brace ends the variable substitution.
915
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
916
 
917
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
918
 
919
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
920
 
921
echo $ac_n "checking build system type""... $ac_c" 1>&6
922 258 erez
echo "configure:923: checking build system type" >&5
923 224 markom
 
924
build_alias=$build
925
case "$build_alias" in
926
NONE)
927
  case $nonopt in
928
  NONE) build_alias=$host_alias ;;
929
  *) build_alias=$nonopt ;;
930
  esac ;;
931
esac
932
 
933
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
934
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
935
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
936
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
937
echo "$ac_t""$build" 1>&6
938
 
939
if test $host != $build; then
940
  ac_tool_prefix=${host_alias}-
941
else
942
  ac_tool_prefix=
943
fi
944
 
945 229 erez
# Extract the first word of "${ac_tool_prefix}$target-gcc", so it can be a program name with args.
946
set dummy ${ac_tool_prefix}$target-gcc; ac_word=$2
947 224 markom
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
948 258 erez
echo "configure:949: checking for $ac_word" >&5
949 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
950
  echo $ac_n "(cached) $ac_c" 1>&6
951
else
952
  if test -n "$CC"; then
953
  ac_cv_prog_CC="$CC" # Let the user override the test.
954
else
955
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
956
  ac_dummy="$PATH"
957
  for ac_dir in $ac_dummy; do
958
    test -z "$ac_dir" && ac_dir=.
959
    if test -f $ac_dir/$ac_word; then
960 229 erez
      ac_cv_prog_CC="${ac_tool_prefix}$target-gcc"
961 224 markom
      break
962
    fi
963
  done
964
  IFS="$ac_save_ifs"
965
fi
966
fi
967
CC="$ac_cv_prog_CC"
968
if test -n "$CC"; then
969
  echo "$ac_t""$CC" 1>&6
970
else
971
  echo "$ac_t""no" 1>&6
972
fi
973
 
974
 
975
if test -z "$ac_cv_prog_CC"; then
976
if test -n "$ac_tool_prefix"; then
977 229 erez
  # Extract the first word of "$target-gcc", so it can be a program name with args.
978
set dummy $target-gcc; ac_word=$2
979 224 markom
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
980 258 erez
echo "configure:981: checking for $ac_word" >&5
981 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
982
  echo $ac_n "(cached) $ac_c" 1>&6
983
else
984
  if test -n "$CC"; then
985
  ac_cv_prog_CC="$CC" # Let the user override the test.
986
else
987
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
988
  ac_dummy="$PATH"
989
  for ac_dir in $ac_dummy; do
990
    test -z "$ac_dir" && ac_dir=.
991
    if test -f $ac_dir/$ac_word; then
992 229 erez
      ac_cv_prog_CC="$target-gcc"
993 224 markom
      break
994
    fi
995
  done
996
  IFS="$ac_save_ifs"
997
  test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
998
fi
999
fi
1000
CC="$ac_cv_prog_CC"
1001
if test -n "$CC"; then
1002
  echo "$ac_t""$CC" 1>&6
1003
else
1004
  echo "$ac_t""no" 1>&6
1005
fi
1006
 
1007
else
1008
  CC="cc"
1009
fi
1010
fi
1011
 
1012 229 erez
# Extract the first word of "${ac_tool_prefix}$target-ranlib", so it can be a program name with args.
1013
set dummy ${ac_tool_prefix}$target-ranlib; ac_word=$2
1014 224 markom
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1015 258 erez
echo "configure:1016: checking for $ac_word" >&5
1016 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1017
  echo $ac_n "(cached) $ac_c" 1>&6
1018
else
1019
  if test -n "$RANLIB"; then
1020
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1021
else
1022
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1023
  ac_dummy="$PATH"
1024
  for ac_dir in $ac_dummy; do
1025
    test -z "$ac_dir" && ac_dir=.
1026
    if test -f $ac_dir/$ac_word; then
1027 229 erez
      ac_cv_prog_RANLIB="${ac_tool_prefix}$target-ranlib"
1028 224 markom
      break
1029
    fi
1030
  done
1031
  IFS="$ac_save_ifs"
1032
fi
1033
fi
1034
RANLIB="$ac_cv_prog_RANLIB"
1035
if test -n "$RANLIB"; then
1036
  echo "$ac_t""$RANLIB" 1>&6
1037
else
1038
  echo "$ac_t""no" 1>&6
1039
fi
1040
 
1041
 
1042
if test -z "$ac_cv_prog_RANLIB"; then
1043
if test -n "$ac_tool_prefix"; then
1044 229 erez
  # Extract the first word of "$target-ranlib", so it can be a program name with args.
1045
set dummy $target-ranlib; ac_word=$2
1046 224 markom
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1047 258 erez
echo "configure:1048: checking for $ac_word" >&5
1048 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1049
  echo $ac_n "(cached) $ac_c" 1>&6
1050
else
1051
  if test -n "$RANLIB"; then
1052
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1053
else
1054
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1055
  ac_dummy="$PATH"
1056
  for ac_dir in $ac_dummy; do
1057
    test -z "$ac_dir" && ac_dir=.
1058
    if test -f $ac_dir/$ac_word; then
1059 229 erez
      ac_cv_prog_RANLIB="$target-ranlib"
1060 224 markom
      break
1061
    fi
1062
  done
1063
  IFS="$ac_save_ifs"
1064
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib"
1065
fi
1066
fi
1067
RANLIB="$ac_cv_prog_RANLIB"
1068
if test -n "$RANLIB"; then
1069
  echo "$ac_t""$RANLIB" 1>&6
1070
else
1071
  echo "$ac_t""no" 1>&6
1072
fi
1073
 
1074
else
1075
  RANLIB="ranlib"
1076
fi
1077
fi
1078
 
1079 229 erez
# Extract the first word of "${ac_tool_prefix}$target-ld", so it can be a program name with args.
1080
set dummy ${ac_tool_prefix}$target-ld; ac_word=$2
1081 224 markom
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1082 258 erez
echo "configure:1083: checking for $ac_word" >&5
1083 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
1084
  echo $ac_n "(cached) $ac_c" 1>&6
1085
else
1086
  if test -n "$LD"; then
1087
  ac_cv_prog_LD="$LD" # Let the user override the test.
1088
else
1089
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1090
  ac_dummy="$PATH"
1091
  for ac_dir in $ac_dummy; do
1092
    test -z "$ac_dir" && ac_dir=.
1093
    if test -f $ac_dir/$ac_word; then
1094 229 erez
      ac_cv_prog_LD="${ac_tool_prefix}$target-ld"
1095 224 markom
      break
1096
    fi
1097
  done
1098
  IFS="$ac_save_ifs"
1099
fi
1100
fi
1101
LD="$ac_cv_prog_LD"
1102
if test -n "$LD"; then
1103
  echo "$ac_t""$LD" 1>&6
1104
else
1105
  echo "$ac_t""no" 1>&6
1106
fi
1107
 
1108
 
1109
if test -z "$ac_cv_prog_LD"; then
1110
if test -n "$ac_tool_prefix"; then
1111 229 erez
  # Extract the first word of "$target-ld", so it can be a program name with args.
1112
set dummy $target-ld; ac_word=$2
1113 224 markom
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1114 258 erez
echo "configure:1115: checking for $ac_word" >&5
1115 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
1116
  echo $ac_n "(cached) $ac_c" 1>&6
1117
else
1118
  if test -n "$LD"; then
1119
  ac_cv_prog_LD="$LD" # Let the user override the test.
1120
else
1121
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1122
  ac_dummy="$PATH"
1123
  for ac_dir in $ac_dummy; do
1124
    test -z "$ac_dir" && ac_dir=.
1125
    if test -f $ac_dir/$ac_word; then
1126 229 erez
      ac_cv_prog_LD="$target-ld"
1127 224 markom
      break
1128
    fi
1129
  done
1130
  IFS="$ac_save_ifs"
1131
  test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="ld"
1132
fi
1133
fi
1134
LD="$ac_cv_prog_LD"
1135
if test -n "$LD"; then
1136
  echo "$ac_t""$LD" 1>&6
1137
else
1138
  echo "$ac_t""no" 1>&6
1139
fi
1140
 
1141
else
1142
  LD="ld"
1143
fi
1144
fi
1145
 
1146 308 markom
# Extract the first word of "${ac_tool_prefix}$target-sim", so it can be a program name with args.
1147
set dummy ${ac_tool_prefix}$target-sim; ac_word=$2
1148
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1149
echo "configure:1150: checking for $ac_word" >&5
1150
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
1151
  echo $ac_n "(cached) $ac_c" 1>&6
1152
else
1153
  if test -n "$SIM"; then
1154
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
1155
else
1156
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1157
  ac_dummy="$PATH"
1158
  for ac_dir in $ac_dummy; do
1159
    test -z "$ac_dir" && ac_dir=.
1160
    if test -f $ac_dir/$ac_word; then
1161
      ac_cv_prog_SIM="${ac_tool_prefix}$target-sim"
1162
      break
1163
    fi
1164
  done
1165
  IFS="$ac_save_ifs"
1166
fi
1167
fi
1168
SIM="$ac_cv_prog_SIM"
1169
if test -n "$SIM"; then
1170
  echo "$ac_t""$SIM" 1>&6
1171
else
1172
  echo "$ac_t""no" 1>&6
1173
fi
1174
 
1175
 
1176
if test -z "$ac_cv_prog_SIM"; then
1177
if test -n "$ac_tool_prefix"; then
1178
  # Extract the first word of "$target-sim", so it can be a program name with args.
1179
set dummy $target-sim; ac_word=$2
1180
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1181
echo "configure:1182: checking for $ac_word" >&5
1182
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
1183
  echo $ac_n "(cached) $ac_c" 1>&6
1184
else
1185
  if test -n "$SIM"; then
1186
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
1187
else
1188
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1189
  ac_dummy="$PATH"
1190
  for ac_dir in $ac_dummy; do
1191
    test -z "$ac_dir" && ac_dir=.
1192
    if test -f $ac_dir/$ac_word; then
1193
      ac_cv_prog_SIM="$target-sim"
1194
      break
1195
    fi
1196
  done
1197
  IFS="$ac_save_ifs"
1198
  test -z "$ac_cv_prog_SIM" && ac_cv_prog_SIM="sim"
1199
fi
1200
fi
1201
SIM="$ac_cv_prog_SIM"
1202
if test -n "$SIM"; then
1203
  echo "$ac_t""$SIM" 1>&6
1204
else
1205
  echo "$ac_t""no" 1>&6
1206
fi
1207
 
1208
else
1209
  SIM="sim"
1210
fi
1211
fi
1212
 
1213 224 markom
# Extract the first word of "gcc", so it can be a program name with args.
1214
set dummy gcc; ac_word=$2
1215
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1216 308 markom
echo "configure:1217: checking for $ac_word" >&5
1217 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1218
  echo $ac_n "(cached) $ac_c" 1>&6
1219
else
1220
  if test -n "$CC"; then
1221
  ac_cv_prog_CC="$CC" # Let the user override the test.
1222
else
1223
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1224
  ac_dummy="$PATH"
1225
  for ac_dir in $ac_dummy; do
1226
    test -z "$ac_dir" && ac_dir=.
1227
    if test -f $ac_dir/$ac_word; then
1228
      ac_cv_prog_CC="gcc"
1229
      break
1230
    fi
1231
  done
1232
  IFS="$ac_save_ifs"
1233
fi
1234
fi
1235
CC="$ac_cv_prog_CC"
1236
if test -n "$CC"; then
1237
  echo "$ac_t""$CC" 1>&6
1238
else
1239
  echo "$ac_t""no" 1>&6
1240
fi
1241
 
1242
if test -z "$CC"; then
1243
  # Extract the first word of "cc", so it can be a program name with args.
1244
set dummy cc; ac_word=$2
1245
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1246 308 markom
echo "configure:1247: checking for $ac_word" >&5
1247 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1248
  echo $ac_n "(cached) $ac_c" 1>&6
1249
else
1250
  if test -n "$CC"; then
1251
  ac_cv_prog_CC="$CC" # Let the user override the test.
1252
else
1253
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1254
  ac_prog_rejected=no
1255
  ac_dummy="$PATH"
1256
  for ac_dir in $ac_dummy; do
1257
    test -z "$ac_dir" && ac_dir=.
1258
    if test -f $ac_dir/$ac_word; then
1259
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1260
        ac_prog_rejected=yes
1261
        continue
1262
      fi
1263
      ac_cv_prog_CC="cc"
1264
      break
1265
    fi
1266
  done
1267
  IFS="$ac_save_ifs"
1268
if test $ac_prog_rejected = yes; then
1269
  # We found a bogon in the path, so make sure we never use it.
1270
  set dummy $ac_cv_prog_CC
1271
  shift
1272
  if test $# -gt 0; then
1273
    # We chose a different compiler from the bogus one.
1274
    # However, it has the same basename, so the bogon will be chosen
1275
    # first if we set CC to just the basename; use the full file name.
1276
    shift
1277
    set dummy "$ac_dir/$ac_word" "$@"
1278
    shift
1279
    ac_cv_prog_CC="$@"
1280
  fi
1281
fi
1282
fi
1283
fi
1284
CC="$ac_cv_prog_CC"
1285
if test -n "$CC"; then
1286
  echo "$ac_t""$CC" 1>&6
1287
else
1288
  echo "$ac_t""no" 1>&6
1289
fi
1290
 
1291
  if test -z "$CC"; then
1292
    case "`uname -s`" in
1293
    *win32* | *WIN32*)
1294
      # Extract the first word of "cl", so it can be a program name with args.
1295
set dummy cl; ac_word=$2
1296
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1297 308 markom
echo "configure:1298: checking for $ac_word" >&5
1298 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1299
  echo $ac_n "(cached) $ac_c" 1>&6
1300
else
1301
  if test -n "$CC"; then
1302
  ac_cv_prog_CC="$CC" # Let the user override the test.
1303
else
1304
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1305
  ac_dummy="$PATH"
1306
  for ac_dir in $ac_dummy; do
1307
    test -z "$ac_dir" && ac_dir=.
1308
    if test -f $ac_dir/$ac_word; then
1309
      ac_cv_prog_CC="cl"
1310
      break
1311
    fi
1312
  done
1313
  IFS="$ac_save_ifs"
1314
fi
1315
fi
1316
CC="$ac_cv_prog_CC"
1317
if test -n "$CC"; then
1318
  echo "$ac_t""$CC" 1>&6
1319
else
1320
  echo "$ac_t""no" 1>&6
1321
fi
1322
 ;;
1323
    esac
1324
  fi
1325
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1326
fi
1327
 
1328
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1329 308 markom
echo "configure:1330: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1330 224 markom
 
1331
ac_ext=c
1332
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1333
ac_cpp='$CPP $CPPFLAGS'
1334
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1335
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1336
cross_compiling=$ac_cv_prog_cc_cross
1337
 
1338
cat > conftest.$ac_ext << EOF
1339
 
1340 308 markom
#line 1341 "configure"
1341 224 markom
#include "confdefs.h"
1342
 
1343
main(){return(0);}
1344
EOF
1345 308 markom
if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1346 224 markom
  ac_cv_prog_cc_works=yes
1347
  # If we can't run a trivial program, we are probably using a cross compiler.
1348
  if (./conftest; exit) 2>/dev/null; then
1349
    ac_cv_prog_cc_cross=no
1350
  else
1351
    ac_cv_prog_cc_cross=yes
1352
  fi
1353
else
1354
  echo "configure: failed program was:" >&5
1355
  cat conftest.$ac_ext >&5
1356
  ac_cv_prog_cc_works=no
1357
fi
1358
rm -fr conftest*
1359
ac_ext=c
1360
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1361
ac_cpp='$CPP $CPPFLAGS'
1362
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1363
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1364
cross_compiling=$ac_cv_prog_cc_cross
1365
 
1366
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1367
if test $ac_cv_prog_cc_works = no; then
1368
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1369
fi
1370
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1371 308 markom
echo "configure:1372: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1372 224 markom
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1373
cross_compiling=$ac_cv_prog_cc_cross
1374
 
1375
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1376 308 markom
echo "configure:1377: checking whether we are using GNU C" >&5
1377 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1378
  echo $ac_n "(cached) $ac_c" 1>&6
1379
else
1380
  cat > conftest.c <
1381
#ifdef __GNUC__
1382
  yes;
1383
#endif
1384
EOF
1385 308 markom
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1386 224 markom
  ac_cv_prog_gcc=yes
1387
else
1388
  ac_cv_prog_gcc=no
1389
fi
1390
fi
1391
 
1392
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1393
 
1394
if test $ac_cv_prog_gcc = yes; then
1395
  GCC=yes
1396
else
1397
  GCC=
1398
fi
1399
 
1400
ac_test_CFLAGS="${CFLAGS+set}"
1401
ac_save_CFLAGS="$CFLAGS"
1402
CFLAGS=
1403
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1404 308 markom
echo "configure:1405: checking whether ${CC-cc} accepts -g" >&5
1405 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1406
  echo $ac_n "(cached) $ac_c" 1>&6
1407
else
1408
  echo 'void f(){}' > conftest.c
1409
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1410
  ac_cv_prog_cc_g=yes
1411
else
1412
  ac_cv_prog_cc_g=no
1413
fi
1414
rm -f conftest*
1415
 
1416
fi
1417
 
1418
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1419
if test "$ac_test_CFLAGS" = set; then
1420
  CFLAGS="$ac_save_CFLAGS"
1421
elif test $ac_cv_prog_cc_g = yes; then
1422
  if test "$GCC" = yes; then
1423
    CFLAGS="-g -O2"
1424
  else
1425
    CFLAGS="-g"
1426
  fi
1427
else
1428
  if test "$GCC" = yes; then
1429
    CFLAGS="-O2"
1430
  else
1431
    CFLAGS=
1432
  fi
1433
fi
1434
 
1435
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1436 308 markom
echo "configure:1437: checking for POSIXized ISC" >&5
1437 224 markom
if test -d /etc/conf/kconfig.d &&
1438
  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1439
then
1440
  echo "$ac_t""yes" 1>&6
1441
  ISC=yes # If later tests want to check for ISC.
1442
  cat >> confdefs.h <<\EOF
1443
#define _POSIX_SOURCE 1
1444
EOF
1445
 
1446
  if test "$GCC" = yes; then
1447
    CC="$CC -posix"
1448
  else
1449
    CC="$CC -Xp"
1450
  fi
1451
else
1452
  echo "$ac_t""no" 1>&6
1453
  ISC=
1454
fi
1455
 
1456
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1457 308 markom
echo "configure:1458: checking how to run the C preprocessor" >&5
1458 224 markom
# On Suns, sometimes $CPP names a directory.
1459
if test -n "$CPP" && test -d "$CPP"; then
1460
  CPP=
1461
fi
1462
if test -z "$CPP"; then
1463
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1464
  echo $ac_n "(cached) $ac_c" 1>&6
1465
else
1466
    # This must be in double quotes, not single quotes, because CPP may get
1467
  # substituted into the Makefile and "${CC-cc}" will confuse make.
1468
  CPP="${CC-cc} -E"
1469
  # On the NeXT, cc -E runs the code through the compiler's parser,
1470
  # not just through cpp.
1471
  cat > conftest.$ac_ext <
1472 308 markom
#line 1473 "configure"
1473 224 markom
#include "confdefs.h"
1474
#include 
1475
Syntax Error
1476
EOF
1477
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1478 308 markom
{ (eval echo configure:1479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1479 224 markom
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1480
if test -z "$ac_err"; then
1481
  :
1482
else
1483
  echo "$ac_err" >&5
1484
  echo "configure: failed program was:" >&5
1485
  cat conftest.$ac_ext >&5
1486
  rm -rf conftest*
1487
  CPP="${CC-cc} -E -traditional-cpp"
1488
  cat > conftest.$ac_ext <
1489 308 markom
#line 1490 "configure"
1490 224 markom
#include "confdefs.h"
1491
#include 
1492
Syntax Error
1493
EOF
1494
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1495 308 markom
{ (eval echo configure:1496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1496 224 markom
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1497
if test -z "$ac_err"; then
1498
  :
1499
else
1500
  echo "$ac_err" >&5
1501
  echo "configure: failed program was:" >&5
1502
  cat conftest.$ac_ext >&5
1503
  rm -rf conftest*
1504
  CPP="${CC-cc} -nologo -E"
1505
  cat > conftest.$ac_ext <
1506 308 markom
#line 1507 "configure"
1507 224 markom
#include "confdefs.h"
1508
#include 
1509
Syntax Error
1510
EOF
1511
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1512 308 markom
{ (eval echo configure:1513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1513 224 markom
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1514
if test -z "$ac_err"; then
1515
  :
1516
else
1517
  echo "$ac_err" >&5
1518
  echo "configure: failed program was:" >&5
1519
  cat conftest.$ac_ext >&5
1520
  rm -rf conftest*
1521
  CPP=/lib/cpp
1522
fi
1523
rm -f conftest*
1524
fi
1525
rm -f conftest*
1526
fi
1527
rm -f conftest*
1528
  ac_cv_prog_CPP="$CPP"
1529
fi
1530
  CPP="$ac_cv_prog_CPP"
1531
else
1532
  ac_cv_prog_CPP="$CPP"
1533
fi
1534
echo "$ac_t""$CPP" 1>&6
1535
 
1536
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1537 308 markom
echo "configure:1538: checking for ANSI C header files" >&5
1538 224 markom
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1539
  echo $ac_n "(cached) $ac_c" 1>&6
1540
else
1541
  cat > conftest.$ac_ext <
1542 308 markom
#line 1543 "configure"
1543 224 markom
#include "confdefs.h"
1544
#include 
1545
#include 
1546
#include 
1547
#include 
1548
EOF
1549
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1550 308 markom
{ (eval echo configure:1551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1551 224 markom
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1552
if test -z "$ac_err"; then
1553
  rm -rf conftest*
1554
  ac_cv_header_stdc=yes
1555
else
1556
  echo "$ac_err" >&5
1557
  echo "configure: failed program was:" >&5
1558
  cat conftest.$ac_ext >&5
1559
  rm -rf conftest*
1560
  ac_cv_header_stdc=no
1561
fi
1562
rm -f conftest*
1563
 
1564
if test $ac_cv_header_stdc = yes; then
1565
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1566
cat > conftest.$ac_ext <
1567 308 markom
#line 1568 "configure"
1568 224 markom
#include "confdefs.h"
1569
#include 
1570
EOF
1571
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1572
  egrep "memchr" >/dev/null 2>&1; then
1573
  :
1574
else
1575
  rm -rf conftest*
1576
  ac_cv_header_stdc=no
1577
fi
1578
rm -f conftest*
1579
 
1580
fi
1581
 
1582
if test $ac_cv_header_stdc = yes; then
1583
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1584
cat > conftest.$ac_ext <
1585 308 markom
#line 1586 "configure"
1586 224 markom
#include "confdefs.h"
1587
#include 
1588
EOF
1589
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1590
  egrep "free" >/dev/null 2>&1; then
1591
  :
1592
else
1593
  rm -rf conftest*
1594
  ac_cv_header_stdc=no
1595
fi
1596
rm -f conftest*
1597
 
1598
fi
1599
 
1600
if test $ac_cv_header_stdc = yes; then
1601
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1602
if test "$cross_compiling" = yes; then
1603
  :
1604
else
1605
  cat > conftest.$ac_ext <
1606 308 markom
#line 1607 "configure"
1607 224 markom
#include "confdefs.h"
1608
#include 
1609
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1610
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1611
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1612
int main () { int i; for (i = 0; i < 256; i++)
1613
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1614
exit (0); }
1615
 
1616
EOF
1617 308 markom
if { (eval echo configure:1618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1618 224 markom
then
1619
  :
1620
else
1621
  echo "configure: failed program was:" >&5
1622
  cat conftest.$ac_ext >&5
1623
  rm -fr conftest*
1624
  ac_cv_header_stdc=no
1625
fi
1626
rm -fr conftest*
1627
fi
1628
 
1629
fi
1630
fi
1631
 
1632
echo "$ac_t""$ac_cv_header_stdc" 1>&6
1633
if test $ac_cv_header_stdc = yes; then
1634
  cat >> confdefs.h <<\EOF
1635
#define STDC_HEADERS 1
1636
EOF
1637
 
1638
fi
1639
 
1640
 
1641
MAKE_SHELL=/bin/sh
1642
 
1643
 
1644
if test $ac_cv_prog_gcc = yes; then
1645
    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1646 308 markom
echo "configure:1647: checking whether ${CC-cc} needs -traditional" >&5
1647 224 markom
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1648
  echo $ac_n "(cached) $ac_c" 1>&6
1649
else
1650
    ac_pattern="Autoconf.*'x'"
1651
  cat > conftest.$ac_ext <
1652 308 markom
#line 1653 "configure"
1653 224 markom
#include "confdefs.h"
1654
#include 
1655
Autoconf TIOCGETP
1656
EOF
1657
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1658
  egrep "$ac_pattern" >/dev/null 2>&1; then
1659
  rm -rf conftest*
1660
  ac_cv_prog_gcc_traditional=yes
1661
else
1662
  rm -rf conftest*
1663
  ac_cv_prog_gcc_traditional=no
1664
fi
1665
rm -f conftest*
1666
 
1667
 
1668
  if test $ac_cv_prog_gcc_traditional = no; then
1669
    cat > conftest.$ac_ext <
1670 308 markom
#line 1671 "configure"
1671 224 markom
#include "confdefs.h"
1672
#include 
1673
Autoconf TCGETA
1674
EOF
1675
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1676
  egrep "$ac_pattern" >/dev/null 2>&1; then
1677
  rm -rf conftest*
1678
  ac_cv_prog_gcc_traditional=yes
1679
fi
1680
rm -f conftest*
1681
 
1682
  fi
1683
fi
1684
 
1685
echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1686
  if test $ac_cv_prog_gcc_traditional = yes; then
1687
    CC="$CC -traditional"
1688
  fi
1689
fi
1690
 
1691
 
1692
set -- $CFLAGS
1693
COMPILE_OR1K=unknown
1694 308 markom
 
1695
TESTS_ENV=
1696 381 markom
LDFLAGS=
1697 229 erez
case $target in
1698 224 markom
        or1k*|or32*)
1699 381 markom
                CFLAGS="$CFLAGS -nostdlib -mhard-div"
1700 224 markom
                COMPILE=or1k
1701 308 markom
                TESTS_ENV="$SIM"
1702 381 markom
                LDFLAGS="-T${top_srcdir}/except.ld"
1703 224 markom
                ;;
1704
esac
1705 308 markom
echo $TESTS_ENV
1706 224 markom
 
1707
 
1708
if test x$COMPILE = xor1k; then
1709
  OR1K_EXCEPT_TRUE=
1710
  OR1K_EXCEPT_FALSE='#'
1711
else
1712
  OR1K_EXCEPT_TRUE='#'
1713
  OR1K_EXCEPT_FALSE=
1714
fi
1715 381 markom
CFLAGS="$CFLAGS -Wall"
1716 224 markom
 
1717
 
1718
INCLUDES="-I\${top_srcdir}/support"
1719
 
1720 381 markom
 
1721 224 markom
echo $ac_n "checking for working const""... $ac_c" 1>&6
1722 381 markom
echo "configure:1723: checking for working const" >&5
1723 224 markom
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1724
  echo $ac_n "(cached) $ac_c" 1>&6
1725
else
1726
  cat > conftest.$ac_ext <
1727 381 markom
#line 1728 "configure"
1728 224 markom
#include "confdefs.h"
1729
 
1730
int main() {
1731
 
1732
/* Ultrix mips cc rejects this.  */
1733
typedef int charset[2]; const charset x;
1734
/* SunOS 4.1.1 cc rejects this.  */
1735
char const *const *ccp;
1736
char **p;
1737
/* NEC SVR4.0.2 mips cc rejects this.  */
1738
struct point {int x, y;};
1739
static struct point const zero = {0,0};
1740
/* AIX XL C 1.02.0.0 rejects this.
1741
   It does not let you subtract one const X* pointer from another in an arm
1742
   of an if-expression whose if-part is not a constant expression */
1743
const char *g = "string";
1744
ccp = &g + (g ? g-g : 0);
1745
/* HPUX 7.0 cc rejects these. */
1746
++ccp;
1747
p = (char**) ccp;
1748
ccp = (char const *const *) p;
1749
{ /* SCO 3.2v4 cc rejects this.  */
1750
  char *t;
1751
  char const *s = 0 ? (char *) 0 : (char const *) 0;
1752
 
1753
  *t++ = 0;
1754
}
1755
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
1756
  int x[] = {25, 17};
1757
  const int *foo = &x[0];
1758
  ++foo;
1759
}
1760
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1761
  typedef const int *iptr;
1762
  iptr p = 0;
1763
  ++p;
1764
}
1765
{ /* AIX XL C 1.02.0.0 rejects this saying
1766
     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1767
  struct s { int j; const int *ap[3]; };
1768
  struct s *b; b->j = 5;
1769
}
1770
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1771
  const int foo = 10;
1772
}
1773
 
1774
; return 0; }
1775
EOF
1776 381 markom
if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1777 224 markom
  rm -rf conftest*
1778
  ac_cv_c_const=yes
1779
else
1780
  echo "configure: failed program was:" >&5
1781
  cat conftest.$ac_ext >&5
1782
  rm -rf conftest*
1783
  ac_cv_c_const=no
1784
fi
1785
rm -f conftest*
1786
fi
1787
 
1788
echo "$ac_t""$ac_cv_c_const" 1>&6
1789
if test $ac_cv_c_const = no; then
1790
  cat >> confdefs.h <<\EOF
1791
#define const
1792
EOF
1793
 
1794
fi
1795
 
1796
echo $ac_n "checking for inline""... $ac_c" 1>&6
1797 381 markom
echo "configure:1798: checking for inline" >&5
1798 224 markom
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
1799
  echo $ac_n "(cached) $ac_c" 1>&6
1800
else
1801
  ac_cv_c_inline=no
1802
for ac_kw in inline __inline__ __inline; do
1803
  cat > conftest.$ac_ext <
1804 381 markom
#line 1805 "configure"
1805 224 markom
#include "confdefs.h"
1806
 
1807
int main() {
1808
} $ac_kw foo() {
1809
; return 0; }
1810
EOF
1811 381 markom
if { (eval echo configure:1812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1812 224 markom
  rm -rf conftest*
1813
  ac_cv_c_inline=$ac_kw; break
1814
else
1815
  echo "configure: failed program was:" >&5
1816
  cat conftest.$ac_ext >&5
1817
fi
1818
rm -f conftest*
1819
done
1820
 
1821
fi
1822
 
1823
echo "$ac_t""$ac_cv_c_inline" 1>&6
1824
case "$ac_cv_c_inline" in
1825
  inline | yes) ;;
1826
  no) cat >> confdefs.h <<\EOF
1827
#define inline
1828
EOF
1829
 ;;
1830
  *)  cat >> confdefs.h <
1831
#define inline $ac_cv_c_inline
1832
EOF
1833
 ;;
1834
esac
1835
 
1836
 
1837
trap '' 1 2 15
1838 258 erez
cat > confcache <<\EOF
1839
# This file is a shell script that caches the results of configure
1840
# tests run on this system so they can be shared between configure
1841
# scripts and configure runs.  It is not useful on other systems.
1842
# If it contains results you don't want to keep, you may remove or edit it.
1843
#
1844
# By default, configure uses ./config.cache as the cache file,
1845
# creating it if it does not exist already.  You can give configure
1846
# the --cache-file=FILE option to use a different cache file; that is
1847
# what configure does when it calls configure scripts in
1848
# subdirectories, so they share the cache.
1849
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1850
# config.status only pays attention to the cache file if you give it the
1851
# --recheck option to rerun configure.
1852
#
1853
EOF
1854
# The following way of writing the cache mishandles newlines in values,
1855
# but we know of no workaround that is simple, portable, and efficient.
1856
# So, don't put newlines in cache variables' values.
1857
# Ultrix sh set writes to stderr and can't be redirected directly,
1858
# and sets the high bit in the cache file unless we assign to the vars.
1859
(set) 2>&1 |
1860
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
1861
  *ac_space=\ *)
1862
    # `set' does not quote correctly, so add quotes (double-quote substitution
1863
    # turns \\\\ into \\, and sed turns \\ into \).
1864
    sed -n \
1865
      -e "s/'/'\\\\''/g" \
1866
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1867
    ;;
1868
  *)
1869
    # `set' quotes correctly as required by POSIX, so do not add quotes.
1870
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1871
    ;;
1872
  esac >> confcache
1873
if cmp -s $cache_file confcache; then
1874
  :
1875
else
1876
  if test -w $cache_file; then
1877
    echo "updating cache $cache_file"
1878
    cat confcache > $cache_file
1879
  else
1880
    echo "not updating unwritable cache $cache_file"
1881
  fi
1882
fi
1883
rm -f confcache
1884 224 markom
 
1885
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1886
 
1887
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1888
# Let make expand exec_prefix.
1889
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1890
 
1891
# Any assignment to VPATH causes Sun make to only execute
1892
# the first set of double-colon rules, so remove it if not needed.
1893
# If there is a colon in the path, we need to keep it.
1894
if test "x$srcdir" = x.; then
1895
  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
1896
fi
1897
 
1898
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1899
 
1900
# Transform confdefs.h into DEFS.
1901
# Protect against shell expansion while executing Makefile rules.
1902
# Protect against Makefile macro expansion.
1903
cat > conftest.defs <<\EOF
1904
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1905
s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
1906
s%\[%\\&%g
1907
s%\]%\\&%g
1908
s%\$%$$%g
1909
EOF
1910
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1911
rm -f conftest.defs
1912
 
1913
 
1914
# Without the "./", some shells look in PATH for config.status.
1915
: ${CONFIG_STATUS=./config.status}
1916
 
1917
echo creating $CONFIG_STATUS
1918
rm -f $CONFIG_STATUS
1919
cat > $CONFIG_STATUS <
1920
#! /bin/sh
1921
# Generated automatically by configure.
1922
# Run this file to recreate the current configuration.
1923
# This directory was configured as follows,
1924
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1925
#
1926
# $0 $ac_configure_args
1927
#
1928
# Compiler output produced by configure, useful for debugging
1929
# configure, is in ./config.log if it exists.
1930
 
1931
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1932
for ac_option
1933
do
1934
  case "\$ac_option" in
1935
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1936
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1937
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1938
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1939
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
1940
    exit 0 ;;
1941
  -help | --help | --hel | --he | --h)
1942
    echo "\$ac_cs_usage"; exit 0 ;;
1943
  *) echo "\$ac_cs_usage"; exit 1 ;;
1944
  esac
1945
done
1946
 
1947
ac_given_srcdir=$srcdir
1948
ac_given_INSTALL="$INSTALL"
1949
 
1950
trap 'rm -fr `echo "Makefile support/Makefile uos/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1951
EOF
1952
cat >> $CONFIG_STATUS <
1953
 
1954
# Protect against being on the right side of a sed subst in config.status.
1955
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1956
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1957
$ac_vpsub
1958
$extrasub
1959
s%@SHELL@%$SHELL%g
1960
s%@CFLAGS@%$CFLAGS%g
1961
s%@CPPFLAGS@%$CPPFLAGS%g
1962
s%@CXXFLAGS@%$CXXFLAGS%g
1963
s%@FFLAGS@%$FFLAGS%g
1964
s%@DEFS@%$DEFS%g
1965
s%@LDFLAGS@%$LDFLAGS%g
1966
s%@LIBS@%$LIBS%g
1967
s%@exec_prefix@%$exec_prefix%g
1968
s%@prefix@%$prefix%g
1969
s%@program_transform_name@%$program_transform_name%g
1970
s%@bindir@%$bindir%g
1971
s%@sbindir@%$sbindir%g
1972
s%@libexecdir@%$libexecdir%g
1973
s%@datadir@%$datadir%g
1974
s%@sysconfdir@%$sysconfdir%g
1975
s%@sharedstatedir@%$sharedstatedir%g
1976
s%@localstatedir@%$localstatedir%g
1977
s%@libdir@%$libdir%g
1978
s%@includedir@%$includedir%g
1979
s%@oldincludedir@%$oldincludedir%g
1980
s%@infodir@%$infodir%g
1981
s%@mandir@%$mandir%g
1982
s%@host@%$host%g
1983
s%@host_alias@%$host_alias%g
1984
s%@host_cpu@%$host_cpu%g
1985
s%@host_vendor@%$host_vendor%g
1986
s%@host_os@%$host_os%g
1987
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1988
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1989
s%@INSTALL_DATA@%$INSTALL_DATA%g
1990
s%@PACKAGE@%$PACKAGE%g
1991
s%@VERSION@%$VERSION%g
1992
s%@ACLOCAL@%$ACLOCAL%g
1993
s%@AUTOCONF@%$AUTOCONF%g
1994
s%@AUTOMAKE@%$AUTOMAKE%g
1995
s%@AUTOHEADER@%$AUTOHEADER%g
1996
s%@MAKEINFO@%$MAKEINFO%g
1997
s%@SET_MAKE@%$SET_MAKE%g
1998
s%@build@%$build%g
1999
s%@build_alias@%$build_alias%g
2000
s%@build_cpu@%$build_cpu%g
2001
s%@build_vendor@%$build_vendor%g
2002
s%@build_os@%$build_os%g
2003
s%@CC@%$CC%g
2004
s%@RANLIB@%$RANLIB%g
2005
s%@LD@%$LD%g
2006 308 markom
s%@SIM@%$SIM%g
2007 224 markom
s%@CPP@%$CPP%g
2008
s%@MAKE_SHELL@%$MAKE_SHELL%g
2009 308 markom
s%@TESTS_ENV@%$TESTS_ENV%g
2010 224 markom
s%@OR1K_EXCEPT_TRUE@%$OR1K_EXCEPT_TRUE%g
2011
s%@OR1K_EXCEPT_FALSE@%$OR1K_EXCEPT_FALSE%g
2012
s%@INCLUDES@%$INCLUDES%g
2013
 
2014
CEOF
2015
EOF
2016
 
2017
cat >> $CONFIG_STATUS <<\EOF
2018
 
2019
# Split the substitutions into bite-sized pieces for seds with
2020
# small command number limits, like on Digital OSF/1 and HP-UX.
2021
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2022
ac_file=1 # Number of current file.
2023
ac_beg=1 # First line for current file.
2024
ac_end=$ac_max_sed_cmds # Line after last line for current file.
2025
ac_more_lines=:
2026
ac_sed_cmds=""
2027
while $ac_more_lines; do
2028
  if test $ac_beg -gt 1; then
2029
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2030
  else
2031
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2032
  fi
2033
  if test ! -s conftest.s$ac_file; then
2034
    ac_more_lines=false
2035
    rm -f conftest.s$ac_file
2036
  else
2037
    if test -z "$ac_sed_cmds"; then
2038
      ac_sed_cmds="sed -f conftest.s$ac_file"
2039
    else
2040
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2041
    fi
2042
    ac_file=`expr $ac_file + 1`
2043
    ac_beg=$ac_end
2044
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
2045
  fi
2046
done
2047
if test -z "$ac_sed_cmds"; then
2048
  ac_sed_cmds=cat
2049
fi
2050
EOF
2051
 
2052
cat >> $CONFIG_STATUS <
2053
 
2054
CONFIG_FILES=\${CONFIG_FILES-"Makefile support/Makefile uos/Makefile"}
2055
EOF
2056
cat >> $CONFIG_STATUS <<\EOF
2057
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2058
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2059
  case "$ac_file" in
2060
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2061
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2062
  *) ac_file_in="${ac_file}.in" ;;
2063
  esac
2064
 
2065
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2066
 
2067
  # Remove last slash and all that follows it.  Not all systems have dirname.
2068
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2069
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2070
    # The file is in a subdirectory.
2071
    test ! -d "$ac_dir" && mkdir "$ac_dir"
2072
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2073
    # A "../" for each directory in $ac_dir_suffix.
2074
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2075
  else
2076
    ac_dir_suffix= ac_dots=
2077
  fi
2078
 
2079
  case "$ac_given_srcdir" in
2080
  .)  srcdir=.
2081
      if test -z "$ac_dots"; then top_srcdir=.
2082
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2083
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2084
  *) # Relative path.
2085
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2086
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
2087
  esac
2088
 
2089
  case "$ac_given_INSTALL" in
2090
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
2091
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2092
  esac
2093
 
2094
  echo creating "$ac_file"
2095
  rm -f "$ac_file"
2096
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2097
  case "$ac_file" in
2098
  *Makefile*) ac_comsub="1i\\
2099
# $configure_input" ;;
2100
  *) ac_comsub= ;;
2101
  esac
2102
 
2103
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2104
  sed -e "$ac_comsub
2105
s%@configure_input@%$configure_input%g
2106
s%@srcdir@%$srcdir%g
2107
s%@top_srcdir@%$top_srcdir%g
2108
s%@INSTALL@%$INSTALL%g
2109
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2110
fi; done
2111
rm -f conftest.s*
2112
 
2113
EOF
2114
cat >> $CONFIG_STATUS <
2115
 
2116
EOF
2117
cat >> $CONFIG_STATUS <<\EOF
2118
 
2119
exit 0
2120
EOF
2121
chmod +x $CONFIG_STATUS
2122
rm -fr confdefs* $ac_clean_files
2123
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2124
 

powered by: WebSVN 2.1.0

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