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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [sparc/] [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="sparc-stub.c"
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
INSTALL_PROGRAM
618
INSTALL_SCRIPT
619
INSTALL_DATA
620
build
621
build_cpu
622
build_vendor
623
build_os
624
host
625
host_cpu
626
host_vendor
627
host_os
628
target
629
target_cpu
630
target_vendor
631
target_os
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
CPU
650
subdirs
651
host_makefile_frag_path
652
target_makefile_frag_path
653
CYGMONLDSCRIPTTEMPL
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
ac_subdirs_all='libsys'
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
System types:
1223
  --build=BUILD     configure for building on BUILD [guessed]
1224
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1225
  --target=TARGET   configure for building compilers for TARGET [HOST]
1226
_ACEOF
1227
fi
1228
 
1229
if test -n "$ac_init_help"; then
1230
 
1231
  cat <<\_ACEOF
1232
 
1233
Optional Features:
1234
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1235
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1236
  --disable-dependency-tracking  speeds up one-time build
1237
  --enable-dependency-tracking   do not reject slow dependency extractors
1238
 
1239
Some influential environment variables:
1240
  CCAS        assembler compiler command (defaults to CC)
1241
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1242
 
1243
Use these variables to override the choices made by `configure' or to help
1244
it to find libraries and programs with nonstandard names/locations.
1245
 
1246
_ACEOF
1247
ac_status=$?
1248
fi
1249
 
1250
if test "$ac_init_help" = "recursive"; then
1251
  # If there are subdirs, report their specific --help.
1252
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1253
    test -d "$ac_dir" || continue
1254
    ac_builddir=.
1255
 
1256
case "$ac_dir" in
1257
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1258
*)
1259
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1260
  # A ".." for each directory in $ac_dir_suffix.
1261
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1262
  case $ac_top_builddir_sub in
1263
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1264
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1265
  esac ;;
1266
esac
1267
ac_abs_top_builddir=$ac_pwd
1268
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1269
# for backward compatibility:
1270
ac_top_builddir=$ac_top_build_prefix
1271
 
1272
case $srcdir in
1273
  .)  # We are building in place.
1274
    ac_srcdir=.
1275
    ac_top_srcdir=$ac_top_builddir_sub
1276
    ac_abs_top_srcdir=$ac_pwd ;;
1277
  [\\/]* | ?:[\\/]* )  # Absolute name.
1278
    ac_srcdir=$srcdir$ac_dir_suffix;
1279
    ac_top_srcdir=$srcdir
1280
    ac_abs_top_srcdir=$srcdir ;;
1281
  *) # Relative name.
1282
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1283
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1284
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1285
esac
1286
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1287
 
1288
    cd "$ac_dir" || { ac_status=$?; continue; }
1289
    # Check for guested configure.
1290
    if test -f "$ac_srcdir/configure.gnu"; then
1291
      echo &&
1292
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1293
    elif test -f "$ac_srcdir/configure"; then
1294
      echo &&
1295
      $SHELL "$ac_srcdir/configure" --help=recursive
1296
    else
1297
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1298
    fi || ac_status=$?
1299
    cd "$ac_pwd" || { ac_status=$?; break; }
1300
  done
1301
fi
1302
 
1303
test -n "$ac_init_help" && exit $ac_status
1304
if $ac_init_version; then
1305
  cat <<\_ACEOF
1306
configure
1307
generated by GNU Autoconf 2.61
1308
 
1309
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1310
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1311
This configure script is free software; the Free Software Foundation
1312
gives unlimited permission to copy, distribute and modify it.
1313
_ACEOF
1314
  exit
1315
fi
1316
cat >config.log <<_ACEOF
1317
This file contains any messages produced by compilers while
1318
running configure, to aid debugging if configure makes a mistake.
1319
 
1320
It was created by $as_me, which was
1321
generated by GNU Autoconf 2.61.  Invocation command line was
1322
 
1323
  $ $0 $@
1324
 
1325
_ACEOF
1326
exec 5>>config.log
1327
{
1328
cat <<_ASUNAME
1329
## --------- ##
1330
## Platform. ##
1331
## --------- ##
1332
 
1333
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1334
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1335
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1336
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1337
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1338
 
1339
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1340
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1341
 
1342
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1343
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1344
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1345
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1346
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1347
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1348
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1349
 
1350
_ASUNAME
1351
 
1352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353
for as_dir in $PATH
1354
do
1355
  IFS=$as_save_IFS
1356
  test -z "$as_dir" && as_dir=.
1357
  echo "PATH: $as_dir"
1358
done
1359
IFS=$as_save_IFS
1360
 
1361
} >&5
1362
 
1363
cat >&5 <<_ACEOF
1364
 
1365
 
1366
## ----------- ##
1367
## Core tests. ##
1368
## ----------- ##
1369
 
1370
_ACEOF
1371
 
1372
 
1373
# Keep a trace of the command line.
1374
# Strip out --no-create and --no-recursion so they do not pile up.
1375
# Strip out --silent because we don't want to record it for future runs.
1376
# Also quote any args containing shell meta-characters.
1377
# Make two passes to allow for proper duplicate-argument suppression.
1378
ac_configure_args=
1379
ac_configure_args0=
1380
ac_configure_args1=
1381
ac_must_keep_next=false
1382
for ac_pass in 1 2
1383
do
1384
  for ac_arg
1385
  do
1386
    case $ac_arg in
1387
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1388
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1389
    | -silent | --silent | --silen | --sile | --sil)
1390
      continue ;;
1391
    *\'*)
1392
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1393
    esac
1394
    case $ac_pass in
1395
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1396
    2)
1397
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1398
      if test $ac_must_keep_next = true; then
1399
        ac_must_keep_next=false # Got value, back to normal.
1400
      else
1401
        case $ac_arg in
1402
          *=* | --config-cache | -C | -disable-* | --disable-* \
1403
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1404
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1405
          | -with-* | --with-* | -without-* | --without-* | --x)
1406
            case "$ac_configure_args0 " in
1407
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1408
            esac
1409
            ;;
1410
          -* ) ac_must_keep_next=true ;;
1411
        esac
1412
      fi
1413
      ac_configure_args="$ac_configure_args '$ac_arg'"
1414
      ;;
1415
    esac
1416
  done
1417
done
1418
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1419
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1420
 
1421
# When interrupted or exit'd, cleanup temporary files, and complete
1422
# config.log.  We remove comments because anyway the quotes in there
1423
# would cause problems or look ugly.
1424
# WARNING: Use '\'' to represent an apostrophe within the trap.
1425
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1426
trap 'exit_status=$?
1427
  # Save into config.log some information that might help in debugging.
1428
  {
1429
    echo
1430
 
1431
    cat <<\_ASBOX
1432
## ---------------- ##
1433
## Cache variables. ##
1434
## ---------------- ##
1435
_ASBOX
1436
    echo
1437
    # The following way of writing the cache mishandles newlines in values,
1438
(
1439
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1440
    eval ac_val=\$$ac_var
1441
    case $ac_val in #(
1442
    *${as_nl}*)
1443
      case $ac_var in #(
1444
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1445
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1446
      esac
1447
      case $ac_var in #(
1448
      _ | IFS | as_nl) ;; #(
1449
      *) $as_unset $ac_var ;;
1450
      esac ;;
1451
    esac
1452
  done
1453
  (set) 2>&1 |
1454
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1455
    *${as_nl}ac_space=\ *)
1456
      sed -n \
1457
        "s/'\''/'\''\\\\'\'''\''/g;
1458
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1459
      ;; #(
1460
    *)
1461
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1462
      ;;
1463
    esac |
1464
    sort
1465
)
1466
    echo
1467
 
1468
    cat <<\_ASBOX
1469
## ----------------- ##
1470
## Output variables. ##
1471
## ----------------- ##
1472
_ASBOX
1473
    echo
1474
    for ac_var in $ac_subst_vars
1475
    do
1476
      eval ac_val=\$$ac_var
1477
      case $ac_val in
1478
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1479
      esac
1480
      echo "$ac_var='\''$ac_val'\''"
1481
    done | sort
1482
    echo
1483
 
1484
    if test -n "$ac_subst_files"; then
1485
      cat <<\_ASBOX
1486
## ------------------- ##
1487
## File substitutions. ##
1488
## ------------------- ##
1489
_ASBOX
1490
      echo
1491
      for ac_var in $ac_subst_files
1492
      do
1493
        eval ac_val=\$$ac_var
1494
        case $ac_val in
1495
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1496
        esac
1497
        echo "$ac_var='\''$ac_val'\''"
1498
      done | sort
1499
      echo
1500
    fi
1501
 
1502
    if test -s confdefs.h; then
1503
      cat <<\_ASBOX
1504
## ----------- ##
1505
## confdefs.h. ##
1506
## ----------- ##
1507
_ASBOX
1508
      echo
1509
      cat confdefs.h
1510
      echo
1511
    fi
1512
    test "$ac_signal" != 0 &&
1513
      echo "$as_me: caught signal $ac_signal"
1514
    echo "$as_me: exit $exit_status"
1515
  } >&5
1516
  rm -f core *.core core.conftest.* &&
1517
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1518
    exit $exit_status
1519
' 0
1520
for ac_signal in 1 2 13 15; do
1521
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1522
done
1523
ac_signal=0
1524
 
1525
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1526
rm -f -r conftest* confdefs.h
1527
 
1528
# Predefined preprocessor variables.
1529
 
1530
cat >>confdefs.h <<_ACEOF
1531
#define PACKAGE_NAME "$PACKAGE_NAME"
1532
_ACEOF
1533
 
1534
 
1535
cat >>confdefs.h <<_ACEOF
1536
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1537
_ACEOF
1538
 
1539
 
1540
cat >>confdefs.h <<_ACEOF
1541
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1542
_ACEOF
1543
 
1544
 
1545
cat >>confdefs.h <<_ACEOF
1546
#define PACKAGE_STRING "$PACKAGE_STRING"
1547
_ACEOF
1548
 
1549
 
1550
cat >>confdefs.h <<_ACEOF
1551
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1552
_ACEOF
1553
 
1554
 
1555
# Let the site file select an alternate cache file if it wants to.
1556
# Prefer explicitly selected file to automatically selected ones.
1557
if test -n "$CONFIG_SITE"; then
1558
  set x "$CONFIG_SITE"
1559
elif test "x$prefix" != xNONE; then
1560
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1561
else
1562
  set x "$ac_default_prefix/share/config.site" \
1563
        "$ac_default_prefix/etc/config.site"
1564
fi
1565
shift
1566
for ac_site_file
1567
do
1568
  if test -r "$ac_site_file"; then
1569
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1570
echo "$as_me: loading site script $ac_site_file" >&6;}
1571
    sed 's/^/| /' "$ac_site_file" >&5
1572
    . "$ac_site_file"
1573
  fi
1574
done
1575
 
1576
if test -r "$cache_file"; then
1577
  # Some versions of bash will fail to source /dev/null (special
1578
  # files actually), so we avoid doing that.
1579
  if test -f "$cache_file"; then
1580
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1581
echo "$as_me: loading cache $cache_file" >&6;}
1582
    case $cache_file in
1583
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1584
      *)                      . "./$cache_file";;
1585
    esac
1586
  fi
1587
else
1588
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1589
echo "$as_me: creating cache $cache_file" >&6;}
1590
  >$cache_file
1591
fi
1592
 
1593
# Check that the precious variables saved in the cache have kept the same
1594
# value.
1595
ac_cache_corrupted=false
1596
for ac_var in $ac_precious_vars; do
1597
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1598
  eval ac_new_set=\$ac_env_${ac_var}_set
1599
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1600
  eval ac_new_val=\$ac_env_${ac_var}_value
1601
  case $ac_old_set,$ac_new_set in
1602
    set,)
1603
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1604
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1605
      ac_cache_corrupted=: ;;
1606
    ,set)
1607
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1608
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1609
      ac_cache_corrupted=: ;;
1610
    ,);;
1611
    *)
1612
      if test "x$ac_old_val" != "x$ac_new_val"; then
1613
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1614
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1615
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1616
echo "$as_me:   former value:  $ac_old_val" >&2;}
1617
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1618
echo "$as_me:   current value: $ac_new_val" >&2;}
1619
        ac_cache_corrupted=:
1620
      fi;;
1621
  esac
1622
  # Pass precious variables to config.status.
1623
  if test "$ac_new_set" = set; then
1624
    case $ac_new_val in
1625
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1626
    *) ac_arg=$ac_var=$ac_new_val ;;
1627
    esac
1628
    case " $ac_configure_args " in
1629
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1630
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1631
    esac
1632
  fi
1633
done
1634
if $ac_cache_corrupted; then
1635
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1636
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1637
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1638
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1639
   { (exit 1); exit 1; }; }
1640
fi
1641
 
1642
 
1643
 
1644
 
1645
 
1646
 
1647
 
1648
 
1649
 
1650
 
1651
 
1652
 
1653
 
1654
 
1655
 
1656
 
1657
 
1658
ac_ext=c
1659
ac_cpp='$CPP $CPPFLAGS'
1660
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
 
1664
 
1665
 
1666
if test "${enable_shared}" = "yes" ; then
1667
    echo "Shared libraries not supported for cross compiling, ignored"
1668
fi
1669
 
1670
if test "$srcdir" = "." ; then
1671
  if test "${with_target_subdir}" != "." ; then
1672
    libgloss_topdir="${with_multisrctop}../../.."
1673
  else
1674
    libgloss_topdir="${with_multisrctop}../.."
1675
  fi
1676
else
1677
  libgloss_topdir="${srcdir}/../.."
1678
fi
1679
 
1680
ac_aux_dir=
1681
for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1682
  if test -f "$ac_dir/install-sh"; then
1683
    ac_aux_dir=$ac_dir
1684
    ac_install_sh="$ac_aux_dir/install-sh -c"
1685
    break
1686
  elif test -f "$ac_dir/install.sh"; then
1687
    ac_aux_dir=$ac_dir
1688
    ac_install_sh="$ac_aux_dir/install.sh -c"
1689
    break
1690
  elif test -f "$ac_dir/shtool"; then
1691
    ac_aux_dir=$ac_dir
1692
    ac_install_sh="$ac_aux_dir/shtool install -c"
1693
    break
1694
  fi
1695
done
1696
if test -z "$ac_aux_dir"; then
1697
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
1698
echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
1699
   { (exit 1); exit 1; }; }
1700
fi
1701
 
1702
# These three variables are undocumented and unsupported,
1703
# and are intended to be withdrawn in a future Autoconf release.
1704
# They can cause serious problems if a builder's source tree is in a directory
1705
# whose full name contains unusual characters.
1706
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1707
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1708
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1709
 
1710
 
1711
 
1712
# Find a good install program.  We prefer a C program (faster),
1713
# so one script is as good as another.  But avoid the broken or
1714
# incompatible versions:
1715
# SysV /etc/install, /usr/sbin/install
1716
# SunOS /usr/etc/install
1717
# IRIX /sbin/install
1718
# AIX /bin/install
1719
# AmigaOS /C/install, which installs bootblocks on floppy discs
1720
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1721
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1722
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1723
# OS/2's system install, which has a completely different semantic
1724
# ./install, which can be erroneously created by make from ./install.sh.
1725
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1726
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1727
if test -z "$INSTALL"; then
1728
if test "${ac_cv_path_install+set}" = set; then
1729
  echo $ECHO_N "(cached) $ECHO_C" >&6
1730
else
1731
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732
for as_dir in $PATH
1733
do
1734
  IFS=$as_save_IFS
1735
  test -z "$as_dir" && as_dir=.
1736
  # Account for people who put trailing slashes in PATH elements.
1737
case $as_dir/ in
1738
  ./ | .// | /cC/* | \
1739
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1740
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1741
  /usr/ucb/* ) ;;
1742
  *)
1743
    # OSF1 and SCO ODT 3.0 have their own names for install.
1744
    # Don't use installbsd from OSF since it installs stuff as root
1745
    # by default.
1746
    for ac_prog in ginstall scoinst install; do
1747
      for ac_exec_ext in '' $ac_executable_extensions; do
1748
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1749
          if test $ac_prog = install &&
1750
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1751
            # AIX install.  It has an incompatible calling convention.
1752
            :
1753
          elif test $ac_prog = install &&
1754
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1755
            # program-specific install script used by HP pwplus--don't use.
1756
            :
1757
          else
1758
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1759
            break 3
1760
          fi
1761
        fi
1762
      done
1763
    done
1764
    ;;
1765
esac
1766
done
1767
IFS=$as_save_IFS
1768
 
1769
 
1770
fi
1771
  if test "${ac_cv_path_install+set}" = set; then
1772
    INSTALL=$ac_cv_path_install
1773
  else
1774
    # As a last resort, use the slow shell script.  Don't cache a
1775
    # value for INSTALL within a source directory, because that will
1776
    # break other packages using the cache if that directory is
1777
    # removed, or if the value is a relative name.
1778
    INSTALL=$ac_install_sh
1779
  fi
1780
fi
1781
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1782
echo "${ECHO_T}$INSTALL" >&6; }
1783
 
1784
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1785
# It thinks the first close brace ends the variable substitution.
1786
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1787
 
1788
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1789
 
1790
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1791
 
1792
 
1793
# Make sure we can run config.sub.
1794
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1795
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1796
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1797
   { (exit 1); exit 1; }; }
1798
 
1799
{ echo "$as_me:$LINENO: checking build system type" >&5
1800
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1801
if test "${ac_cv_build+set}" = set; then
1802
  echo $ECHO_N "(cached) $ECHO_C" >&6
1803
else
1804
  ac_build_alias=$build_alias
1805
test "x$ac_build_alias" = x &&
1806
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1807
test "x$ac_build_alias" = x &&
1808
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1809
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1810
   { (exit 1); exit 1; }; }
1811
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1812
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1813
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1814
   { (exit 1); exit 1; }; }
1815
 
1816
fi
1817
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1818
echo "${ECHO_T}$ac_cv_build" >&6; }
1819
case $ac_cv_build in
1820
*-*-*) ;;
1821
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1822
echo "$as_me: error: invalid value of canonical build" >&2;}
1823
   { (exit 1); exit 1; }; };;
1824
esac
1825
build=$ac_cv_build
1826
ac_save_IFS=$IFS; IFS='-'
1827
set x $ac_cv_build
1828
shift
1829
build_cpu=$1
1830
build_vendor=$2
1831
shift; shift
1832
# Remember, the first character of IFS is used to create $*,
1833
# except with old shells:
1834
build_os=$*
1835
IFS=$ac_save_IFS
1836
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1837
 
1838
 
1839
{ echo "$as_me:$LINENO: checking host system type" >&5
1840
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1841
if test "${ac_cv_host+set}" = set; then
1842
  echo $ECHO_N "(cached) $ECHO_C" >&6
1843
else
1844
  if test "x$host_alias" = x; then
1845
  ac_cv_host=$ac_cv_build
1846
else
1847
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1848
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1849
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1850
   { (exit 1); exit 1; }; }
1851
fi
1852
 
1853
fi
1854
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1855
echo "${ECHO_T}$ac_cv_host" >&6; }
1856
case $ac_cv_host in
1857
*-*-*) ;;
1858
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1859
echo "$as_me: error: invalid value of canonical host" >&2;}
1860
   { (exit 1); exit 1; }; };;
1861
esac
1862
host=$ac_cv_host
1863
ac_save_IFS=$IFS; IFS='-'
1864
set x $ac_cv_host
1865
shift
1866
host_cpu=$1
1867
host_vendor=$2
1868
shift; shift
1869
# Remember, the first character of IFS is used to create $*,
1870
# except with old shells:
1871
host_os=$*
1872
IFS=$ac_save_IFS
1873
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1874
 
1875
 
1876
{ echo "$as_me:$LINENO: checking target system type" >&5
1877
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1878
if test "${ac_cv_target+set}" = set; then
1879
  echo $ECHO_N "(cached) $ECHO_C" >&6
1880
else
1881
  if test "x$target_alias" = x; then
1882
  ac_cv_target=$ac_cv_host
1883
else
1884
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1885
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1886
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1887
   { (exit 1); exit 1; }; }
1888
fi
1889
 
1890
fi
1891
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1892
echo "${ECHO_T}$ac_cv_target" >&6; }
1893
case $ac_cv_target in
1894
*-*-*) ;;
1895
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1896
echo "$as_me: error: invalid value of canonical target" >&2;}
1897
   { (exit 1); exit 1; }; };;
1898
esac
1899
target=$ac_cv_target
1900
ac_save_IFS=$IFS; IFS='-'
1901
set x $ac_cv_target
1902
shift
1903
target_cpu=$1
1904
target_vendor=$2
1905
shift; shift
1906
# Remember, the first character of IFS is used to create $*,
1907
# except with old shells:
1908
target_os=$*
1909
IFS=$ac_save_IFS
1910
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1911
 
1912
 
1913
# The aliases save the names the user supplied, while $host etc.
1914
# will get canonicalized.
1915
test -n "$target_alias" &&
1916
  test "$program_prefix$program_suffix$program_transform_name" = \
1917
    NONENONEs,x,x, &&
1918
  program_prefix=${target_alias}-
1919
 
1920
rm -rf .tst 2>/dev/null
1921
mkdir .tst 2>/dev/null
1922
if test -d .tst; then
1923
  am__leading_dot=.
1924
else
1925
  am__leading_dot=_
1926
fi
1927
rmdir .tst 2>/dev/null
1928
 
1929
DEPDIR="${am__leading_dot}deps"
1930
 
1931
ac_config_commands="$ac_config_commands depfiles"
1932
 
1933
 
1934
am_make=${MAKE-make}
1935
cat > confinc << 'END'
1936
am__doit:
1937
        @echo done
1938
.PHONY: am__doit
1939
END
1940
# If we don't find an include directive, just comment out the code.
1941
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1942
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
1943
am__include="#"
1944
am__quote=
1945
_am_result=none
1946
# First try GNU make style include.
1947
echo "include confinc" > confmf
1948
# We grep out `Entering directory' and `Leaving directory'
1949
# messages which can occur if `w' ends up in MAKEFLAGS.
1950
# In particular we don't look at `^make:' because GNU make might
1951
# be invoked under some other name (usually "gmake"), in which
1952
# case it prints its new name instead of `make'.
1953
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1954
   am__include=include
1955
   am__quote=
1956
   _am_result=GNU
1957
fi
1958
# Now try BSD make style include.
1959
if test "$am__include" = "#"; then
1960
   echo '.include "confinc"' > confmf
1961
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1962
      am__include=.include
1963
      am__quote="\""
1964
      _am_result=BSD
1965
   fi
1966
fi
1967
 
1968
 
1969
{ echo "$as_me:$LINENO: result: $_am_result" >&5
1970
echo "${ECHO_T}$_am_result" >&6; }
1971
rm -f confinc confmf
1972
 
1973
# Check whether --enable-dependency-tracking was given.
1974
if test "${enable_dependency_tracking+set}" = set; then
1975
  enableval=$enable_dependency_tracking;
1976
fi
1977
 
1978
if test "x$enable_dependency_tracking" != xno; then
1979
  am_depcomp="$ac_aux_dir/depcomp"
1980
  AMDEPBACKSLASH='\'
1981
fi
1982
 
1983
 
1984
if test "x$enable_dependency_tracking" != xno; then
1985
  AMDEP_TRUE=
1986
  AMDEP_FALSE='#'
1987
else
1988
  AMDEP_TRUE='#'
1989
  AMDEP_FALSE=
1990
fi
1991
 
1992
 
1993
 
1994
# Extract the first word of "gcc", so it can be a program name with args.
1995
set dummy gcc; ac_word=$2
1996
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1997
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1998
if test "${ac_cv_prog_CC+set}" = set; then
1999
  echo $ECHO_N "(cached) $ECHO_C" >&6
2000
else
2001
  if test -n "$CC"; then
2002
  ac_cv_prog_CC="$CC" # Let the user override the test.
2003
else
2004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005
for as_dir in $PATH
2006
do
2007
  IFS=$as_save_IFS
2008
  test -z "$as_dir" && as_dir=.
2009
  for ac_exec_ext in '' $ac_executable_extensions; do
2010
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2011
    ac_cv_prog_CC="gcc"
2012
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013
    break 2
2014
  fi
2015
done
2016
done
2017
IFS=$as_save_IFS
2018
 
2019
fi
2020
fi
2021
CC=$ac_cv_prog_CC
2022
if test -n "$CC"; then
2023
  { echo "$as_me:$LINENO: result: $CC" >&5
2024
echo "${ECHO_T}$CC" >&6; }
2025
else
2026
  { echo "$as_me:$LINENO: result: no" >&5
2027
echo "${ECHO_T}no" >&6; }
2028
fi
2029
 
2030
 
2031
 
2032
depcc="$CC"   am_compiler_list=
2033
 
2034
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2035
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2036
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2037
  echo $ECHO_N "(cached) $ECHO_C" >&6
2038
else
2039
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2040
  # We make a subdir and do the tests there.  Otherwise we can end up
2041
  # making bogus files that we don't know about and never remove.  For
2042
  # instance it was reported that on HP-UX the gcc test will end up
2043
  # making a dummy file named `D' -- because `-MD' means `put the output
2044
  # in D'.
2045
  mkdir conftest.dir
2046
  # Copy depcomp to subdir because otherwise we won't find it if we're
2047
  # using a relative directory.
2048
  cp "$am_depcomp" conftest.dir
2049
  cd conftest.dir
2050
  # We will build objects and dependencies in a subdirectory because
2051
  # it helps to detect inapplicable dependency modes.  For instance
2052
  # both Tru64's cc and ICC support -MD to output dependencies as a
2053
  # side effect of compilation, but ICC will put the dependencies in
2054
  # the current directory while Tru64 will put them in the object
2055
  # directory.
2056
  mkdir sub
2057
 
2058
  am_cv_CC_dependencies_compiler_type=none
2059
  if test "$am_compiler_list" = ""; then
2060
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2061
  fi
2062
  for depmode in $am_compiler_list; do
2063
    # Setup a source with many dependencies, because some compilers
2064
    # like to wrap large dependency lists on column 80 (with \), and
2065
    # we should not choose a depcomp mode which is confused by this.
2066
    #
2067
    # We need to recreate these files for each test, as the compiler may
2068
    # overwrite some of them when testing with obscure command lines.
2069
    # This happens at least with the AIX C compiler.
2070
    : > sub/conftest.c
2071
    for i in 1 2 3 4 5 6; do
2072
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2073
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2074
      # Solaris 8's {/usr,}/bin/sh.
2075
      touch sub/conftst$i.h
2076
    done
2077
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2078
 
2079
    case $depmode in
2080
    nosideeffect)
2081
      # after this tag, mechanisms are not by side-effect, so they'll
2082
      # only be used when explicitly requested
2083
      if test "x$enable_dependency_tracking" = xyes; then
2084
        continue
2085
      else
2086
        break
2087
      fi
2088
      ;;
2089
    none) break ;;
2090
    esac
2091
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2092
    # mode.  It turns out that the SunPro C++ compiler does not properly
2093
    # handle `-M -o', and we need to detect this.
2094
    if depmode=$depmode \
2095
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2096
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2097
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2098
         >/dev/null 2>conftest.err &&
2099
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2100
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2101
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2102
      # icc doesn't choke on unknown options, it will just issue warnings
2103
      # or remarks (even with -Werror).  So we grep stderr for any message
2104
      # that says an option was ignored or not supported.
2105
      # When given -MP, icc 7.0 and 7.1 complain thusly:
2106
      #   icc: Command line warning: ignoring option '-M'; no argument required
2107
      # The diagnosis changed in icc 8.0:
2108
      #   icc: Command line remark: option '-MP' not supported
2109
      if (grep 'ignoring option' conftest.err ||
2110
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2111
        am_cv_CC_dependencies_compiler_type=$depmode
2112
        break
2113
      fi
2114
    fi
2115
  done
2116
 
2117
  cd ..
2118
  rm -rf conftest.dir
2119
else
2120
  am_cv_CC_dependencies_compiler_type=none
2121
fi
2122
 
2123
fi
2124
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2125
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2126
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2127
 
2128
 
2129
 
2130
if
2131
  test "x$enable_dependency_tracking" != xno \
2132
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2133
  am__fastdepCC_TRUE=
2134
  am__fastdepCC_FALSE='#'
2135
else
2136
  am__fastdepCC_TRUE='#'
2137
  am__fastdepCC_FALSE=
2138
fi
2139
 
2140
 
2141
if test -z "$CC"; then
2142
  # Extract the first word of "cc", so it can be a program name with args.
2143
set dummy cc; ac_word=$2
2144
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2145
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146
if test "${ac_cv_prog_CC+set}" = set; then
2147
  echo $ECHO_N "(cached) $ECHO_C" >&6
2148
else
2149
  if test -n "$CC"; then
2150
  ac_cv_prog_CC="$CC" # Let the user override the test.
2151
else
2152
  ac_prog_rejected=no
2153
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154
for as_dir in $PATH
2155
do
2156
  IFS=$as_save_IFS
2157
  test -z "$as_dir" && as_dir=.
2158
  for ac_exec_ext in '' $ac_executable_extensions; do
2159
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2161
       ac_prog_rejected=yes
2162
       continue
2163
     fi
2164
    ac_cv_prog_CC="cc"
2165
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166
    break 2
2167
  fi
2168
done
2169
done
2170
IFS=$as_save_IFS
2171
 
2172
if test $ac_prog_rejected = yes; then
2173
  # We found a bogon in the path, so make sure we never use it.
2174
  set dummy $ac_cv_prog_CC
2175
  shift
2176
  if test $# != 0; then
2177
    # We chose a different compiler from the bogus one.
2178
    # However, it has the same basename, so the bogon will be chosen
2179
    # first if we set CC to just the basename; use the full file name.
2180
    shift
2181
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2182
  fi
2183
fi
2184
fi
2185
fi
2186
CC=$ac_cv_prog_CC
2187
if test -n "$CC"; then
2188
  { echo "$as_me:$LINENO: result: $CC" >&5
2189
echo "${ECHO_T}$CC" >&6; }
2190
else
2191
  { echo "$as_me:$LINENO: result: no" >&5
2192
echo "${ECHO_T}no" >&6; }
2193
fi
2194
 
2195
 
2196
  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2197
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2198
   { (exit 1); exit 1; }; }
2199
fi
2200
 
2201
{ echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2202
echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6; }
2203
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2204
  echo $ECHO_N "(cached) $ECHO_C" >&6
2205
else
2206
  cat > conftest.c <
2207
#ifdef __GNUC__
2208
  yes;
2209
#endif
2210
EOF
2211
if { ac_try='${CC-cc} -E conftest.c'
2212
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213
  (eval $ac_try) 2>&5
2214
  ac_status=$?
2215
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216
  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2217
  ac_cv_c_compiler_gnu=yes
2218
else
2219
  ac_cv_c_compiler_gnu=no
2220
fi
2221
fi
2222
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2223
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2224
 
2225
if test $ac_cv_c_compiler_gnu = yes; then
2226
  GCC=yes
2227
  ac_test_CFLAGS="${CFLAGS+set}"
2228
  ac_save_CFLAGS="$CFLAGS"
2229
  CFLAGS=
2230
  ac_test_CFLAGS=${CFLAGS+set}
2231
ac_save_CFLAGS=$CFLAGS
2232
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2233
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2234
if test "${ac_cv_prog_cc_g+set}" = set; then
2235
  echo $ECHO_N "(cached) $ECHO_C" >&6
2236
else
2237
  ac_save_c_werror_flag=$ac_c_werror_flag
2238
   ac_c_werror_flag=yes
2239
   ac_cv_prog_cc_g=no
2240
   CFLAGS="-g"
2241
   cat >conftest.$ac_ext <<_ACEOF
2242
/* confdefs.h.  */
2243
_ACEOF
2244
cat confdefs.h >>conftest.$ac_ext
2245
cat >>conftest.$ac_ext <<_ACEOF
2246
/* end confdefs.h.  */
2247
 
2248
int
2249
main ()
2250
{
2251
 
2252
  ;
2253
  return 0;
2254
}
2255
_ACEOF
2256
rm -f conftest.$ac_objext
2257
if { (ac_try="$ac_compile"
2258
case "(($ac_try" in
2259
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2260
  *) ac_try_echo=$ac_try;;
2261
esac
2262
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2263
  (eval "$ac_compile") 2>conftest.er1
2264
  ac_status=$?
2265
  grep -v '^ *+' conftest.er1 >conftest.err
2266
  rm -f conftest.er1
2267
  cat conftest.err >&5
2268
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269
  (exit $ac_status); } && {
2270
         test -z "$ac_c_werror_flag" ||
2271
         test ! -s conftest.err
2272
       } && test -s conftest.$ac_objext; then
2273
  ac_cv_prog_cc_g=yes
2274
else
2275
  echo "$as_me: failed program was:" >&5
2276
sed 's/^/| /' conftest.$ac_ext >&5
2277
 
2278
        CFLAGS=""
2279
      cat >conftest.$ac_ext <<_ACEOF
2280
/* confdefs.h.  */
2281
_ACEOF
2282
cat confdefs.h >>conftest.$ac_ext
2283
cat >>conftest.$ac_ext <<_ACEOF
2284
/* end confdefs.h.  */
2285
 
2286
int
2287
main ()
2288
{
2289
 
2290
  ;
2291
  return 0;
2292
}
2293
_ACEOF
2294
rm -f conftest.$ac_objext
2295
if { (ac_try="$ac_compile"
2296
case "(($ac_try" in
2297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298
  *) ac_try_echo=$ac_try;;
2299
esac
2300
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2301
  (eval "$ac_compile") 2>conftest.er1
2302
  ac_status=$?
2303
  grep -v '^ *+' conftest.er1 >conftest.err
2304
  rm -f conftest.er1
2305
  cat conftest.err >&5
2306
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307
  (exit $ac_status); } && {
2308
         test -z "$ac_c_werror_flag" ||
2309
         test ! -s conftest.err
2310
       } && test -s conftest.$ac_objext; then
2311
  :
2312
else
2313
  echo "$as_me: failed program was:" >&5
2314
sed 's/^/| /' conftest.$ac_ext >&5
2315
 
2316
        ac_c_werror_flag=$ac_save_c_werror_flag
2317
         CFLAGS="-g"
2318
         cat >conftest.$ac_ext <<_ACEOF
2319
/* confdefs.h.  */
2320
_ACEOF
2321
cat confdefs.h >>conftest.$ac_ext
2322
cat >>conftest.$ac_ext <<_ACEOF
2323
/* end confdefs.h.  */
2324
 
2325
int
2326
main ()
2327
{
2328
 
2329
  ;
2330
  return 0;
2331
}
2332
_ACEOF
2333
rm -f conftest.$ac_objext
2334
if { (ac_try="$ac_compile"
2335
case "(($ac_try" in
2336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337
  *) ac_try_echo=$ac_try;;
2338
esac
2339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2340
  (eval "$ac_compile") 2>conftest.er1
2341
  ac_status=$?
2342
  grep -v '^ *+' conftest.er1 >conftest.err
2343
  rm -f conftest.er1
2344
  cat conftest.err >&5
2345
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346
  (exit $ac_status); } && {
2347
         test -z "$ac_c_werror_flag" ||
2348
         test ! -s conftest.err
2349
       } && test -s conftest.$ac_objext; then
2350
  ac_cv_prog_cc_g=yes
2351
else
2352
  echo "$as_me: failed program was:" >&5
2353
sed 's/^/| /' conftest.$ac_ext >&5
2354
 
2355
 
2356
fi
2357
 
2358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359
fi
2360
 
2361
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2362
fi
2363
 
2364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365
   ac_c_werror_flag=$ac_save_c_werror_flag
2366
fi
2367
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2368
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2369
if test "$ac_test_CFLAGS" = set; then
2370
  CFLAGS=$ac_save_CFLAGS
2371
elif test $ac_cv_prog_cc_g = yes; then
2372
  if test "$GCC" = yes; then
2373
    CFLAGS="-g -O2"
2374
  else
2375
    CFLAGS="-g"
2376
  fi
2377
else
2378
  if test "$GCC" = yes; then
2379
    CFLAGS="-O2"
2380
  else
2381
    CFLAGS=
2382
  fi
2383
fi
2384
  if test "$ac_test_CFLAGS" = set; then
2385
    CFLAGS="$ac_save_CFLAGS"
2386
  elif test $ac_cv_prog_cc_g = yes; then
2387
    CFLAGS="-g -O2"
2388
  else
2389
    CFLAGS="-O2"
2390
  fi
2391
else
2392
  GCC=
2393
  test "${CFLAGS+set}" = set || CFLAGS="-g"
2394
fi
2395
 
2396
AS=${AS-as}
2397
 
2398
AR=${AR-ar}
2399
 
2400
LD=${LD-ld}
2401
 
2402
if test -n "$ac_tool_prefix"; then
2403
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2404
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2405
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2406
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407
if test "${ac_cv_prog_RANLIB+set}" = set; then
2408
  echo $ECHO_N "(cached) $ECHO_C" >&6
2409
else
2410
  if test -n "$RANLIB"; then
2411
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2412
else
2413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414
for as_dir in $PATH
2415
do
2416
  IFS=$as_save_IFS
2417
  test -z "$as_dir" && as_dir=.
2418
  for ac_exec_ext in '' $ac_executable_extensions; do
2419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2421
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422
    break 2
2423
  fi
2424
done
2425
done
2426
IFS=$as_save_IFS
2427
 
2428
fi
2429
fi
2430
RANLIB=$ac_cv_prog_RANLIB
2431
if test -n "$RANLIB"; then
2432
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
2433
echo "${ECHO_T}$RANLIB" >&6; }
2434
else
2435
  { echo "$as_me:$LINENO: result: no" >&5
2436
echo "${ECHO_T}no" >&6; }
2437
fi
2438
 
2439
 
2440
fi
2441
if test -z "$ac_cv_prog_RANLIB"; then
2442
  ac_ct_RANLIB=$RANLIB
2443
  # Extract the first word of "ranlib", so it can be a program name with args.
2444
set dummy ranlib; ac_word=$2
2445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2447
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2448
  echo $ECHO_N "(cached) $ECHO_C" >&6
2449
else
2450
  if test -n "$ac_ct_RANLIB"; then
2451
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2452
else
2453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454
for as_dir in $PATH
2455
do
2456
  IFS=$as_save_IFS
2457
  test -z "$as_dir" && as_dir=.
2458
  for ac_exec_ext in '' $ac_executable_extensions; do
2459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460
    ac_cv_prog_ac_ct_RANLIB="ranlib"
2461
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462
    break 2
2463
  fi
2464
done
2465
done
2466
IFS=$as_save_IFS
2467
 
2468
fi
2469
fi
2470
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2471
if test -n "$ac_ct_RANLIB"; then
2472
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2473
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2474
else
2475
  { echo "$as_me:$LINENO: result: no" >&5
2476
echo "${ECHO_T}no" >&6; }
2477
fi
2478
 
2479
  if test "x$ac_ct_RANLIB" = x; then
2480
    RANLIB=":"
2481
  else
2482
    case $cross_compiling:$ac_tool_warned in
2483
yes:)
2484
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2485
whose name does not start with the host triplet.  If you think this
2486
configuration is useful to you, please write to autoconf@gnu.org." >&5
2487
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2488
whose name does not start with the host triplet.  If you think this
2489
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2490
ac_tool_warned=yes ;;
2491
esac
2492
    RANLIB=$ac_ct_RANLIB
2493
  fi
2494
else
2495
  RANLIB="$ac_cv_prog_RANLIB"
2496
fi
2497
 
2498
# By default we simply use the C compiler to build assembly code.
2499
 
2500
test "${CCAS+set}" = set || CCAS=$CC
2501
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2502
 
2503
 
2504
 
2505
 
2506
case ${target_cpu} in
2507
sparclite*) CPU=SLITE ;;
2508
sparclet*) CPU=SPLET ;;
2509
sparc64*) CPU=SPARC64 ;;
2510
sparc86x*) CPU=SLITE ;;
2511
*) CPU=SPARC ;;
2512
esac
2513
 
2514
 
2515
case ${target_cpu} in
2516
sparc64*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon-sparc64-ld.src ;;
2517
sparclet-*-aout*) CYGMONLDSCRIPTTEMPL-${srcdir}/cygmon.ld.src; subdirs="$subdirs libsys"
2518
 ;;
2519
*) CYGMONLDSCRIPTTEMPL=${srcdir}/cygmon.ld.src
2520
esac
2521
 
2522
host_makefile_frag=${srcdir}/../config/default.mh
2523
target_makefile_frag=${srcdir}/../config/default.mt
2524
 
2525
host_makefile_frag_path=$host_makefile_frag
2526
 
2527
 
2528
target_makefile_frag_path=$target_makefile_frag
2529
 
2530
 
2531
 
2532
 
2533
ac_config_files="$ac_config_files Makefile"
2534
 
2535
ac_config_commands="$ac_config_commands default"
2536
 
2537
cat >confcache <<\_ACEOF
2538
# This file is a shell script that caches the results of configure
2539
# tests run on this system so they can be shared between configure
2540
# scripts and configure runs, see configure's option --config-cache.
2541
# It is not useful on other systems.  If it contains results you don't
2542
# want to keep, you may remove or edit it.
2543
#
2544
# config.status only pays attention to the cache file if you give it
2545
# the --recheck option to rerun configure.
2546
#
2547
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2548
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2549
# following values.
2550
 
2551
_ACEOF
2552
 
2553
# The following way of writing the cache mishandles newlines in values,
2554
# but we know of no workaround that is simple, portable, and efficient.
2555
# So, we kill variables containing newlines.
2556
# Ultrix sh set writes to stderr and can't be redirected directly,
2557
# and sets the high bit in the cache file unless we assign to the vars.
2558
(
2559
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2560
    eval ac_val=\$$ac_var
2561
    case $ac_val in #(
2562
    *${as_nl}*)
2563
      case $ac_var in #(
2564
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2565
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2566
      esac
2567
      case $ac_var in #(
2568
      _ | IFS | as_nl) ;; #(
2569
      *) $as_unset $ac_var ;;
2570
      esac ;;
2571
    esac
2572
  done
2573
 
2574
  (set) 2>&1 |
2575
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2576
    *${as_nl}ac_space=\ *)
2577
      # `set' does not quote correctly, so add quotes (double-quote
2578
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2579
      sed -n \
2580
        "s/'/'\\\\''/g;
2581
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2582
      ;; #(
2583
    *)
2584
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2585
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2586
      ;;
2587
    esac |
2588
    sort
2589
) |
2590
  sed '
2591
     /^ac_cv_env_/b end
2592
     t clear
2593
     :clear
2594
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2595
     t end
2596
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2597
     :end' >>confcache
2598
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2599
  if test -w "$cache_file"; then
2600
    test "x$cache_file" != "x/dev/null" &&
2601
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2602
echo "$as_me: updating cache $cache_file" >&6;}
2603
    cat confcache >$cache_file
2604
  else
2605
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2606
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2607
  fi
2608
fi
2609
rm -f confcache
2610
 
2611
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2612
# Let make expand exec_prefix.
2613
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2614
 
2615
# Transform confdefs.h into DEFS.
2616
# Protect against shell expansion while executing Makefile rules.
2617
# Protect against Makefile macro expansion.
2618
#
2619
# If the first sed substitution is executed (which looks for macros that
2620
# take arguments), then branch to the quote section.  Otherwise,
2621
# look for a macro that doesn't take arguments.
2622
ac_script='
2623
t clear
2624
:clear
2625
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2626
t quote
2627
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2628
t quote
2629
b any
2630
:quote
2631
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2632
s/\[/\\&/g
2633
s/\]/\\&/g
2634
s/\$/$$/g
2635
H
2636
:any
2637
${
2638
        g
2639
        s/^\n//
2640
        s/\n/ /g
2641
        p
2642
}
2643
'
2644
DEFS=`sed -n "$ac_script" confdefs.h`
2645
 
2646
 
2647
ac_libobjs=
2648
ac_ltlibobjs=
2649
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2650
  # 1. Remove the extension, and $U if already installed.
2651
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2652
  ac_i=`echo "$ac_i" | sed "$ac_script"`
2653
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2654
  #    will be set to the directory where LIBOBJS objects are built.
2655
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2656
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2657
done
2658
LIBOBJS=$ac_libobjs
2659
 
2660
LTLIBOBJS=$ac_ltlibobjs
2661
 
2662
 
2663
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2664
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2665
Usually this means the macro was only invoked conditionally." >&5
2666
echo "$as_me: error: conditional \"AMDEP\" was never defined.
2667
Usually this means the macro was only invoked conditionally." >&2;}
2668
   { (exit 1); exit 1; }; }
2669
fi
2670
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2671
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2672
Usually this means the macro was only invoked conditionally." >&5
2673
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2674
Usually this means the macro was only invoked conditionally." >&2;}
2675
   { (exit 1); exit 1; }; }
2676
fi
2677
 
2678
: ${CONFIG_STATUS=./config.status}
2679
ac_clean_files_save=$ac_clean_files
2680
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2681
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2682
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2683
cat >$CONFIG_STATUS <<_ACEOF
2684
#! $SHELL
2685
# Generated by $as_me.
2686
# Run this file to recreate the current configuration.
2687
# Compiler output produced by configure, useful for debugging
2688
# configure, is in config.log if it exists.
2689
 
2690
debug=false
2691
ac_cs_recheck=false
2692
ac_cs_silent=false
2693
SHELL=\${CONFIG_SHELL-$SHELL}
2694
_ACEOF
2695
 
2696
cat >>$CONFIG_STATUS <<\_ACEOF
2697
## --------------------- ##
2698
## M4sh Initialization.  ##
2699
## --------------------- ##
2700
 
2701
# Be more Bourne compatible
2702
DUALCASE=1; export DUALCASE # for MKS sh
2703
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2704
  emulate sh
2705
  NULLCMD=:
2706
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2707
  # is contrary to our usage.  Disable this feature.
2708
  alias -g '${1+"$@"}'='"$@"'
2709
  setopt NO_GLOB_SUBST
2710
else
2711
  case `(set -o) 2>/dev/null` in
2712
  *posix*) set -o posix ;;
2713
esac
2714
 
2715
fi
2716
 
2717
 
2718
 
2719
 
2720
# PATH needs CR
2721
# Avoid depending upon Character Ranges.
2722
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2723
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2724
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2725
as_cr_digits='0123456789'
2726
as_cr_alnum=$as_cr_Letters$as_cr_digits
2727
 
2728
# The user is always right.
2729
if test "${PATH_SEPARATOR+set}" != set; then
2730
  echo "#! /bin/sh" >conf$$.sh
2731
  echo  "exit 0"   >>conf$$.sh
2732
  chmod +x conf$$.sh
2733
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2734
    PATH_SEPARATOR=';'
2735
  else
2736
    PATH_SEPARATOR=:
2737
  fi
2738
  rm -f conf$$.sh
2739
fi
2740
 
2741
# Support unset when possible.
2742
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2743
  as_unset=unset
2744
else
2745
  as_unset=false
2746
fi
2747
 
2748
 
2749
# IFS
2750
# We need space, tab and new line, in precisely that order.  Quoting is
2751
# there to prevent editors from complaining about space-tab.
2752
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2753
# splitting by setting IFS to empty value.)
2754
as_nl='
2755
'
2756
IFS=" ""        $as_nl"
2757
 
2758
# Find who we are.  Look in the path if we contain no directory separator.
2759
case $0 in
2760
  *[\\/]* ) as_myself=$0 ;;
2761
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762
for as_dir in $PATH
2763
do
2764
  IFS=$as_save_IFS
2765
  test -z "$as_dir" && as_dir=.
2766
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2767
done
2768
IFS=$as_save_IFS
2769
 
2770
     ;;
2771
esac
2772
# We did not find ourselves, most probably we were run as `sh COMMAND'
2773
# in which case we are not to be found in the path.
2774
if test "x$as_myself" = x; then
2775
  as_myself=$0
2776
fi
2777
if test ! -f "$as_myself"; then
2778
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2779
  { (exit 1); exit 1; }
2780
fi
2781
 
2782
# Work around bugs in pre-3.0 UWIN ksh.
2783
for as_var in ENV MAIL MAILPATH
2784
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2785
done
2786
PS1='$ '
2787
PS2='> '
2788
PS4='+ '
2789
 
2790
# NLS nuisances.
2791
for as_var in \
2792
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2793
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2794
  LC_TELEPHONE LC_TIME
2795
do
2796
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2797
    eval $as_var=C; export $as_var
2798
  else
2799
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2800
  fi
2801
done
2802
 
2803
# Required to use basename.
2804
if expr a : '\(a\)' >/dev/null 2>&1 &&
2805
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2806
  as_expr=expr
2807
else
2808
  as_expr=false
2809
fi
2810
 
2811
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2812
  as_basename=basename
2813
else
2814
  as_basename=false
2815
fi
2816
 
2817
 
2818
# Name of the executable.
2819
as_me=`$as_basename -- "$0" ||
2820
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2821
         X"$0" : 'X\(//\)$' \| \
2822
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2823
echo X/"$0" |
2824
    sed '/^.*\/\([^/][^/]*\)\/*$/{
2825
            s//\1/
2826
            q
2827
          }
2828
          /^X\/\(\/\/\)$/{
2829
            s//\1/
2830
            q
2831
          }
2832
          /^X\/\(\/\).*/{
2833
            s//\1/
2834
            q
2835
          }
2836
          s/.*/./; q'`
2837
 
2838
# CDPATH.
2839
$as_unset CDPATH
2840
 
2841
 
2842
 
2843
  as_lineno_1=$LINENO
2844
  as_lineno_2=$LINENO
2845
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2846
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2847
 
2848
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2849
  # uniformly replaced by the line number.  The first 'sed' inserts a
2850
  # line-number line after each line using $LINENO; the second 'sed'
2851
  # does the real work.  The second script uses 'N' to pair each
2852
  # line-number line with the line containing $LINENO, and appends
2853
  # trailing '-' during substitution so that $LINENO is not a special
2854
  # case at line end.
2855
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2856
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2857
  # E. McMahon (1931-1989) for sed's syntax.  :-)
2858
  sed -n '
2859
    p
2860
    /[$]LINENO/=
2861
  ' <$as_myself |
2862
    sed '
2863
      s/[$]LINENO.*/&-/
2864
      t lineno
2865
      b
2866
      :lineno
2867
      N
2868
      :loop
2869
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2870
      t loop
2871
      s/-\n.*//
2872
    ' >$as_me.lineno &&
2873
  chmod +x "$as_me.lineno" ||
2874
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2875
   { (exit 1); exit 1; }; }
2876
 
2877
  # Don't try to exec as it changes $[0], causing all sort of problems
2878
  # (the dirname of $[0] is not the place where we might find the
2879
  # original and so on.  Autoconf is especially sensitive to this).
2880
  . "./$as_me.lineno"
2881
  # Exit status is that of the last command.
2882
  exit
2883
}
2884
 
2885
 
2886
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2887
  as_dirname=dirname
2888
else
2889
  as_dirname=false
2890
fi
2891
 
2892
ECHO_C= ECHO_N= ECHO_T=
2893
case `echo -n x` in
2894
-n*)
2895
  case `echo 'x\c'` in
2896
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2897
  *)   ECHO_C='\c';;
2898
  esac;;
2899
*)
2900
  ECHO_N='-n';;
2901
esac
2902
 
2903
if expr a : '\(a\)' >/dev/null 2>&1 &&
2904
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2905
  as_expr=expr
2906
else
2907
  as_expr=false
2908
fi
2909
 
2910
rm -f conf$$ conf$$.exe conf$$.file
2911
if test -d conf$$.dir; then
2912
  rm -f conf$$.dir/conf$$.file
2913
else
2914
  rm -f conf$$.dir
2915
  mkdir conf$$.dir
2916
fi
2917
echo >conf$$.file
2918
if ln -s conf$$.file conf$$ 2>/dev/null; then
2919
  as_ln_s='ln -s'
2920
  # ... but there are two gotchas:
2921
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2922
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2923
  # In both cases, we have to default to `cp -p'.
2924
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2925
    as_ln_s='cp -p'
2926
elif ln conf$$.file conf$$ 2>/dev/null; then
2927
  as_ln_s=ln
2928
else
2929
  as_ln_s='cp -p'
2930
fi
2931
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2932
rmdir conf$$.dir 2>/dev/null
2933
 
2934
if mkdir -p . 2>/dev/null; then
2935
  as_mkdir_p=:
2936
else
2937
  test -d ./-p && rmdir ./-p
2938
  as_mkdir_p=false
2939
fi
2940
 
2941
if test -x / >/dev/null 2>&1; then
2942
  as_test_x='test -x'
2943
else
2944
  if ls -dL / >/dev/null 2>&1; then
2945
    as_ls_L_option=L
2946
  else
2947
    as_ls_L_option=
2948
  fi
2949
  as_test_x='
2950
    eval sh -c '\''
2951
      if test -d "$1"; then
2952
        test -d "$1/.";
2953
      else
2954
        case $1 in
2955
        -*)set "./$1";;
2956
        esac;
2957
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2958
        ???[sx]*):;;*)false;;esac;fi
2959
    '\'' sh
2960
  '
2961
fi
2962
as_executable_p=$as_test_x
2963
 
2964
# Sed expression to map a string onto a valid CPP name.
2965
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2966
 
2967
# Sed expression to map a string onto a valid variable name.
2968
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2969
 
2970
 
2971
exec 6>&1
2972
 
2973
# Save the log message, to keep $[0] and so on meaningful, and to
2974
# report actual input values of CONFIG_FILES etc. instead of their
2975
# values after options handling.
2976
ac_log="
2977
This file was extended by $as_me, which was
2978
generated by GNU Autoconf 2.61.  Invocation command line was
2979
 
2980
  CONFIG_FILES    = $CONFIG_FILES
2981
  CONFIG_HEADERS  = $CONFIG_HEADERS
2982
  CONFIG_LINKS    = $CONFIG_LINKS
2983
  CONFIG_COMMANDS = $CONFIG_COMMANDS
2984
  $ $0 $@
2985
 
2986
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2987
"
2988
 
2989
_ACEOF
2990
 
2991
cat >>$CONFIG_STATUS <<_ACEOF
2992
# Files that config.status was made for.
2993
config_files="$ac_config_files"
2994
config_commands="$ac_config_commands"
2995
 
2996
_ACEOF
2997
 
2998
cat >>$CONFIG_STATUS <<\_ACEOF
2999
ac_cs_usage="\
3000
\`$as_me' instantiates files from templates according to the
3001
current configuration.
3002
 
3003
Usage: $0 [OPTIONS] [FILE]...
3004
 
3005
  -h, --help       print this help, then exit
3006
  -V, --version    print version number and configuration settings, then exit
3007
  -q, --quiet      do not print progress messages
3008
  -d, --debug      don't remove temporary files
3009
      --recheck    update $as_me by reconfiguring in the same conditions
3010
  --file=FILE[:TEMPLATE]
3011
                   instantiate the configuration file FILE
3012
 
3013
Configuration files:
3014
$config_files
3015
 
3016
Configuration commands:
3017
$config_commands
3018
 
3019
Report bugs to ."
3020
 
3021
_ACEOF
3022
cat >>$CONFIG_STATUS <<_ACEOF
3023
ac_cs_version="\\
3024
config.status
3025
configured by $0, generated by GNU Autoconf 2.61,
3026
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3027
 
3028
Copyright (C) 2006 Free Software Foundation, Inc.
3029
This config.status script is free software; the Free Software Foundation
3030
gives unlimited permission to copy, distribute and modify it."
3031
 
3032
ac_pwd='$ac_pwd'
3033
srcdir='$srcdir'
3034
INSTALL='$INSTALL'
3035
_ACEOF
3036
 
3037
cat >>$CONFIG_STATUS <<\_ACEOF
3038
# If no file are specified by the user, then we need to provide default
3039
# value.  By we need to know if files were specified by the user.
3040
ac_need_defaults=:
3041
while test $# != 0
3042
do
3043
  case $1 in
3044
  --*=*)
3045
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3046
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3047
    ac_shift=:
3048
    ;;
3049
  *)
3050
    ac_option=$1
3051
    ac_optarg=$2
3052
    ac_shift=shift
3053
    ;;
3054
  esac
3055
 
3056
  case $ac_option in
3057
  # Handling of the options.
3058
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3059
    ac_cs_recheck=: ;;
3060
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3061
    echo "$ac_cs_version"; exit ;;
3062
  --debug | --debu | --deb | --de | --d | -d )
3063
    debug=: ;;
3064
  --file | --fil | --fi | --f )
3065
    $ac_shift
3066
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3067
    ac_need_defaults=false;;
3068
  --he | --h |  --help | --hel | -h )
3069
    echo "$ac_cs_usage"; exit ;;
3070
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3071
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3072
    ac_cs_silent=: ;;
3073
 
3074
  # This is an error.
3075
  -*) { echo "$as_me: error: unrecognized option: $1
3076
Try \`$0 --help' for more information." >&2
3077
   { (exit 1); exit 1; }; } ;;
3078
 
3079
  *) ac_config_targets="$ac_config_targets $1"
3080
     ac_need_defaults=false ;;
3081
 
3082
  esac
3083
  shift
3084
done
3085
 
3086
ac_configure_extra_args=
3087
 
3088
if $ac_cs_silent; then
3089
  exec 6>/dev/null
3090
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3091
fi
3092
 
3093
_ACEOF
3094
cat >>$CONFIG_STATUS <<_ACEOF
3095
if \$ac_cs_recheck; then
3096
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3097
  CONFIG_SHELL=$SHELL
3098
  export CONFIG_SHELL
3099
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3100
fi
3101
 
3102
_ACEOF
3103
cat >>$CONFIG_STATUS <<\_ACEOF
3104
exec 5>>config.log
3105
{
3106
  echo
3107
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3108
## Running $as_me. ##
3109
_ASBOX
3110
  echo "$ac_log"
3111
} >&5
3112
 
3113
_ACEOF
3114
cat >>$CONFIG_STATUS <<_ACEOF
3115
#
3116
# INIT-COMMANDS
3117
#
3118
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3119
srcdir=${srcdir}
3120
target=${target}
3121
with_multisubdir=${with_multisubdir}
3122
ac_configure_args="${ac_configure_args} --enable-multilib"
3123
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3124
libgloss_topdir=${libgloss_topdir}
3125
 
3126
 
3127
_ACEOF
3128
 
3129
cat >>$CONFIG_STATUS <<\_ACEOF
3130
 
3131
# Handling of arguments.
3132
for ac_config_target in $ac_config_targets
3133
do
3134
  case $ac_config_target in
3135
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3136
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3137
    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
3138
 
3139
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3140
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3141
   { (exit 1); exit 1; }; };;
3142
  esac
3143
done
3144
 
3145
 
3146
# If the user did not use the arguments to specify the items to instantiate,
3147
# then the envvar interface is used.  Set only those that are not.
3148
# We use the long form for the default assignment because of an extremely
3149
# bizarre bug on SunOS 4.1.3.
3150
if $ac_need_defaults; then
3151
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3152
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3153
fi
3154
 
3155
# Have a temporary directory for convenience.  Make it in the build tree
3156
# simply because there is no reason against having it here, and in addition,
3157
# creating and moving files from /tmp can sometimes cause problems.
3158
# Hook for its removal unless debugging.
3159
# Note that there is a small window in which the directory will not be cleaned:
3160
# after its creation but before its name has been assigned to `$tmp'.
3161
$debug ||
3162
{
3163
  tmp=
3164
  trap 'exit_status=$?
3165
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3166
' 0
3167
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3168
}
3169
# Create a (secure) tmp directory for tmp files.
3170
 
3171
{
3172
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3173
  test -n "$tmp" && test -d "$tmp"
3174
}  ||
3175
{
3176
  tmp=./conf$$-$RANDOM
3177
  (umask 077 && mkdir "$tmp")
3178
} ||
3179
{
3180
   echo "$me: cannot create a temporary directory in ." >&2
3181
   { (exit 1); exit 1; }
3182
}
3183
 
3184
#
3185
# Set up the sed scripts for CONFIG_FILES section.
3186
#
3187
 
3188
# No need to generate the scripts if there are no CONFIG_FILES.
3189
# This happens for instance when ./config.status config.h
3190
if test -n "$CONFIG_FILES"; then
3191
 
3192
_ACEOF
3193
 
3194
# Create sed commands to just substitute file output variables.
3195
 
3196
# Remaining file output variables are in a fragment that also has non-file
3197
# output varibles.
3198
 
3199
 
3200
 
3201
ac_delim='%!_!# '
3202
for ac_last_try in false false false false false :; do
3203
  cat >conf$$subs.sed <<_ACEOF
3204
SHELL!$SHELL$ac_delim
3205
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3206
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3207
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3208
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3209
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3210
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3211
exec_prefix!$exec_prefix$ac_delim
3212
prefix!$prefix$ac_delim
3213
program_transform_name!$program_transform_name$ac_delim
3214
bindir!$bindir$ac_delim
3215
sbindir!$sbindir$ac_delim
3216
libexecdir!$libexecdir$ac_delim
3217
datarootdir!$datarootdir$ac_delim
3218
datadir!$datadir$ac_delim
3219
sysconfdir!$sysconfdir$ac_delim
3220
sharedstatedir!$sharedstatedir$ac_delim
3221
localstatedir!$localstatedir$ac_delim
3222
includedir!$includedir$ac_delim
3223
oldincludedir!$oldincludedir$ac_delim
3224
docdir!$docdir$ac_delim
3225
infodir!$infodir$ac_delim
3226
htmldir!$htmldir$ac_delim
3227
dvidir!$dvidir$ac_delim
3228
pdfdir!$pdfdir$ac_delim
3229
psdir!$psdir$ac_delim
3230
libdir!$libdir$ac_delim
3231
localedir!$localedir$ac_delim
3232
mandir!$mandir$ac_delim
3233
DEFS!$DEFS$ac_delim
3234
ECHO_C!$ECHO_C$ac_delim
3235
ECHO_N!$ECHO_N$ac_delim
3236
ECHO_T!$ECHO_T$ac_delim
3237
LIBS!$LIBS$ac_delim
3238
build_alias!$build_alias$ac_delim
3239
host_alias!$host_alias$ac_delim
3240
target_alias!$target_alias$ac_delim
3241
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3242
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3243
INSTALL_DATA!$INSTALL_DATA$ac_delim
3244
build!$build$ac_delim
3245
build_cpu!$build_cpu$ac_delim
3246
build_vendor!$build_vendor$ac_delim
3247
build_os!$build_os$ac_delim
3248
host!$host$ac_delim
3249
host_cpu!$host_cpu$ac_delim
3250
host_vendor!$host_vendor$ac_delim
3251
host_os!$host_os$ac_delim
3252
target!$target$ac_delim
3253
target_cpu!$target_cpu$ac_delim
3254
target_vendor!$target_vendor$ac_delim
3255
target_os!$target_os$ac_delim
3256
CC!$CC$ac_delim
3257
am__leading_dot!$am__leading_dot$ac_delim
3258
DEPDIR!$DEPDIR$ac_delim
3259
am__include!$am__include$ac_delim
3260
am__quote!$am__quote$ac_delim
3261
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
3262
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
3263
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
3264
CCDEPMODE!$CCDEPMODE$ac_delim
3265
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
3266
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
3267
AS!$AS$ac_delim
3268
AR!$AR$ac_delim
3269
LD!$LD$ac_delim
3270
RANLIB!$RANLIB$ac_delim
3271
CCAS!$CCAS$ac_delim
3272
CCASFLAGS!$CCASFLAGS$ac_delim
3273
CPU!$CPU$ac_delim
3274
subdirs!$subdirs$ac_delim
3275
host_makefile_frag_path!$host_makefile_frag_path$ac_delim
3276
target_makefile_frag_path!$target_makefile_frag_path$ac_delim
3277
CYGMONLDSCRIPTTEMPL!$CYGMONLDSCRIPTTEMPL$ac_delim
3278
LIBOBJS!$LIBOBJS$ac_delim
3279
LTLIBOBJS!$LTLIBOBJS$ac_delim
3280
_ACEOF
3281
 
3282
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
3283
    break
3284
  elif $ac_last_try; then
3285
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3286
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3287
   { (exit 1); exit 1; }; }
3288
  else
3289
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3290
  fi
3291
done
3292
 
3293
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3294
if test -n "$ac_eof"; then
3295
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3296
  ac_eof=`expr $ac_eof + 1`
3297
fi
3298
 
3299
cat >>$CONFIG_STATUS <<_ACEOF
3300
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3301
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3302
/^[      ]*@host_makefile_frag@[         ]*$/{
3303
r $host_makefile_frag
3304
d
3305
}
3306
/^[      ]*@target_makefile_frag@[       ]*$/{
3307
r $target_makefile_frag
3308
d
3309
}
3310
_ACEOF
3311
sed '
3312
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3313
s/^/s,@/; s/!/@,|#_!!_#|/
3314
:n
3315
t n
3316
s/'"$ac_delim"'$/,g/; t
3317
s/$/\\/; p
3318
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3319
' >>$CONFIG_STATUS 
3320
rm -f conf$$subs.sed
3321
cat >>$CONFIG_STATUS <<_ACEOF
3322
:end
3323
s/|#_!!_#|//g
3324
CEOF$ac_eof
3325
_ACEOF
3326
 
3327
 
3328
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3329
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3330
# trailing colons and then remove the whole line if VPATH becomes empty
3331
# (actually we leave an empty line to preserve line numbers).
3332
if test "x$srcdir" = x.; then
3333
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3334
s/:*\$(srcdir):*/:/
3335
s/:*\${srcdir}:*/:/
3336
s/:*@srcdir@:*/:/
3337
s/^\([^=]*=[     ]*\):*/\1/
3338
s/:*$//
3339
s/^[^=]*=[       ]*$//
3340
}'
3341
fi
3342
 
3343
cat >>$CONFIG_STATUS <<\_ACEOF
3344
fi # test -n "$CONFIG_FILES"
3345
 
3346
 
3347
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
3348
do
3349
  case $ac_tag in
3350
  :[FHLC]) ac_mode=$ac_tag; continue;;
3351
  esac
3352
  case $ac_mode$ac_tag in
3353
  :[FHL]*:*);;
3354
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3355
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3356
   { (exit 1); exit 1; }; };;
3357
  :[FH]-) ac_tag=-:-;;
3358
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3359
  esac
3360
  ac_save_IFS=$IFS
3361
  IFS=:
3362
  set x $ac_tag
3363
  IFS=$ac_save_IFS
3364
  shift
3365
  ac_file=$1
3366
  shift
3367
 
3368
  case $ac_mode in
3369
  :L) ac_source=$1;;
3370
  :[FH])
3371
    ac_file_inputs=
3372
    for ac_f
3373
    do
3374
      case $ac_f in
3375
      -) ac_f="$tmp/stdin";;
3376
      *) # Look for the file first in the build tree, then in the source tree
3377
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
3378
         # because $ac_f cannot contain `:'.
3379
         test -f "$ac_f" ||
3380
           case $ac_f in
3381
           [\\/$]*) false;;
3382
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3383
           esac ||
3384
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3385
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3386
   { (exit 1); exit 1; }; };;
3387
      esac
3388
      ac_file_inputs="$ac_file_inputs $ac_f"
3389
    done
3390
 
3391
    # Let's still pretend it is `configure' which instantiates (i.e., don't
3392
    # use $as_me), people would be surprised to read:
3393
    #    /* config.h.  Generated by config.status.  */
3394
    configure_input="Generated from "`IFS=:
3395
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3396
    if test x"$ac_file" != x-; then
3397
      configure_input="$ac_file.  $configure_input"
3398
      { echo "$as_me:$LINENO: creating $ac_file" >&5
3399
echo "$as_me: creating $ac_file" >&6;}
3400
    fi
3401
 
3402
    case $ac_tag in
3403
    *:-:* | *:-) cat >"$tmp/stdin";;
3404
    esac
3405
    ;;
3406
  esac
3407
 
3408
  ac_dir=`$as_dirname -- "$ac_file" ||
3409
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3410
         X"$ac_file" : 'X\(//\)[^/]' \| \
3411
         X"$ac_file" : 'X\(//\)$' \| \
3412
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3413
echo X"$ac_file" |
3414
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3415
            s//\1/
3416
            q
3417
          }
3418
          /^X\(\/\/\)[^/].*/{
3419
            s//\1/
3420
            q
3421
          }
3422
          /^X\(\/\/\)$/{
3423
            s//\1/
3424
            q
3425
          }
3426
          /^X\(\/\).*/{
3427
            s//\1/
3428
            q
3429
          }
3430
          s/.*/./; q'`
3431
  { as_dir="$ac_dir"
3432
  case $as_dir in #(
3433
  -*) as_dir=./$as_dir;;
3434
  esac
3435
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3436
    as_dirs=
3437
    while :; do
3438
      case $as_dir in #(
3439
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3440
      *) as_qdir=$as_dir;;
3441
      esac
3442
      as_dirs="'$as_qdir' $as_dirs"
3443
      as_dir=`$as_dirname -- "$as_dir" ||
3444
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3445
         X"$as_dir" : 'X\(//\)[^/]' \| \
3446
         X"$as_dir" : 'X\(//\)$' \| \
3447
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3448
echo X"$as_dir" |
3449
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3450
            s//\1/
3451
            q
3452
          }
3453
          /^X\(\/\/\)[^/].*/{
3454
            s//\1/
3455
            q
3456
          }
3457
          /^X\(\/\/\)$/{
3458
            s//\1/
3459
            q
3460
          }
3461
          /^X\(\/\).*/{
3462
            s//\1/
3463
            q
3464
          }
3465
          s/.*/./; q'`
3466
      test -d "$as_dir" && break
3467
    done
3468
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3469
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3470
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3471
   { (exit 1); exit 1; }; }; }
3472
  ac_builddir=.
3473
 
3474
case "$ac_dir" in
3475
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3476
*)
3477
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3478
  # A ".." for each directory in $ac_dir_suffix.
3479
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3480
  case $ac_top_builddir_sub in
3481
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3482
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3483
  esac ;;
3484
esac
3485
ac_abs_top_builddir=$ac_pwd
3486
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3487
# for backward compatibility:
3488
ac_top_builddir=$ac_top_build_prefix
3489
 
3490
case $srcdir in
3491
  .)  # We are building in place.
3492
    ac_srcdir=.
3493
    ac_top_srcdir=$ac_top_builddir_sub
3494
    ac_abs_top_srcdir=$ac_pwd ;;
3495
  [\\/]* | ?:[\\/]* )  # Absolute name.
3496
    ac_srcdir=$srcdir$ac_dir_suffix;
3497
    ac_top_srcdir=$srcdir
3498
    ac_abs_top_srcdir=$srcdir ;;
3499
  *) # Relative name.
3500
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3501
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3502
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3503
esac
3504
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3505
 
3506
 
3507
  case $ac_mode in
3508
  :F)
3509
  #
3510
  # CONFIG_FILE
3511
  #
3512
 
3513
  case $INSTALL in
3514
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3515
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3516
  esac
3517
_ACEOF
3518
 
3519
cat >>$CONFIG_STATUS <<\_ACEOF
3520
# If the template does not know about datarootdir, expand it.
3521
# FIXME: This hack should be removed a few years after 2.60.
3522
ac_datarootdir_hack=; ac_datarootdir_seen=
3523
 
3524
case `sed -n '/datarootdir/ {
3525
  p
3526
  q
3527
}
3528
/@datadir@/p
3529
/@docdir@/p
3530
/@infodir@/p
3531
/@localedir@/p
3532
/@mandir@/p
3533
' $ac_file_inputs` in
3534
*datarootdir*) ac_datarootdir_seen=yes;;
3535
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3536
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3537
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3538
_ACEOF
3539
cat >>$CONFIG_STATUS <<_ACEOF
3540
  ac_datarootdir_hack='
3541
  s&@datadir@&$datadir&g
3542
  s&@docdir@&$docdir&g
3543
  s&@infodir@&$infodir&g
3544
  s&@localedir@&$localedir&g
3545
  s&@mandir@&$mandir&g
3546
    s&\\\${datarootdir}&$datarootdir&g' ;;
3547
esac
3548
_ACEOF
3549
 
3550
# Neutralize VPATH when `$srcdir' = `.'.
3551
# Shell code in configure.ac might set extrasub.
3552
# FIXME: do we really want to maintain this feature?
3553
cat >>$CONFIG_STATUS <<_ACEOF
3554
  sed "$ac_vpsub
3555
$extrasub
3556
_ACEOF
3557
cat >>$CONFIG_STATUS <<\_ACEOF
3558
:t
3559
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3560
s&@configure_input@&$configure_input&;t t
3561
s&@top_builddir@&$ac_top_builddir_sub&;t t
3562
s&@srcdir@&$ac_srcdir&;t t
3563
s&@abs_srcdir@&$ac_abs_srcdir&;t t
3564
s&@top_srcdir@&$ac_top_srcdir&;t t
3565
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3566
s&@builddir@&$ac_builddir&;t t
3567
s&@abs_builddir@&$ac_abs_builddir&;t t
3568
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3569
s&@INSTALL@&$ac_INSTALL&;t t
3570
$ac_datarootdir_hack
3571
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3572
 
3573
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3574
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3575
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3576
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3577
which seems to be undefined.  Please make sure it is defined." >&5
3578
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3579
which seems to be undefined.  Please make sure it is defined." >&2;}
3580
 
3581
  rm -f "$tmp/stdin"
3582
  case $ac_file in
3583
  -) cat "$tmp/out"; rm -f "$tmp/out";;
3584
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3585
  esac
3586
 ;;
3587
 
3588
 
3589
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
3590
echo "$as_me: executing $ac_file commands" >&6;}
3591
 ;;
3592
  esac
3593
 
3594
 
3595
  case $ac_file$ac_mode in
3596
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3597
  # Strip MF so we end up with the name of the file.
3598
  mf=`echo "$mf" | sed -e 's/:.*$//'`
3599
  # Check whether this is an Automake generated Makefile or not.
3600
  # We used to match only the files named `Makefile.in', but
3601
  # some people rename them; so instead we look at the file content.
3602
  # Grep'ing the first line is not enough: some people post-process
3603
  # each Makefile.in and add a new line on top of each file to say so.
3604
  # So let's grep whole file.
3605
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3606
    dirpart=`$as_dirname -- "$mf" ||
3607
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3608
         X"$mf" : 'X\(//\)[^/]' \| \
3609
         X"$mf" : 'X\(//\)$' \| \
3610
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3611
echo X"$mf" |
3612
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3613
            s//\1/
3614
            q
3615
          }
3616
          /^X\(\/\/\)[^/].*/{
3617
            s//\1/
3618
            q
3619
          }
3620
          /^X\(\/\/\)$/{
3621
            s//\1/
3622
            q
3623
          }
3624
          /^X\(\/\).*/{
3625
            s//\1/
3626
            q
3627
          }
3628
          s/.*/./; q'`
3629
  else
3630
    continue
3631
  fi
3632
  # Extract the definition of DEPDIR, am__include, and am__quote
3633
  # from the Makefile without running `make'.
3634
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3635
  test -z "$DEPDIR" && continue
3636
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
3637
  test -z "am__include" && continue
3638
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3639
  # When using ansi2knr, U may be empty or an underscore; expand it
3640
  U=`sed -n 's/^U = //p' < "$mf"`
3641
  # Find all dependency output files, they are included files with
3642
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
3643
  # simplest approach to changing $(DEPDIR) to its actual value in the
3644
  # expansion.
3645
  for file in `sed -n "
3646
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3647
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3648
    # Make sure the directory exists.
3649
    test -f "$dirpart/$file" && continue
3650
    fdir=`$as_dirname -- "$file" ||
3651
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3652
         X"$file" : 'X\(//\)[^/]' \| \
3653
         X"$file" : 'X\(//\)$' \| \
3654
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3655
echo X"$file" |
3656
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3657
            s//\1/
3658
            q
3659
          }
3660
          /^X\(\/\/\)[^/].*/{
3661
            s//\1/
3662
            q
3663
          }
3664
          /^X\(\/\/\)$/{
3665
            s//\1/
3666
            q
3667
          }
3668
          /^X\(\/\).*/{
3669
            s//\1/
3670
            q
3671
          }
3672
          s/.*/./; q'`
3673
    { as_dir=$dirpart/$fdir
3674
  case $as_dir in #(
3675
  -*) as_dir=./$as_dir;;
3676
  esac
3677
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3678
    as_dirs=
3679
    while :; do
3680
      case $as_dir in #(
3681
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3682
      *) as_qdir=$as_dir;;
3683
      esac
3684
      as_dirs="'$as_qdir' $as_dirs"
3685
      as_dir=`$as_dirname -- "$as_dir" ||
3686
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3687
         X"$as_dir" : 'X\(//\)[^/]' \| \
3688
         X"$as_dir" : 'X\(//\)$' \| \
3689
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3690
echo X"$as_dir" |
3691
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3692
            s//\1/
3693
            q
3694
          }
3695
          /^X\(\/\/\)[^/].*/{
3696
            s//\1/
3697
            q
3698
          }
3699
          /^X\(\/\/\)$/{
3700
            s//\1/
3701
            q
3702
          }
3703
          /^X\(\/\).*/{
3704
            s//\1/
3705
            q
3706
          }
3707
          s/.*/./; q'`
3708
      test -d "$as_dir" && break
3709
    done
3710
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3711
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3712
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3713
   { (exit 1); exit 1; }; }; }
3714
    # echo "creating $dirpart/$file"
3715
    echo '# dummy' > "$dirpart/$file"
3716
  done
3717
done
3718
 ;;
3719
    "default":C) . ${libgloss_topdir}/config-ml.in ;;
3720
 
3721
  esac
3722
done # for ac_tag
3723
 
3724
 
3725
{ (exit 0); exit 0; }
3726
_ACEOF
3727
chmod +x $CONFIG_STATUS
3728
ac_clean_files=$ac_clean_files_save
3729
 
3730
 
3731
# configure is writing to config.log, and then calls config.status.
3732
# config.status does its own redirection, appending to config.log.
3733
# Unfortunately, on DOS this fails, as config.log is still kept open
3734
# by configure, so config.status won't be able to write to it; its
3735
# output is simply discarded.  So we exec the FD to /dev/null,
3736
# effectively closing config.log, so it can be properly (re)opened and
3737
# appended to by config.status.  When coming back to configure, we
3738
# need to make the FD available again.
3739
if test "$no_create" != yes; then
3740
  ac_cs_success=:
3741
  ac_config_status_args=
3742
  test "$silent" = yes &&
3743
    ac_config_status_args="$ac_config_status_args --quiet"
3744
  exec 5>/dev/null
3745
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3746
  exec 5>>config.log
3747
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3748
  # would make configure fail if this is the last instruction.
3749
  $ac_cs_success || { (exit 1); exit 1; }
3750
fi
3751
 
3752
#
3753
# CONFIG_SUBDIRS section.
3754
#
3755
if test "$no_recursion" != yes; then
3756
 
3757
  # Remove --cache-file and --srcdir arguments so they do not pile up.
3758
  ac_sub_configure_args=
3759
  ac_prev=
3760
  eval "set x $ac_configure_args"
3761
  shift
3762
  for ac_arg
3763
  do
3764
    if test -n "$ac_prev"; then
3765
      ac_prev=
3766
      continue
3767
    fi
3768
    case $ac_arg in
3769
    -cache-file | --cache-file | --cache-fil | --cache-fi \
3770
    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3771
      ac_prev=cache_file ;;
3772
    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3773
    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3774
    | --c=*)
3775
      ;;
3776
    --config-cache | -C)
3777
      ;;
3778
    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3779
      ac_prev=srcdir ;;
3780
    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3781
      ;;
3782
    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3783
      ac_prev=prefix ;;
3784
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3785
      ;;
3786
    *)
3787
      case $ac_arg in
3788
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3789
      esac
3790
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
3791
    esac
3792
  done
3793
 
3794
  # Always prepend --prefix to ensure using the same prefix
3795
  # in subdir configurations.
3796
  ac_arg="--prefix=$prefix"
3797
  case $ac_arg in
3798
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3799
  esac
3800
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3801
 
3802
  # Pass --silent
3803
  if test "$silent" = yes; then
3804
    ac_sub_configure_args="--silent $ac_sub_configure_args"
3805
  fi
3806
 
3807
  ac_popdir=`pwd`
3808
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3809
 
3810
    # Do not complain, so a configure script can configure whichever
3811
    # parts of a large source tree are present.
3812
    test -d "$srcdir/$ac_dir" || continue
3813
 
3814
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3815
    echo "$as_me:$LINENO: $ac_msg" >&5
3816
    echo "$ac_msg" >&6
3817
    { as_dir="$ac_dir"
3818
  case $as_dir in #(
3819
  -*) as_dir=./$as_dir;;
3820
  esac
3821
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3822
    as_dirs=
3823
    while :; do
3824
      case $as_dir in #(
3825
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3826
      *) as_qdir=$as_dir;;
3827
      esac
3828
      as_dirs="'$as_qdir' $as_dirs"
3829
      as_dir=`$as_dirname -- "$as_dir" ||
3830
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3831
         X"$as_dir" : 'X\(//\)[^/]' \| \
3832
         X"$as_dir" : 'X\(//\)$' \| \
3833
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3834
echo X"$as_dir" |
3835
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3836
            s//\1/
3837
            q
3838
          }
3839
          /^X\(\/\/\)[^/].*/{
3840
            s//\1/
3841
            q
3842
          }
3843
          /^X\(\/\/\)$/{
3844
            s//\1/
3845
            q
3846
          }
3847
          /^X\(\/\).*/{
3848
            s//\1/
3849
            q
3850
          }
3851
          s/.*/./; q'`
3852
      test -d "$as_dir" && break
3853
    done
3854
    test -z "$as_dirs" || eval "mkdir $as_dirs"
3855
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3856
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3857
   { (exit 1); exit 1; }; }; }
3858
    ac_builddir=.
3859
 
3860
case "$ac_dir" in
3861
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3862
*)
3863
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3864
  # A ".." for each directory in $ac_dir_suffix.
3865
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3866
  case $ac_top_builddir_sub in
3867
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3868
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3869
  esac ;;
3870
esac
3871
ac_abs_top_builddir=$ac_pwd
3872
ac_abs_builddir=$ac_pwd$ac_dir_suffix
3873
# for backward compatibility:
3874
ac_top_builddir=$ac_top_build_prefix
3875
 
3876
case $srcdir in
3877
  .)  # We are building in place.
3878
    ac_srcdir=.
3879
    ac_top_srcdir=$ac_top_builddir_sub
3880
    ac_abs_top_srcdir=$ac_pwd ;;
3881
  [\\/]* | ?:[\\/]* )  # Absolute name.
3882
    ac_srcdir=$srcdir$ac_dir_suffix;
3883
    ac_top_srcdir=$srcdir
3884
    ac_abs_top_srcdir=$srcdir ;;
3885
  *) # Relative name.
3886
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3887
    ac_top_srcdir=$ac_top_build_prefix$srcdir
3888
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3889
esac
3890
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3891
 
3892
 
3893
    cd "$ac_dir"
3894
 
3895
    # Check for guested configure; otherwise get Cygnus style configure.
3896
    if test -f "$ac_srcdir/configure.gnu"; then
3897
      ac_sub_configure=$ac_srcdir/configure.gnu
3898
    elif test -f "$ac_srcdir/configure"; then
3899
      ac_sub_configure=$ac_srcdir/configure
3900
    elif test -f "$ac_srcdir/configure.in"; then
3901
      # This should be Cygnus configure.
3902
      ac_sub_configure=$ac_aux_dir/configure
3903
    else
3904
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3905
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3906
      ac_sub_configure=
3907
    fi
3908
 
3909
    # The recursion is here.
3910
    if test -n "$ac_sub_configure"; then
3911
      # Make the cache file name correct relative to the subdirectory.
3912
      case $cache_file in
3913
      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3914
      *) # Relative name.
3915
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3916
      esac
3917
 
3918
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3919
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3920
      # The eval makes quoting arguments work.
3921
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3922
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3923
        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3924
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3925
   { (exit 1); exit 1; }; }
3926
    fi
3927
 
3928
    cd "$ac_popdir"
3929
  done
3930
fi
3931
 
3932
 

powered by: WebSVN 2.1.0

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