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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [configure] - Blame information for rev 850

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

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

powered by: WebSVN 2.1.0

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