source: trunk/libs/newlib/src/libgloss/riscv/configure @ 608

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

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

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