source: trunk/libs/newlib/src/libgloss/msp430/configure @ 487

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

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

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