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

Subversion Repositories openrisc_2011-10-31

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

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

Line No. Rev Author Line
1 207 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 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
i386
705
m32r
706
m68hc11
707
m68k
708
pa
709
i960
710
sparc
711
wince
712
mips
713
rs6000
714
mn10200
715
mn10300
716
bfin
717
cris
718
crx
719
d30v
720
fr30
721
frv
722
lm32
723
mcore
724
mep
725
moxie
726
microblaze
727
mt
728
xc16x
729
xstormy16
730
m32c
731
rx
732
arm
733
spu
734
or32
735
iq2000
736
libnosys'
737
 
738
# Initialize some variables set by options.
739
ac_init_help=
740
ac_init_version=false
741
ac_unrecognized_opts=
742
ac_unrecognized_sep=
743
# The variables have the same names as the options, with
744
# dashes changed to underlines.
745
cache_file=/dev/null
746
exec_prefix=NONE
747
no_create=
748
no_recursion=
749
prefix=NONE
750
program_prefix=NONE
751
program_suffix=NONE
752
program_transform_name=s,x,x,
753
silent=
754
site=
755
srcdir=
756
verbose=
757
x_includes=NONE
758
x_libraries=NONE
759
 
760
# Installation directory options.
761
# These are left unexpanded so users can "make install exec_prefix=/foo"
762
# and all the variables that are supposed to be based on exec_prefix
763
# by default will actually change.
764
# Use braces instead of parens because sh, perl, etc. also accept them.
765
# (The list follows the same order as the GNU Coding Standards.)
766
bindir='${exec_prefix}/bin'
767
sbindir='${exec_prefix}/sbin'
768
libexecdir='${exec_prefix}/libexec'
769
datarootdir='${prefix}/share'
770
datadir='${datarootdir}'
771
sysconfdir='${prefix}/etc'
772
sharedstatedir='${prefix}/com'
773
localstatedir='${prefix}/var'
774
includedir='${prefix}/include'
775
oldincludedir='/usr/include'
776
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
777
infodir='${datarootdir}/info'
778
htmldir='${docdir}'
779
dvidir='${docdir}'
780
pdfdir='${docdir}'
781
psdir='${docdir}'
782
libdir='${exec_prefix}/lib'
783
localedir='${datarootdir}/locale'
784
mandir='${datarootdir}/man'
785
 
786
ac_prev=
787
ac_dashdash=
788
for ac_option
789
do
790
  # If the previous option needs an argument, assign it.
791
  if test -n "$ac_prev"; then
792
    eval $ac_prev=\$ac_option
793
    ac_prev=
794
    continue
795
  fi
796
 
797
  case $ac_option in
798
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799
  *)    ac_optarg=yes ;;
800
  esac
801
 
802
  # Accept the important Cygnus configure options, so we can diagnose typos.
803
 
804
  case $ac_dashdash$ac_option in
805
  --)
806
    ac_dashdash=yes ;;
807
 
808
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
809
    ac_prev=bindir ;;
810
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
811
    bindir=$ac_optarg ;;
812
 
813
  -build | --build | --buil | --bui | --bu)
814
    ac_prev=build_alias ;;
815
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
816
    build_alias=$ac_optarg ;;
817
 
818
  -cache-file | --cache-file | --cache-fil | --cache-fi \
819
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
820
    ac_prev=cache_file ;;
821
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
822
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
823
    cache_file=$ac_optarg ;;
824
 
825
  --config-cache | -C)
826
    cache_file=config.cache ;;
827
 
828
  -datadir | --datadir | --datadi | --datad)
829
    ac_prev=datadir ;;
830
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
831
    datadir=$ac_optarg ;;
832
 
833
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
834
  | --dataroo | --dataro | --datar)
835
    ac_prev=datarootdir ;;
836
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
837
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
838
    datarootdir=$ac_optarg ;;
839
 
840
  -disable-* | --disable-*)
841
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842
    # Reject names that are not valid shell variable names.
843
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
844
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
845
   { (exit 1); exit 1; }; }
846
    ac_useropt_orig=$ac_useropt
847
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848
    case $ac_user_opts in
849
      *"
850
"enable_$ac_useropt"
851
"*) ;;
852
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
853
         ac_unrecognized_sep=', ';;
854
    esac
855
    eval enable_$ac_useropt=no ;;
856
 
857
  -docdir | --docdir | --docdi | --doc | --do)
858
    ac_prev=docdir ;;
859
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
860
    docdir=$ac_optarg ;;
861
 
862
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863
    ac_prev=dvidir ;;
864
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
865
    dvidir=$ac_optarg ;;
866
 
867
  -enable-* | --enable-*)
868
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869
    # Reject names that are not valid shell variable names.
870
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
872
   { (exit 1); exit 1; }; }
873
    ac_useropt_orig=$ac_useropt
874
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875
    case $ac_user_opts in
876
      *"
877
"enable_$ac_useropt"
878
"*) ;;
879
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
880
         ac_unrecognized_sep=', ';;
881
    esac
882
    eval enable_$ac_useropt=\$ac_optarg ;;
883
 
884
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
885
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
886
  | --exec | --exe | --ex)
887
    ac_prev=exec_prefix ;;
888
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
889
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
890
  | --exec=* | --exe=* | --ex=*)
891
    exec_prefix=$ac_optarg ;;
892
 
893
  -gas | --gas | --ga | --g)
894
    # Obsolete; use --with-gas.
895
    with_gas=yes ;;
896
 
897
  -help | --help | --hel | --he | -h)
898
    ac_init_help=long ;;
899
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
900
    ac_init_help=recursive ;;
901
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
902
    ac_init_help=short ;;
903
 
904
  -host | --host | --hos | --ho)
905
    ac_prev=host_alias ;;
906
  -host=* | --host=* | --hos=* | --ho=*)
907
    host_alias=$ac_optarg ;;
908
 
909
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
910
    ac_prev=htmldir ;;
911
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
912
  | --ht=*)
913
    htmldir=$ac_optarg ;;
914
 
915
  -includedir | --includedir | --includedi | --included | --include \
916
  | --includ | --inclu | --incl | --inc)
917
    ac_prev=includedir ;;
918
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
919
  | --includ=* | --inclu=* | --incl=* | --inc=*)
920
    includedir=$ac_optarg ;;
921
 
922
  -infodir | --infodir | --infodi | --infod | --info | --inf)
923
    ac_prev=infodir ;;
924
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
925
    infodir=$ac_optarg ;;
926
 
927
  -libdir | --libdir | --libdi | --libd)
928
    ac_prev=libdir ;;
929
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
930
    libdir=$ac_optarg ;;
931
 
932
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
933
  | --libexe | --libex | --libe)
934
    ac_prev=libexecdir ;;
935
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
936
  | --libexe=* | --libex=* | --libe=*)
937
    libexecdir=$ac_optarg ;;
938
 
939
  -localedir | --localedir | --localedi | --localed | --locale)
940
    ac_prev=localedir ;;
941
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
942
    localedir=$ac_optarg ;;
943
 
944
  -localstatedir | --localstatedir | --localstatedi | --localstated \
945
  | --localstate | --localstat | --localsta | --localst | --locals)
946
    ac_prev=localstatedir ;;
947
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
948
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
949
    localstatedir=$ac_optarg ;;
950
 
951
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
952
    ac_prev=mandir ;;
953
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
954
    mandir=$ac_optarg ;;
955
 
956
  -nfp | --nfp | --nf)
957
    # Obsolete; use --without-fp.
958
    with_fp=no ;;
959
 
960
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
961
  | --no-cr | --no-c | -n)
962
    no_create=yes ;;
963
 
964
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
965
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
966
    no_recursion=yes ;;
967
 
968
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
969
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
970
  | --oldin | --oldi | --old | --ol | --o)
971
    ac_prev=oldincludedir ;;
972
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
973
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
974
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
975
    oldincludedir=$ac_optarg ;;
976
 
977
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
978
    ac_prev=prefix ;;
979
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
980
    prefix=$ac_optarg ;;
981
 
982
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
983
  | --program-pre | --program-pr | --program-p)
984
    ac_prev=program_prefix ;;
985
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
986
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
987
    program_prefix=$ac_optarg ;;
988
 
989
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
990
  | --program-suf | --program-su | --program-s)
991
    ac_prev=program_suffix ;;
992
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
993
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
994
    program_suffix=$ac_optarg ;;
995
 
996
  -program-transform-name | --program-transform-name \
997
  | --program-transform-nam | --program-transform-na \
998
  | --program-transform-n | --program-transform- \
999
  | --program-transform | --program-transfor \
1000
  | --program-transfo | --program-transf \
1001
  | --program-trans | --program-tran \
1002
  | --progr-tra | --program-tr | --program-t)
1003
    ac_prev=program_transform_name ;;
1004
  -program-transform-name=* | --program-transform-name=* \
1005
  | --program-transform-nam=* | --program-transform-na=* \
1006
  | --program-transform-n=* | --program-transform-=* \
1007
  | --program-transform=* | --program-transfor=* \
1008
  | --program-transfo=* | --program-transf=* \
1009
  | --program-trans=* | --program-tran=* \
1010
  | --progr-tra=* | --program-tr=* | --program-t=*)
1011
    program_transform_name=$ac_optarg ;;
1012
 
1013
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1014
    ac_prev=pdfdir ;;
1015
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1016
    pdfdir=$ac_optarg ;;
1017
 
1018
  -psdir | --psdir | --psdi | --psd | --ps)
1019
    ac_prev=psdir ;;
1020
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1021
    psdir=$ac_optarg ;;
1022
 
1023
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1024
  | -silent | --silent | --silen | --sile | --sil)
1025
    silent=yes ;;
1026
 
1027
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1028
    ac_prev=sbindir ;;
1029
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1030
  | --sbi=* | --sb=*)
1031
    sbindir=$ac_optarg ;;
1032
 
1033
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1034
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1035
  | --sharedst | --shareds | --shared | --share | --shar \
1036
  | --sha | --sh)
1037
    ac_prev=sharedstatedir ;;
1038
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1039
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1040
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1041
  | --sha=* | --sh=*)
1042
    sharedstatedir=$ac_optarg ;;
1043
 
1044
  -site | --site | --sit)
1045
    ac_prev=site ;;
1046
  -site=* | --site=* | --sit=*)
1047
    site=$ac_optarg ;;
1048
 
1049
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1050
    ac_prev=srcdir ;;
1051
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1052
    srcdir=$ac_optarg ;;
1053
 
1054
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1055
  | --syscon | --sysco | --sysc | --sys | --sy)
1056
    ac_prev=sysconfdir ;;
1057
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1058
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1059
    sysconfdir=$ac_optarg ;;
1060
 
1061
  -target | --target | --targe | --targ | --tar | --ta | --t)
1062
    ac_prev=target_alias ;;
1063
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1064
    target_alias=$ac_optarg ;;
1065
 
1066
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1067
    verbose=yes ;;
1068
 
1069
  -version | --version | --versio | --versi | --vers | -V)
1070
    ac_init_version=: ;;
1071
 
1072
  -with-* | --with-*)
1073
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1074
    # Reject names that are not valid shell variable names.
1075
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1077
   { (exit 1); exit 1; }; }
1078
    ac_useropt_orig=$ac_useropt
1079
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080
    case $ac_user_opts in
1081
      *"
1082
"with_$ac_useropt"
1083
"*) ;;
1084
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1085
         ac_unrecognized_sep=', ';;
1086
    esac
1087
    eval with_$ac_useropt=\$ac_optarg ;;
1088
 
1089
  -without-* | --without-*)
1090
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1091
    # Reject names that are not valid shell variable names.
1092
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1094
   { (exit 1); exit 1; }; }
1095
    ac_useropt_orig=$ac_useropt
1096
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097
    case $ac_user_opts in
1098
      *"
1099
"with_$ac_useropt"
1100
"*) ;;
1101
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102
         ac_unrecognized_sep=', ';;
1103
    esac
1104
    eval with_$ac_useropt=no ;;
1105
 
1106
  --x)
1107
    # Obsolete; use --with-x.
1108
    with_x=yes ;;
1109
 
1110
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111
  | --x-incl | --x-inc | --x-in | --x-i)
1112
    ac_prev=x_includes ;;
1113
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115
    x_includes=$ac_optarg ;;
1116
 
1117
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119
    ac_prev=x_libraries ;;
1120
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122
    x_libraries=$ac_optarg ;;
1123
 
1124
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1125
Try \`$0 --help' for more information." >&2
1126
   { (exit 1); exit 1; }; }
1127
    ;;
1128
 
1129
  *=*)
1130
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1131
    # Reject names that are not valid shell variable names.
1132
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1133
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1134
   { (exit 1); exit 1; }; }
1135
    eval $ac_envvar=\$ac_optarg
1136
    export $ac_envvar ;;
1137
 
1138
  *)
1139
    # FIXME: should be removed in autoconf 3.0.
1140
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1144
    ;;
1145
 
1146
  esac
1147
done
1148
 
1149
if test -n "$ac_prev"; then
1150
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1152
   { (exit 1); exit 1; }; }
1153
fi
1154
 
1155
if test -n "$ac_unrecognized_opts"; then
1156
  case $enable_option_checking in
1157
    no) ;;
1158
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1159
   { (exit 1); exit 1; }; } ;;
1160
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161
  esac
1162
fi
1163
 
1164
# Check all directory arguments for consistency.
1165
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166
                datadir sysconfdir sharedstatedir localstatedir includedir \
1167
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168
                libdir localedir mandir
1169
do
1170
  eval ac_val=\$$ac_var
1171
  # Remove trailing slashes.
1172
  case $ac_val in
1173
    */ )
1174
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1175
      eval $ac_var=\$ac_val;;
1176
  esac
1177
  # Be sure to have absolute directory names.
1178
  case $ac_val in
1179
    [\\/$]* | ?:[\\/]* )  continue;;
1180
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1181
  esac
1182
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1183
   { (exit 1); exit 1; }; }
1184
done
1185
 
1186
# There might be people who depend on the old broken behavior: `$host'
1187
# used to hold the argument of --host etc.
1188
# FIXME: To remove some day.
1189
build=$build_alias
1190
host=$host_alias
1191
target=$target_alias
1192
 
1193
# FIXME: To remove some day.
1194
if test "x$host_alias" != x; then
1195
  if test "x$build_alias" = x; then
1196
    cross_compiling=maybe
1197
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1198
    If a cross compiler is detected then cross compile mode will be used." >&2
1199
  elif test "x$build_alias" != "x$host_alias"; then
1200
    cross_compiling=yes
1201
  fi
1202
fi
1203
 
1204
ac_tool_prefix=
1205
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1206
 
1207
test "$silent" = yes && exec 6>/dev/null
1208
 
1209
 
1210
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1211
ac_ls_di=`ls -di .` &&
1212
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1214
   { (exit 1); exit 1; }; }
1215
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1217
   { (exit 1); exit 1; }; }
1218
 
1219
 
1220
# Find the source files, if location was not specified.
1221
if test -z "$srcdir"; then
1222
  ac_srcdir_defaulted=yes
1223
  # Try the directory containing this script, then the parent directory.
1224
  ac_confdir=`$as_dirname -- "$as_myself" ||
1225
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1226
         X"$as_myself" : 'X\(//\)[^/]' \| \
1227
         X"$as_myself" : 'X\(//\)$' \| \
1228
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1229
$as_echo X"$as_myself" |
1230
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1231
            s//\1/
1232
            q
1233
          }
1234
          /^X\(\/\/\)[^/].*/{
1235
            s//\1/
1236
            q
1237
          }
1238
          /^X\(\/\/\)$/{
1239
            s//\1/
1240
            q
1241
          }
1242
          /^X\(\/\).*/{
1243
            s//\1/
1244
            q
1245
          }
1246
          s/.*/./; q'`
1247
  srcdir=$ac_confdir
1248
  if test ! -r "$srcdir/$ac_unique_file"; then
1249
    srcdir=..
1250
  fi
1251
else
1252
  ac_srcdir_defaulted=no
1253
fi
1254
if test ! -r "$srcdir/$ac_unique_file"; then
1255
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1256
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1257
   { (exit 1); exit 1; }; }
1258
fi
1259
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1260
ac_abs_confdir=`(
1261
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1262
   { (exit 1); exit 1; }; }
1263
        pwd)`
1264
# When building in place, set srcdir=.
1265
if test "$ac_abs_confdir" = "$ac_pwd"; then
1266
  srcdir=.
1267
fi
1268
# Remove unnecessary trailing slashes from srcdir.
1269
# Double slashes in file names in object file debugging info
1270
# mess up M-x gdb in Emacs.
1271
case $srcdir in
1272
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273
esac
1274
for ac_var in $ac_precious_vars; do
1275
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1276
  eval ac_env_${ac_var}_value=\$${ac_var}
1277
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1278
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1279
done
1280
 
1281
#
1282
# Report the --help message.
1283
#
1284
if test "$ac_init_help" = "long"; then
1285
  # Omit some internal or obsolete options to make the list less imposing.
1286
  # This message is too long to be a string in the A/UX 3.1 sh.
1287
  cat <<_ACEOF
1288
\`configure' configures libgloss LIBGLOSS_VERSION to adapt to many kinds of systems.
1289
 
1290
Usage: $0 [OPTION]... [VAR=VALUE]...
1291
 
1292
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1293
VAR=VALUE.  See below for descriptions of some of the useful variables.
1294
 
1295
Defaults for the options are specified in brackets.
1296
 
1297
Configuration:
1298
  -h, --help              display this help and exit
1299
      --help=short        display options specific to this package
1300
      --help=recursive    display the short help of all the included packages
1301
  -V, --version           display version information and exit
1302
  -q, --quiet, --silent   do not print \`checking...' messages
1303
      --cache-file=FILE   cache test results in FILE [disabled]
1304
  -C, --config-cache      alias for \`--cache-file=config.cache'
1305
  -n, --no-create         do not create output files
1306
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1307
 
1308
Installation directories:
1309
  --prefix=PREFIX         install architecture-independent files in PREFIX
1310
                          [$ac_default_prefix]
1311
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1312
                          [PREFIX]
1313
 
1314
By default, \`make install' will install all the files in
1315
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1316
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1317
for instance \`--prefix=\$HOME'.
1318
 
1319
For better control, use the options below.
1320
 
1321
Fine tuning of the installation directories:
1322
  --bindir=DIR            user executables [EPREFIX/bin]
1323
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1324
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1325
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1326
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1327
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1328
  --libdir=DIR            object code libraries [EPREFIX/lib]
1329
  --includedir=DIR        C header files [PREFIX/include]
1330
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1331
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1332
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1333
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1334
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1335
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1336
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgloss]
1337
  --htmldir=DIR           html documentation [DOCDIR]
1338
  --dvidir=DIR            dvi documentation [DOCDIR]
1339
  --pdfdir=DIR            pdf documentation [DOCDIR]
1340
  --psdir=DIR             ps documentation [DOCDIR]
1341
_ACEOF
1342
 
1343
  cat <<\_ACEOF
1344
 
1345
Program names:
1346
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1347
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1348
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1349
 
1350
System types:
1351
  --build=BUILD     configure for building on BUILD [guessed]
1352
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1353
  --target=TARGET   configure for building compilers for TARGET [HOST]
1354
_ACEOF
1355
fi
1356
 
1357
if test -n "$ac_init_help"; then
1358
  case $ac_init_help in
1359
     short | recursive ) echo "Configuration of libgloss LIBGLOSS_VERSION:";;
1360
   esac
1361
  cat <<\_ACEOF
1362
 
1363
Optional Features:
1364
  --disable-option-checking  ignore unrecognized --enable/--with options
1365
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1366
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1367
  --disable-dependency-tracking  speeds up one-time build
1368
  --enable-dependency-tracking   do not reject slow dependency extractors
1369
 
1370
Some influential environment variables:
1371
  CCAS        assembler compiler command (defaults to CC)
1372
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1373
 
1374
Use these variables to override the choices made by `configure' or to help
1375
it to find libraries and programs with nonstandard names/locations.
1376
 
1377
_ACEOF
1378
ac_status=$?
1379
fi
1380
 
1381
if test "$ac_init_help" = "recursive"; then
1382
  # If there are subdirs, report their specific --help.
1383
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1384
    test -d "$ac_dir" ||
1385
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1386
      continue
1387
    ac_builddir=.
1388
 
1389
case "$ac_dir" in
1390
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1391
*)
1392
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1393
  # A ".." for each directory in $ac_dir_suffix.
1394
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1395
  case $ac_top_builddir_sub in
1396
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1398
  esac ;;
1399
esac
1400
ac_abs_top_builddir=$ac_pwd
1401
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1402
# for backward compatibility:
1403
ac_top_builddir=$ac_top_build_prefix
1404
 
1405
case $srcdir in
1406
  .)  # We are building in place.
1407
    ac_srcdir=.
1408
    ac_top_srcdir=$ac_top_builddir_sub
1409
    ac_abs_top_srcdir=$ac_pwd ;;
1410
  [\\/]* | ?:[\\/]* )  # Absolute name.
1411
    ac_srcdir=$srcdir$ac_dir_suffix;
1412
    ac_top_srcdir=$srcdir
1413
    ac_abs_top_srcdir=$srcdir ;;
1414
  *) # Relative name.
1415
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1416
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1417
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1418
esac
1419
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1420
 
1421
    cd "$ac_dir" || { ac_status=$?; continue; }
1422
    # Check for guested configure.
1423
    if test -f "$ac_srcdir/configure.gnu"; then
1424
      echo &&
1425
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1426
    elif test -f "$ac_srcdir/configure"; then
1427
      echo &&
1428
      $SHELL "$ac_srcdir/configure" --help=recursive
1429
    else
1430
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1431
    fi || ac_status=$?
1432
    cd "$ac_pwd" || { ac_status=$?; break; }
1433
  done
1434
fi
1435
 
1436
test -n "$ac_init_help" && exit $ac_status
1437
if $ac_init_version; then
1438
  cat <<\_ACEOF
1439
libgloss configure LIBGLOSS_VERSION
1440
generated by GNU Autoconf 2.63
1441
 
1442
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1443
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1444
This configure script is free software; the Free Software Foundation
1445
gives unlimited permission to copy, distribute and modify it.
1446
_ACEOF
1447
  exit
1448
fi
1449
cat >config.log <<_ACEOF
1450
This file contains any messages produced by compilers while
1451
running configure, to aid debugging if configure makes a mistake.
1452
 
1453
It was created by libgloss $as_me LIBGLOSS_VERSION, which was
1454
generated by GNU Autoconf 2.63.  Invocation command line was
1455
 
1456
  $ $0 $@
1457
 
1458
_ACEOF
1459
exec 5>>config.log
1460
{
1461
cat <<_ASUNAME
1462
## --------- ##
1463
## Platform. ##
1464
## --------- ##
1465
 
1466
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1467
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1468
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1469
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1470
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1471
 
1472
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1473
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1474
 
1475
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1476
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1477
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1478
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1479
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1480
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1481
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1482
 
1483
_ASUNAME
1484
 
1485
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486
for as_dir in $PATH
1487
do
1488
  IFS=$as_save_IFS
1489
  test -z "$as_dir" && as_dir=.
1490
  $as_echo "PATH: $as_dir"
1491
done
1492
IFS=$as_save_IFS
1493
 
1494
} >&5
1495
 
1496
cat >&5 <<_ACEOF
1497
 
1498
 
1499
## ----------- ##
1500
## Core tests. ##
1501
## ----------- ##
1502
 
1503
_ACEOF
1504
 
1505
 
1506
# Keep a trace of the command line.
1507
# Strip out --no-create and --no-recursion so they do not pile up.
1508
# Strip out --silent because we don't want to record it for future runs.
1509
# Also quote any args containing shell meta-characters.
1510
# Make two passes to allow for proper duplicate-argument suppression.
1511
ac_configure_args=
1512
ac_configure_args0=
1513
ac_configure_args1=
1514
ac_must_keep_next=false
1515
for ac_pass in 1 2
1516
do
1517
  for ac_arg
1518
  do
1519
    case $ac_arg in
1520
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1521
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1522
    | -silent | --silent | --silen | --sile | --sil)
1523
      continue ;;
1524
    *\'*)
1525
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1526
    esac
1527
    case $ac_pass in
1528
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1529
    2)
1530
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1531
      if test $ac_must_keep_next = true; then
1532
        ac_must_keep_next=false # Got value, back to normal.
1533
      else
1534
        case $ac_arg in
1535
          *=* | --config-cache | -C | -disable-* | --disable-* \
1536
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1537
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1538
          | -with-* | --with-* | -without-* | --without-* | --x)
1539
            case "$ac_configure_args0 " in
1540
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1541
            esac
1542
            ;;
1543
          -* ) ac_must_keep_next=true ;;
1544
        esac
1545
      fi
1546
      ac_configure_args="$ac_configure_args '$ac_arg'"
1547
      ;;
1548
    esac
1549
  done
1550
done
1551
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1552
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1553
 
1554
# When interrupted or exit'd, cleanup temporary files, and complete
1555
# config.log.  We remove comments because anyway the quotes in there
1556
# would cause problems or look ugly.
1557
# WARNING: Use '\'' to represent an apostrophe within the trap.
1558
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1559
trap 'exit_status=$?
1560
  # Save into config.log some information that might help in debugging.
1561
  {
1562
    echo
1563
 
1564
    cat <<\_ASBOX
1565
## ---------------- ##
1566
## Cache variables. ##
1567
## ---------------- ##
1568
_ASBOX
1569
    echo
1570
    # The following way of writing the cache mishandles newlines in values,
1571
(
1572
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1573
    eval ac_val=\$$ac_var
1574
    case $ac_val in #(
1575
    *${as_nl}*)
1576
      case $ac_var in #(
1577
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1578
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1579
      esac
1580
      case $ac_var in #(
1581
      _ | IFS | as_nl) ;; #(
1582
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1583
      *) $as_unset $ac_var ;;
1584
      esac ;;
1585
    esac
1586
  done
1587
  (set) 2>&1 |
1588
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1589
    *${as_nl}ac_space=\ *)
1590
      sed -n \
1591
        "s/'\''/'\''\\\\'\'''\''/g;
1592
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1593
      ;; #(
1594
    *)
1595
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1596
      ;;
1597
    esac |
1598
    sort
1599
)
1600
    echo
1601
 
1602
    cat <<\_ASBOX
1603
## ----------------- ##
1604
## Output variables. ##
1605
## ----------------- ##
1606
_ASBOX
1607
    echo
1608
    for ac_var in $ac_subst_vars
1609
    do
1610
      eval ac_val=\$$ac_var
1611
      case $ac_val in
1612
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1613
      esac
1614
      $as_echo "$ac_var='\''$ac_val'\''"
1615
    done | sort
1616
    echo
1617
 
1618
    if test -n "$ac_subst_files"; then
1619
      cat <<\_ASBOX
1620
## ------------------- ##
1621
## File substitutions. ##
1622
## ------------------- ##
1623
_ASBOX
1624
      echo
1625
      for ac_var in $ac_subst_files
1626
      do
1627
        eval ac_val=\$$ac_var
1628
        case $ac_val in
1629
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630
        esac
1631
        $as_echo "$ac_var='\''$ac_val'\''"
1632
      done | sort
1633
      echo
1634
    fi
1635
 
1636
    if test -s confdefs.h; then
1637
      cat <<\_ASBOX
1638
## ----------- ##
1639
## confdefs.h. ##
1640
## ----------- ##
1641
_ASBOX
1642
      echo
1643
      cat confdefs.h
1644
      echo
1645
    fi
1646
    test "$ac_signal" != 0 &&
1647
      $as_echo "$as_me: caught signal $ac_signal"
1648
    $as_echo "$as_me: exit $exit_status"
1649
  } >&5
1650
  rm -f core *.core core.conftest.* &&
1651
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1652
    exit $exit_status
1653
' 0
1654
for ac_signal in 1 2 13 15; do
1655
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1656
done
1657
ac_signal=0
1658
 
1659
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1660
rm -f -r conftest* confdefs.h
1661
 
1662
# Predefined preprocessor variables.
1663
 
1664
cat >>confdefs.h <<_ACEOF
1665
#define PACKAGE_NAME "$PACKAGE_NAME"
1666
_ACEOF
1667
 
1668
 
1669
cat >>confdefs.h <<_ACEOF
1670
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1671
_ACEOF
1672
 
1673
 
1674
cat >>confdefs.h <<_ACEOF
1675
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1676
_ACEOF
1677
 
1678
 
1679
cat >>confdefs.h <<_ACEOF
1680
#define PACKAGE_STRING "$PACKAGE_STRING"
1681
_ACEOF
1682
 
1683
 
1684
cat >>confdefs.h <<_ACEOF
1685
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1686
_ACEOF
1687
 
1688
 
1689
# Let the site file select an alternate cache file if it wants to.
1690
# Prefer an explicitly selected file to automatically selected ones.
1691
ac_site_file1=NONE
1692
ac_site_file2=NONE
1693
if test -n "$CONFIG_SITE"; then
1694
  ac_site_file1=$CONFIG_SITE
1695
elif test "x$prefix" != xNONE; then
1696
  ac_site_file1=$prefix/share/config.site
1697
  ac_site_file2=$prefix/etc/config.site
1698
else
1699
  ac_site_file1=$ac_default_prefix/share/config.site
1700
  ac_site_file2=$ac_default_prefix/etc/config.site
1701
fi
1702
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1703
do
1704
  test "x$ac_site_file" = xNONE && continue
1705
  if test -r "$ac_site_file"; then
1706
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1707
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1708
    sed 's/^/| /' "$ac_site_file" >&5
1709
    . "$ac_site_file"
1710
  fi
1711
done
1712
 
1713
if test -r "$cache_file"; then
1714
  # Some versions of bash will fail to source /dev/null (special
1715
  # files actually), so we avoid doing that.
1716
  if test -f "$cache_file"; then
1717
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1718
$as_echo "$as_me: loading cache $cache_file" >&6;}
1719
    case $cache_file in
1720
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1721
      *)                      . "./$cache_file";;
1722
    esac
1723
  fi
1724
else
1725
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1726
$as_echo "$as_me: creating cache $cache_file" >&6;}
1727
  >$cache_file
1728
fi
1729
 
1730
# Check that the precious variables saved in the cache have kept the same
1731
# value.
1732
ac_cache_corrupted=false
1733
for ac_var in $ac_precious_vars; do
1734
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1735
  eval ac_new_set=\$ac_env_${ac_var}_set
1736
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1737
  eval ac_new_val=\$ac_env_${ac_var}_value
1738
  case $ac_old_set,$ac_new_set in
1739
    set,)
1740
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1741
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1742
      ac_cache_corrupted=: ;;
1743
    ,set)
1744
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1745
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1746
      ac_cache_corrupted=: ;;
1747
    ,);;
1748
    *)
1749
      if test "x$ac_old_val" != "x$ac_new_val"; then
1750
        # differences in whitespace do not lead to failure.
1751
        ac_old_val_w=`echo x $ac_old_val`
1752
        ac_new_val_w=`echo x $ac_new_val`
1753
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1754
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1755
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1756
          ac_cache_corrupted=:
1757
        else
1758
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1759
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1760
          eval $ac_var=\$ac_old_val
1761
        fi
1762
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1763
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1764
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1765
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1766
      fi;;
1767
  esac
1768
  # Pass precious variables to config.status.
1769
  if test "$ac_new_set" = set; then
1770
    case $ac_new_val in
1771
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1772
    *) ac_arg=$ac_var=$ac_new_val ;;
1773
    esac
1774
    case " $ac_configure_args " in
1775
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1776
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1777
    esac
1778
  fi
1779
done
1780
if $ac_cache_corrupted; then
1781
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1783
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1784
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1785
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1786
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1787
   { (exit 1); exit 1; }; }
1788
fi
1789
 
1790
 
1791
 
1792
 
1793
 
1794
 
1795
 
1796
 
1797
 
1798
 
1799
 
1800
 
1801
 
1802
 
1803
 
1804
 
1805
 
1806
 
1807
 
1808
 
1809
 
1810
 
1811
 
1812
 
1813
 
1814
ac_ext=c
1815
ac_cpp='$CPP $CPPFLAGS'
1816
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1817
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1818
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1819
 
1820
 
1821
 
1822
 
1823
if test "${enable_shared}" = "yes" ; then
1824
    echo "Shared libraries not supported for cross compiling, ignored"
1825
fi
1826
 
1827
if test "${srcdir}" = "." ; then
1828
  if test "${with_target_subdir}" != "." ; then
1829
    libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1830
  else
1831
    libgloss_topdir="${srcdir}/${with_multisrctop}.."
1832
  fi
1833
else
1834
  libgloss_topdir="${srcdir}/.."
1835
fi
1836
ac_aux_dir=
1837
for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1838
  if 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/install.sh"; then
1843
    ac_aux_dir=$ac_dir
1844
    ac_install_sh="$ac_aux_dir/install.sh -c"
1845
    break
1846
  elif test -f "$ac_dir/shtool"; then
1847
    ac_aux_dir=$ac_dir
1848
    ac_install_sh="$ac_aux_dir/shtool install -c"
1849
    break
1850
  fi
1851
done
1852
if test -z "$ac_aux_dir"; then
1853
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
1854
$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
1855
   { (exit 1); exit 1; }; }
1856
fi
1857
 
1858
# These three variables are undocumented and unsupported,
1859
# and are intended to be withdrawn in a future Autoconf release.
1860
# They can cause serious problems if a builder's source tree is in a directory
1861
# whose full name contains unusual characters.
1862
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1863
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1864
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1865
 
1866
 
1867
 
1868
# Find a good install program.  We prefer a C program (faster),
1869
# so one script is as good as another.  But avoid the broken or
1870
# incompatible versions:
1871
# SysV /etc/install, /usr/sbin/install
1872
# SunOS /usr/etc/install
1873
# IRIX /sbin/install
1874
# AIX /bin/install
1875
# AmigaOS /C/install, which installs bootblocks on floppy discs
1876
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1877
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1878
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1879
# OS/2's system install, which has a completely different semantic
1880
# ./install, which can be erroneously created by make from ./install.sh.
1881
# Reject install programs that cannot install multiple files.
1882
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1883
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1884
if test -z "$INSTALL"; then
1885
if test "${ac_cv_path_install+set}" = set; then
1886
  $as_echo_n "(cached) " >&6
1887
else
1888
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889
for as_dir in $PATH
1890
do
1891
  IFS=$as_save_IFS
1892
  test -z "$as_dir" && as_dir=.
1893
  # Account for people who put trailing slashes in PATH elements.
1894
case $as_dir/ in
1895
  ./ | .// | /cC/* | \
1896
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1897
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1898
  /usr/ucb/* ) ;;
1899
  *)
1900
    # OSF1 and SCO ODT 3.0 have their own names for install.
1901
    # Don't use installbsd from OSF since it installs stuff as root
1902
    # by default.
1903
    for ac_prog in ginstall scoinst install; do
1904
      for ac_exec_ext in '' $ac_executable_extensions; do
1905
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1906
          if test $ac_prog = install &&
1907
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1908
            # AIX install.  It has an incompatible calling convention.
1909
            :
1910
          elif test $ac_prog = install &&
1911
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1912
            # program-specific install script used by HP pwplus--don't use.
1913
            :
1914
          else
1915
            rm -rf conftest.one conftest.two conftest.dir
1916
            echo one > conftest.one
1917
            echo two > conftest.two
1918
            mkdir conftest.dir
1919
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1920
              test -s conftest.one && test -s conftest.two &&
1921
              test -s conftest.dir/conftest.one &&
1922
              test -s conftest.dir/conftest.two
1923
            then
1924
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1925
              break 3
1926
            fi
1927
          fi
1928
        fi
1929
      done
1930
    done
1931
    ;;
1932
esac
1933
 
1934
done
1935
IFS=$as_save_IFS
1936
 
1937
rm -rf conftest.one conftest.two conftest.dir
1938
 
1939
fi
1940
  if test "${ac_cv_path_install+set}" = set; then
1941
    INSTALL=$ac_cv_path_install
1942
  else
1943
    # As a last resort, use the slow shell script.  Don't cache a
1944
    # value for INSTALL within a source directory, because that will
1945
    # break other packages using the cache if that directory is
1946
    # removed, or if the value is a relative name.
1947
    INSTALL=$ac_install_sh
1948
  fi
1949
fi
1950
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1951
$as_echo "$INSTALL" >&6; }
1952
 
1953
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1954
# It thinks the first close brace ends the variable substitution.
1955
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1956
 
1957
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1958
 
1959
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1960
 
1961
 
1962
# Make sure we can run config.sub.
1963
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1964
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1965
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1966
   { (exit 1); exit 1; }; }
1967
 
1968
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1969
$as_echo_n "checking build system type... " >&6; }
1970
if test "${ac_cv_build+set}" = set; then
1971
  $as_echo_n "(cached) " >&6
1972
else
1973
  ac_build_alias=$build_alias
1974
test "x$ac_build_alias" = x &&
1975
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1976
test "x$ac_build_alias" = x &&
1977
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1978
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1979
   { (exit 1); exit 1; }; }
1980
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1981
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1982
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1983
   { (exit 1); exit 1; }; }
1984
 
1985
fi
1986
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1987
$as_echo "$ac_cv_build" >&6; }
1988
case $ac_cv_build in
1989
*-*-*) ;;
1990
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1991
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1992
   { (exit 1); exit 1; }; };;
1993
esac
1994
build=$ac_cv_build
1995
ac_save_IFS=$IFS; IFS='-'
1996
set x $ac_cv_build
1997
shift
1998
build_cpu=$1
1999
build_vendor=$2
2000
shift; shift
2001
# Remember, the first character of IFS is used to create $*,
2002
# except with old shells:
2003
build_os=$*
2004
IFS=$ac_save_IFS
2005
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2006
 
2007
 
2008
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2009
$as_echo_n "checking host system type... " >&6; }
2010
if test "${ac_cv_host+set}" = set; then
2011
  $as_echo_n "(cached) " >&6
2012
else
2013
  if test "x$host_alias" = x; then
2014
  ac_cv_host=$ac_cv_build
2015
else
2016
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2017
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2018
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2019
   { (exit 1); exit 1; }; }
2020
fi
2021
 
2022
fi
2023
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2024
$as_echo "$ac_cv_host" >&6; }
2025
case $ac_cv_host in
2026
*-*-*) ;;
2027
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2028
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2029
   { (exit 1); exit 1; }; };;
2030
esac
2031
host=$ac_cv_host
2032
ac_save_IFS=$IFS; IFS='-'
2033
set x $ac_cv_host
2034
shift
2035
host_cpu=$1
2036
host_vendor=$2
2037
shift; shift
2038
# Remember, the first character of IFS is used to create $*,
2039
# except with old shells:
2040
host_os=$*
2041
IFS=$ac_save_IFS
2042
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2043
 
2044
 
2045
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
2046
$as_echo_n "checking target system type... " >&6; }
2047
if test "${ac_cv_target+set}" = set; then
2048
  $as_echo_n "(cached) " >&6
2049
else
2050
  if test "x$target_alias" = x; then
2051
  ac_cv_target=$ac_cv_host
2052
else
2053
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2054
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2055
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2056
   { (exit 1); exit 1; }; }
2057
fi
2058
 
2059
fi
2060
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2061
$as_echo "$ac_cv_target" >&6; }
2062
case $ac_cv_target in
2063
*-*-*) ;;
2064
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2065
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2066
   { (exit 1); exit 1; }; };;
2067
esac
2068
target=$ac_cv_target
2069
ac_save_IFS=$IFS; IFS='-'
2070
set x $ac_cv_target
2071
shift
2072
target_cpu=$1
2073
target_vendor=$2
2074
shift; shift
2075
# Remember, the first character of IFS is used to create $*,
2076
# except with old shells:
2077
target_os=$*
2078
IFS=$ac_save_IFS
2079
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2080
 
2081
 
2082
# The aliases save the names the user supplied, while $host etc.
2083
# will get canonicalized.
2084
test -n "$target_alias" &&
2085
  test "$program_prefix$program_suffix$program_transform_name" = \
2086
    NONENONEs,x,x, &&
2087
  program_prefix=${target_alias}-
2088
am__api_version="1.9"
2089
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2090
$as_echo_n "checking whether build environment is sane... " >&6; }
2091
# Just in case
2092
sleep 1
2093
echo timestamp > conftest.file
2094
# Do `set' in a subshell so we don't clobber the current shell's
2095
# arguments.  Must try -L first in case configure is actually a
2096
# symlink; some systems play weird games with the mod time of symlinks
2097
# (eg FreeBSD returns the mod time of the symlink's containing
2098
# directory).
2099
if (
2100
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2101
   if test "$*" = "X"; then
2102
      # -L didn't work.
2103
      set X `ls -t $srcdir/configure conftest.file`
2104
   fi
2105
   rm -f conftest.file
2106
   if test "$*" != "X $srcdir/configure conftest.file" \
2107
      && test "$*" != "X conftest.file $srcdir/configure"; then
2108
 
2109
      # If neither matched, then we have a broken ls.  This can happen
2110
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2111
      # broken ls alias from the environment.  This has actually
2112
      # happened.  Such a system could not be considered "sane".
2113
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2114
alias in your environment" >&5
2115
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2116
alias in your environment" >&2;}
2117
   { (exit 1); exit 1; }; }
2118
   fi
2119
 
2120
   test "$2" = conftest.file
2121
   )
2122
then
2123
   # Ok.
2124
   :
2125
else
2126
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2127
Check your system clock" >&5
2128
$as_echo "$as_me: error: newly created file is older than distributed files!
2129
Check your system clock" >&2;}
2130
   { (exit 1); exit 1; }; }
2131
fi
2132
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2133
$as_echo "yes" >&6; }
2134
test "$program_prefix" != NONE &&
2135
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2136
# Use a double $ so make ignores it.
2137
test "$program_suffix" != NONE &&
2138
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2139
# Double any \ or $.
2140
# By default was `s,x,x', remove it if useless.
2141
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2142
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2143
 
2144
# expand $ac_aux_dir to an absolute path
2145
am_aux_dir=`cd $ac_aux_dir && pwd`
2146
 
2147
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2148
# Use eval to expand $SHELL
2149
if eval "$MISSING --run true"; then
2150
  am_missing_run="$MISSING --run "
2151
else
2152
  am_missing_run=
2153
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2154
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2155
fi
2156
 
2157
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2158
  # We used to keeping the `.' as first argument, in order to
2159
  # allow $(mkdir_p) to be used without argument.  As in
2160
  #   $(mkdir_p) $(somedir)
2161
  # where $(somedir) is conditionally defined.  However this is wrong
2162
  # for two reasons:
2163
  #  1. if the package is installed by a user who cannot write `.'
2164
  #     make install will fail,
2165
  #  2. the above comment should most certainly read
2166
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2167
  #     so it does not work when $(somedir) is undefined and
2168
  #     $(DESTDIR) is not.
2169
  #  To support the latter case, we have to write
2170
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2171
  #  so the `.' trick is pointless.
2172
  mkdir_p='mkdir -p --'
2173
else
2174
  # On NextStep and OpenStep, the `mkdir' command does not
2175
  # recognize any option.  It will interpret all options as
2176
  # directories to create, and then abort because `.' already
2177
  # exists.
2178
  for d in ./-p ./--version;
2179
  do
2180
    test -d $d && rmdir $d
2181
  done
2182
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2183
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2184
    mkdir_p='$(mkinstalldirs)'
2185
  else
2186
    mkdir_p='$(install_sh) -d'
2187
  fi
2188
fi
2189
 
2190
for ac_prog in gawk mawk nawk awk
2191
do
2192
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2193
set dummy $ac_prog; ac_word=$2
2194
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2195
$as_echo_n "checking for $ac_word... " >&6; }
2196
if test "${ac_cv_prog_AWK+set}" = set; then
2197
  $as_echo_n "(cached) " >&6
2198
else
2199
  if test -n "$AWK"; then
2200
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2201
else
2202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2203
for as_dir in $PATH
2204
do
2205
  IFS=$as_save_IFS
2206
  test -z "$as_dir" && as_dir=.
2207
  for ac_exec_ext in '' $ac_executable_extensions; do
2208
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2209
    ac_cv_prog_AWK="$ac_prog"
2210
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211
    break 2
2212
  fi
2213
done
2214
done
2215
IFS=$as_save_IFS
2216
 
2217
fi
2218
fi
2219
AWK=$ac_cv_prog_AWK
2220
if test -n "$AWK"; then
2221
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2222
$as_echo "$AWK" >&6; }
2223
else
2224
  { $as_echo "$as_me:$LINENO: result: no" >&5
2225
$as_echo "no" >&6; }
2226
fi
2227
 
2228
 
2229
  test -n "$AWK" && break
2230
done
2231
 
2232
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2233
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2234
set x ${MAKE-make}
2235
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2236
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2237
  $as_echo_n "(cached) " >&6
2238
else
2239
  cat >conftest.make <<\_ACEOF
2240
SHELL = /bin/sh
2241
all:
2242
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2243
_ACEOF
2244
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2245
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2246
  *@@@%%%=?*=@@@%%%*)
2247
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2248
  *)
2249
    eval ac_cv_prog_make_${ac_make}_set=no;;
2250
esac
2251
rm -f conftest.make
2252
fi
2253
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2254
  { $as_echo "$as_me:$LINENO: result: yes" >&5
2255
$as_echo "yes" >&6; }
2256
  SET_MAKE=
2257
else
2258
  { $as_echo "$as_me:$LINENO: result: no" >&5
2259
$as_echo "no" >&6; }
2260
  SET_MAKE="MAKE=${MAKE-make}"
2261
fi
2262
 
2263
rm -rf .tst 2>/dev/null
2264
mkdir .tst 2>/dev/null
2265
if test -d .tst; then
2266
  am__leading_dot=.
2267
else
2268
  am__leading_dot=_
2269
fi
2270
rmdir .tst 2>/dev/null
2271
 
2272
# test to see if srcdir already configured
2273
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2274
   test -f $srcdir/config.status; then
2275
  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2276
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2277
   { (exit 1); exit 1; }; }
2278
fi
2279
 
2280
# test whether we have cygpath
2281
if test -z "$CYGPATH_W"; then
2282
  if (cygpath --version) >/dev/null 2>/dev/null; then
2283
    CYGPATH_W='cygpath -w'
2284
  else
2285
    CYGPATH_W=echo
2286
  fi
2287
fi
2288
 
2289
 
2290
# Define the identity of the package.
2291
 PACKAGE='libgloss'
2292
 VERSION='LIBGLOSS_VERSION'
2293
 
2294
 
2295
# Some tools Automake needs.
2296
 
2297
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2298
 
2299
 
2300
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2301
 
2302
 
2303
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2304
 
2305
 
2306
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2307
 
2308
 
2309
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2310
 
2311
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2312
 
2313
# Installed binaries are usually stripped using `strip' when the user
2314
# run `make install-strip'.  However `strip' might not be the right
2315
# tool to use in cross-compilation environments, therefore Automake
2316
# will honor the `STRIP' environment variable to overrule this program.
2317
if test "$cross_compiling" != no; then
2318
  if test -n "$ac_tool_prefix"; then
2319
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2320
set dummy ${ac_tool_prefix}strip; ac_word=$2
2321
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2322
$as_echo_n "checking for $ac_word... " >&6; }
2323
if test "${ac_cv_prog_STRIP+set}" = set; then
2324
  $as_echo_n "(cached) " >&6
2325
else
2326
  if test -n "$STRIP"; then
2327
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328
else
2329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330
for as_dir in $PATH
2331
do
2332
  IFS=$as_save_IFS
2333
  test -z "$as_dir" && as_dir=.
2334
  for ac_exec_ext in '' $ac_executable_extensions; do
2335
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2337
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338
    break 2
2339
  fi
2340
done
2341
done
2342
IFS=$as_save_IFS
2343
 
2344
fi
2345
fi
2346
STRIP=$ac_cv_prog_STRIP
2347
if test -n "$STRIP"; then
2348
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2349
$as_echo "$STRIP" >&6; }
2350
else
2351
  { $as_echo "$as_me:$LINENO: result: no" >&5
2352
$as_echo "no" >&6; }
2353
fi
2354
 
2355
 
2356
fi
2357
if test -z "$ac_cv_prog_STRIP"; then
2358
  ac_ct_STRIP=$STRIP
2359
  # Extract the first word of "strip", so it can be a program name with args.
2360
set dummy strip; ac_word=$2
2361
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2362
$as_echo_n "checking for $ac_word... " >&6; }
2363
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2364
  $as_echo_n "(cached) " >&6
2365
else
2366
  if test -n "$ac_ct_STRIP"; then
2367
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2368
else
2369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370
for as_dir in $PATH
2371
do
2372
  IFS=$as_save_IFS
2373
  test -z "$as_dir" && as_dir=.
2374
  for ac_exec_ext in '' $ac_executable_extensions; do
2375
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376
    ac_cv_prog_ac_ct_STRIP="strip"
2377
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378
    break 2
2379
  fi
2380
done
2381
done
2382
IFS=$as_save_IFS
2383
 
2384
fi
2385
fi
2386
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2387
if test -n "$ac_ct_STRIP"; then
2388
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2389
$as_echo "$ac_ct_STRIP" >&6; }
2390
else
2391
  { $as_echo "$as_me:$LINENO: result: no" >&5
2392
$as_echo "no" >&6; }
2393
fi
2394
 
2395
  if test "x$ac_ct_STRIP" = x; then
2396
    STRIP=":"
2397
  else
2398
    case $cross_compiling:$ac_tool_warned in
2399
yes:)
2400
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2401
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2402
ac_tool_warned=yes ;;
2403
esac
2404
    STRIP=$ac_ct_STRIP
2405
  fi
2406
else
2407
  STRIP="$ac_cv_prog_STRIP"
2408
fi
2409
 
2410
fi
2411
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2412
 
2413
# We need awk for the "check" target.  The system "awk" is bad on
2414
# some platforms.
2415
# Always define AMTAR for backward compatibility.
2416
 
2417
AMTAR=${AMTAR-"${am_missing_run}tar"}
2418
 
2419
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2420
 
2421
 
2422
 
2423
 
2424
 
2425
 
2426
if test -z "${with_multisubdir}" ; then
2427
 
2428
 
2429
subdirs="$subdirs doc"
2430
 
2431
fi
2432
 
2433
config_testsuite=true
2434
 
2435
config_libnosys=true
2436
 
2437
case "${target}" in
2438
  i[3456]86-*-elf* | i[3456]86-*-coff*)
2439
        subdirs="$subdirs i386"
2440
 
2441
        ;;
2442
  m32r-*-*)
2443
        subdirs="$subdirs m32r"
2444
 
2445
        ;;
2446
  m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
2447
        subdirs="$subdirs m68hc11"
2448
 
2449
        ;;
2450
  fido-*-* | m68*-*-*)
2451
        subdirs="$subdirs m68k"
2452
 
2453
        ;;
2454
  hppa*-*-pro*)
2455
        subdirs="$subdirs pa"
2456
 
2457
        ;;
2458
  i960-*-coff)
2459
        subdirs="$subdirs i960"
2460
 
2461
        ;;
2462
  sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
2463
        subdirs="$subdirs sparc"
2464
 
2465
        ;;
2466
  sh*-*-pe | mips*-*-pe | *arm-wince-pe)
2467
        subdirs="$subdirs wince"
2468
 
2469
        ;;
2470
  mips*-*-*)
2471
        subdirs="$subdirs mips"
2472
 
2473
        ;;
2474
  powerpc-*-*|powerpcle-*-*)
2475
        subdirs="$subdirs rs6000"
2476
 
2477
        ;;
2478
  mn10200-*-*)
2479
        subdirs="$subdirs mn10200"
2480
 
2481
        ;;
2482
  mn10300-*-*)
2483
        subdirs="$subdirs mn10300"
2484
 
2485
        ;;
2486
  bfin-*-*)
2487
        subdirs="$subdirs bfin"
2488
 
2489
        ;;
2490
  cris-*-* | crisv32-*-*)
2491
        subdirs="$subdirs cris"
2492
 
2493
        ;;
2494
  crx-*-*)
2495
        subdirs="$subdirs crx"
2496
 
2497
        ;;
2498
  d30v-*-*)
2499
        subdirs="$subdirs d30v"
2500
 
2501
        ;;
2502
  fr30-*-*)
2503
        subdirs="$subdirs fr30"
2504
 
2505
        ;;
2506
  frv*-*-*)
2507
        subdirs="$subdirs frv"
2508
 
2509
        ;;
2510
  lm32*-*-*)
2511
        subdirs="$subdirs lm32"
2512
 
2513
        ;;
2514
  mcore-*-*)
2515
        subdirs="$subdirs mcore"
2516
 
2517
        ;;
2518
  mep-*-*)
2519
        subdirs="$subdirs mep"
2520
 
2521
        ;;
2522
  moxie-*-*)
2523
        subdirs="$subdirs moxie"
2524
 
2525
        ;;
2526
  microblaze-*-*)
2527
        subdirs="$subdirs microblaze"
2528
 
2529
        ;;
2530
  mt-*-*)
2531
        subdirs="$subdirs mt"
2532
 
2533
        ;;
2534
  xc16x-*-*)
2535
        subdirs="$subdirs xc16x"
2536
 
2537
        ;;
2538
  xstormy16-*-*)
2539
        subdirs="$subdirs xstormy16"
2540
 
2541
        ;;
2542
  m32c-*-*)
2543
        subdirs="$subdirs m32c"
2544
 
2545
        ;;
2546
  rx*-*-elf)
2547
        subdirs="$subdirs rx"
2548
 
2549
        ;;
2550
  strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
2551
        subdirs="$subdirs arm"
2552
 
2553
        ;;
2554
  spu-*-elf)
2555
        subdirs="$subdirs spu"
2556
 
2557
        config_testsuite=false
2558
        config_libnosys=false
2559
        ;;
2560
  or32-*-*)
2561
        subdirs="$subdirs or32"
2562
 
2563
        config_testsuite=false
2564
        ;;
2565
  iq2000-*-*)
2566
        subdirs="$subdirs iq2000"
2567
 
2568
        ;;
2569
esac
2570
 
2571
 
2572
if test "${config_libnosys}" = "true"; then
2573
  subdirs="$subdirs libnosys"
2574
 
2575
fi
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.