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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [microblaze/] [configure] - Blame information for rev 207

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

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

powered by: WebSVN 2.1.0

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