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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [testbench/] [configure] - Blame information for rev 410

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

powered by: WebSVN 2.1.0

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