OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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

powered by: WebSVN 2.1.0

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