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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [tools/] [configure] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by Autoconf 2.52 for rtems-doc-tools _RTEMS_VERSION.
4
#
5
# Report bugs to .
6
#
7
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8
# Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
 
12
# Avoid depending upon Character Ranges.
13
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16
as_cr_digits='0123456789'
17
as_cr_alnum=$as_cr_Letters$as_cr_digits
18
 
19
# Sed expression to map a string onto a valid variable name.
20
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
21
 
22
# Sed expression to map a string onto a valid CPP name.
23
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24
 
25
# Be Bourne compatible
26
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27
  emulate sh
28
  NULLCMD=:
29
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
30
  set -o posix
31
fi
32
 
33
# Name of the executable.
34
as_me=`echo "$0" |sed 's,.*[\\/],,'`
35
 
36
if expr a : '\(a\)' >/dev/null 2>&1; then
37
  as_expr=expr
38
else
39
  as_expr=false
40
fi
41
 
42
rm -f conf$$ conf$$.exe conf$$.file
43
echo >conf$$.file
44
if ln -s conf$$.file conf$$ 2>/dev/null; then
45
  # We could just check for DJGPP; but this test a) works b) is more generic
46
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
47
  if test -f conf$$.exe; then
48
    # Don't use ln at all; we don't have any links
49
    as_ln_s='cp -p'
50
  else
51
    as_ln_s='ln -s'
52
  fi
53
elif ln conf$$.file conf$$ 2>/dev/null; then
54
  as_ln_s=ln
55
else
56
  as_ln_s='cp -p'
57
fi
58
rm -f conf$$ conf$$.exe conf$$.file
59
 
60
as_executable_p="test -f"
61
 
62
# Support unset when possible.
63
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
64
  as_unset=unset
65
else
66
  as_unset=false
67
fi
68
 
69
# NLS nuisances.
70
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
71
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
72
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
73
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
74
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
75
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
76
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78
 
79
# IFS
80
# We need space, tab and new line, in precisely that order.
81
as_nl='
82
'
83
IFS="   $as_nl"
84
 
85
# CDPATH.
86
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87
 
88
# Name of the host.
89
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
90
# so uname gets run too.
91
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
92
 
93
exec 6>&1
94
 
95
#
96
# Initializations.
97
#
98
ac_default_prefix=/usr/local
99
cross_compiling=no
100
subdirs=
101
MFLAGS= MAKEFLAGS=
102
SHELL=${CONFIG_SHELL-/bin/sh}
103
 
104
# Maximum number of lines to put in a shell here document.
105
# This variable seems obsolete.  It should probably be removed, and
106
# only ac_max_sed_lines should be used.
107
: ${ac_max_here_lines=38}
108
 
109
ac_unique_file="word-replace2"
110
 
111
# Initialize some variables set by options.
112
ac_init_help=
113
ac_init_version=false
114
# The variables have the same names as the options, with
115
# dashes changed to underlines.
116
cache_file=/dev/null
117
exec_prefix=NONE
118
no_create=
119
no_recursion=
120
prefix=NONE
121
program_prefix=NONE
122
program_suffix=NONE
123
program_transform_name=s,x,x,
124
silent=
125
site=
126
srcdir=
127
verbose=
128
x_includes=NONE
129
x_libraries=NONE
130
 
131
# Installation directory options.
132
# These are left unexpanded so users can "make install exec_prefix=/foo"
133
# and all the variables that are supposed to be based on exec_prefix
134
# by default will actually change.
135
# Use braces instead of parens because sh, perl, etc. also accept them.
136
bindir='${exec_prefix}/bin'
137
sbindir='${exec_prefix}/sbin'
138
libexecdir='${exec_prefix}/libexec'
139
datadir='${prefix}/share'
140
sysconfdir='${prefix}/etc'
141
sharedstatedir='${prefix}/com'
142
localstatedir='${prefix}/var'
143
libdir='${exec_prefix}/lib'
144
includedir='${prefix}/include'
145
oldincludedir='/usr/include'
146
infodir='${prefix}/info'
147
mandir='${prefix}/man'
148
 
149
# Identity of this package.
150
PACKAGE_NAME='rtems-doc-tools'
151
PACKAGE_TARNAME='rtems-doc-tools'
152
PACKAGE_VERSION='_RTEMS_VERSION'
153
PACKAGE_STRING='rtems-doc-tools _RTEMS_VERSION'
154
PACKAGE_BUGREPORT='rtems-bugs@OARcorp.com'
155
 
156
ac_prev=
157
for ac_option
158
do
159
  # If the previous option needs an argument, assign it.
160
  if test -n "$ac_prev"; then
161
    eval "$ac_prev=\$ac_option"
162
    ac_prev=
163
    continue
164
  fi
165
 
166
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
167
 
168
  # Accept the important Cygnus configure options, so we can diagnose typos.
169
 
170
  case $ac_option in
171
 
172
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
173
    ac_prev=bindir ;;
174
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
175
    bindir=$ac_optarg ;;
176
 
177
  -build | --build | --buil | --bui | --bu)
178
    ac_prev=build_alias ;;
179
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
180
    build_alias=$ac_optarg ;;
181
 
182
  -cache-file | --cache-file | --cache-fil | --cache-fi \
183
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
184
    ac_prev=cache_file ;;
185
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
186
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
187
    cache_file=$ac_optarg ;;
188
 
189
  --config-cache | -C)
190
    cache_file=config.cache ;;
191
 
192
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
193
    ac_prev=datadir ;;
194
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
195
  | --da=*)
196
    datadir=$ac_optarg ;;
197
 
198
  -disable-* | --disable-*)
199
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
200
    # Reject names that are not valid shell variable names.
201
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
202
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
203
   { (exit 1); exit 1; }; }
204
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
205
    eval "enable_$ac_feature=no" ;;
206
 
207
  -enable-* | --enable-*)
208
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
209
    # Reject names that are not valid shell variable names.
210
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
211
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
212
   { (exit 1); exit 1; }; }
213
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
214
    case $ac_option in
215
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216
      *) ac_optarg=yes ;;
217
    esac
218
    eval "enable_$ac_feature='$ac_optarg'" ;;
219
 
220
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
221
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
222
  | --exec | --exe | --ex)
223
    ac_prev=exec_prefix ;;
224
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
225
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
226
  | --exec=* | --exe=* | --ex=*)
227
    exec_prefix=$ac_optarg ;;
228
 
229
  -gas | --gas | --ga | --g)
230
    # Obsolete; use --with-gas.
231
    with_gas=yes ;;
232
 
233
  -help | --help | --hel | --he | -h)
234
    ac_init_help=long ;;
235
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
236
    ac_init_help=recursive ;;
237
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
238
    ac_init_help=short ;;
239
 
240
  -host | --host | --hos | --ho)
241
    ac_prev=host_alias ;;
242
  -host=* | --host=* | --hos=* | --ho=*)
243
    host_alias=$ac_optarg ;;
244
 
245
  -includedir | --includedir | --includedi | --included | --include \
246
  | --includ | --inclu | --incl | --inc)
247
    ac_prev=includedir ;;
248
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
249
  | --includ=* | --inclu=* | --incl=* | --inc=*)
250
    includedir=$ac_optarg ;;
251
 
252
  -infodir | --infodir | --infodi | --infod | --info | --inf)
253
    ac_prev=infodir ;;
254
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
255
    infodir=$ac_optarg ;;
256
 
257
  -libdir | --libdir | --libdi | --libd)
258
    ac_prev=libdir ;;
259
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
260
    libdir=$ac_optarg ;;
261
 
262
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
263
  | --libexe | --libex | --libe)
264
    ac_prev=libexecdir ;;
265
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
266
  | --libexe=* | --libex=* | --libe=*)
267
    libexecdir=$ac_optarg ;;
268
 
269
  -localstatedir | --localstatedir | --localstatedi | --localstated \
270
  | --localstate | --localstat | --localsta | --localst \
271
  | --locals | --local | --loca | --loc | --lo)
272
    ac_prev=localstatedir ;;
273
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
274
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
275
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
276
    localstatedir=$ac_optarg ;;
277
 
278
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
279
    ac_prev=mandir ;;
280
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
281
    mandir=$ac_optarg ;;
282
 
283
  -nfp | --nfp | --nf)
284
    # Obsolete; use --without-fp.
285
    with_fp=no ;;
286
 
287
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
288
  | --no-cr | --no-c)
289
    no_create=yes ;;
290
 
291
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
292
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293
    no_recursion=yes ;;
294
 
295
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
296
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
297
  | --oldin | --oldi | --old | --ol | --o)
298
    ac_prev=oldincludedir ;;
299
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
300
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
301
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
302
    oldincludedir=$ac_optarg ;;
303
 
304
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
305
    ac_prev=prefix ;;
306
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307
    prefix=$ac_optarg ;;
308
 
309
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
310
  | --program-pre | --program-pr | --program-p)
311
    ac_prev=program_prefix ;;
312
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
313
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
314
    program_prefix=$ac_optarg ;;
315
 
316
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
317
  | --program-suf | --program-su | --program-s)
318
    ac_prev=program_suffix ;;
319
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
320
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
321
    program_suffix=$ac_optarg ;;
322
 
323
  -program-transform-name | --program-transform-name \
324
  | --program-transform-nam | --program-transform-na \
325
  | --program-transform-n | --program-transform- \
326
  | --program-transform | --program-transfor \
327
  | --program-transfo | --program-transf \
328
  | --program-trans | --program-tran \
329
  | --progr-tra | --program-tr | --program-t)
330
    ac_prev=program_transform_name ;;
331
  -program-transform-name=* | --program-transform-name=* \
332
  | --program-transform-nam=* | --program-transform-na=* \
333
  | --program-transform-n=* | --program-transform-=* \
334
  | --program-transform=* | --program-transfor=* \
335
  | --program-transfo=* | --program-transf=* \
336
  | --program-trans=* | --program-tran=* \
337
  | --progr-tra=* | --program-tr=* | --program-t=*)
338
    program_transform_name=$ac_optarg ;;
339
 
340
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
341
  | -silent | --silent | --silen | --sile | --sil)
342
    silent=yes ;;
343
 
344
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
345
    ac_prev=sbindir ;;
346
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
347
  | --sbi=* | --sb=*)
348
    sbindir=$ac_optarg ;;
349
 
350
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
351
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
352
  | --sharedst | --shareds | --shared | --share | --shar \
353
  | --sha | --sh)
354
    ac_prev=sharedstatedir ;;
355
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
356
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
357
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
358
  | --sha=* | --sh=*)
359
    sharedstatedir=$ac_optarg ;;
360
 
361
  -site | --site | --sit)
362
    ac_prev=site ;;
363
  -site=* | --site=* | --sit=*)
364
    site=$ac_optarg ;;
365
 
366
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
367
    ac_prev=srcdir ;;
368
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369
    srcdir=$ac_optarg ;;
370
 
371
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
372
  | --syscon | --sysco | --sysc | --sys | --sy)
373
    ac_prev=sysconfdir ;;
374
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
375
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
376
    sysconfdir=$ac_optarg ;;
377
 
378
  -target | --target | --targe | --targ | --tar | --ta | --t)
379
    ac_prev=target_alias ;;
380
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
381
    target_alias=$ac_optarg ;;
382
 
383
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
384
    verbose=yes ;;
385
 
386
  -version | --version | --versio | --versi | --vers | -V)
387
    ac_init_version=: ;;
388
 
389
  -with-* | --with-*)
390
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
391
    # Reject names that are not valid shell variable names.
392
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393
      { echo "$as_me: error: invalid package name: $ac_package" >&2
394
   { (exit 1); exit 1; }; }
395
    ac_package=`echo $ac_package| sed 's/-/_/g'`
396
    case $ac_option in
397
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398
      *) ac_optarg=yes ;;
399
    esac
400
    eval "with_$ac_package='$ac_optarg'" ;;
401
 
402
  -without-* | --without-*)
403
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
404
    # Reject names that are not valid shell variable names.
405
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
406
      { echo "$as_me: error: invalid package name: $ac_package" >&2
407
   { (exit 1); exit 1; }; }
408
    ac_package=`echo $ac_package | sed 's/-/_/g'`
409
    eval "with_$ac_package=no" ;;
410
 
411
  --x)
412
    # Obsolete; use --with-x.
413
    with_x=yes ;;
414
 
415
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
416
  | --x-incl | --x-inc | --x-in | --x-i)
417
    ac_prev=x_includes ;;
418
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
419
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
420
    x_includes=$ac_optarg ;;
421
 
422
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
423
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
424
    ac_prev=x_libraries ;;
425
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
426
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
427
    x_libraries=$ac_optarg ;;
428
 
429
  -*) { echo "$as_me: error: unrecognized option: $ac_option
430
Try \`$0 --help' for more information." >&2
431
   { (exit 1); exit 1; }; }
432
    ;;
433
 
434
  *=*)
435
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
436
    # Reject names that are not valid shell variable names.
437
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
438
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
439
   { (exit 1); exit 1; }; }
440
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
441
    eval "$ac_envvar='$ac_optarg'"
442
    export $ac_envvar ;;
443
 
444
  *)
445
    # FIXME: should be removed in autoconf 3.0.
446
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
447
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
448
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
449
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
450
    ;;
451
 
452
  esac
453
done
454
 
455
if test -n "$ac_prev"; then
456
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
457
  { echo "$as_me: error: missing argument to $ac_option" >&2
458
   { (exit 1); exit 1; }; }
459
fi
460
 
461
# Be sure to have absolute paths.
462
for ac_var in exec_prefix prefix
463
do
464
  eval ac_val=$`echo $ac_var`
465
  case $ac_val in
466
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
467
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
468
   { (exit 1); exit 1; }; };;
469
  esac
470
done
471
 
472
# Be sure to have absolute paths.
473
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
474
              localstatedir libdir includedir oldincludedir infodir mandir
475
do
476
  eval ac_val=$`echo $ac_var`
477
  case $ac_val in
478
    [\\/$]* | ?:[\\/]* ) ;;
479
    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
480
   { (exit 1); exit 1; }; };;
481
  esac
482
done
483
 
484
# There might be people who depend on the old broken behavior: `$host'
485
# used to hold the argument of --host etc.
486
build=$build_alias
487
host=$host_alias
488
target=$target_alias
489
 
490
# FIXME: should be removed in autoconf 3.0.
491
if test "x$host_alias" != x; then
492
  if test "x$build_alias" = x; then
493
    cross_compiling=maybe
494
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
495
    If a cross compiler is detected then cross compile mode will be used." >&2
496
  elif test "x$build_alias" != "x$host_alias"; then
497
    cross_compiling=yes
498
  fi
499
fi
500
 
501
ac_tool_prefix=
502
test -n "$host_alias" && ac_tool_prefix=$host_alias-
503
 
504
test "$silent" = yes && exec 6>/dev/null
505
 
506
# Find the source files, if location was not specified.
507
if test -z "$srcdir"; then
508
  ac_srcdir_defaulted=yes
509
  # Try the directory containing this script, then its parent.
510
  ac_prog=$0
511
  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
512
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
513
  srcdir=$ac_confdir
514
  if test ! -r $srcdir/$ac_unique_file; then
515
    srcdir=..
516
  fi
517
else
518
  ac_srcdir_defaulted=no
519
fi
520
if test ! -r $srcdir/$ac_unique_file; then
521
  if test "$ac_srcdir_defaulted" = yes; then
522
    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
523
   { (exit 1); exit 1; }; }
524
  else
525
    { echo "$as_me: error: cannot find sources in $srcdir" >&2
526
   { (exit 1); exit 1; }; }
527
  fi
528
fi
529
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
530
ac_env_build_alias_set=${build_alias+set}
531
ac_env_build_alias_value=$build_alias
532
ac_cv_env_build_alias_set=${build_alias+set}
533
ac_cv_env_build_alias_value=$build_alias
534
ac_env_host_alias_set=${host_alias+set}
535
ac_env_host_alias_value=$host_alias
536
ac_cv_env_host_alias_set=${host_alias+set}
537
ac_cv_env_host_alias_value=$host_alias
538
ac_env_target_alias_set=${target_alias+set}
539
ac_env_target_alias_value=$target_alias
540
ac_cv_env_target_alias_set=${target_alias+set}
541
ac_cv_env_target_alias_value=$target_alias
542
ac_env_CC_set=${CC+set}
543
ac_env_CC_value=$CC
544
ac_cv_env_CC_set=${CC+set}
545
ac_cv_env_CC_value=$CC
546
ac_env_CFLAGS_set=${CFLAGS+set}
547
ac_env_CFLAGS_value=$CFLAGS
548
ac_cv_env_CFLAGS_set=${CFLAGS+set}
549
ac_cv_env_CFLAGS_value=$CFLAGS
550
ac_env_LDFLAGS_set=${LDFLAGS+set}
551
ac_env_LDFLAGS_value=$LDFLAGS
552
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
553
ac_cv_env_LDFLAGS_value=$LDFLAGS
554
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
555
ac_env_CPPFLAGS_value=$CPPFLAGS
556
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
557
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
558
ac_env_CPP_set=${CPP+set}
559
ac_env_CPP_value=$CPP
560
ac_cv_env_CPP_set=${CPP+set}
561
ac_cv_env_CPP_value=$CPP
562
 
563
#
564
# Report the --help message.
565
#
566
if test "$ac_init_help" = "long"; then
567
  # Omit some internal or obsolete options to make the list less imposing.
568
  # This message is too long to be a string in the A/UX 3.1 sh.
569
  cat <
570
\`configure' configures rtems-doc-tools _RTEMS_VERSION to adapt to many kinds of systems.
571
 
572
Usage: $0 [OPTION]... [VAR=VALUE]...
573
 
574
To assign environment variables (e.g., CC, CFLAGS...), specify them as
575
VAR=VALUE.  See below for descriptions of some of the useful variables.
576
 
577
Defaults for the options are specified in brackets.
578
 
579
Configuration:
580
  -h, --help              display this help and exit
581
      --help=short        display options specific to this package
582
      --help=recursive    display the short help of all the included packages
583
  -V, --version           display version information and exit
584
  -q, --quiet, --silent   do not print \`checking...' messages
585
      --cache-file=FILE   cache test results in FILE [disabled]
586
  -C, --config-cache      alias for \`--cache-file=config.cache'
587
  -n, --no-create         do not create output files
588
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
589
 
590
EOF
591
 
592
  cat <
593
Installation directories:
594
  --prefix=PREFIX         install architecture-independent files in PREFIX
595
                          [$ac_default_prefix]
596
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
597
                          [PREFIX]
598
 
599
By default, \`make install' will install all the files in
600
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
601
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
602
for instance \`--prefix=\$HOME'.
603
 
604
For better control, use the options below.
605
 
606
Fine tuning of the installation directories:
607
  --bindir=DIR           user executables [EPREFIX/bin]
608
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
609
  --libexecdir=DIR       program executables [EPREFIX/libexec]
610
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
611
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
612
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
613
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
614
  --libdir=DIR           object code libraries [EPREFIX/lib]
615
  --includedir=DIR       C header files [PREFIX/include]
616
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
617
  --infodir=DIR          info documentation [PREFIX/info]
618
  --mandir=DIR           man documentation [PREFIX/man]
619
EOF
620
 
621
  cat <<\EOF
622
 
623
Program names:
624
  --program-prefix=PREFIX            prepend PREFIX to installed program names
625
  --program-suffix=SUFFIX            append SUFFIX to installed program names
626
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
627
EOF
628
fi
629
 
630
if test -n "$ac_init_help"; then
631
  case $ac_init_help in
632
     short | recursive ) echo "Configuration of rtems-doc-tools _RTEMS_VERSION:";;
633
   esac
634
  cat <<\EOF
635
 
636
Optional Features:
637
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
638
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
639
  --disable-dependency-tracking Speeds up one-time builds
640
  --enable-dependency-tracking  Do not reject slow dependency extractors
641
 
642
Some influential environment variables:
643
  CC          C compiler command
644
  CFLAGS      C compiler flags
645
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
646
              nonstandard directory 
647
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I if you have
648
              headers in a nonstandard directory 
649
  CPP         C preprocessor
650
 
651
Use these variables to override the choices made by `configure' or to help
652
it to find libraries and programs with nonstandard names/locations.
653
 
654
Report bugs to .
655
EOF
656
fi
657
 
658
if test "$ac_init_help" = "recursive"; then
659
  # If there are subdirs, report their specific --help.
660
  ac_popdir=`pwd`
661
  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
662
    cd $ac_subdir
663
    # A "../" for each directory in /$ac_subdir.
664
    ac_dots=`echo $ac_subdir |
665
             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
666
 
667
    case $srcdir in
668
    .) # No --srcdir option.  We are building in place.
669
      ac_sub_srcdir=$srcdir ;;
670
    [\\/]* | ?:[\\/]* ) # Absolute path.
671
      ac_sub_srcdir=$srcdir/$ac_subdir ;;
672
    *) # Relative path.
673
      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
674
    esac
675
 
676
    # Check for guested configure; otherwise get Cygnus style configure.
677
    if test -f $ac_sub_srcdir/configure.gnu; then
678
      echo
679
      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
680
    elif test -f $ac_sub_srcdir/configure; then
681
      echo
682
      $SHELL $ac_sub_srcdir/configure  --help=recursive
683
    elif test -f $ac_sub_srcdir/configure.ac ||
684
           test -f $ac_sub_srcdir/configure.in; then
685
      echo
686
      $ac_configure --help
687
    else
688
      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
689
    fi
690
    cd $ac_popdir
691
  done
692
fi
693
 
694
test -n "$ac_init_help" && exit 0
695
if $ac_init_version; then
696
  cat <<\EOF
697
rtems-doc-tools configure _RTEMS_VERSION
698
generated by GNU Autoconf 2.52
699
 
700
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
701
Free Software Foundation, Inc.
702
This configure script is free software; the Free Software Foundation
703
gives unlimited permission to copy, distribute and modify it.
704
EOF
705
  exit 0
706
fi
707
exec 5>config.log
708
cat >&5 <
709
This file contains any messages produced by compilers while
710
running configure, to aid debugging if configure makes a mistake.
711
 
712
It was created by rtems-doc-tools $as_me _RTEMS_VERSION, which was
713
generated by GNU Autoconf 2.52.  Invocation command line was
714
 
715
  $ $0 $@
716
 
717
EOF
718
{
719
cat <<_ASUNAME
720
## ---------- ##
721
## Platform.  ##
722
## ---------- ##
723
 
724
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
725
uname -m = `(uname -m) 2>/dev/null || echo unknown`
726
uname -r = `(uname -r) 2>/dev/null || echo unknown`
727
uname -s = `(uname -s) 2>/dev/null || echo unknown`
728
uname -v = `(uname -v) 2>/dev/null || echo unknown`
729
 
730
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
731
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
732
 
733
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
734
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
735
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
736
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
737
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
738
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
739
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
740
 
741
PATH = $PATH
742
 
743
_ASUNAME
744
} >&5
745
 
746
cat >&5 <
747
## ------------ ##
748
## Core tests.  ##
749
## ------------ ##
750
 
751
EOF
752
 
753
# Keep a trace of the command line.
754
# Strip out --no-create and --no-recursion so they do not pile up.
755
# Also quote any args containing shell meta-characters.
756
ac_configure_args=
757
ac_sep=
758
for ac_arg
759
do
760
  case $ac_arg in
761
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
762
  | --no-cr | --no-c) ;;
763
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
764
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
765
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
766
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
767
    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
768
    ac_sep=" " ;;
769
  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
770
     ac_sep=" " ;;
771
  esac
772
  # Get rid of the leading space.
773
done
774
 
775
# When interrupted or exit'd, cleanup temporary files, and complete
776
# config.log.  We remove comments because anyway the quotes in there
777
# would cause problems or look ugly.
778
trap 'exit_status=$?
779
  # Save into config.log some information that might help in debugging.
780
  echo >&5
781
  echo "## ----------------- ##" >&5
782
  echo "## Cache variables.  ##" >&5
783
  echo "## ----------------- ##" >&5
784
  echo >&5
785
  # The following way of writing the cache mishandles newlines in values,
786
{
787
  (set) 2>&1 |
788
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
789
    *ac_space=\ *)
790
      sed -n \
791
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
792
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
793
      ;;
794
    *)
795
      sed -n \
796
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
797
      ;;
798
    esac;
799
} >&5
800
  sed "/^$/d" confdefs.h >conftest.log
801
  if test -s conftest.log; then
802
    echo >&5
803
    echo "## ------------ ##" >&5
804
    echo "## confdefs.h.  ##" >&5
805
    echo "## ------------ ##" >&5
806
    echo >&5
807
    cat conftest.log >&5
808
  fi
809
  (echo; echo) >&5
810
  test "$ac_signal" != 0 &&
811
    echo "$as_me: caught signal $ac_signal" >&5
812
  echo "$as_me: exit $exit_status" >&5
813
  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
814
    exit $exit_status
815
     ' 0
816
for ac_signal in 1 2 13 15; do
817
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
818
done
819
ac_signal=0
820
 
821
# confdefs.h avoids OS command line length limits that DEFS can exceed.
822
rm -rf conftest* confdefs.h
823
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
824
echo >confdefs.h
825
 
826
# Let the site file select an alternate cache file if it wants to.
827
# Prefer explicitly selected file to automatically selected ones.
828
if test -z "$CONFIG_SITE"; then
829
  if test "x$prefix" != xNONE; then
830
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
831
  else
832
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
833
  fi
834
fi
835
for ac_site_file in $CONFIG_SITE; do
836
  if test -r "$ac_site_file"; then
837
    { echo "$as_me:837: loading site script $ac_site_file" >&5
838
echo "$as_me: loading site script $ac_site_file" >&6;}
839
    cat "$ac_site_file" >&5
840
    . "$ac_site_file"
841
  fi
842
done
843
 
844
if test -r "$cache_file"; then
845
  # Some versions of bash will fail to source /dev/null (special
846
  # files actually), so we avoid doing that.
847
  if test -f "$cache_file"; then
848
    { echo "$as_me:848: loading cache $cache_file" >&5
849
echo "$as_me: loading cache $cache_file" >&6;}
850
    case $cache_file in
851
      [\\/]* | ?:[\\/]* ) . $cache_file;;
852
      *)                      . ./$cache_file;;
853
    esac
854
  fi
855
else
856
  { echo "$as_me:856: creating cache $cache_file" >&5
857
echo "$as_me: creating cache $cache_file" >&6;}
858
  >$cache_file
859
fi
860
 
861
# Check that the precious variables saved in the cache have kept the same
862
# value.
863
ac_cache_corrupted=false
864
for ac_var in `(set) 2>&1 |
865
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
866
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
867
  eval ac_new_set=\$ac_env_${ac_var}_set
868
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
869
  eval ac_new_val="\$ac_env_${ac_var}_value"
870
  case $ac_old_set,$ac_new_set in
871
    set,)
872
      { echo "$as_me:872: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
873
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
874
      ac_cache_corrupted=: ;;
875
    ,set)
876
      { echo "$as_me:876: error: \`$ac_var' was not set in the previous run" >&5
877
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
878
      ac_cache_corrupted=: ;;
879
    ,);;
880
    *)
881
      if test "x$ac_old_val" != "x$ac_new_val"; then
882
        { echo "$as_me:882: error: \`$ac_var' has changed since the previous run:" >&5
883
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
884
        { echo "$as_me:884:   former value:  $ac_old_val" >&5
885
echo "$as_me:   former value:  $ac_old_val" >&2;}
886
        { echo "$as_me:886:   current value: $ac_new_val" >&5
887
echo "$as_me:   current value: $ac_new_val" >&2;}
888
        ac_cache_corrupted=:
889
      fi;;
890
  esac
891
  # Pass precious variables to config.status.  It doesn't matter if
892
  # we pass some twice (in addition to the command line arguments).
893
  if test "$ac_new_set" = set; then
894
    case $ac_new_val in
895
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
896
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
897
      ac_configure_args="$ac_configure_args '$ac_arg'"
898
      ;;
899
    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
900
       ;;
901
    esac
902
  fi
903
done
904
if $ac_cache_corrupted; then
905
  { echo "$as_me:905: error: changes in the environment can compromise the build" >&5
906
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
907
  { { echo "$as_me:907: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
908
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
909
   { (exit 1); exit 1; }; }
910
fi
911
 
912
ac_ext=c
913
ac_cpp='$CPP $CPPFLAGS'
914
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
915
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
916
ac_compiler_gnu=$ac_cv_c_compiler_gnu
917
 
918
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
919
  *c*,-n*) ECHO_N= ECHO_C='
920
' ECHO_T='      ' ;;
921
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
922
  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
923
esac
924
echo "#! $SHELL" >conftest.sh
925
echo  "exit 0"   >>conftest.sh
926
chmod +x conftest.sh
927
if { (echo "$as_me:927: PATH=\".;.\"; conftest.sh") >&5
928
  (PATH=".;."; conftest.sh) 2>&5
929
  ac_status=$?
930
  echo "$as_me:930: \$? = $ac_status" >&5
931
  (exit $ac_status); }; then
932
  ac_path_separator=';'
933
else
934
  ac_path_separator=:
935
fi
936
PATH_SEPARATOR="$ac_path_separator"
937
rm -f conftest.sh
938
 
939
am__api_version="1.6"
940
ac_aux_dir=
941
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
942
  if test -f $ac_dir/install-sh; then
943
    ac_aux_dir=$ac_dir
944
    ac_install_sh="$ac_aux_dir/install-sh -c"
945
    break
946
  elif test -f $ac_dir/install.sh; then
947
    ac_aux_dir=$ac_dir
948
    ac_install_sh="$ac_aux_dir/install.sh -c"
949
    break
950
  elif test -f $ac_dir/shtool; then
951
    ac_aux_dir=$ac_dir
952
    ac_install_sh="$ac_aux_dir/shtool install -c"
953
    break
954
  fi
955
done
956
if test -z "$ac_aux_dir"; then
957
  { { echo "$as_me:957: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
958
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
959
   { (exit 1); exit 1; }; }
960
fi
961
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
962
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
963
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
964
 
965
# Find a good install program.  We prefer a C program (faster),
966
# so one script is as good as another.  But avoid the broken or
967
# incompatible versions:
968
# SysV /etc/install, /usr/sbin/install
969
# SunOS /usr/etc/install
970
# IRIX /sbin/install
971
# AIX /bin/install
972
# AmigaOS /C/install, which installs bootblocks on floppy discs
973
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
974
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
975
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
976
# ./install, which can be erroneously created by make from ./install.sh.
977
echo "$as_me:977: checking for a BSD compatible install" >&5
978
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
979
if test -z "$INSTALL"; then
980
if test "${ac_cv_path_install+set}" = set; then
981
  echo $ECHO_N "(cached) $ECHO_C" >&6
982
else
983
    ac_save_IFS=$IFS; IFS=$ac_path_separator
984
  for ac_dir in $PATH; do
985
    IFS=$ac_save_IFS
986
    # Account for people who put trailing slashes in PATH elements.
987
    case $ac_dir/ in
988
    / | ./ | .// | /cC/* \
989
    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
990
    | /usr/ucb/* ) ;;
991
    *)
992
      # OSF1 and SCO ODT 3.0 have their own names for install.
993
      # Don't use installbsd from OSF since it installs stuff as root
994
      # by default.
995
      for ac_prog in ginstall scoinst install; do
996
        if $as_executable_p "$ac_dir/$ac_prog"; then
997
          if test $ac_prog = install &&
998
            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
999
            # AIX install.  It has an incompatible calling convention.
1000
            :
1001
          elif test $ac_prog = install &&
1002
            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1003
            # program-specific install script used by HP pwplus--don't use.
1004
            :
1005
          else
1006
            ac_cv_path_install="$ac_dir/$ac_prog -c"
1007
            break 2
1008
          fi
1009
        fi
1010
      done
1011
      ;;
1012
    esac
1013
  done
1014
 
1015
fi
1016
  if test "${ac_cv_path_install+set}" = set; then
1017
    INSTALL=$ac_cv_path_install
1018
  else
1019
    # As a last resort, use the slow shell script.  We don't cache a
1020
    # path for INSTALL within a source directory, because that will
1021
    # break other packages using the cache if that directory is
1022
    # removed, or if the path is relative.
1023
    INSTALL=$ac_install_sh
1024
  fi
1025
fi
1026
echo "$as_me:1026: result: $INSTALL" >&5
1027
echo "${ECHO_T}$INSTALL" >&6
1028
 
1029
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1030
# It thinks the first close brace ends the variable substitution.
1031
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1032
 
1033
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1034
 
1035
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1036
 
1037
echo "$as_me:1037: checking whether build environment is sane" >&5
1038
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1039
# Just in case
1040
sleep 1
1041
echo timestamp > conftest.file
1042
# Do `set' in a subshell so we don't clobber the current shell's
1043
# arguments.  Must try -L first in case configure is actually a
1044
# symlink; some systems play weird games with the mod time of symlinks
1045
# (eg FreeBSD returns the mod time of the symlink's containing
1046
# directory).
1047
if (
1048
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1049
   if test "$*" = "X"; then
1050
      # -L didn't work.
1051
      set X `ls -t $srcdir/configure conftest.file`
1052
   fi
1053
   rm -f conftest.file
1054
   if test "$*" != "X $srcdir/configure conftest.file" \
1055
      && test "$*" != "X conftest.file $srcdir/configure"; then
1056
 
1057
      # If neither matched, then we have a broken ls.  This can happen
1058
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1059
      # broken ls alias from the environment.  This has actually
1060
      # happened.  Such a system could not be considered "sane".
1061
      { { echo "$as_me:1061: error: ls -t appears to fail.  Make sure there is not a broken
1062
alias in your environment" >&5
1063
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1064
alias in your environment" >&2;}
1065
   { (exit 1); exit 1; }; }
1066
   fi
1067
 
1068
   test "$2" = conftest.file
1069
   )
1070
then
1071
   # Ok.
1072
   :
1073
else
1074
   { { echo "$as_me:1074: error: newly created file is older than distributed files!
1075
Check your system clock" >&5
1076
echo "$as_me: error: newly created file is older than distributed files!
1077
Check your system clock" >&2;}
1078
   { (exit 1); exit 1; }; }
1079
fi
1080
echo "$as_me:1080: result: yes" >&5
1081
echo "${ECHO_T}yes" >&6
1082
test "$program_prefix" != NONE &&
1083
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1084
# Use a double $ so make ignores it.
1085
test "$program_suffix" != NONE &&
1086
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1087
# Double any \ or $.  echo might interpret backslashes.
1088
# By default was `s,x,x', remove it if useless.
1089
cat <<\_ACEOF >conftest.sed
1090
s/[\\$]/&&/g;s/;s,x,x,$//
1091
_ACEOF
1092
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1093
rm conftest.sed
1094
 
1095
# expand $ac_aux_dir to an absolute path
1096
am_aux_dir=`cd $ac_aux_dir && pwd`
1097
 
1098
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1099
# Use eval to expand $SHELL
1100
if eval "$MISSING --run true"; then
1101
  am_missing_run="$MISSING --run "
1102
else
1103
  am_missing_run=
1104
  { echo "$as_me:1104: WARNING: \`missing' script is too old or missing" >&5
1105
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1106
fi
1107
 
1108
for ac_prog in mawk gawk nawk awk
1109
do
1110
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1111
set dummy $ac_prog; ac_word=$2
1112
echo "$as_me:1112: checking for $ac_word" >&5
1113
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1114
if test "${ac_cv_prog_AWK+set}" = set; then
1115
  echo $ECHO_N "(cached) $ECHO_C" >&6
1116
else
1117
  if test -n "$AWK"; then
1118
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1119
else
1120
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1121
ac_dummy="$PATH"
1122
for ac_dir in $ac_dummy; do
1123
  IFS=$ac_save_IFS
1124
  test -z "$ac_dir" && ac_dir=.
1125
  $as_executable_p "$ac_dir/$ac_word" || continue
1126
ac_cv_prog_AWK="$ac_prog"
1127
echo "$as_me:1127: found $ac_dir/$ac_word" >&5
1128
break
1129
done
1130
 
1131
fi
1132
fi
1133
AWK=$ac_cv_prog_AWK
1134
if test -n "$AWK"; then
1135
  echo "$as_me:1135: result: $AWK" >&5
1136
echo "${ECHO_T}$AWK" >&6
1137
else
1138
  echo "$as_me:1138: result: no" >&5
1139
echo "${ECHO_T}no" >&6
1140
fi
1141
 
1142
  test -n "$AWK" && break
1143
done
1144
 
1145
echo "$as_me:1145: checking whether ${MAKE-make} sets \${MAKE}" >&5
1146
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1147
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1148
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1149
  echo $ECHO_N "(cached) $ECHO_C" >&6
1150
else
1151
  cat >conftest.make <<\EOF
1152
all:
1153
        @echo 'ac_maketemp="${MAKE}"'
1154
EOF
1155
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1156
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1157
if test -n "$ac_maketemp"; then
1158
  eval ac_cv_prog_make_${ac_make}_set=yes
1159
else
1160
  eval ac_cv_prog_make_${ac_make}_set=no
1161
fi
1162
rm -f conftest.make
1163
fi
1164
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1165
  echo "$as_me:1165: result: yes" >&5
1166
echo "${ECHO_T}yes" >&6
1167
  SET_MAKE=
1168
else
1169
  echo "$as_me:1169: result: no" >&5
1170
echo "${ECHO_T}no" >&6
1171
  SET_MAKE="MAKE=${MAKE-make}"
1172
fi
1173
 
1174
 # test to see if srcdir already configured
1175
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1176
   test -f $srcdir/config.status; then
1177
  { { echo "$as_me:1177: error: source directory already configured; run \"make distclean\" there first" >&5
1178
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1179
   { (exit 1); exit 1; }; }
1180
fi
1181
 
1182
# Define the identity of the package.
1183
 PACKAGE=rtems-doc-tools
1184
 VERSION=_RTEMS_VERSION
1185
 
1186
# Some tools Automake needs.
1187
 
1188
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1189
 
1190
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1191
 
1192
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1193
 
1194
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1195
 
1196
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1197
 
1198
AMTAR=${AMTAR-"${am_missing_run}tar"}
1199
 
1200
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1201
 
1202
# Installed binaries are usually stripped using `strip' when the user
1203
# run `make install-strip'.  However `strip' might not be the right
1204
# tool to use in cross-compilation environments, therefore Automake
1205
# will honor the `STRIP' environment variable to overrule this program.
1206
if test "$cross_compiling" != no; then
1207
  if test -n "$ac_tool_prefix"; then
1208
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1209
set dummy ${ac_tool_prefix}strip; ac_word=$2
1210
echo "$as_me:1210: checking for $ac_word" >&5
1211
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1212
if test "${ac_cv_prog_STRIP+set}" = set; then
1213
  echo $ECHO_N "(cached) $ECHO_C" >&6
1214
else
1215
  if test -n "$STRIP"; then
1216
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1217
else
1218
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1219
ac_dummy="$PATH"
1220
for ac_dir in $ac_dummy; do
1221
  IFS=$ac_save_IFS
1222
  test -z "$ac_dir" && ac_dir=.
1223
  $as_executable_p "$ac_dir/$ac_word" || continue
1224
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1225
echo "$as_me:1225: found $ac_dir/$ac_word" >&5
1226
break
1227
done
1228
 
1229
fi
1230
fi
1231
STRIP=$ac_cv_prog_STRIP
1232
if test -n "$STRIP"; then
1233
  echo "$as_me:1233: result: $STRIP" >&5
1234
echo "${ECHO_T}$STRIP" >&6
1235
else
1236
  echo "$as_me:1236: result: no" >&5
1237
echo "${ECHO_T}no" >&6
1238
fi
1239
 
1240
fi
1241
if test -z "$ac_cv_prog_STRIP"; then
1242
  ac_ct_STRIP=$STRIP
1243
  # Extract the first word of "strip", so it can be a program name with args.
1244
set dummy strip; ac_word=$2
1245
echo "$as_me:1245: checking for $ac_word" >&5
1246
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1247
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1248
  echo $ECHO_N "(cached) $ECHO_C" >&6
1249
else
1250
  if test -n "$ac_ct_STRIP"; then
1251
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1252
else
1253
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1254
ac_dummy="$PATH"
1255
for ac_dir in $ac_dummy; do
1256
  IFS=$ac_save_IFS
1257
  test -z "$ac_dir" && ac_dir=.
1258
  $as_executable_p "$ac_dir/$ac_word" || continue
1259
ac_cv_prog_ac_ct_STRIP="strip"
1260
echo "$as_me:1260: found $ac_dir/$ac_word" >&5
1261
break
1262
done
1263
 
1264
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1265
fi
1266
fi
1267
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1268
if test -n "$ac_ct_STRIP"; then
1269
  echo "$as_me:1269: result: $ac_ct_STRIP" >&5
1270
echo "${ECHO_T}$ac_ct_STRIP" >&6
1271
else
1272
  echo "$as_me:1272: result: no" >&5
1273
echo "${ECHO_T}no" >&6
1274
fi
1275
 
1276
  STRIP=$ac_ct_STRIP
1277
else
1278
  STRIP="$ac_cv_prog_STRIP"
1279
fi
1280
 
1281
fi
1282
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1283
 
1284
# We need awk for the "check" target.  The system "awk" is bad on
1285
# some platforms.
1286
 
1287
ac_ext=c
1288
ac_cpp='$CPP $CPPFLAGS'
1289
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1290
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1291
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1292
if test -n "$ac_tool_prefix"; then
1293
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1294
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1295
echo "$as_me:1295: checking for $ac_word" >&5
1296
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1297
if test "${ac_cv_prog_CC+set}" = set; then
1298
  echo $ECHO_N "(cached) $ECHO_C" >&6
1299
else
1300
  if test -n "$CC"; then
1301
  ac_cv_prog_CC="$CC" # Let the user override the test.
1302
else
1303
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1304
ac_dummy="$PATH"
1305
for ac_dir in $ac_dummy; do
1306
  IFS=$ac_save_IFS
1307
  test -z "$ac_dir" && ac_dir=.
1308
  $as_executable_p "$ac_dir/$ac_word" || continue
1309
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1310
echo "$as_me:1310: found $ac_dir/$ac_word" >&5
1311
break
1312
done
1313
 
1314
fi
1315
fi
1316
CC=$ac_cv_prog_CC
1317
if test -n "$CC"; then
1318
  echo "$as_me:1318: result: $CC" >&5
1319
echo "${ECHO_T}$CC" >&6
1320
else
1321
  echo "$as_me:1321: result: no" >&5
1322
echo "${ECHO_T}no" >&6
1323
fi
1324
 
1325
fi
1326
if test -z "$ac_cv_prog_CC"; then
1327
  ac_ct_CC=$CC
1328
  # Extract the first word of "gcc", so it can be a program name with args.
1329
set dummy gcc; ac_word=$2
1330
echo "$as_me:1330: checking for $ac_word" >&5
1331
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1332
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1333
  echo $ECHO_N "(cached) $ECHO_C" >&6
1334
else
1335
  if test -n "$ac_ct_CC"; then
1336
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1337
else
1338
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1339
ac_dummy="$PATH"
1340
for ac_dir in $ac_dummy; do
1341
  IFS=$ac_save_IFS
1342
  test -z "$ac_dir" && ac_dir=.
1343
  $as_executable_p "$ac_dir/$ac_word" || continue
1344
ac_cv_prog_ac_ct_CC="gcc"
1345
echo "$as_me:1345: found $ac_dir/$ac_word" >&5
1346
break
1347
done
1348
 
1349
fi
1350
fi
1351
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1352
if test -n "$ac_ct_CC"; then
1353
  echo "$as_me:1353: result: $ac_ct_CC" >&5
1354
echo "${ECHO_T}$ac_ct_CC" >&6
1355
else
1356
  echo "$as_me:1356: result: no" >&5
1357
echo "${ECHO_T}no" >&6
1358
fi
1359
 
1360
  CC=$ac_ct_CC
1361
else
1362
  CC="$ac_cv_prog_CC"
1363
fi
1364
 
1365
if test -z "$CC"; then
1366
  if test -n "$ac_tool_prefix"; then
1367
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1368
set dummy ${ac_tool_prefix}cc; ac_word=$2
1369
echo "$as_me:1369: checking for $ac_word" >&5
1370
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1371
if test "${ac_cv_prog_CC+set}" = set; then
1372
  echo $ECHO_N "(cached) $ECHO_C" >&6
1373
else
1374
  if test -n "$CC"; then
1375
  ac_cv_prog_CC="$CC" # Let the user override the test.
1376
else
1377
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1378
ac_dummy="$PATH"
1379
for ac_dir in $ac_dummy; do
1380
  IFS=$ac_save_IFS
1381
  test -z "$ac_dir" && ac_dir=.
1382
  $as_executable_p "$ac_dir/$ac_word" || continue
1383
ac_cv_prog_CC="${ac_tool_prefix}cc"
1384
echo "$as_me:1384: found $ac_dir/$ac_word" >&5
1385
break
1386
done
1387
 
1388
fi
1389
fi
1390
CC=$ac_cv_prog_CC
1391
if test -n "$CC"; then
1392
  echo "$as_me:1392: result: $CC" >&5
1393
echo "${ECHO_T}$CC" >&6
1394
else
1395
  echo "$as_me:1395: result: no" >&5
1396
echo "${ECHO_T}no" >&6
1397
fi
1398
 
1399
fi
1400
if test -z "$ac_cv_prog_CC"; then
1401
  ac_ct_CC=$CC
1402
  # Extract the first word of "cc", so it can be a program name with args.
1403
set dummy cc; ac_word=$2
1404
echo "$as_me:1404: checking for $ac_word" >&5
1405
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1406
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1407
  echo $ECHO_N "(cached) $ECHO_C" >&6
1408
else
1409
  if test -n "$ac_ct_CC"; then
1410
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1411
else
1412
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1413
ac_dummy="$PATH"
1414
for ac_dir in $ac_dummy; do
1415
  IFS=$ac_save_IFS
1416
  test -z "$ac_dir" && ac_dir=.
1417
  $as_executable_p "$ac_dir/$ac_word" || continue
1418
ac_cv_prog_ac_ct_CC="cc"
1419
echo "$as_me:1419: found $ac_dir/$ac_word" >&5
1420
break
1421
done
1422
 
1423
fi
1424
fi
1425
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1426
if test -n "$ac_ct_CC"; then
1427
  echo "$as_me:1427: result: $ac_ct_CC" >&5
1428
echo "${ECHO_T}$ac_ct_CC" >&6
1429
else
1430
  echo "$as_me:1430: result: no" >&5
1431
echo "${ECHO_T}no" >&6
1432
fi
1433
 
1434
  CC=$ac_ct_CC
1435
else
1436
  CC="$ac_cv_prog_CC"
1437
fi
1438
 
1439
fi
1440
if test -z "$CC"; then
1441
  # Extract the first word of "cc", so it can be a program name with args.
1442
set dummy cc; ac_word=$2
1443
echo "$as_me:1443: checking for $ac_word" >&5
1444
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445
if test "${ac_cv_prog_CC+set}" = set; then
1446
  echo $ECHO_N "(cached) $ECHO_C" >&6
1447
else
1448
  if test -n "$CC"; then
1449
  ac_cv_prog_CC="$CC" # Let the user override the test.
1450
else
1451
  ac_prog_rejected=no
1452
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1453
ac_dummy="$PATH"
1454
for ac_dir in $ac_dummy; do
1455
  IFS=$ac_save_IFS
1456
  test -z "$ac_dir" && ac_dir=.
1457
  $as_executable_p "$ac_dir/$ac_word" || continue
1458
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1459
  ac_prog_rejected=yes
1460
  continue
1461
fi
1462
ac_cv_prog_CC="cc"
1463
echo "$as_me:1463: found $ac_dir/$ac_word" >&5
1464
break
1465
done
1466
 
1467
if test $ac_prog_rejected = yes; then
1468
  # We found a bogon in the path, so make sure we never use it.
1469
  set dummy $ac_cv_prog_CC
1470
  shift
1471
  if test $# != 0; then
1472
    # We chose a different compiler from the bogus one.
1473
    # However, it has the same basename, so the bogon will be chosen
1474
    # first if we set CC to just the basename; use the full file name.
1475
    shift
1476
    set dummy "$ac_dir/$ac_word" ${1+"$@"}
1477
    shift
1478
    ac_cv_prog_CC="$@"
1479
  fi
1480
fi
1481
fi
1482
fi
1483
CC=$ac_cv_prog_CC
1484
if test -n "$CC"; then
1485
  echo "$as_me:1485: result: $CC" >&5
1486
echo "${ECHO_T}$CC" >&6
1487
else
1488
  echo "$as_me:1488: result: no" >&5
1489
echo "${ECHO_T}no" >&6
1490
fi
1491
 
1492
fi
1493
if test -z "$CC"; then
1494
  if test -n "$ac_tool_prefix"; then
1495
  for ac_prog in cl
1496
  do
1497
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1498
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1499
echo "$as_me:1499: checking for $ac_word" >&5
1500
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1501
if test "${ac_cv_prog_CC+set}" = set; then
1502
  echo $ECHO_N "(cached) $ECHO_C" >&6
1503
else
1504
  if test -n "$CC"; then
1505
  ac_cv_prog_CC="$CC" # Let the user override the test.
1506
else
1507
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1508
ac_dummy="$PATH"
1509
for ac_dir in $ac_dummy; do
1510
  IFS=$ac_save_IFS
1511
  test -z "$ac_dir" && ac_dir=.
1512
  $as_executable_p "$ac_dir/$ac_word" || continue
1513
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1514
echo "$as_me:1514: found $ac_dir/$ac_word" >&5
1515
break
1516
done
1517
 
1518
fi
1519
fi
1520
CC=$ac_cv_prog_CC
1521
if test -n "$CC"; then
1522
  echo "$as_me:1522: result: $CC" >&5
1523
echo "${ECHO_T}$CC" >&6
1524
else
1525
  echo "$as_me:1525: result: no" >&5
1526
echo "${ECHO_T}no" >&6
1527
fi
1528
 
1529
    test -n "$CC" && break
1530
  done
1531
fi
1532
if test -z "$CC"; then
1533
  ac_ct_CC=$CC
1534
  for ac_prog in cl
1535
do
1536
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1537
set dummy $ac_prog; ac_word=$2
1538
echo "$as_me:1538: checking for $ac_word" >&5
1539
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1540
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1541
  echo $ECHO_N "(cached) $ECHO_C" >&6
1542
else
1543
  if test -n "$ac_ct_CC"; then
1544
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1545
else
1546
  ac_save_IFS=$IFS; IFS=$ac_path_separator
1547
ac_dummy="$PATH"
1548
for ac_dir in $ac_dummy; do
1549
  IFS=$ac_save_IFS
1550
  test -z "$ac_dir" && ac_dir=.
1551
  $as_executable_p "$ac_dir/$ac_word" || continue
1552
ac_cv_prog_ac_ct_CC="$ac_prog"
1553
echo "$as_me:1553: found $ac_dir/$ac_word" >&5
1554
break
1555
done
1556
 
1557
fi
1558
fi
1559
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1560
if test -n "$ac_ct_CC"; then
1561
  echo "$as_me:1561: result: $ac_ct_CC" >&5
1562
echo "${ECHO_T}$ac_ct_CC" >&6
1563
else
1564
  echo "$as_me:1564: result: no" >&5
1565
echo "${ECHO_T}no" >&6
1566
fi
1567
 
1568
  test -n "$ac_ct_CC" && break
1569
done
1570
 
1571
  CC=$ac_ct_CC
1572
fi
1573
 
1574
fi
1575
 
1576
test -z "$CC" && { { echo "$as_me:1576: error: no acceptable cc found in \$PATH" >&5
1577
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1578
   { (exit 1); exit 1; }; }
1579
 
1580
# Provide some information about the compiler.
1581
echo "$as_me:1581:" \
1582
     "checking for C compiler version" >&5
1583
ac_compiler=`set X $ac_compile; echo $2`
1584
{ (eval echo "$as_me:1584: \"$ac_compiler --version &5\"") >&5
1585
  (eval $ac_compiler --version &5) 2>&5
1586
  ac_status=$?
1587
  echo "$as_me:1587: \$? = $ac_status" >&5
1588
  (exit $ac_status); }
1589
{ (eval echo "$as_me:1589: \"$ac_compiler -v &5\"") >&5
1590
  (eval $ac_compiler -v &5) 2>&5
1591
  ac_status=$?
1592
  echo "$as_me:1592: \$? = $ac_status" >&5
1593
  (exit $ac_status); }
1594
{ (eval echo "$as_me:1594: \"$ac_compiler -V &5\"") >&5
1595
  (eval $ac_compiler -V &5) 2>&5
1596
  ac_status=$?
1597
  echo "$as_me:1597: \$? = $ac_status" >&5
1598
  (exit $ac_status); }
1599
 
1600
cat >conftest.$ac_ext <<_ACEOF
1601
#line 1601 "configure"
1602
#include "confdefs.h"
1603
 
1604
int
1605
main ()
1606
{
1607
 
1608
  ;
1609
  return 0;
1610
}
1611
_ACEOF
1612
ac_clean_files_save=$ac_clean_files
1613
ac_clean_files="$ac_clean_files a.out a.exe"
1614
# Try to create an executable without -o first, disregard a.out.
1615
# It will help us diagnose broken compilers, and finding out an intuition
1616
# of exeext.
1617
echo "$as_me:1617: checking for C compiler default output" >&5
1618
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1619
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1620
if { (eval echo "$as_me:1620: \"$ac_link_default\"") >&5
1621
  (eval $ac_link_default) 2>&5
1622
  ac_status=$?
1623
  echo "$as_me:1623: \$? = $ac_status" >&5
1624
  (exit $ac_status); }; then
1625
  # Find the output, starting from the most likely.  This scheme is
1626
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1627
# resort.
1628
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1629
                ls a.out conftest 2>/dev/null;
1630
                ls a.* conftest.* 2>/dev/null`; do
1631
  case $ac_file in
1632
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1633
    a.out ) # We found the default executable, but exeext='' is most
1634
            # certainly right.
1635
            break;;
1636
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1637
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1638
          export ac_cv_exeext
1639
          break;;
1640
    * ) break;;
1641
  esac
1642
done
1643
else
1644
  echo "$as_me: failed program was:" >&5
1645
cat conftest.$ac_ext >&5
1646
{ { echo "$as_me:1646: error: C compiler cannot create executables" >&5
1647
echo "$as_me: error: C compiler cannot create executables" >&2;}
1648
   { (exit 77); exit 77; }; }
1649
fi
1650
 
1651
ac_exeext=$ac_cv_exeext
1652
echo "$as_me:1652: result: $ac_file" >&5
1653
echo "${ECHO_T}$ac_file" >&6
1654
 
1655
# Check the compiler produces executables we can run.  If not, either
1656
# the compiler is broken, or we cross compile.
1657
echo "$as_me:1657: checking whether the C compiler works" >&5
1658
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1659
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1660
# If not cross compiling, check that we can run a simple program.
1661
if test "$cross_compiling" != yes; then
1662
  if { ac_try='./$ac_file'
1663
  { (eval echo "$as_me:1663: \"$ac_try\"") >&5
1664
  (eval $ac_try) 2>&5
1665
  ac_status=$?
1666
  echo "$as_me:1666: \$? = $ac_status" >&5
1667
  (exit $ac_status); }; }; then
1668
    cross_compiling=no
1669
  else
1670
    if test "$cross_compiling" = maybe; then
1671
        cross_compiling=yes
1672
    else
1673
        { { echo "$as_me:1673: error: cannot run C compiled programs.
1674
If you meant to cross compile, use \`--host'." >&5
1675
echo "$as_me: error: cannot run C compiled programs.
1676
If you meant to cross compile, use \`--host'." >&2;}
1677
   { (exit 1); exit 1; }; }
1678
    fi
1679
  fi
1680
fi
1681
echo "$as_me:1681: result: yes" >&5
1682
echo "${ECHO_T}yes" >&6
1683
 
1684
rm -f a.out a.exe conftest$ac_cv_exeext
1685
ac_clean_files=$ac_clean_files_save
1686
# Check the compiler produces executables we can run.  If not, either
1687
# the compiler is broken, or we cross compile.
1688
echo "$as_me:1688: checking whether we are cross compiling" >&5
1689
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1690
echo "$as_me:1690: result: $cross_compiling" >&5
1691
echo "${ECHO_T}$cross_compiling" >&6
1692
 
1693
echo "$as_me:1693: checking for executable suffix" >&5
1694
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1695
if { (eval echo "$as_me:1695: \"$ac_link\"") >&5
1696
  (eval $ac_link) 2>&5
1697
  ac_status=$?
1698
  echo "$as_me:1698: \$? = $ac_status" >&5
1699
  (exit $ac_status); }; then
1700
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1701
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1702
# work properly (i.e., refer to `conftest.exe'), while it won't with
1703
# `rm'.
1704
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1705
  case $ac_file in
1706
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1707
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1708
          export ac_cv_exeext
1709
          break;;
1710
    * ) break;;
1711
  esac
1712
done
1713
else
1714
  { { echo "$as_me:1714: error: cannot compute EXEEXT: cannot compile and link" >&5
1715
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1716
   { (exit 1); exit 1; }; }
1717
fi
1718
 
1719
rm -f conftest$ac_cv_exeext
1720
echo "$as_me:1720: result: $ac_cv_exeext" >&5
1721
echo "${ECHO_T}$ac_cv_exeext" >&6
1722
 
1723
rm -f conftest.$ac_ext
1724
EXEEXT=$ac_cv_exeext
1725
ac_exeext=$EXEEXT
1726
echo "$as_me:1726: checking for object suffix" >&5
1727
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1728
if test "${ac_cv_objext+set}" = set; then
1729
  echo $ECHO_N "(cached) $ECHO_C" >&6
1730
else
1731
  cat >conftest.$ac_ext <<_ACEOF
1732
#line 1732 "configure"
1733
#include "confdefs.h"
1734
 
1735
int
1736
main ()
1737
{
1738
 
1739
  ;
1740
  return 0;
1741
}
1742
_ACEOF
1743
rm -f conftest.o conftest.obj
1744
if { (eval echo "$as_me:1744: \"$ac_compile\"") >&5
1745
  (eval $ac_compile) 2>&5
1746
  ac_status=$?
1747
  echo "$as_me:1747: \$? = $ac_status" >&5
1748
  (exit $ac_status); }; then
1749
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1750
  case $ac_file in
1751
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1752
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1753
       break;;
1754
  esac
1755
done
1756
else
1757
  echo "$as_me: failed program was:" >&5
1758
cat conftest.$ac_ext >&5
1759
{ { echo "$as_me:1759: error: cannot compute OBJEXT: cannot compile" >&5
1760
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1761
   { (exit 1); exit 1; }; }
1762
fi
1763
 
1764
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1765
fi
1766
echo "$as_me:1766: result: $ac_cv_objext" >&5
1767
echo "${ECHO_T}$ac_cv_objext" >&6
1768
OBJEXT=$ac_cv_objext
1769
ac_objext=$OBJEXT
1770
echo "$as_me:1770: checking whether we are using the GNU C compiler" >&5
1771
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1772
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1773
  echo $ECHO_N "(cached) $ECHO_C" >&6
1774
else
1775
  cat >conftest.$ac_ext <<_ACEOF
1776
#line 1776 "configure"
1777
#include "confdefs.h"
1778
 
1779
int
1780
main ()
1781
{
1782
#ifndef __GNUC__
1783
       choke me
1784
#endif
1785
 
1786
  ;
1787
  return 0;
1788
}
1789
_ACEOF
1790
rm -f conftest.$ac_objext
1791
if { (eval echo "$as_me:1791: \"$ac_compile\"") >&5
1792
  (eval $ac_compile) 2>&5
1793
  ac_status=$?
1794
  echo "$as_me:1794: \$? = $ac_status" >&5
1795
  (exit $ac_status); } &&
1796
         { ac_try='test -s conftest.$ac_objext'
1797
  { (eval echo "$as_me:1797: \"$ac_try\"") >&5
1798
  (eval $ac_try) 2>&5
1799
  ac_status=$?
1800
  echo "$as_me:1800: \$? = $ac_status" >&5
1801
  (exit $ac_status); }; }; then
1802
  ac_compiler_gnu=yes
1803
else
1804
  echo "$as_me: failed program was:" >&5
1805
cat conftest.$ac_ext >&5
1806
ac_compiler_gnu=no
1807
fi
1808
rm -f conftest.$ac_objext conftest.$ac_ext
1809
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1810
 
1811
fi
1812
echo "$as_me:1812: result: $ac_cv_c_compiler_gnu" >&5
1813
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1814
GCC=`test $ac_compiler_gnu = yes && echo yes`
1815
ac_test_CFLAGS=${CFLAGS+set}
1816
ac_save_CFLAGS=$CFLAGS
1817
CFLAGS="-g"
1818
echo "$as_me:1818: checking whether $CC accepts -g" >&5
1819
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1820
if test "${ac_cv_prog_cc_g+set}" = set; then
1821
  echo $ECHO_N "(cached) $ECHO_C" >&6
1822
else
1823
  cat >conftest.$ac_ext <<_ACEOF
1824
#line 1824 "configure"
1825
#include "confdefs.h"
1826
 
1827
int
1828
main ()
1829
{
1830
 
1831
  ;
1832
  return 0;
1833
}
1834
_ACEOF
1835
rm -f conftest.$ac_objext
1836
if { (eval echo "$as_me:1836: \"$ac_compile\"") >&5
1837
  (eval $ac_compile) 2>&5
1838
  ac_status=$?
1839
  echo "$as_me:1839: \$? = $ac_status" >&5
1840
  (exit $ac_status); } &&
1841
         { ac_try='test -s conftest.$ac_objext'
1842
  { (eval echo "$as_me:1842: \"$ac_try\"") >&5
1843
  (eval $ac_try) 2>&5
1844
  ac_status=$?
1845
  echo "$as_me:1845: \$? = $ac_status" >&5
1846
  (exit $ac_status); }; }; then
1847
  ac_cv_prog_cc_g=yes
1848
else
1849
  echo "$as_me: failed program was:" >&5
1850
cat conftest.$ac_ext >&5
1851
ac_cv_prog_cc_g=no
1852
fi
1853
rm -f conftest.$ac_objext conftest.$ac_ext
1854
fi
1855
echo "$as_me:1855: result: $ac_cv_prog_cc_g" >&5
1856
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1857
if test "$ac_test_CFLAGS" = set; then
1858
  CFLAGS=$ac_save_CFLAGS
1859
elif test $ac_cv_prog_cc_g = yes; then
1860
  if test "$GCC" = yes; then
1861
    CFLAGS="-g -O2"
1862
  else
1863
    CFLAGS="-g"
1864
  fi
1865
else
1866
  if test "$GCC" = yes; then
1867
    CFLAGS="-O2"
1868
  else
1869
    CFLAGS=
1870
  fi
1871
fi
1872
# Some people use a C++ compiler to compile C.  Since we use `exit',
1873
# in C++ we need to declare it.  In case someone uses the same compiler
1874
# for both compiling C and C++ we need to have the C++ compiler decide
1875
# the declaration of exit, since it's the most demanding environment.
1876
cat >conftest.$ac_ext <<_ACEOF
1877
#ifndef __cplusplus
1878
  choke me
1879
#endif
1880
_ACEOF
1881
rm -f conftest.$ac_objext
1882
if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
1883
  (eval $ac_compile) 2>&5
1884
  ac_status=$?
1885
  echo "$as_me:1885: \$? = $ac_status" >&5
1886
  (exit $ac_status); } &&
1887
         { ac_try='test -s conftest.$ac_objext'
1888
  { (eval echo "$as_me:1888: \"$ac_try\"") >&5
1889
  (eval $ac_try) 2>&5
1890
  ac_status=$?
1891
  echo "$as_me:1891: \$? = $ac_status" >&5
1892
  (exit $ac_status); }; }; then
1893
  for ac_declaration in \
1894
   ''\
1895
   '#include ' \
1896
   'extern "C" void std::exit (int) throw (); using std::exit;' \
1897
   'extern "C" void std::exit (int); using std::exit;' \
1898
   'extern "C" void exit (int) throw ();' \
1899
   'extern "C" void exit (int);' \
1900
   'void exit (int);'
1901
do
1902
  cat >conftest.$ac_ext <<_ACEOF
1903
#line 1903 "configure"
1904
#include "confdefs.h"
1905
#include 
1906
$ac_declaration
1907
int
1908
main ()
1909
{
1910
exit (42);
1911
  ;
1912
  return 0;
1913
}
1914
_ACEOF
1915
rm -f conftest.$ac_objext
1916
if { (eval echo "$as_me:1916: \"$ac_compile\"") >&5
1917
  (eval $ac_compile) 2>&5
1918
  ac_status=$?
1919
  echo "$as_me:1919: \$? = $ac_status" >&5
1920
  (exit $ac_status); } &&
1921
         { ac_try='test -s conftest.$ac_objext'
1922
  { (eval echo "$as_me:1922: \"$ac_try\"") >&5
1923
  (eval $ac_try) 2>&5
1924
  ac_status=$?
1925
  echo "$as_me:1925: \$? = $ac_status" >&5
1926
  (exit $ac_status); }; }; then
1927
  :
1928
else
1929
  echo "$as_me: failed program was:" >&5
1930
cat conftest.$ac_ext >&5
1931
continue
1932
fi
1933
rm -f conftest.$ac_objext conftest.$ac_ext
1934
  cat >conftest.$ac_ext <<_ACEOF
1935
#line 1935 "configure"
1936
#include "confdefs.h"
1937
$ac_declaration
1938
int
1939
main ()
1940
{
1941
exit (42);
1942
  ;
1943
  return 0;
1944
}
1945
_ACEOF
1946
rm -f conftest.$ac_objext
1947
if { (eval echo "$as_me:1947: \"$ac_compile\"") >&5
1948
  (eval $ac_compile) 2>&5
1949
  ac_status=$?
1950
  echo "$as_me:1950: \$? = $ac_status" >&5
1951
  (exit $ac_status); } &&
1952
         { ac_try='test -s conftest.$ac_objext'
1953
  { (eval echo "$as_me:1953: \"$ac_try\"") >&5
1954
  (eval $ac_try) 2>&5
1955
  ac_status=$?
1956
  echo "$as_me:1956: \$? = $ac_status" >&5
1957
  (exit $ac_status); }; }; then
1958
  break
1959
else
1960
  echo "$as_me: failed program was:" >&5
1961
cat conftest.$ac_ext >&5
1962
fi
1963
rm -f conftest.$ac_objext conftest.$ac_ext
1964
done
1965
rm -f conftest*
1966
if test -n "$ac_declaration"; then
1967
  echo '#ifdef __cplusplus' >>confdefs.h
1968
  echo $ac_declaration      >>confdefs.h
1969
  echo '#endif'             >>confdefs.h
1970
fi
1971
 
1972
else
1973
  echo "$as_me: failed program was:" >&5
1974
cat conftest.$ac_ext >&5
1975
fi
1976
rm -f conftest.$ac_objext conftest.$ac_ext
1977
ac_ext=c
1978
ac_cpp='$CPP $CPPFLAGS'
1979
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1980
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1981
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1982
rm -f .deps 2>/dev/null
1983
mkdir .deps 2>/dev/null
1984
if test -d .deps; then
1985
  DEPDIR=.deps
1986
else
1987
  # MS-DOS does not allow filenames that begin with a dot.
1988
  DEPDIR=_deps
1989
fi
1990
rmdir .deps 2>/dev/null
1991
 
1992
ac_config_commands="$ac_config_commands depfiles"
1993
 
1994
am_make=${MAKE-make}
1995
cat > confinc << 'END'
1996
doit:
1997
        @echo done
1998
END
1999
# If we don't find an include directive, just comment out the code.
2000
echo "$as_me:2000: checking for style of include used by $am_make" >&5
2001
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2002
am__include="#"
2003
am__quote=
2004
_am_result=none
2005
# First try GNU make style include.
2006
echo "include confinc" > confmf
2007
# We grep out `Entering directory' and `Leaving directory'
2008
# messages which can occur if `w' ends up in MAKEFLAGS.
2009
# In particular we don't look at `^make:' because GNU make might
2010
# be invoked under some other name (usually "gmake"), in which
2011
# case it prints its new name instead of `make'.
2012
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2013
   am__include=include
2014
   am__quote=
2015
   _am_result=GNU
2016
fi
2017
# Now try BSD make style include.
2018
if test "$am__include" = "#"; then
2019
   echo '.include "confinc"' > confmf
2020
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2021
      am__include=.include
2022
      am__quote="\""
2023
      _am_result=BSD
2024
   fi
2025
fi
2026
 
2027
echo "$as_me:2027: result: $_am_result" >&5
2028
echo "${ECHO_T}$_am_result" >&6
2029
rm -f confinc confmf
2030
 
2031
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2032
if test "${enable_dependency_tracking+set}" = set; then
2033
  enableval="$enable_dependency_tracking"
2034
 
2035
fi;
2036
if test "x$enable_dependency_tracking" != xno; then
2037
  am_depcomp="$ac_aux_dir/depcomp"
2038
  AMDEPBACKSLASH='\'
2039
fi
2040
 
2041
if test "x$enable_dependency_tracking" != xno; then
2042
  AMDEP_TRUE=
2043
  AMDEP_FALSE='#'
2044
else
2045
  AMDEP_TRUE='#'
2046
  AMDEP_FALSE=
2047
fi
2048
 
2049
depcc="$CC"   am_compiler_list=
2050
 
2051
echo "$as_me:2051: checking dependency style of $depcc" >&5
2052
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2053
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2054
  echo $ECHO_N "(cached) $ECHO_C" >&6
2055
else
2056
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2057
  # We make a subdir and do the tests there.  Otherwise we can end up
2058
  # making bogus files that we don't know about and never remove.  For
2059
  # instance it was reported that on HP-UX the gcc test will end up
2060
  # making a dummy file named `D' -- because `-MD' means `put the output
2061
  # in D'.
2062
  mkdir conftest.dir
2063
  # Copy depcomp to subdir because otherwise we won't find it if we're
2064
  # using a relative directory.
2065
  cp "$am_depcomp" conftest.dir
2066
  cd conftest.dir
2067
 
2068
  am_cv_CC_dependencies_compiler_type=none
2069
  if test "$am_compiler_list" = ""; then
2070
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2071
  fi
2072
  for depmode in $am_compiler_list; do
2073
    # We need to recreate these files for each test, as the compiler may
2074
    # overwrite some of them when testing with obscure command lines.
2075
    # This happens at least with the AIX C compiler.
2076
    echo '#include "conftest.h"' > conftest.c
2077
    echo 'int i;' > conftest.h
2078
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2079
 
2080
    case $depmode in
2081
    nosideeffect)
2082
      # after this tag, mechanisms are not by side-effect, so they'll
2083
      # only be used when explicitly requested
2084
      if test "x$enable_dependency_tracking" = xyes; then
2085
        continue
2086
      else
2087
        break
2088
      fi
2089
      ;;
2090
    none) break ;;
2091
    esac
2092
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2093
    # mode.  It turns out that the SunPro C++ compiler does not properly
2094
    # handle `-M -o', and we need to detect this.
2095
    if depmode=$depmode \
2096
       source=conftest.c object=conftest.o \
2097
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2098
       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2099
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
2100
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2101
      am_cv_CC_dependencies_compiler_type=$depmode
2102
      break
2103
    fi
2104
  done
2105
 
2106
  cd ..
2107
  rm -rf conftest.dir
2108
else
2109
  am_cv_CC_dependencies_compiler_type=none
2110
fi
2111
 
2112
fi
2113
echo "$as_me:2113: result: $am_cv_CC_dependencies_compiler_type" >&5
2114
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2115
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2116
 
2117
ac_ext=c
2118
ac_cpp='$CPP $CPPFLAGS'
2119
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2120
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2121
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2122
echo "$as_me:2122: checking how to run the C preprocessor" >&5
2123
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2124
# On Suns, sometimes $CPP names a directory.
2125
if test -n "$CPP" && test -d "$CPP"; then
2126
  CPP=
2127
fi
2128
if test -z "$CPP"; then
2129
  if test "${ac_cv_prog_CPP+set}" = set; then
2130
  echo $ECHO_N "(cached) $ECHO_C" >&6
2131
else
2132
      # Double quotes because CPP needs to be expanded
2133
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2134
    do
2135
      ac_preproc_ok=false
2136
for ac_c_preproc_warn_flag in '' yes
2137
do
2138
  # Use a header file that comes with gcc, so configuring glibc
2139
  # with a fresh cross-compiler works.
2140
  # On the NeXT, cc -E runs the code through the compiler's parser,
2141
  # not just through cpp. "Syntax error" is here to catch this case.
2142
  cat >conftest.$ac_ext <<_ACEOF
2143
#line 2143 "configure"
2144
#include "confdefs.h"
2145
#include 
2146
                     Syntax error
2147
_ACEOF
2148
if { (eval echo "$as_me:2148: \"$ac_cpp conftest.$ac_ext\"") >&5
2149
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2150
  ac_status=$?
2151
  egrep -v '^ *\+' conftest.er1 >conftest.err
2152
  rm -f conftest.er1
2153
  cat conftest.err >&5
2154
  echo "$as_me:2154: \$? = $ac_status" >&5
2155
  (exit $ac_status); } >/dev/null; then
2156
  if test -s conftest.err; then
2157
    ac_cpp_err=$ac_c_preproc_warn_flag
2158
  else
2159
    ac_cpp_err=
2160
  fi
2161
else
2162
  ac_cpp_err=yes
2163
fi
2164
if test -z "$ac_cpp_err"; then
2165
  :
2166
else
2167
  echo "$as_me: failed program was:" >&5
2168
  cat conftest.$ac_ext >&5
2169
  # Broken: fails on valid input.
2170
continue
2171
fi
2172
rm -f conftest.err conftest.$ac_ext
2173
 
2174
  # OK, works on sane cases.  Now check whether non-existent headers
2175
  # can be detected and how.
2176
  cat >conftest.$ac_ext <<_ACEOF
2177
#line 2177 "configure"
2178
#include "confdefs.h"
2179
#include 
2180
_ACEOF
2181
if { (eval echo "$as_me:2181: \"$ac_cpp conftest.$ac_ext\"") >&5
2182
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2183
  ac_status=$?
2184
  egrep -v '^ *\+' conftest.er1 >conftest.err
2185
  rm -f conftest.er1
2186
  cat conftest.err >&5
2187
  echo "$as_me:2187: \$? = $ac_status" >&5
2188
  (exit $ac_status); } >/dev/null; then
2189
  if test -s conftest.err; then
2190
    ac_cpp_err=$ac_c_preproc_warn_flag
2191
  else
2192
    ac_cpp_err=
2193
  fi
2194
else
2195
  ac_cpp_err=yes
2196
fi
2197
if test -z "$ac_cpp_err"; then
2198
  # Broken: success on invalid input.
2199
continue
2200
else
2201
  echo "$as_me: failed program was:" >&5
2202
  cat conftest.$ac_ext >&5
2203
  # Passes both tests.
2204
ac_preproc_ok=:
2205
break
2206
fi
2207
rm -f conftest.err conftest.$ac_ext
2208
 
2209
done
2210
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2211
rm -f conftest.err conftest.$ac_ext
2212
if $ac_preproc_ok; then
2213
  break
2214
fi
2215
 
2216
    done
2217
    ac_cv_prog_CPP=$CPP
2218
 
2219
fi
2220
  CPP=$ac_cv_prog_CPP
2221
else
2222
  ac_cv_prog_CPP=$CPP
2223
fi
2224
echo "$as_me:2224: result: $CPP" >&5
2225
echo "${ECHO_T}$CPP" >&6
2226
ac_preproc_ok=false
2227
for ac_c_preproc_warn_flag in '' yes
2228
do
2229
  # Use a header file that comes with gcc, so configuring glibc
2230
  # with a fresh cross-compiler works.
2231
  # On the NeXT, cc -E runs the code through the compiler's parser,
2232
  # not just through cpp. "Syntax error" is here to catch this case.
2233
  cat >conftest.$ac_ext <<_ACEOF
2234
#line 2234 "configure"
2235
#include "confdefs.h"
2236
#include 
2237
                     Syntax error
2238
_ACEOF
2239
if { (eval echo "$as_me:2239: \"$ac_cpp conftest.$ac_ext\"") >&5
2240
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2241
  ac_status=$?
2242
  egrep -v '^ *\+' conftest.er1 >conftest.err
2243
  rm -f conftest.er1
2244
  cat conftest.err >&5
2245
  echo "$as_me:2245: \$? = $ac_status" >&5
2246
  (exit $ac_status); } >/dev/null; then
2247
  if test -s conftest.err; then
2248
    ac_cpp_err=$ac_c_preproc_warn_flag
2249
  else
2250
    ac_cpp_err=
2251
  fi
2252
else
2253
  ac_cpp_err=yes
2254
fi
2255
if test -z "$ac_cpp_err"; then
2256
  :
2257
else
2258
  echo "$as_me: failed program was:" >&5
2259
  cat conftest.$ac_ext >&5
2260
  # Broken: fails on valid input.
2261
continue
2262
fi
2263
rm -f conftest.err conftest.$ac_ext
2264
 
2265
  # OK, works on sane cases.  Now check whether non-existent headers
2266
  # can be detected and how.
2267
  cat >conftest.$ac_ext <<_ACEOF
2268
#line 2268 "configure"
2269
#include "confdefs.h"
2270
#include 
2271
_ACEOF
2272
if { (eval echo "$as_me:2272: \"$ac_cpp conftest.$ac_ext\"") >&5
2273
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2274
  ac_status=$?
2275
  egrep -v '^ *\+' conftest.er1 >conftest.err
2276
  rm -f conftest.er1
2277
  cat conftest.err >&5
2278
  echo "$as_me:2278: \$? = $ac_status" >&5
2279
  (exit $ac_status); } >/dev/null; then
2280
  if test -s conftest.err; then
2281
    ac_cpp_err=$ac_c_preproc_warn_flag
2282
  else
2283
    ac_cpp_err=
2284
  fi
2285
else
2286
  ac_cpp_err=yes
2287
fi
2288
if test -z "$ac_cpp_err"; then
2289
  # Broken: success on invalid input.
2290
continue
2291
else
2292
  echo "$as_me: failed program was:" >&5
2293
  cat conftest.$ac_ext >&5
2294
  # Passes both tests.
2295
ac_preproc_ok=:
2296
break
2297
fi
2298
rm -f conftest.err conftest.$ac_ext
2299
 
2300
done
2301
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2302
rm -f conftest.err conftest.$ac_ext
2303
if $ac_preproc_ok; then
2304
  :
2305
else
2306
  { { echo "$as_me:2306: error: C preprocessor \"$CPP\" fails sanity check" >&5
2307
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2308
   { (exit 1); exit 1; }; }
2309
fi
2310
 
2311
ac_ext=c
2312
ac_cpp='$CPP $CPPFLAGS'
2313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2316
 
2317
echo "$as_me:2317: checking for ANSI C header files" >&5
2318
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2319
if test "${ac_cv_header_stdc+set}" = set; then
2320
  echo $ECHO_N "(cached) $ECHO_C" >&6
2321
else
2322
  cat >conftest.$ac_ext <<_ACEOF
2323
#line 2323 "configure"
2324
#include "confdefs.h"
2325
#include 
2326
#include 
2327
#include 
2328
#include 
2329
 
2330
_ACEOF
2331
if { (eval echo "$as_me:2331: \"$ac_cpp conftest.$ac_ext\"") >&5
2332
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2333
  ac_status=$?
2334
  egrep -v '^ *\+' conftest.er1 >conftest.err
2335
  rm -f conftest.er1
2336
  cat conftest.err >&5
2337
  echo "$as_me:2337: \$? = $ac_status" >&5
2338
  (exit $ac_status); } >/dev/null; then
2339
  if test -s conftest.err; then
2340
    ac_cpp_err=$ac_c_preproc_warn_flag
2341
  else
2342
    ac_cpp_err=
2343
  fi
2344
else
2345
  ac_cpp_err=yes
2346
fi
2347
if test -z "$ac_cpp_err"; then
2348
  ac_cv_header_stdc=yes
2349
else
2350
  echo "$as_me: failed program was:" >&5
2351
  cat conftest.$ac_ext >&5
2352
  ac_cv_header_stdc=no
2353
fi
2354
rm -f conftest.err conftest.$ac_ext
2355
 
2356
if test $ac_cv_header_stdc = yes; then
2357
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2358
  cat >conftest.$ac_ext <<_ACEOF
2359
#line 2359 "configure"
2360
#include "confdefs.h"
2361
#include 
2362
 
2363
_ACEOF
2364
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2365
  egrep "memchr" >/dev/null 2>&1; then
2366
  :
2367
else
2368
  ac_cv_header_stdc=no
2369
fi
2370
rm -f conftest*
2371
 
2372
fi
2373
 
2374
if test $ac_cv_header_stdc = yes; then
2375
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2376
  cat >conftest.$ac_ext <<_ACEOF
2377
#line 2377 "configure"
2378
#include "confdefs.h"
2379
#include 
2380
 
2381
_ACEOF
2382
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2383
  egrep "free" >/dev/null 2>&1; then
2384
  :
2385
else
2386
  ac_cv_header_stdc=no
2387
fi
2388
rm -f conftest*
2389
 
2390
fi
2391
 
2392
if test $ac_cv_header_stdc = yes; then
2393
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2394
  if test "$cross_compiling" = yes; then
2395
  :
2396
else
2397
  cat >conftest.$ac_ext <<_ACEOF
2398
#line 2398 "configure"
2399
#include "confdefs.h"
2400
#include 
2401
#if ((' ' & 0x0FF) == 0x020)
2402
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2403
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2404
#else
2405
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2406
                     || ('j' <= (c) && (c) <= 'r') \
2407
                     || ('s' <= (c) && (c) <= 'z'))
2408
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2409
#endif
2410
 
2411
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2412
int
2413
main ()
2414
{
2415
  int i;
2416
  for (i = 0; i < 256; i++)
2417
    if (XOR (islower (i), ISLOWER (i))
2418
        || toupper (i) != TOUPPER (i))
2419
      exit(2);
2420
  exit (0);
2421
}
2422
_ACEOF
2423
rm -f conftest$ac_exeext
2424
if { (eval echo "$as_me:2424: \"$ac_link\"") >&5
2425
  (eval $ac_link) 2>&5
2426
  ac_status=$?
2427
  echo "$as_me:2427: \$? = $ac_status" >&5
2428
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2429
  { (eval echo "$as_me:2429: \"$ac_try\"") >&5
2430
  (eval $ac_try) 2>&5
2431
  ac_status=$?
2432
  echo "$as_me:2432: \$? = $ac_status" >&5
2433
  (exit $ac_status); }; }; then
2434
  :
2435
else
2436
  echo "$as_me: program exited with status $ac_status" >&5
2437
echo "$as_me: failed program was:" >&5
2438
cat conftest.$ac_ext >&5
2439
ac_cv_header_stdc=no
2440
fi
2441
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2442
fi
2443
fi
2444
fi
2445
echo "$as_me:2445: result: $ac_cv_header_stdc" >&5
2446
echo "${ECHO_T}$ac_cv_header_stdc" >&6
2447
if test $ac_cv_header_stdc = yes; then
2448
 
2449
cat >>confdefs.h <<\EOF
2450
#define STDC_HEADERS 1
2451
EOF
2452
 
2453
fi
2454
 
2455
for ac_header in limits.h
2456
do
2457
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2458
echo "$as_me:2458: checking for $ac_header" >&5
2459
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2460
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2461
  echo $ECHO_N "(cached) $ECHO_C" >&6
2462
else
2463
  cat >conftest.$ac_ext <<_ACEOF
2464
#line 2464 "configure"
2465
#include "confdefs.h"
2466
#include <$ac_header>
2467
_ACEOF
2468
if { (eval echo "$as_me:2468: \"$ac_cpp conftest.$ac_ext\"") >&5
2469
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2470
  ac_status=$?
2471
  egrep -v '^ *\+' conftest.er1 >conftest.err
2472
  rm -f conftest.er1
2473
  cat conftest.err >&5
2474
  echo "$as_me:2474: \$? = $ac_status" >&5
2475
  (exit $ac_status); } >/dev/null; then
2476
  if test -s conftest.err; then
2477
    ac_cpp_err=$ac_c_preproc_warn_flag
2478
  else
2479
    ac_cpp_err=
2480
  fi
2481
else
2482
  ac_cpp_err=yes
2483
fi
2484
if test -z "$ac_cpp_err"; then
2485
  eval "$as_ac_Header=yes"
2486
else
2487
  echo "$as_me: failed program was:" >&5
2488
  cat conftest.$ac_ext >&5
2489
  eval "$as_ac_Header=no"
2490
fi
2491
rm -f conftest.err conftest.$ac_ext
2492
fi
2493
echo "$as_me:2493: result: `eval echo '${'$as_ac_Header'}'`" >&5
2494
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2495
if test `eval echo '${'$as_ac_Header'}'` = yes; then
2496
  cat >>confdefs.h <
2497
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2498
EOF
2499
 
2500
fi
2501
done
2502
 
2503
for ac_func in strdup strstr
2504
do
2505
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2506
echo "$as_me:2506: checking for $ac_func" >&5
2507
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2508
if eval "test \"\${$as_ac_var+set}\" = set"; then
2509
  echo $ECHO_N "(cached) $ECHO_C" >&6
2510
else
2511
  cat >conftest.$ac_ext <<_ACEOF
2512
#line 2512 "configure"
2513
#include "confdefs.h"
2514
/* System header to define __stub macros and hopefully few prototypes,
2515
    which can conflict with char $ac_func (); below.  */
2516
#include 
2517
/* Override any gcc2 internal prototype to avoid an error.  */
2518
#ifdef __cplusplus
2519
extern "C"
2520
#endif
2521
/* We use char because int might match the return type of a gcc2
2522
   builtin and then its argument prototype would still apply.  */
2523
char $ac_func ();
2524
char (*f) ();
2525
 
2526
int
2527
main ()
2528
{
2529
/* The GNU C library defines this for functions which it implements
2530
    to always fail with ENOSYS.  Some functions are actually named
2531
    something starting with __ and the normal name is an alias.  */
2532
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2533
choke me
2534
#else
2535
f = $ac_func;
2536
#endif
2537
 
2538
  ;
2539
  return 0;
2540
}
2541
_ACEOF
2542
rm -f conftest.$ac_objext conftest$ac_exeext
2543
if { (eval echo "$as_me:2543: \"$ac_link\"") >&5
2544
  (eval $ac_link) 2>&5
2545
  ac_status=$?
2546
  echo "$as_me:2546: \$? = $ac_status" >&5
2547
  (exit $ac_status); } &&
2548
         { ac_try='test -s conftest$ac_exeext'
2549
  { (eval echo "$as_me:2549: \"$ac_try\"") >&5
2550
  (eval $ac_try) 2>&5
2551
  ac_status=$?
2552
  echo "$as_me:2552: \$? = $ac_status" >&5
2553
  (exit $ac_status); }; }; then
2554
  eval "$as_ac_var=yes"
2555
else
2556
  echo "$as_me: failed program was:" >&5
2557
cat conftest.$ac_ext >&5
2558
eval "$as_ac_var=no"
2559
fi
2560
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2561
fi
2562
echo "$as_me:2562: result: `eval echo '${'$as_ac_var'}'`" >&5
2563
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2564
if test `eval echo '${'$as_ac_var'}'` = yes; then
2565
  cat >>confdefs.h <
2566
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2567
EOF
2568
 
2569
fi
2570
done
2571
 
2572
ac_config_files="$ac_config_files Makefile bmenu/Makefile src2html/Makefile src2html1.4a/Makefile src2html1.4a/Ctags/Makefile src2html1.4a/FreeBSD/Makefile src2html1.4a/ctags-emacs/Makefile texi2www/Makefile"
2573
 
2574
cat >confcache <<\_ACEOF
2575
# This file is a shell script that caches the results of configure
2576
# tests run on this system so they can be shared between configure
2577
# scripts and configure runs, see configure's option --config-cache.
2578
# It is not useful on other systems.  If it contains results you don't
2579
# want to keep, you may remove or edit it.
2580
#
2581
# config.status only pays attention to the cache file if you give it
2582
# the --recheck option to rerun configure.
2583
#
2584
# `ac_cv_env_foo' variables (set or unset) will be overriden when
2585
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2586
# following values.
2587
 
2588
_ACEOF
2589
 
2590
# The following way of writing the cache mishandles newlines in values,
2591
# but we know of no workaround that is simple, portable, and efficient.
2592
# So, don't put newlines in cache variables' values.
2593
# Ultrix sh set writes to stderr and can't be redirected directly,
2594
# and sets the high bit in the cache file unless we assign to the vars.
2595
{
2596
  (set) 2>&1 |
2597
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2598
    *ac_space=\ *)
2599
      # `set' does not quote correctly, so add quotes (double-quote
2600
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2601
      sed -n \
2602
        "s/'/'\\\\''/g;
2603
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2604
      ;;
2605
    *)
2606
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2607
      sed -n \
2608
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2609
      ;;
2610
    esac;
2611
} |
2612
  sed '
2613
     t clear
2614
     : clear
2615
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2616
     t end
2617
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2618
     : end' >>confcache
2619
if cmp -s $cache_file confcache; then :; else
2620
  if test -w $cache_file; then
2621
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2622
    cat confcache >$cache_file
2623
  else
2624
    echo "not updating unwritable cache $cache_file"
2625
  fi
2626
fi
2627
rm -f confcache
2628
 
2629
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2630
# Let make expand exec_prefix.
2631
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2632
 
2633
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2634
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2635
# trailing colons and then remove the whole line if VPATH becomes empty
2636
# (actually we leave an empty line to preserve line numbers).
2637
if test "x$srcdir" = x.; then
2638
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
2639
s/:*\$(srcdir):*/:/;
2640
s/:*\${srcdir}:*/:/;
2641
s/:*@srcdir@:*/:/;
2642
s/^\([^=]*=[    ]*\):*/\1/;
2643
s/:*$//;
2644
s/^[^=]*=[      ]*$//;
2645
}'
2646
fi
2647
 
2648
# Transform confdefs.h into DEFS.
2649
# Protect against shell expansion while executing Makefile rules.
2650
# Protect against Makefile macro expansion.
2651
#
2652
# If the first sed substitution is executed (which looks for macros that
2653
# take arguments), then we branch to the quote section.  Otherwise,
2654
# look for a macro that doesn't take arguments.
2655
cat >confdef2opt.sed <<\EOF
2656
t clear
2657
: clear
2658
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2659
t quote
2660
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2661
t quote
2662
d
2663
: quote
2664
s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
2665
s,\[,\\&,g
2666
s,\],\\&,g
2667
s,\$,$$,g
2668
p
2669
EOF
2670
# We use echo to avoid assuming a particular line-breaking character.
2671
# The extra dot is to prevent the shell from consuming trailing
2672
# line-breaks from the sub-command output.  A line-break within
2673
# single-quotes doesn't work because, if this script is created in a
2674
# platform that uses two characters for line-breaks (e.g., DOS), tr
2675
# would break.
2676
ac_LF_and_DOT=`echo; echo .`
2677
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2678
rm -f confdef2opt.sed
2679
 
2680
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2681
  { { echo "$as_me:2681: error: conditional \"AMDEP\" was never defined.
2682
Usually this means the macro was only invoked conditionally." >&5
2683
echo "$as_me: error: conditional \"AMDEP\" was never defined.
2684
Usually this means the macro was only invoked conditionally." >&2;}
2685
   { (exit 1); exit 1; }; }
2686
fi
2687
 
2688
: ${CONFIG_STATUS=./config.status}
2689
ac_clean_files_save=$ac_clean_files
2690
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2691
{ echo "$as_me:2691: creating $CONFIG_STATUS" >&5
2692
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2693
cat >$CONFIG_STATUS <<_ACEOF
2694
#! $SHELL
2695
# Generated automatically by configure.
2696
# Run this file to recreate the current configuration.
2697
# Compiler output produced by configure, useful for debugging
2698
# configure, is in config.log if it exists.
2699
 
2700
debug=false
2701
SHELL=\${CONFIG_SHELL-$SHELL}
2702
ac_cs_invocation="\$0 \$@"
2703
 
2704
_ACEOF
2705
 
2706
cat >>$CONFIG_STATUS <<\_ACEOF
2707
# Be Bourne compatible
2708
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2709
  emulate sh
2710
  NULLCMD=:
2711
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2712
  set -o posix
2713
fi
2714
 
2715
# Name of the executable.
2716
as_me=`echo "$0" |sed 's,.*[\\/],,'`
2717
 
2718
if expr a : '\(a\)' >/dev/null 2>&1; then
2719
  as_expr=expr
2720
else
2721
  as_expr=false
2722
fi
2723
 
2724
rm -f conf$$ conf$$.exe conf$$.file
2725
echo >conf$$.file
2726
if ln -s conf$$.file conf$$ 2>/dev/null; then
2727
  # We could just check for DJGPP; but this test a) works b) is more generic
2728
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2729
  if test -f conf$$.exe; then
2730
    # Don't use ln at all; we don't have any links
2731
    as_ln_s='cp -p'
2732
  else
2733
    as_ln_s='ln -s'
2734
  fi
2735
elif ln conf$$.file conf$$ 2>/dev/null; then
2736
  as_ln_s=ln
2737
else
2738
  as_ln_s='cp -p'
2739
fi
2740
rm -f conf$$ conf$$.exe conf$$.file
2741
 
2742
as_executable_p="test -f"
2743
 
2744
# Support unset when possible.
2745
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2746
  as_unset=unset
2747
else
2748
  as_unset=false
2749
fi
2750
 
2751
# NLS nuisances.
2752
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2753
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2754
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2755
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2756
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2757
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2758
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2759
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2760
 
2761
# IFS
2762
# We need space, tab and new line, in precisely that order.
2763
as_nl='
2764
'
2765
IFS="   $as_nl"
2766
 
2767
# CDPATH.
2768
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2769
 
2770
exec 6>&1
2771
 
2772
_ACEOF
2773
 
2774
# Files that config.status was made for.
2775
if test -n "$ac_config_files"; then
2776
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2777
fi
2778
 
2779
if test -n "$ac_config_headers"; then
2780
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2781
fi
2782
 
2783
if test -n "$ac_config_links"; then
2784
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2785
fi
2786
 
2787
if test -n "$ac_config_commands"; then
2788
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2789
fi
2790
 
2791
cat >>$CONFIG_STATUS <<\EOF
2792
 
2793
ac_cs_usage="\
2794
\`$as_me' instantiates files from templates according to the
2795
current configuration.
2796
 
2797
Usage: $0 [OPTIONS] [FILE]...
2798
 
2799
  -h, --help       print this help, then exit
2800
  -V, --version    print version number, then exit
2801
  -d, --debug      don't remove temporary files
2802
      --recheck    update $as_me by reconfiguring in the same conditions
2803
  --file=FILE[:TEMPLATE]
2804
                   instantiate the configuration file FILE
2805
 
2806
Configuration files:
2807
$config_files
2808
 
2809
Configuration commands:
2810
$config_commands
2811
 
2812
Report bugs to ."
2813
EOF
2814
 
2815
cat >>$CONFIG_STATUS <
2816
ac_cs_version="\\
2817
rtems-doc-tools config.status _RTEMS_VERSION
2818
configured by $0, generated by GNU Autoconf 2.52,
2819
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2820
 
2821
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2822
Free Software Foundation, Inc.
2823
This config.status script is free software; the Free Software Foundation
2824
gives unlimited permission to copy, distribute and modify it."
2825
srcdir=$srcdir
2826
INSTALL="$INSTALL"
2827
EOF
2828
 
2829
cat >>$CONFIG_STATUS <<\EOF
2830
# If no file are specified by the user, then we need to provide default
2831
# value.  By we need to know if files were specified by the user.
2832
ac_need_defaults=:
2833
while test $# != 0
2834
do
2835
  case $1 in
2836
  --*=*)
2837
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2838
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2839
    shift
2840
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2841
    shift
2842
    ;;
2843
  -*);;
2844
  *) # This is not an option, so the user has probably given explicit
2845
     # arguments.
2846
     ac_need_defaults=false;;
2847
  esac
2848
 
2849
  case $1 in
2850
  # Handling of the options.
2851
EOF
2852
cat >>$CONFIG_STATUS <
2853
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2854
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2855
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2856
EOF
2857
cat >>$CONFIG_STATUS <<\EOF
2858
  --version | --vers* | -V )
2859
    echo "$ac_cs_version"; exit 0 ;;
2860
  --he | --h)
2861
    # Conflict between --help and --header
2862
    { { echo "$as_me:2862: error: ambiguous option: $1
2863
Try \`$0 --help' for more information." >&5
2864
echo "$as_me: error: ambiguous option: $1
2865
Try \`$0 --help' for more information." >&2;}
2866
   { (exit 1); exit 1; }; };;
2867
  --help | --hel | -h )
2868
    echo "$ac_cs_usage"; exit 0 ;;
2869
  --debug | --d* | -d )
2870
    debug=: ;;
2871
  --file | --fil | --fi | --f )
2872
    shift
2873
    CONFIG_FILES="$CONFIG_FILES $1"
2874
    ac_need_defaults=false;;
2875
  --header | --heade | --head | --hea )
2876
    shift
2877
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
2878
    ac_need_defaults=false;;
2879
 
2880
  # This is an error.
2881
  -*) { { echo "$as_me:2881: error: unrecognized option: $1
2882
Try \`$0 --help' for more information." >&5
2883
echo "$as_me: error: unrecognized option: $1
2884
Try \`$0 --help' for more information." >&2;}
2885
   { (exit 1); exit 1; }; } ;;
2886
 
2887
  *) ac_config_targets="$ac_config_targets $1" ;;
2888
 
2889
  esac
2890
  shift
2891
done
2892
 
2893
exec 5>>config.log
2894
cat >&5 << _ACEOF
2895
 
2896
## ----------------------- ##
2897
## Running config.status.  ##
2898
## ----------------------- ##
2899
 
2900
This file was extended by $as_me (rtems-doc-tools _RTEMS_VERSION) 2.52, executed with
2901
  CONFIG_FILES    = $CONFIG_FILES
2902
  CONFIG_HEADERS  = $CONFIG_HEADERS
2903
  CONFIG_LINKS    = $CONFIG_LINKS
2904
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2905
  > $ac_cs_invocation
2906
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2907
 
2908
_ACEOF
2909
EOF
2910
 
2911
cat >>$CONFIG_STATUS <
2912
#
2913
# INIT-COMMANDS section.
2914
#
2915
 
2916
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
2917
 
2918
EOF
2919
 
2920
cat >>$CONFIG_STATUS <<\EOF
2921
for ac_config_target in $ac_config_targets
2922
do
2923
  case "$ac_config_target" in
2924
  # Handling of arguments.
2925
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2926
  "bmenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES bmenu/Makefile" ;;
2927
  "src2html/Makefile" ) CONFIG_FILES="$CONFIG_FILES src2html/Makefile" ;;
2928
  "src2html1.4a/Makefile" ) CONFIG_FILES="$CONFIG_FILES src2html1.4a/Makefile" ;;
2929
  "src2html1.4a/Ctags/Makefile" ) CONFIG_FILES="$CONFIG_FILES src2html1.4a/Ctags/Makefile" ;;
2930
  "src2html1.4a/FreeBSD/Makefile" ) CONFIG_FILES="$CONFIG_FILES src2html1.4a/FreeBSD/Makefile" ;;
2931
  "src2html1.4a/ctags-emacs/Makefile" ) CONFIG_FILES="$CONFIG_FILES src2html1.4a/ctags-emacs/Makefile" ;;
2932
  "texi2www/Makefile" ) CONFIG_FILES="$CONFIG_FILES texi2www/Makefile" ;;
2933
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
2934
  *) { { echo "$as_me:2934: error: invalid argument: $ac_config_target" >&5
2935
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2936
   { (exit 1); exit 1; }; };;
2937
  esac
2938
done
2939
 
2940
# If the user did not use the arguments to specify the items to instantiate,
2941
# then the envvar interface is used.  Set only those that are not.
2942
# We use the long form for the default assignment because of an extremely
2943
# bizarre bug on SunOS 4.1.3.
2944
if $ac_need_defaults; then
2945
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2946
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2947
fi
2948
 
2949
# Create a temporary directory, and hook for its removal unless debugging.
2950
$debug ||
2951
{
2952
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2953
  trap '{ (exit 1); exit 1; }' 1 2 13 15
2954
}
2955
 
2956
# Create a (secure) tmp directory for tmp files.
2957
: ${TMPDIR=/tmp}
2958
{
2959
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2960
  test -n "$tmp" && test -d "$tmp"
2961
}  ||
2962
{
2963
  tmp=$TMPDIR/cs$$-$RANDOM
2964
  (umask 077 && mkdir $tmp)
2965
} ||
2966
{
2967
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2968
   { (exit 1); exit 1; }
2969
}
2970
 
2971
EOF
2972
 
2973
cat >>$CONFIG_STATUS <
2974
 
2975
#
2976
# CONFIG_FILES section.
2977
#
2978
 
2979
# No need to generate the scripts if there are no CONFIG_FILES.
2980
# This happens for instance when ./config.status config.h
2981
if test -n "\$CONFIG_FILES"; then
2982
  # Protect against being on the right side of a sed subst in config.status.
2983
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2984
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2985
s,@SHELL@,$SHELL,;t t
2986
s,@exec_prefix@,$exec_prefix,;t t
2987
s,@prefix@,$prefix,;t t
2988
s,@program_transform_name@,$program_transform_name,;t t
2989
s,@bindir@,$bindir,;t t
2990
s,@sbindir@,$sbindir,;t t
2991
s,@libexecdir@,$libexecdir,;t t
2992
s,@datadir@,$datadir,;t t
2993
s,@sysconfdir@,$sysconfdir,;t t
2994
s,@sharedstatedir@,$sharedstatedir,;t t
2995
s,@localstatedir@,$localstatedir,;t t
2996
s,@libdir@,$libdir,;t t
2997
s,@includedir@,$includedir,;t t
2998
s,@oldincludedir@,$oldincludedir,;t t
2999
s,@infodir@,$infodir,;t t
3000
s,@mandir@,$mandir,;t t
3001
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3002
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3003
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3004
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3005
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3006
s,@build_alias@,$build_alias,;t t
3007
s,@host_alias@,$host_alias,;t t
3008
s,@target_alias@,$target_alias,;t t
3009
s,@ECHO_C@,$ECHO_C,;t t
3010
s,@ECHO_N@,$ECHO_N,;t t
3011
s,@ECHO_T@,$ECHO_T,;t t
3012
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3013
s,@DEFS@,$DEFS,;t t
3014
s,@LIBS@,$LIBS,;t t
3015
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3016
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3017
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3018
s,@PACKAGE@,$PACKAGE,;t t
3019
s,@VERSION@,$VERSION,;t t
3020
s,@ACLOCAL@,$ACLOCAL,;t t
3021
s,@AUTOCONF@,$AUTOCONF,;t t
3022
s,@AUTOMAKE@,$AUTOMAKE,;t t
3023
s,@AUTOHEADER@,$AUTOHEADER,;t t
3024
s,@MAKEINFO@,$MAKEINFO,;t t
3025
s,@AMTAR@,$AMTAR,;t t
3026
s,@install_sh@,$install_sh,;t t
3027
s,@STRIP@,$STRIP,;t t
3028
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3029
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3030
s,@AWK@,$AWK,;t t
3031
s,@SET_MAKE@,$SET_MAKE,;t t
3032
s,@CC@,$CC,;t t
3033
s,@CFLAGS@,$CFLAGS,;t t
3034
s,@LDFLAGS@,$LDFLAGS,;t t
3035
s,@CPPFLAGS@,$CPPFLAGS,;t t
3036
s,@ac_ct_CC@,$ac_ct_CC,;t t
3037
s,@EXEEXT@,$EXEEXT,;t t
3038
s,@OBJEXT@,$OBJEXT,;t t
3039
s,@DEPDIR@,$DEPDIR,;t t
3040
s,@am__include@,$am__include,;t t
3041
s,@am__quote@,$am__quote,;t t
3042
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3043
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3044
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3045
s,@CCDEPMODE@,$CCDEPMODE,;t t
3046
s,@CPP@,$CPP,;t t
3047
CEOF
3048
 
3049
EOF
3050
 
3051
  cat >>$CONFIG_STATUS <<\EOF
3052
  # Split the substitutions into bite-sized pieces for seds with
3053
  # small command number limits, like on Digital OSF/1 and HP-UX.
3054
  ac_max_sed_lines=48
3055
  ac_sed_frag=1 # Number of current file.
3056
  ac_beg=1 # First line for current file.
3057
  ac_end=$ac_max_sed_lines # Line after last line for current file.
3058
  ac_more_lines=:
3059
  ac_sed_cmds=
3060
  while $ac_more_lines; do
3061
    if test $ac_beg -gt 1; then
3062
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3063
    else
3064
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3065
    fi
3066
    if test ! -s $tmp/subs.frag; then
3067
      ac_more_lines=false
3068
    else
3069
      # The purpose of the label and of the branching condition is to
3070
      # speed up the sed processing (if there are no `@' at all, there
3071
      # is no need to browse any of the substitutions).
3072
      # These are the two extra sed commands mentioned above.
3073
      (echo ':t
3074
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3075
      if test -z "$ac_sed_cmds"; then
3076
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3077
      else
3078
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3079
      fi
3080
      ac_sed_frag=`expr $ac_sed_frag + 1`
3081
      ac_beg=$ac_end
3082
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3083
    fi
3084
  done
3085
  if test -z "$ac_sed_cmds"; then
3086
    ac_sed_cmds=cat
3087
  fi
3088
fi # test -n "$CONFIG_FILES"
3089
 
3090
EOF
3091
cat >>$CONFIG_STATUS <<\EOF
3092
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3093
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3094
  case $ac_file in
3095
  - | *:- | *:-:* ) # input from stdin
3096
        cat >$tmp/stdin
3097
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3098
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3099
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3100
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3101
  * )   ac_file_in=$ac_file.in ;;
3102
  esac
3103
 
3104
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3105
  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3106
         X"$ac_file" : 'X\(//\)[^/]' \| \
3107
         X"$ac_file" : 'X\(//\)$' \| \
3108
         X"$ac_file" : 'X\(/\)' \| \
3109
         .     : '\(.\)' 2>/dev/null ||
3110
echo X"$ac_file" |
3111
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3112
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3113
          /^X\(\/\/\)$/{ s//\1/; q; }
3114
          /^X\(\/\).*/{ s//\1/; q; }
3115
          s/.*/./; q'`
3116
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3117
    { case "$ac_dir" in
3118
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3119
  *)                      as_incr_dir=.;;
3120
esac
3121
as_dummy="$ac_dir"
3122
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3123
  case $as_mkdir_dir in
3124
    # Skip DOS drivespec
3125
    ?:) as_incr_dir=$as_mkdir_dir ;;
3126
    *)
3127
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3128
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3129
    ;;
3130
  esac
3131
done; }
3132
 
3133
    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3134
    # A "../" for each directory in $ac_dir_suffix.
3135
    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3136
  else
3137
    ac_dir_suffix= ac_dots=
3138
  fi
3139
 
3140
  case $srcdir in
3141
  .)  ac_srcdir=.
3142
      if test -z "$ac_dots"; then
3143
         ac_top_srcdir=.
3144
      else
3145
         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3146
      fi ;;
3147
  [\\/]* | ?:[\\/]* )
3148
      ac_srcdir=$srcdir$ac_dir_suffix;
3149
      ac_top_srcdir=$srcdir ;;
3150
  *) # Relative path.
3151
    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3152
    ac_top_srcdir=$ac_dots$srcdir ;;
3153
  esac
3154
 
3155
  case $INSTALL in
3156
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3157
  *) ac_INSTALL=$ac_dots$INSTALL ;;
3158
  esac
3159
 
3160
  if test x"$ac_file" != x-; then
3161
    { echo "$as_me:3161: creating $ac_file" >&5
3162
echo "$as_me: creating $ac_file" >&6;}
3163
    rm -f "$ac_file"
3164
  fi
3165
  # Let's still pretend it is `configure' which instantiates (i.e., don't
3166
  # use $as_me), people would be surprised to read:
3167
  #    /* config.h.  Generated automatically by config.status.  */
3168
  configure_input="Generated automatically from `echo $ac_file_in |
3169
                                                 sed 's,.*/,,'` by configure."
3170
 
3171
  # First look for the input files in the build tree, otherwise in the
3172
  # src tree.
3173
  ac_file_inputs=`IFS=:
3174
    for f in $ac_file_in; do
3175
      case $f in
3176
      -) echo $tmp/stdin ;;
3177
      [\\/$]*)
3178
         # Absolute (can't be DOS-style, as IFS=:)
3179
         test -f "$f" || { { echo "$as_me:3179: error: cannot find input file: $f" >&5
3180
echo "$as_me: error: cannot find input file: $f" >&2;}
3181
   { (exit 1); exit 1; }; }
3182
         echo $f;;
3183
      *) # Relative
3184
         if test -f "$f"; then
3185
           # Build tree
3186
           echo $f
3187
         elif test -f "$srcdir/$f"; then
3188
           # Source tree
3189
           echo $srcdir/$f
3190
         else
3191
           # /dev/null tree
3192
           { { echo "$as_me:3192: error: cannot find input file: $f" >&5
3193
echo "$as_me: error: cannot find input file: $f" >&2;}
3194
   { (exit 1); exit 1; }; }
3195
         fi;;
3196
      esac
3197
    done` || { (exit 1); exit 1; }
3198
EOF
3199
cat >>$CONFIG_STATUS <
3200
  sed "$ac_vpsub
3201
$extrasub
3202
EOF
3203
cat >>$CONFIG_STATUS <<\EOF
3204
:t
3205
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3206
s,@configure_input@,$configure_input,;t t
3207
s,@srcdir@,$ac_srcdir,;t t
3208
s,@top_srcdir@,$ac_top_srcdir,;t t
3209
s,@INSTALL@,$ac_INSTALL,;t t
3210
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3211
  rm -f $tmp/stdin
3212
  if test x"$ac_file" != x-; then
3213
    mv $tmp/out $ac_file
3214
  else
3215
    cat $tmp/out
3216
    rm -f $tmp/out
3217
  fi
3218
 
3219
done
3220
EOF
3221
cat >>$CONFIG_STATUS <<\EOF
3222
 
3223
#
3224
# CONFIG_COMMANDS section.
3225
#
3226
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3227
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3228
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3229
 
3230
  case $ac_dest in
3231
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3232
  # Strip MF so we end up with the name of the file.
3233
  mf=`echo "$mf" | sed -e 's/:.*$//'`
3234
  # Check whether this is an Automake generated Makefile or not.
3235
  # We used to match only the files named `Makefile.in', but
3236
  # some people rename them; so instead we look at the file content.
3237
  # Grep'ing the first line is not enough: some people post-process
3238
  # each Makefile.in and add a new line on top of each file to say so.
3239
  # So let's grep whole file.
3240
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3241
    dirpart=`$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3242
         X"$mf" : 'X\(//\)[^/]' \| \
3243
         X"$mf" : 'X\(//\)$' \| \
3244
         X"$mf" : 'X\(/\)' \| \
3245
         .     : '\(.\)' 2>/dev/null ||
3246
echo X"$mf" |
3247
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3248
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3249
          /^X\(\/\/\)$/{ s//\1/; q; }
3250
          /^X\(\/\).*/{ s//\1/; q; }
3251
          s/.*/./; q'`
3252
  else
3253
    continue
3254
  fi
3255
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3256
  # Extract the definition of DEP_FILES from the Makefile without
3257
  # running `make'.
3258
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3259
  test -z "$DEPDIR" && continue
3260
  # When using ansi2knr, U may be empty or an underscore; expand it
3261
  U=`sed -n -e '/^U = / s///p' < "$mf"`
3262
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3263
  # We invoke sed twice because it is the simplest approach to
3264
  # changing $(DEPDIR) to its actual value in the expansion.
3265
  for file in `sed -n -e '
3266
    /^DEP_FILES = .*\\\\$/ {
3267
      s/^DEP_FILES = //
3268
      :loop
3269
        s/\\\\$//
3270
        p
3271
        n
3272
        /\\\\$/ b loop
3273
      p
3274
    }
3275
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3276
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3277
    # Make sure the directory exists.
3278
    test -f "$dirpart/$file" && continue
3279
    fdir=`$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3280
         X"$file" : 'X\(//\)[^/]' \| \
3281
         X"$file" : 'X\(//\)$' \| \
3282
         X"$file" : 'X\(/\)' \| \
3283
         .     : '\(.\)' 2>/dev/null ||
3284
echo X"$file" |
3285
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3286
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3287
          /^X\(\/\/\)$/{ s//\1/; q; }
3288
          /^X\(\/\).*/{ s//\1/; q; }
3289
          s/.*/./; q'`
3290
    { case $dirpart/$fdir in
3291
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3292
  *)                      as_incr_dir=.;;
3293
esac
3294
as_dummy=$dirpart/$fdir
3295
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3296
  case $as_mkdir_dir in
3297
    # Skip DOS drivespec
3298
    ?:) as_incr_dir=$as_mkdir_dir ;;
3299
    *)
3300
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3301
      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3302
    ;;
3303
  esac
3304
done; }
3305
 
3306
    # echo "creating $dirpart/$file"
3307
    echo '# dummy' > "$dirpart/$file"
3308
  done
3309
done
3310
 ;;
3311
  esac
3312
done
3313
EOF
3314
 
3315
cat >>$CONFIG_STATUS <<\EOF
3316
 
3317
{ (exit 0); exit 0; }
3318
EOF
3319
chmod +x $CONFIG_STATUS
3320
ac_clean_files=$ac_clean_files_save
3321
 
3322
# configure is writing to config.log, and then calls config.status.
3323
# config.status does its own redirection, appending to config.log.
3324
# Unfortunately, on DOS this fails, as config.log is still kept open
3325
# by configure, so config.status won't be able to write to it; its
3326
# output is simply discarded.  So we exec the FD to /dev/null,
3327
# effectively closing config.log, so it can be properly (re)opened and
3328
# appended to by config.status.  When coming back to configure, we
3329
# need to make the FD available again.
3330
if test "$no_create" != yes; then
3331
  ac_cs_success=:
3332
  exec 5>/dev/null
3333
  $SHELL $CONFIG_STATUS || ac_cs_success=false
3334
  exec 5>>config.log
3335
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3336
  # would make configure fail if this is the last instruction.
3337
  $ac_cs_success || { (exit 1); exit 1; }
3338
fi
3339
 

powered by: WebSVN 2.1.0

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