source: trunk/libs/newlib/src/libgloss/configure @ 678

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

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

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