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

Subversion Repositories openrisc

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

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

powered by: WebSVN 2.1.0

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