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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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