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

Subversion Repositories openrisc_me

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

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

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

powered by: WebSVN 2.1.0

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