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

Subversion Repositories openrisc

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

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

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

powered by: WebSVN 2.1.0

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