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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [arm/] [configure] - Blame information for rev 300

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

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

powered by: WebSVN 2.1.0

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