source: trunk/libs/newlib/src/libgloss/sparc_leon/configure @ 690

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

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

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