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

Subversion Repositories openrisc

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

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

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

powered by: WebSVN 2.1.0

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