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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [iq2000/] [configure] - Blame information for rev 262

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

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

powered by: WebSVN 2.1.0

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