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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [mcore/] [configure] - Blame information for rev 868

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

powered by: WebSVN 2.1.0

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