source: trunk/libs/newlib/src/libgloss/sparc/configure @ 588

Last change on this file since 588 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

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