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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [mips/] [configure] - Blame information for rev 841

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

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

powered by: WebSVN 2.1.0

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