source: trunk/libs/newlib/src/libgloss/aarch64/configure @ 586

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

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

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