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

Subversion Repositories openrisc_me

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

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

powered by: WebSVN 2.1.0

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