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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [dejagnu/] [configure] - Blame information for rev 1772

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

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

powered by: WebSVN 2.1.0

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