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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-newlib/] [newlib-1.17.0/] [libgloss/] [m32r/] [configure] - Blame information for rev 9

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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