source: trunk/libs/newlib/src/libgloss/moxie/configure @ 546

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

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

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