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

Subversion Repositories openrisc

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

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

powered by: WebSVN 2.1.0

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