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

Subversion Repositories openrisc_2011-10-31

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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