source: trunk/libs/newlib/src/libgloss/mcore/configure @ 444

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

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

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