source: git/libpolys/polys/configure @ 014b65

spielwiese
Last change on this file since 014b65 was 014b65, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
- moved misc,reporter,resources,coeffs,polys -> (new) libpolys (Hans agreed) - migrated to automake in coeffs, misc status: everything builds (except polys) todo: . migrate resources and reporter to automake . create autoconf macros for omalloc, factory, and libpolys
  • Property mode set to 100755
File size: 144.8 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for FULL-PACKAGE-NAME VERSION.
4#
5# Report bugs to <BUG-REPORT-ADDRESS>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10# Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64        expr "X$arg" : "X\\(.*\\)$as_nl";
65        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""        $as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94case $0 in #((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in #(
148  *posix*) :
149    set -o posix ;; #(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177  if (eval "$as_required") 2>/dev/null; then :
178  as_have_required=yes
179else
180  as_have_required=no
181fi
182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189  IFS=$as_save_IFS
190  test -z "$as_dir" && as_dir=.
191  as_found=:
192  case $as_dir in #(
193         /*)
194           for as_base in sh bash ksh sh5; do
195             # Try only shells that exist, to save several forks.
196             as_shell=$as_dir/$as_base
197             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  CONFIG_SHELL=$as_shell as_have_required=yes
200                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201  break 2
202fi
203fi
204           done;;
205       esac
206  as_found=false
207done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210  CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS
213
214
215      if test "x$CONFIG_SHELL" != x; then :
216  # We cannot yet assume a decent shell, so we have to provide a
217        # neutralization value for shells without unset; and this also
218        # works around shells that cannot unset nonexistent variables.
219        BASH_ENV=/dev/null
220        ENV=/dev/null
221        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222        export CONFIG_SHELL
223        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
226    if test x$as_have_required = xno; then :
227  $as_echo "$0: This script requires a shell more modern than all"
228  $as_echo "$0: the shells that I found on your system."
229  if test x${ZSH_VERSION+set} = xset ; then
230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232  else
233    $as_echo "$0: Please tell bug-autoconf@gnu.org and BUG-REPORT-ADDRESS
234$0: about your system, including any error possibly output
235$0: before this message. Then install a modern shell, or
236$0: manually run the script under such a shell if you do
237$0: have one."
238  fi
239  exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257  { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266  return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274  set +e
275  as_fn_set_status $1
276  exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285  case $as_dir in #(
286  -*) as_dir=./$as_dir;;
287  esac
288  test -d "$as_dir" || eval $as_mkdir_p || {
289    as_dirs=
290    while :; do
291      case $as_dir in #(
292      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293      *) as_qdir=$as_dir;;
294      esac
295      as_dirs="'$as_qdir' $as_dirs"
296      as_dir=`$as_dirname -- "$as_dir" ||
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298         X"$as_dir" : 'X\(//\)[^/]' \| \
299         X"$as_dir" : 'X\(//\)$' \| \
300         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301$as_echo X"$as_dir" |
302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303            s//\1/
304            q
305          }
306          /^X\(\/\/\)[^/].*/{
307            s//\1/
308            q
309          }
310          /^X\(\/\/\)$/{
311            s//\1/
312            q
313          }
314          /^X\(\/\).*/{
315            s//\1/
316            q
317          }
318          s/.*/./; q'`
319      test -d "$as_dir" && break
320    done
321    test -z "$as_dirs" || eval "mkdir $as_dirs"
322  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333  eval 'as_fn_append ()
334  {
335    eval $1+=\$2
336  }'
337else
338  as_fn_append ()
339  {
340    eval $1=\$$1\$2
341  }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350  eval 'as_fn_arith ()
351  {
352    as_val=$(( $* ))
353  }'
354else
355  as_fn_arith ()
356  {
357    as_val=`expr "$@" || test $? -eq 1`
358  }
359fi # as_fn_arith
360
361
362# as_fn_error ERROR [LINENO LOG_FD]
363# ---------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0.
367as_fn_error ()
368{
369  as_status=$?; test $as_status -eq 0 && as_status=1
370  if test "$3"; then
371    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373  fi
374  $as_echo "$as_me: error: $1" >&2
375  as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380  as_expr=expr
381else
382  as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386  as_basename=basename
387else
388  as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392  as_dirname=dirname
393else
394  as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399         X"$0" : 'X\(//\)$' \| \
400         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402    sed '/^.*\/\([^/][^/]*\)\/*$/{
403            s//\1/
404            q
405          }
406          /^X\/\(\/\/\)$/{
407            s//\1/
408            q
409          }
410          /^X\/\(\/\).*/{
411            s//\1/
412            q
413          }
414          s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429  sed -n '
430    p
431    /[$]LINENO/=
432  ' <$as_myself |
433    sed '
434      s/[$]LINENO.*/&-/
435      t lineno
436      b
437      :lineno
438      N
439      :loop
440      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441      t loop
442      s/-\n.*//
443    ' >$as_me.lineno &&
444  chmod +x "$as_me.lineno" ||
445    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447  # Don't try to exec as it changes $[0], causing all sort of problems
448  # (the dirname of $[0] is not the place where we might find the
449  # original and so on.  Autoconf is especially sensitive to this).
450  . "./$as_me.lineno"
451  # Exit status is that of the last command.
452  exit
453}
454
455ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((
457-n*)
458  case `echo 'xy\c'` in
459  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460  xy)  ECHO_C='\c';;
461  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462       ECHO_T=' ';;
463  esac;;
464*)
465  ECHO_N='-n';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470  rm -f conf$$.dir/conf$$.file
471else
472  rm -f conf$$.dir
473  mkdir conf$$.dir 2>/dev/null
474fi
475if (echo >conf$$.file) 2>/dev/null; then
476  if ln -s conf$$.file conf$$ 2>/dev/null; then
477    as_ln_s='ln -s'
478    # ... but there are two gotchas:
479    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481    # In both cases, we have to default to `cp -p'.
482    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483      as_ln_s='cp -p'
484  elif ln conf$$.file conf$$ 2>/dev/null; then
485    as_ln_s=ln
486  else
487    as_ln_s='cp -p'
488  fi
489else
490  as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496  as_mkdir_p='mkdir -p "$as_dir"'
497else
498  test -d ./-p && rmdir ./-p
499  as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503  as_test_x='test -x'
504else
505  if ls -dL / >/dev/null 2>&1; then
506    as_ls_L_option=L
507  else
508    as_ls_L_option=
509  fi
510  as_test_x='
511    eval sh -c '\''
512      if test -d "$1"; then
513        test -d "$1/.";
514      else
515        case $1 in #(
516        -*)set "./$1";;
517        esac;
518        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519        ???[sx]*):;;*)false;;esac;fi
520    '\'' sh
521  '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532test -n "$DJDIR" || exec 7<&0 </dev/null
533exec 6>&1
534
535# Name of the host.
536# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537# so uname gets run too.
538ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539
540#
541# Initializations.
542#
543ac_default_prefix=/usr/local
544ac_clean_files=
545ac_config_libobj_dir=.
546LIBOBJS=
547cross_compiling=no
548subdirs=
549MFLAGS=
550MAKEFLAGS=
551
552# Identity of this package.
553PACKAGE_NAME='FULL-PACKAGE-NAME'
554PACKAGE_TARNAME='full-package-name'
555PACKAGE_VERSION='VERSION'
556PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
557PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
558PACKAGE_URL=''
559
560ac_unique_file="longalg.cc"
561# Factoring default headers for most tests.
562ac_includes_default="\
563#include <stdio.h>
564#ifdef HAVE_SYS_TYPES_H
565# include <sys/types.h>
566#endif
567#ifdef HAVE_SYS_STAT_H
568# include <sys/stat.h>
569#endif
570#ifdef STDC_HEADERS
571# include <stdlib.h>
572# include <stddef.h>
573#else
574# ifdef HAVE_STDLIB_H
575#  include <stdlib.h>
576# endif
577#endif
578#ifdef HAVE_STRING_H
579# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580#  include <memory.h>
581# endif
582# include <string.h>
583#endif
584#ifdef HAVE_STRINGS_H
585# include <strings.h>
586#endif
587#ifdef HAVE_INTTYPES_H
588# include <inttypes.h>
589#endif
590#ifdef HAVE_STDINT_H
591# include <stdint.h>
592#endif
593#ifdef HAVE_UNISTD_H
594# include <unistd.h>
595#endif"
596
597ac_subst_vars='LTLIBOBJS
598LIBOBJS
599EGREP
600GREP
601CPP
602LN_S
603ac_ct_CC
604CFLAGS
605CC
606OBJEXT
607EXEEXT
608ac_ct_CXX
609CPPFLAGS
610LDFLAGS
611CXXFLAGS
612CXX
613target_alias
614host_alias
615build_alias
616LIBS
617ECHO_T
618ECHO_N
619ECHO_C
620DEFS
621mandir
622localedir
623libdir
624psdir
625pdfdir
626dvidir
627htmldir
628infodir
629docdir
630oldincludedir
631includedir
632localstatedir
633sharedstatedir
634sysconfdir
635datadir
636datarootdir
637libexecdir
638sbindir
639bindir
640program_transform_name
641prefix
642exec_prefix
643PACKAGE_URL
644PACKAGE_BUGREPORT
645PACKAGE_STRING
646PACKAGE_VERSION
647PACKAGE_TARNAME
648PACKAGE_NAME
649PATH_SEPARATOR
650SHELL'
651ac_subst_files=''
652ac_user_opts='
653enable_option_checking
654'
655      ac_precious_vars='build_alias
656host_alias
657target_alias
658CXX
659CXXFLAGS
660LDFLAGS
661LIBS
662CPPFLAGS
663CCC
664CC
665CFLAGS
666CPP'
667
668
669# Initialize some variables set by options.
670ac_init_help=
671ac_init_version=false
672ac_unrecognized_opts=
673ac_unrecognized_sep=
674# The variables have the same names as the options, with
675# dashes changed to underlines.
676cache_file=/dev/null
677exec_prefix=NONE
678no_create=
679no_recursion=
680prefix=NONE
681program_prefix=NONE
682program_suffix=NONE
683program_transform_name=s,x,x,
684silent=
685site=
686srcdir=
687verbose=
688x_includes=NONE
689x_libraries=NONE
690
691# Installation directory options.
692# These are left unexpanded so users can "make install exec_prefix=/foo"
693# and all the variables that are supposed to be based on exec_prefix
694# by default will actually change.
695# Use braces instead of parens because sh, perl, etc. also accept them.
696# (The list follows the same order as the GNU Coding Standards.)
697bindir='${exec_prefix}/bin'
698sbindir='${exec_prefix}/sbin'
699libexecdir='${exec_prefix}/libexec'
700datarootdir='${prefix}/share'
701datadir='${datarootdir}'
702sysconfdir='${prefix}/etc'
703sharedstatedir='${prefix}/com'
704localstatedir='${prefix}/var'
705includedir='${prefix}/include'
706oldincludedir='/usr/include'
707docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
708infodir='${datarootdir}/info'
709htmldir='${docdir}'
710dvidir='${docdir}'
711pdfdir='${docdir}'
712psdir='${docdir}'
713libdir='${exec_prefix}/lib'
714localedir='${datarootdir}/locale'
715mandir='${datarootdir}/man'
716
717ac_prev=
718ac_dashdash=
719for ac_option
720do
721  # If the previous option needs an argument, assign it.
722  if test -n "$ac_prev"; then
723    eval $ac_prev=\$ac_option
724    ac_prev=
725    continue
726  fi
727
728  case $ac_option in
729  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730  *)    ac_optarg=yes ;;
731  esac
732
733  # Accept the important Cygnus configure options, so we can diagnose typos.
734
735  case $ac_dashdash$ac_option in
736  --)
737    ac_dashdash=yes ;;
738
739  -bindir | --bindir | --bindi | --bind | --bin | --bi)
740    ac_prev=bindir ;;
741  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
742    bindir=$ac_optarg ;;
743
744  -build | --build | --buil | --bui | --bu)
745    ac_prev=build_alias ;;
746  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
747    build_alias=$ac_optarg ;;
748
749  -cache-file | --cache-file | --cache-fil | --cache-fi \
750  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751    ac_prev=cache_file ;;
752  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754    cache_file=$ac_optarg ;;
755
756  --config-cache | -C)
757    cache_file=config.cache ;;
758
759  -datadir | --datadir | --datadi | --datad)
760    ac_prev=datadir ;;
761  -datadir=* | --datadir=* | --datadi=* | --datad=*)
762    datadir=$ac_optarg ;;
763
764  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765  | --dataroo | --dataro | --datar)
766    ac_prev=datarootdir ;;
767  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769    datarootdir=$ac_optarg ;;
770
771  -disable-* | --disable-*)
772    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773    # Reject names that are not valid shell variable names.
774    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
775      as_fn_error "invalid feature name: $ac_useropt"
776    ac_useropt_orig=$ac_useropt
777    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
778    case $ac_user_opts in
779      *"
780"enable_$ac_useropt"
781"*) ;;
782      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
783         ac_unrecognized_sep=', ';;
784    esac
785    eval enable_$ac_useropt=no ;;
786
787  -docdir | --docdir | --docdi | --doc | --do)
788    ac_prev=docdir ;;
789  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
790    docdir=$ac_optarg ;;
791
792  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
793    ac_prev=dvidir ;;
794  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
795    dvidir=$ac_optarg ;;
796
797  -enable-* | --enable-*)
798    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
799    # Reject names that are not valid shell variable names.
800    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
801      as_fn_error "invalid feature name: $ac_useropt"
802    ac_useropt_orig=$ac_useropt
803    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
804    case $ac_user_opts in
805      *"
806"enable_$ac_useropt"
807"*) ;;
808      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
809         ac_unrecognized_sep=', ';;
810    esac
811    eval enable_$ac_useropt=\$ac_optarg ;;
812
813  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
814  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
815  | --exec | --exe | --ex)
816    ac_prev=exec_prefix ;;
817  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
818  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
819  | --exec=* | --exe=* | --ex=*)
820    exec_prefix=$ac_optarg ;;
821
822  -gas | --gas | --ga | --g)
823    # Obsolete; use --with-gas.
824    with_gas=yes ;;
825
826  -help | --help | --hel | --he | -h)
827    ac_init_help=long ;;
828  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
829    ac_init_help=recursive ;;
830  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
831    ac_init_help=short ;;
832
833  -host | --host | --hos | --ho)
834    ac_prev=host_alias ;;
835  -host=* | --host=* | --hos=* | --ho=*)
836    host_alias=$ac_optarg ;;
837
838  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
839    ac_prev=htmldir ;;
840  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
841  | --ht=*)
842    htmldir=$ac_optarg ;;
843
844  -includedir | --includedir | --includedi | --included | --include \
845  | --includ | --inclu | --incl | --inc)
846    ac_prev=includedir ;;
847  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
848  | --includ=* | --inclu=* | --incl=* | --inc=*)
849    includedir=$ac_optarg ;;
850
851  -infodir | --infodir | --infodi | --infod | --info | --inf)
852    ac_prev=infodir ;;
853  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
854    infodir=$ac_optarg ;;
855
856  -libdir | --libdir | --libdi | --libd)
857    ac_prev=libdir ;;
858  -libdir=* | --libdir=* | --libdi=* | --libd=*)
859    libdir=$ac_optarg ;;
860
861  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
862  | --libexe | --libex | --libe)
863    ac_prev=libexecdir ;;
864  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
865  | --libexe=* | --libex=* | --libe=*)
866    libexecdir=$ac_optarg ;;
867
868  -localedir | --localedir | --localedi | --localed | --locale)
869    ac_prev=localedir ;;
870  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
871    localedir=$ac_optarg ;;
872
873  -localstatedir | --localstatedir | --localstatedi | --localstated \
874  | --localstate | --localstat | --localsta | --localst | --locals)
875    ac_prev=localstatedir ;;
876  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
877  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
878    localstatedir=$ac_optarg ;;
879
880  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
881    ac_prev=mandir ;;
882  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
883    mandir=$ac_optarg ;;
884
885  -nfp | --nfp | --nf)
886    # Obsolete; use --without-fp.
887    with_fp=no ;;
888
889  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
890  | --no-cr | --no-c | -n)
891    no_create=yes ;;
892
893  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
894  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
895    no_recursion=yes ;;
896
897  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
898  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
899  | --oldin | --oldi | --old | --ol | --o)
900    ac_prev=oldincludedir ;;
901  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
902  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
903  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
904    oldincludedir=$ac_optarg ;;
905
906  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
907    ac_prev=prefix ;;
908  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
909    prefix=$ac_optarg ;;
910
911  -program-prefix | --program-prefix | --program-prefi | --program-pref \
912  | --program-pre | --program-pr | --program-p)
913    ac_prev=program_prefix ;;
914  -program-prefix=* | --program-prefix=* | --program-prefi=* \
915  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
916    program_prefix=$ac_optarg ;;
917
918  -program-suffix | --program-suffix | --program-suffi | --program-suff \
919  | --program-suf | --program-su | --program-s)
920    ac_prev=program_suffix ;;
921  -program-suffix=* | --program-suffix=* | --program-suffi=* \
922  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
923    program_suffix=$ac_optarg ;;
924
925  -program-transform-name | --program-transform-name \
926  | --program-transform-nam | --program-transform-na \
927  | --program-transform-n | --program-transform- \
928  | --program-transform | --program-transfor \
929  | --program-transfo | --program-transf \
930  | --program-trans | --program-tran \
931  | --progr-tra | --program-tr | --program-t)
932    ac_prev=program_transform_name ;;
933  -program-transform-name=* | --program-transform-name=* \
934  | --program-transform-nam=* | --program-transform-na=* \
935  | --program-transform-n=* | --program-transform-=* \
936  | --program-transform=* | --program-transfor=* \
937  | --program-transfo=* | --program-transf=* \
938  | --program-trans=* | --program-tran=* \
939  | --progr-tra=* | --program-tr=* | --program-t=*)
940    program_transform_name=$ac_optarg ;;
941
942  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
943    ac_prev=pdfdir ;;
944  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
945    pdfdir=$ac_optarg ;;
946
947  -psdir | --psdir | --psdi | --psd | --ps)
948    ac_prev=psdir ;;
949  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
950    psdir=$ac_optarg ;;
951
952  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
953  | -silent | --silent | --silen | --sile | --sil)
954    silent=yes ;;
955
956  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
957    ac_prev=sbindir ;;
958  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
959  | --sbi=* | --sb=*)
960    sbindir=$ac_optarg ;;
961
962  -sharedstatedir | --sharedstatedir | --sharedstatedi \
963  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
964  | --sharedst | --shareds | --shared | --share | --shar \
965  | --sha | --sh)
966    ac_prev=sharedstatedir ;;
967  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
968  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
969  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
970  | --sha=* | --sh=*)
971    sharedstatedir=$ac_optarg ;;
972
973  -site | --site | --sit)
974    ac_prev=site ;;
975  -site=* | --site=* | --sit=*)
976    site=$ac_optarg ;;
977
978  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
979    ac_prev=srcdir ;;
980  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
981    srcdir=$ac_optarg ;;
982
983  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
984  | --syscon | --sysco | --sysc | --sys | --sy)
985    ac_prev=sysconfdir ;;
986  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
987  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
988    sysconfdir=$ac_optarg ;;
989
990  -target | --target | --targe | --targ | --tar | --ta | --t)
991    ac_prev=target_alias ;;
992  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
993    target_alias=$ac_optarg ;;
994
995  -v | -verbose | --verbose | --verbos | --verbo | --verb)
996    verbose=yes ;;
997
998  -version | --version | --versio | --versi | --vers | -V)
999    ac_init_version=: ;;
1000
1001  -with-* | --with-*)
1002    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1003    # Reject names that are not valid shell variable names.
1004    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005      as_fn_error "invalid package name: $ac_useropt"
1006    ac_useropt_orig=$ac_useropt
1007    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008    case $ac_user_opts in
1009      *"
1010"with_$ac_useropt"
1011"*) ;;
1012      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1013         ac_unrecognized_sep=', ';;
1014    esac
1015    eval with_$ac_useropt=\$ac_optarg ;;
1016
1017  -without-* | --without-*)
1018    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1019    # Reject names that are not valid shell variable names.
1020    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021      as_fn_error "invalid package name: $ac_useropt"
1022    ac_useropt_orig=$ac_useropt
1023    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024    case $ac_user_opts in
1025      *"
1026"with_$ac_useropt"
1027"*) ;;
1028      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1029         ac_unrecognized_sep=', ';;
1030    esac
1031    eval with_$ac_useropt=no ;;
1032
1033  --x)
1034    # Obsolete; use --with-x.
1035    with_x=yes ;;
1036
1037  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1038  | --x-incl | --x-inc | --x-in | --x-i)
1039    ac_prev=x_includes ;;
1040  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1041  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1042    x_includes=$ac_optarg ;;
1043
1044  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1045  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1046    ac_prev=x_libraries ;;
1047  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1048  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1049    x_libraries=$ac_optarg ;;
1050
1051  -*) as_fn_error "unrecognized option: \`$ac_option'
1052Try \`$0 --help' for more information."
1053    ;;
1054
1055  *=*)
1056    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1057    # Reject names that are not valid shell variable names.
1058    case $ac_envvar in #(
1059      '' | [0-9]* | *[!_$as_cr_alnum]* )
1060      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1061    esac
1062    eval $ac_envvar=\$ac_optarg
1063    export $ac_envvar ;;
1064
1065  *)
1066    # FIXME: should be removed in autoconf 3.0.
1067    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1068    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1070    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1071    ;;
1072
1073  esac
1074done
1075
1076if test -n "$ac_prev"; then
1077  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1078  as_fn_error "missing argument to $ac_option"
1079fi
1080
1081if test -n "$ac_unrecognized_opts"; then
1082  case $enable_option_checking in
1083    no) ;;
1084    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1085    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1086  esac
1087fi
1088
1089# Check all directory arguments for consistency.
1090for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1091                datadir sysconfdir sharedstatedir localstatedir includedir \
1092                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1093                libdir localedir mandir
1094do
1095  eval ac_val=\$$ac_var
1096  # Remove trailing slashes.
1097  case $ac_val in
1098    */ )
1099      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1100      eval $ac_var=\$ac_val;;
1101  esac
1102  # Be sure to have absolute directory names.
1103  case $ac_val in
1104    [\\/$]* | ?:[\\/]* )  continue;;
1105    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1106  esac
1107  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1108done
1109
1110# There might be people who depend on the old broken behavior: `$host'
1111# used to hold the argument of --host etc.
1112# FIXME: To remove some day.
1113build=$build_alias
1114host=$host_alias
1115target=$target_alias
1116
1117# FIXME: To remove some day.
1118if test "x$host_alias" != x; then
1119  if test "x$build_alias" = x; then
1120    cross_compiling=maybe
1121    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122    If a cross compiler is detected then cross compile mode will be used." >&2
1123  elif test "x$build_alias" != "x$host_alias"; then
1124    cross_compiling=yes
1125  fi
1126fi
1127
1128ac_tool_prefix=
1129test -n "$host_alias" && ac_tool_prefix=$host_alias-
1130
1131test "$silent" = yes && exec 6>/dev/null
1132
1133
1134ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135ac_ls_di=`ls -di .` &&
1136ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137  as_fn_error "working directory cannot be determined"
1138test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1139  as_fn_error "pwd does not report name of working directory"
1140
1141
1142# Find the source files, if location was not specified.
1143if test -z "$srcdir"; then
1144  ac_srcdir_defaulted=yes
1145  # Try the directory containing this script, then the parent directory.
1146  ac_confdir=`$as_dirname -- "$as_myself" ||
1147$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148         X"$as_myself" : 'X\(//\)[^/]' \| \
1149         X"$as_myself" : 'X\(//\)$' \| \
1150         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1151$as_echo X"$as_myself" |
1152    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1153            s//\1/
1154            q
1155          }
1156          /^X\(\/\/\)[^/].*/{
1157            s//\1/
1158            q
1159          }
1160          /^X\(\/\/\)$/{
1161            s//\1/
1162            q
1163          }
1164          /^X\(\/\).*/{
1165            s//\1/
1166            q
1167          }
1168          s/.*/./; q'`
1169  srcdir=$ac_confdir
1170  if test ! -r "$srcdir/$ac_unique_file"; then
1171    srcdir=..
1172  fi
1173else
1174  ac_srcdir_defaulted=no
1175fi
1176if test ! -r "$srcdir/$ac_unique_file"; then
1177  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1178  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1179fi
1180ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1181ac_abs_confdir=`(
1182        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1183        pwd)`
1184# When building in place, set srcdir=.
1185if test "$ac_abs_confdir" = "$ac_pwd"; then
1186  srcdir=.
1187fi
1188# Remove unnecessary trailing slashes from srcdir.
1189# Double slashes in file names in object file debugging info
1190# mess up M-x gdb in Emacs.
1191case $srcdir in
1192*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1193esac
1194for ac_var in $ac_precious_vars; do
1195  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196  eval ac_env_${ac_var}_value=\$${ac_var}
1197  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1199done
1200
1201#
1202# Report the --help message.
1203#
1204if test "$ac_init_help" = "long"; then
1205  # Omit some internal or obsolete options to make the list less imposing.
1206  # This message is too long to be a string in the A/UX 3.1 sh.
1207  cat <<_ACEOF
1208\`configure' configures FULL-PACKAGE-NAME VERSION to adapt to many kinds of systems.
1209
1210Usage: $0 [OPTION]... [VAR=VALUE]...
1211
1212To assign environment variables (e.g., CC, CFLAGS...), specify them as
1213VAR=VALUE.  See below for descriptions of some of the useful variables.
1214
1215Defaults for the options are specified in brackets.
1216
1217Configuration:
1218  -h, --help              display this help and exit
1219      --help=short        display options specific to this package
1220      --help=recursive    display the short help of all the included packages
1221  -V, --version           display version information and exit
1222  -q, --quiet, --silent   do not print \`checking...' messages
1223      --cache-file=FILE   cache test results in FILE [disabled]
1224  -C, --config-cache      alias for \`--cache-file=config.cache'
1225  -n, --no-create         do not create output files
1226      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1227
1228Installation directories:
1229  --prefix=PREFIX         install architecture-independent files in PREFIX
1230                          [$ac_default_prefix]
1231  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1232                          [PREFIX]
1233
1234By default, \`make install' will install all the files in
1235\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1236an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1237for instance \`--prefix=\$HOME'.
1238
1239For better control, use the options below.
1240
1241Fine tuning of the installation directories:
1242  --bindir=DIR            user executables [EPREFIX/bin]
1243  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1244  --libexecdir=DIR        program executables [EPREFIX/libexec]
1245  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1246  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1247  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1248  --libdir=DIR            object code libraries [EPREFIX/lib]
1249  --includedir=DIR        C header files [PREFIX/include]
1250  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1251  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1252  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1253  --infodir=DIR           info documentation [DATAROOTDIR/info]
1254  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1255  --mandir=DIR            man documentation [DATAROOTDIR/man]
1256  --docdir=DIR            documentation root
1257                          [DATAROOTDIR/doc/full-package-name]
1258  --htmldir=DIR           html documentation [DOCDIR]
1259  --dvidir=DIR            dvi documentation [DOCDIR]
1260  --pdfdir=DIR            pdf documentation [DOCDIR]
1261  --psdir=DIR             ps documentation [DOCDIR]
1262_ACEOF
1263
1264  cat <<\_ACEOF
1265_ACEOF
1266fi
1267
1268if test -n "$ac_init_help"; then
1269  case $ac_init_help in
1270     short | recursive ) echo "Configuration of FULL-PACKAGE-NAME VERSION:";;
1271   esac
1272  cat <<\_ACEOF
1273
1274Some influential environment variables:
1275  CXX         C++ compiler command
1276  CXXFLAGS    C++ compiler flags
1277  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1278              nonstandard directory <lib dir>
1279  LIBS        libraries to pass to the linker, e.g. -l<library>
1280  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1281              you have headers in a nonstandard directory <include dir>
1282  CC          C compiler command
1283  CFLAGS      C compiler flags
1284  CPP         C preprocessor
1285
1286Use these variables to override the choices made by `configure' or to help
1287it to find libraries and programs with nonstandard names/locations.
1288
1289Report bugs to <BUG-REPORT-ADDRESS>.
1290_ACEOF
1291ac_status=$?
1292fi
1293
1294if test "$ac_init_help" = "recursive"; then
1295  # If there are subdirs, report their specific --help.
1296  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1297    test -d "$ac_dir" ||
1298      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1299      continue
1300    ac_builddir=.
1301
1302case "$ac_dir" in
1303.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304*)
1305  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1306  # A ".." for each directory in $ac_dir_suffix.
1307  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1308  case $ac_top_builddir_sub in
1309  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1310  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1311  esac ;;
1312esac
1313ac_abs_top_builddir=$ac_pwd
1314ac_abs_builddir=$ac_pwd$ac_dir_suffix
1315# for backward compatibility:
1316ac_top_builddir=$ac_top_build_prefix
1317
1318case $srcdir in
1319  .)  # We are building in place.
1320    ac_srcdir=.
1321    ac_top_srcdir=$ac_top_builddir_sub
1322    ac_abs_top_srcdir=$ac_pwd ;;
1323  [\\/]* | ?:[\\/]* )  # Absolute name.
1324    ac_srcdir=$srcdir$ac_dir_suffix;
1325    ac_top_srcdir=$srcdir
1326    ac_abs_top_srcdir=$srcdir ;;
1327  *) # Relative name.
1328    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1329    ac_top_srcdir=$ac_top_build_prefix$srcdir
1330    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1331esac
1332ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1333
1334    cd "$ac_dir" || { ac_status=$?; continue; }
1335    # Check for guested configure.
1336    if test -f "$ac_srcdir/configure.gnu"; then
1337      echo &&
1338      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1339    elif test -f "$ac_srcdir/configure"; then
1340      echo &&
1341      $SHELL "$ac_srcdir/configure" --help=recursive
1342    else
1343      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1344    fi || ac_status=$?
1345    cd "$ac_pwd" || { ac_status=$?; break; }
1346  done
1347fi
1348
1349test -n "$ac_init_help" && exit $ac_status
1350if $ac_init_version; then
1351  cat <<\_ACEOF
1352FULL-PACKAGE-NAME configure VERSION
1353generated by GNU Autoconf 2.65
1354
1355Copyright (C) 2009 Free Software Foundation, Inc.
1356This configure script is free software; the Free Software Foundation
1357gives unlimited permission to copy, distribute and modify it.
1358_ACEOF
1359  exit
1360fi
1361
1362## ------------------------ ##
1363## Autoconf initialization. ##
1364## ------------------------ ##
1365
1366# ac_fn_cxx_try_compile LINENO
1367# ----------------------------
1368# Try to compile conftest.$ac_ext, and return whether this succeeded.
1369ac_fn_cxx_try_compile ()
1370{
1371  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1372  rm -f conftest.$ac_objext
1373  if { { ac_try="$ac_compile"
1374case "(($ac_try" in
1375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1376  *) ac_try_echo=$ac_try;;
1377esac
1378eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1379$as_echo "$ac_try_echo"; } >&5
1380  (eval "$ac_compile") 2>conftest.err
1381  ac_status=$?
1382  if test -s conftest.err; then
1383    grep -v '^ *+' conftest.err >conftest.er1
1384    cat conftest.er1 >&5
1385    mv -f conftest.er1 conftest.err
1386  fi
1387  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1388  test $ac_status = 0; } && {
1389         test -z "$ac_cxx_werror_flag" ||
1390         test ! -s conftest.err
1391       } && test -s conftest.$ac_objext; then :
1392  ac_retval=0
1393else
1394  $as_echo "$as_me: failed program was:" >&5
1395sed 's/^/| /' conftest.$ac_ext >&5
1396
1397        ac_retval=1
1398fi
1399  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1400  as_fn_set_status $ac_retval
1401
1402} # ac_fn_cxx_try_compile
1403
1404# ac_fn_c_try_compile LINENO
1405# --------------------------
1406# Try to compile conftest.$ac_ext, and return whether this succeeded.
1407ac_fn_c_try_compile ()
1408{
1409  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1410  rm -f conftest.$ac_objext
1411  if { { ac_try="$ac_compile"
1412case "(($ac_try" in
1413  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1414  *) ac_try_echo=$ac_try;;
1415esac
1416eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1417$as_echo "$ac_try_echo"; } >&5
1418  (eval "$ac_compile") 2>conftest.err
1419  ac_status=$?
1420  if test -s conftest.err; then
1421    grep -v '^ *+' conftest.err >conftest.er1
1422    cat conftest.er1 >&5
1423    mv -f conftest.er1 conftest.err
1424  fi
1425  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1426  test $ac_status = 0; } && {
1427         test -z "$ac_c_werror_flag" ||
1428         test ! -s conftest.err
1429       } && test -s conftest.$ac_objext; then :
1430  ac_retval=0
1431else
1432  $as_echo "$as_me: failed program was:" >&5
1433sed 's/^/| /' conftest.$ac_ext >&5
1434
1435        ac_retval=1
1436fi
1437  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1438  as_fn_set_status $ac_retval
1439
1440} # ac_fn_c_try_compile
1441
1442# ac_fn_c_try_cpp LINENO
1443# ----------------------
1444# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1445ac_fn_c_try_cpp ()
1446{
1447  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1448  if { { ac_try="$ac_cpp conftest.$ac_ext"
1449case "(($ac_try" in
1450  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451  *) ac_try_echo=$ac_try;;
1452esac
1453eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454$as_echo "$ac_try_echo"; } >&5
1455  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1456  ac_status=$?
1457  if test -s conftest.err; then
1458    grep -v '^ *+' conftest.err >conftest.er1
1459    cat conftest.er1 >&5
1460    mv -f conftest.er1 conftest.err
1461  fi
1462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463  test $ac_status = 0; } >/dev/null && {
1464         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1465         test ! -s conftest.err
1466       }; then :
1467  ac_retval=0
1468else
1469  $as_echo "$as_me: failed program was:" >&5
1470sed 's/^/| /' conftest.$ac_ext >&5
1471
1472    ac_retval=1
1473fi
1474  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1475  as_fn_set_status $ac_retval
1476
1477} # ac_fn_c_try_cpp
1478
1479# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1480# -------------------------------------------------------
1481# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1482# the include files in INCLUDES and setting the cache variable VAR
1483# accordingly.
1484ac_fn_c_check_header_mongrel ()
1485{
1486  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1488  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1489$as_echo_n "checking for $2... " >&6; }
1490if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1491  $as_echo_n "(cached) " >&6
1492fi
1493eval ac_res=\$$3
1494               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1495$as_echo "$ac_res" >&6; }
1496else
1497  # Is the header compilable?
1498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1499$as_echo_n "checking $2 usability... " >&6; }
1500cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1501/* end confdefs.h.  */
1502$4
1503#include <$2>
1504_ACEOF
1505if ac_fn_c_try_compile "$LINENO"; then :
1506  ac_header_compiler=yes
1507else
1508  ac_header_compiler=no
1509fi
1510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1512$as_echo "$ac_header_compiler" >&6; }
1513
1514# Is the header present?
1515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1516$as_echo_n "checking $2 presence... " >&6; }
1517cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1518/* end confdefs.h.  */
1519#include <$2>
1520_ACEOF
1521if ac_fn_c_try_cpp "$LINENO"; then :
1522  ac_header_preproc=yes
1523else
1524  ac_header_preproc=no
1525fi
1526rm -f conftest.err conftest.$ac_ext
1527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1528$as_echo "$ac_header_preproc" >&6; }
1529
1530# So?  What about this header?
1531case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1532  yes:no: )
1533    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1534$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1535    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1536$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1537    ;;
1538  no:yes:* )
1539    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1540$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1541    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1542$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1543    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1544$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1545    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1546$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1547    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1548$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1549( cat <<\_ASBOX
1550## --------------------------------- ##
1551## Report this to BUG-REPORT-ADDRESS ##
1552## --------------------------------- ##
1553_ASBOX
1554     ) | sed "s/^/$as_me: WARNING:     /" >&2
1555    ;;
1556esac
1557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1558$as_echo_n "checking for $2... " >&6; }
1559if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1560  $as_echo_n "(cached) " >&6
1561else
1562  eval "$3=\$ac_header_compiler"
1563fi
1564eval ac_res=\$$3
1565               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1566$as_echo "$ac_res" >&6; }
1567fi
1568  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1569
1570} # ac_fn_c_check_header_mongrel
1571
1572# ac_fn_c_try_run LINENO
1573# ----------------------
1574# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1575# that executables *can* be run.
1576ac_fn_c_try_run ()
1577{
1578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579  if { { ac_try="$ac_link"
1580case "(($ac_try" in
1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582  *) ac_try_echo=$ac_try;;
1583esac
1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585$as_echo "$ac_try_echo"; } >&5
1586  (eval "$ac_link") 2>&5
1587  ac_status=$?
1588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1590  { { case "(($ac_try" in
1591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592  *) ac_try_echo=$ac_try;;
1593esac
1594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595$as_echo "$ac_try_echo"; } >&5
1596  (eval "$ac_try") 2>&5
1597  ac_status=$?
1598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599  test $ac_status = 0; }; }; then :
1600  ac_retval=0
1601else
1602  $as_echo "$as_me: program exited with status $ac_status" >&5
1603       $as_echo "$as_me: failed program was:" >&5
1604sed 's/^/| /' conftest.$ac_ext >&5
1605
1606       ac_retval=$ac_status
1607fi
1608  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1609  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1610  as_fn_set_status $ac_retval
1611
1612} # ac_fn_c_try_run
1613
1614# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1615# -------------------------------------------------------
1616# Tests whether HEADER exists and can be compiled using the include files in
1617# INCLUDES, setting the cache variable VAR accordingly.
1618ac_fn_c_check_header_compile ()
1619{
1620  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622$as_echo_n "checking for $2... " >&6; }
1623if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1624  $as_echo_n "(cached) " >&6
1625else
1626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627/* end confdefs.h.  */
1628$4
1629#include <$2>
1630_ACEOF
1631if ac_fn_c_try_compile "$LINENO"; then :
1632  eval "$3=yes"
1633else
1634  eval "$3=no"
1635fi
1636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637fi
1638eval ac_res=\$$3
1639               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640$as_echo "$ac_res" >&6; }
1641  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1642
1643} # ac_fn_c_check_header_compile
1644
1645# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1646# -------------------------------------------
1647# Tests whether TYPE exists after having included INCLUDES, setting cache
1648# variable VAR accordingly.
1649ac_fn_c_check_type ()
1650{
1651  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1653$as_echo_n "checking for $2... " >&6; }
1654if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1655  $as_echo_n "(cached) " >&6
1656else
1657  eval "$3=no"
1658  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1659/* end confdefs.h.  */
1660$4
1661int
1662main ()
1663{
1664if (sizeof ($2))
1665         return 0;
1666  ;
1667  return 0;
1668}
1669_ACEOF
1670if ac_fn_c_try_compile "$LINENO"; then :
1671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672/* end confdefs.h.  */
1673$4
1674int
1675main ()
1676{
1677if (sizeof (($2)))
1678            return 0;
1679  ;
1680  return 0;
1681}
1682_ACEOF
1683if ac_fn_c_try_compile "$LINENO"; then :
1684
1685else
1686  eval "$3=yes"
1687fi
1688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1689fi
1690rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1691fi
1692eval ac_res=\$$3
1693               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694$as_echo "$ac_res" >&6; }
1695  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696
1697} # ac_fn_c_check_type
1698
1699# ac_fn_c_try_link LINENO
1700# -----------------------
1701# Try to link conftest.$ac_ext, and return whether this succeeded.
1702ac_fn_c_try_link ()
1703{
1704  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705  rm -f conftest.$ac_objext conftest$ac_exeext
1706  if { { ac_try="$ac_link"
1707case "(($ac_try" in
1708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709  *) ac_try_echo=$ac_try;;
1710esac
1711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712$as_echo "$ac_try_echo"; } >&5
1713  (eval "$ac_link") 2>conftest.err
1714  ac_status=$?
1715  if test -s conftest.err; then
1716    grep -v '^ *+' conftest.err >conftest.er1
1717    cat conftest.er1 >&5
1718    mv -f conftest.er1 conftest.err
1719  fi
1720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721  test $ac_status = 0; } && {
1722         test -z "$ac_c_werror_flag" ||
1723         test ! -s conftest.err
1724       } && test -s conftest$ac_exeext && {
1725         test "$cross_compiling" = yes ||
1726         $as_test_x conftest$ac_exeext
1727       }; then :
1728  ac_retval=0
1729else
1730  $as_echo "$as_me: failed program was:" >&5
1731sed 's/^/| /' conftest.$ac_ext >&5
1732
1733        ac_retval=1
1734fi
1735  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1736  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1737  # interfere with the next link command; also delete a directory that is
1738  # left behind by Apple's compiler.  We do this before executing the actions.
1739  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1741  as_fn_set_status $ac_retval
1742
1743} # ac_fn_c_try_link
1744
1745# ac_fn_c_check_func LINENO FUNC VAR
1746# ----------------------------------
1747# Tests whether FUNC exists, setting the cache variable VAR accordingly
1748ac_fn_c_check_func ()
1749{
1750  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752$as_echo_n "checking for $2... " >&6; }
1753if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1754  $as_echo_n "(cached) " >&6
1755else
1756  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757/* end confdefs.h.  */
1758/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1759   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1760#define $2 innocuous_$2
1761
1762/* System header to define __stub macros and hopefully few prototypes,
1763    which can conflict with char $2 (); below.
1764    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1765    <limits.h> exists even on freestanding compilers.  */
1766
1767#ifdef __STDC__
1768# include <limits.h>
1769#else
1770# include <assert.h>
1771#endif
1772
1773#undef $2
1774
1775/* Override any GCC internal prototype to avoid an error.
1776   Use char because int might match the return type of a GCC
1777   builtin and then its argument prototype would still apply.  */
1778#ifdef __cplusplus
1779extern "C"
1780#endif
1781char $2 ();
1782/* The GNU C library defines this for functions which it implements
1783    to always fail with ENOSYS.  Some functions are actually named
1784    something starting with __ and the normal name is an alias.  */
1785#if defined __stub_$2 || defined __stub___$2
1786choke me
1787#endif
1788
1789int
1790main ()
1791{
1792return $2 ();
1793  ;
1794  return 0;
1795}
1796_ACEOF
1797if ac_fn_c_try_link "$LINENO"; then :
1798  eval "$3=yes"
1799else
1800  eval "$3=no"
1801fi
1802rm -f core conftest.err conftest.$ac_objext \
1803    conftest$ac_exeext conftest.$ac_ext
1804fi
1805eval ac_res=\$$3
1806               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807$as_echo "$ac_res" >&6; }
1808  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809
1810} # ac_fn_c_check_func
1811cat >config.log <<_ACEOF
1812This file contains any messages produced by compilers while
1813running configure, to aid debugging if configure makes a mistake.
1814
1815It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
1816generated by GNU Autoconf 2.65.  Invocation command line was
1817
1818  $ $0 $@
1819
1820_ACEOF
1821exec 5>>config.log
1822{
1823cat <<_ASUNAME
1824## --------- ##
1825## Platform. ##
1826## --------- ##
1827
1828hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1829uname -m = `(uname -m) 2>/dev/null || echo unknown`
1830uname -r = `(uname -r) 2>/dev/null || echo unknown`
1831uname -s = `(uname -s) 2>/dev/null || echo unknown`
1832uname -v = `(uname -v) 2>/dev/null || echo unknown`
1833
1834/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1835/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1836
1837/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1838/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1839/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1840/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1841/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1842/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1843/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1844
1845_ASUNAME
1846
1847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848for as_dir in $PATH
1849do
1850  IFS=$as_save_IFS
1851  test -z "$as_dir" && as_dir=.
1852    $as_echo "PATH: $as_dir"
1853  done
1854IFS=$as_save_IFS
1855
1856} >&5
1857
1858cat >&5 <<_ACEOF
1859
1860
1861## ----------- ##
1862## Core tests. ##
1863## ----------- ##
1864
1865_ACEOF
1866
1867
1868# Keep a trace of the command line.
1869# Strip out --no-create and --no-recursion so they do not pile up.
1870# Strip out --silent because we don't want to record it for future runs.
1871# Also quote any args containing shell meta-characters.
1872# Make two passes to allow for proper duplicate-argument suppression.
1873ac_configure_args=
1874ac_configure_args0=
1875ac_configure_args1=
1876ac_must_keep_next=false
1877for ac_pass in 1 2
1878do
1879  for ac_arg
1880  do
1881    case $ac_arg in
1882    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1883    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1884    | -silent | --silent | --silen | --sile | --sil)
1885      continue ;;
1886    *\'*)
1887      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1888    esac
1889    case $ac_pass in
1890    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1891    2)
1892      as_fn_append ac_configure_args1 " '$ac_arg'"
1893      if test $ac_must_keep_next = true; then
1894        ac_must_keep_next=false # Got value, back to normal.
1895      else
1896        case $ac_arg in
1897          *=* | --config-cache | -C | -disable-* | --disable-* \
1898          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1899          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1900          | -with-* | --with-* | -without-* | --without-* | --x)
1901            case "$ac_configure_args0 " in
1902              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1903            esac
1904            ;;
1905          -* ) ac_must_keep_next=true ;;
1906        esac
1907      fi
1908      as_fn_append ac_configure_args " '$ac_arg'"
1909      ;;
1910    esac
1911  done
1912done
1913{ ac_configure_args0=; unset ac_configure_args0;}
1914{ ac_configure_args1=; unset ac_configure_args1;}
1915
1916# When interrupted or exit'd, cleanup temporary files, and complete
1917# config.log.  We remove comments because anyway the quotes in there
1918# would cause problems or look ugly.
1919# WARNING: Use '\'' to represent an apostrophe within the trap.
1920# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1921trap 'exit_status=$?
1922  # Save into config.log some information that might help in debugging.
1923  {
1924    echo
1925
1926    cat <<\_ASBOX
1927## ---------------- ##
1928## Cache variables. ##
1929## ---------------- ##
1930_ASBOX
1931    echo
1932    # The following way of writing the cache mishandles newlines in values,
1933(
1934  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1935    eval ac_val=\$$ac_var
1936    case $ac_val in #(
1937    *${as_nl}*)
1938      case $ac_var in #(
1939      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1940$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1941      esac
1942      case $ac_var in #(
1943      _ | IFS | as_nl) ;; #(
1944      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1945      *) { eval $ac_var=; unset $ac_var;} ;;
1946      esac ;;
1947    esac
1948  done
1949  (set) 2>&1 |
1950    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1951    *${as_nl}ac_space=\ *)
1952      sed -n \
1953        "s/'\''/'\''\\\\'\'''\''/g;
1954          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1955      ;; #(
1956    *)
1957      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1958      ;;
1959    esac |
1960    sort
1961)
1962    echo
1963
1964    cat <<\_ASBOX
1965## ----------------- ##
1966## Output variables. ##
1967## ----------------- ##
1968_ASBOX
1969    echo
1970    for ac_var in $ac_subst_vars
1971    do
1972      eval ac_val=\$$ac_var
1973      case $ac_val in
1974      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1975      esac
1976      $as_echo "$ac_var='\''$ac_val'\''"
1977    done | sort
1978    echo
1979
1980    if test -n "$ac_subst_files"; then
1981      cat <<\_ASBOX
1982## ------------------- ##
1983## File substitutions. ##
1984## ------------------- ##
1985_ASBOX
1986      echo
1987      for ac_var in $ac_subst_files
1988      do
1989        eval ac_val=\$$ac_var
1990        case $ac_val in
1991        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1992        esac
1993        $as_echo "$ac_var='\''$ac_val'\''"
1994      done | sort
1995      echo
1996    fi
1997
1998    if test -s confdefs.h; then
1999      cat <<\_ASBOX
2000## ----------- ##
2001## confdefs.h. ##
2002## ----------- ##
2003_ASBOX
2004      echo
2005      cat confdefs.h
2006      echo
2007    fi
2008    test "$ac_signal" != 0 &&
2009      $as_echo "$as_me: caught signal $ac_signal"
2010    $as_echo "$as_me: exit $exit_status"
2011  } >&5
2012  rm -f core *.core core.conftest.* &&
2013    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2014    exit $exit_status
2015' 0
2016for ac_signal in 1 2 13 15; do
2017  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2018done
2019ac_signal=0
2020
2021# confdefs.h avoids OS command line length limits that DEFS can exceed.
2022rm -f -r conftest* confdefs.h
2023
2024$as_echo "/* confdefs.h */" > confdefs.h
2025
2026# Predefined preprocessor variables.
2027
2028cat >>confdefs.h <<_ACEOF
2029#define PACKAGE_NAME "$PACKAGE_NAME"
2030_ACEOF
2031
2032cat >>confdefs.h <<_ACEOF
2033#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2034_ACEOF
2035
2036cat >>confdefs.h <<_ACEOF
2037#define PACKAGE_VERSION "$PACKAGE_VERSION"
2038_ACEOF
2039
2040cat >>confdefs.h <<_ACEOF
2041#define PACKAGE_STRING "$PACKAGE_STRING"
2042_ACEOF
2043
2044cat >>confdefs.h <<_ACEOF
2045#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2046_ACEOF
2047
2048cat >>confdefs.h <<_ACEOF
2049#define PACKAGE_URL "$PACKAGE_URL"
2050_ACEOF
2051
2052
2053# Let the site file select an alternate cache file if it wants to.
2054# Prefer an explicitly selected file to automatically selected ones.
2055ac_site_file1=NONE
2056ac_site_file2=NONE
2057if test -n "$CONFIG_SITE"; then
2058  ac_site_file1=$CONFIG_SITE
2059elif test "x$prefix" != xNONE; then
2060  ac_site_file1=$prefix/share/config.site
2061  ac_site_file2=$prefix/etc/config.site
2062else
2063  ac_site_file1=$ac_default_prefix/share/config.site
2064  ac_site_file2=$ac_default_prefix/etc/config.site
2065fi
2066for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2067do
2068  test "x$ac_site_file" = xNONE && continue
2069  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2070    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2071$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2072    sed 's/^/| /' "$ac_site_file" >&5
2073    . "$ac_site_file"
2074  fi
2075done
2076
2077if test -r "$cache_file"; then
2078  # Some versions of bash will fail to source /dev/null (special files
2079  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2080  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2081    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2082$as_echo "$as_me: loading cache $cache_file" >&6;}
2083    case $cache_file in
2084      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2085      *)                      . "./$cache_file";;
2086    esac
2087  fi
2088else
2089  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2090$as_echo "$as_me: creating cache $cache_file" >&6;}
2091  >$cache_file
2092fi
2093
2094# Check that the precious variables saved in the cache have kept the same
2095# value.
2096ac_cache_corrupted=false
2097for ac_var in $ac_precious_vars; do
2098  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2099  eval ac_new_set=\$ac_env_${ac_var}_set
2100  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2101  eval ac_new_val=\$ac_env_${ac_var}_value
2102  case $ac_old_set,$ac_new_set in
2103    set,)
2104      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2105$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2106      ac_cache_corrupted=: ;;
2107    ,set)
2108      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2109$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2110      ac_cache_corrupted=: ;;
2111    ,);;
2112    *)
2113      if test "x$ac_old_val" != "x$ac_new_val"; then
2114        # differences in whitespace do not lead to failure.
2115        ac_old_val_w=`echo x $ac_old_val`
2116        ac_new_val_w=`echo x $ac_new_val`
2117        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2118          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2119$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2120          ac_cache_corrupted=:
2121        else
2122          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2123$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2124          eval $ac_var=\$ac_old_val
2125        fi
2126        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2127$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2128        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2129$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2130      fi;;
2131  esac
2132  # Pass precious variables to config.status.
2133  if test "$ac_new_set" = set; then
2134    case $ac_new_val in
2135    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2136    *) ac_arg=$ac_var=$ac_new_val ;;
2137    esac
2138    case " $ac_configure_args " in
2139      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2140      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2141    esac
2142  fi
2143done
2144if $ac_cache_corrupted; then
2145  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2146$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2147  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2148$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2149  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2150fi
2151## -------------------- ##
2152## Main body of script. ##
2153## -------------------- ##
2154
2155ac_ext=c
2156ac_cpp='$CPP $CPPFLAGS'
2157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2159ac_compiler_gnu=$ac_cv_c_compiler_gnu
2160
2161
2162
2163ac_config_headers="$ac_config_headers config.h"
2164
2165
2166# Checks for programs.
2167ac_ext=cpp
2168ac_cpp='$CXXCPP $CPPFLAGS'
2169ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2172if test -z "$CXX"; then
2173  if test -n "$CCC"; then
2174    CXX=$CCC
2175  else
2176    if test -n "$ac_tool_prefix"; then
2177  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2178  do
2179    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2180set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2182$as_echo_n "checking for $ac_word... " >&6; }
2183if test "${ac_cv_prog_CXX+set}" = set; then :
2184  $as_echo_n "(cached) " >&6
2185else
2186  if test -n "$CXX"; then
2187  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2188else
2189as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190for as_dir in $PATH
2191do
2192  IFS=$as_save_IFS
2193  test -z "$as_dir" && as_dir=.
2194    for ac_exec_ext in '' $ac_executable_extensions; do
2195  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2198    break 2
2199  fi
2200done
2201  done
2202IFS=$as_save_IFS
2203
2204fi
2205fi
2206CXX=$ac_cv_prog_CXX
2207if test -n "$CXX"; then
2208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2209$as_echo "$CXX" >&6; }
2210else
2211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2212$as_echo "no" >&6; }
2213fi
2214
2215
2216    test -n "$CXX" && break
2217  done
2218fi
2219if test -z "$CXX"; then
2220  ac_ct_CXX=$CXX
2221  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2222do
2223  # Extract the first word of "$ac_prog", so it can be a program name with args.
2224set dummy $ac_prog; ac_word=$2
2225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2226$as_echo_n "checking for $ac_word... " >&6; }
2227if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2228  $as_echo_n "(cached) " >&6
2229else
2230  if test -n "$ac_ct_CXX"; then
2231  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2232else
2233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234for as_dir in $PATH
2235do
2236  IFS=$as_save_IFS
2237  test -z "$as_dir" && as_dir=.
2238    for ac_exec_ext in '' $ac_executable_extensions; do
2239  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240    ac_cv_prog_ac_ct_CXX="$ac_prog"
2241    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2242    break 2
2243  fi
2244done
2245  done
2246IFS=$as_save_IFS
2247
2248fi
2249fi
2250ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2251if test -n "$ac_ct_CXX"; then
2252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2253$as_echo "$ac_ct_CXX" >&6; }
2254else
2255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2256$as_echo "no" >&6; }
2257fi
2258
2259
2260  test -n "$ac_ct_CXX" && break
2261done
2262
2263  if test "x$ac_ct_CXX" = x; then
2264    CXX="g++"
2265  else
2266    case $cross_compiling:$ac_tool_warned in
2267yes:)
2268{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2269$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2270ac_tool_warned=yes ;;
2271esac
2272    CXX=$ac_ct_CXX
2273  fi
2274fi
2275
2276  fi
2277fi
2278# Provide some information about the compiler.
2279$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2280set X $ac_compile
2281ac_compiler=$2
2282for ac_option in --version -v -V -qversion; do
2283  { { ac_try="$ac_compiler $ac_option >&5"
2284case "(($ac_try" in
2285  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2286  *) ac_try_echo=$ac_try;;
2287esac
2288eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2289$as_echo "$ac_try_echo"; } >&5
2290  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2291  ac_status=$?
2292  if test -s conftest.err; then
2293    sed '10a\
2294... rest of stderr output deleted ...
2295         10q' conftest.err >conftest.er1
2296    cat conftest.er1 >&5
2297  fi
2298  rm -f conftest.er1 conftest.err
2299  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2300  test $ac_status = 0; }
2301done
2302
2303cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2304/* end confdefs.h.  */
2305
2306int
2307main ()
2308{
2309
2310  ;
2311  return 0;
2312}
2313_ACEOF
2314ac_clean_files_save=$ac_clean_files
2315ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2316# Try to create an executable without -o first, disregard a.out.
2317# It will help us diagnose broken compilers, and finding out an intuition
2318# of exeext.
2319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2320$as_echo_n "checking whether the C++ compiler works... " >&6; }
2321ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2322
2323# The possible output files:
2324ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2325
2326ac_rmfiles=
2327for ac_file in $ac_files
2328do
2329  case $ac_file in
2330    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2331    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2332  esac
2333done
2334rm -f $ac_rmfiles
2335
2336if { { ac_try="$ac_link_default"
2337case "(($ac_try" in
2338  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2339  *) ac_try_echo=$ac_try;;
2340esac
2341eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342$as_echo "$ac_try_echo"; } >&5
2343  (eval "$ac_link_default") 2>&5
2344  ac_status=$?
2345  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2346  test $ac_status = 0; }; then :
2347  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2348# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2349# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2350# so that the user can short-circuit this test for compilers unknown to
2351# Autoconf.
2352for ac_file in $ac_files ''
2353do
2354  test -f "$ac_file" || continue
2355  case $ac_file in
2356    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2357        ;;
2358    [ab].out )
2359        # We found the default executable, but exeext='' is most
2360        # certainly right.
2361        break;;
2362    *.* )
2363        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2364        then :; else
2365           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2366        fi
2367        # We set ac_cv_exeext here because the later test for it is not
2368        # safe: cross compilers may not add the suffix if given an `-o'
2369        # argument, so we may need to know it at that point already.
2370        # Even if this section looks crufty: it has the advantage of
2371        # actually working.
2372        break;;
2373    * )
2374        break;;
2375  esac
2376done
2377test "$ac_cv_exeext" = no && ac_cv_exeext=
2378
2379else
2380  ac_file=''
2381fi
2382if test -z "$ac_file"; then :
2383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2384$as_echo "no" >&6; }
2385$as_echo "$as_me: failed program was:" >&5
2386sed 's/^/| /' conftest.$ac_ext >&5
2387
2388{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2389$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390{ as_fn_set_status 77
2391as_fn_error "C++ compiler cannot create executables
2392See \`config.log' for more details." "$LINENO" 5; }; }
2393else
2394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2395$as_echo "yes" >&6; }
2396fi
2397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2398$as_echo_n "checking for C++ compiler default output file name... " >&6; }
2399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2400$as_echo "$ac_file" >&6; }
2401ac_exeext=$ac_cv_exeext
2402
2403rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2404ac_clean_files=$ac_clean_files_save
2405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2406$as_echo_n "checking for suffix of executables... " >&6; }
2407if { { ac_try="$ac_link"
2408case "(($ac_try" in
2409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410  *) ac_try_echo=$ac_try;;
2411esac
2412eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2413$as_echo "$ac_try_echo"; } >&5
2414  (eval "$ac_link") 2>&5
2415  ac_status=$?
2416  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2417  test $ac_status = 0; }; then :
2418  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2419# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2420# work properly (i.e., refer to `conftest.exe'), while it won't with
2421# `rm'.
2422for ac_file in conftest.exe conftest conftest.*; do
2423  test -f "$ac_file" || continue
2424  case $ac_file in
2425    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2426    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2427          break;;
2428    * ) break;;
2429  esac
2430done
2431else
2432  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2433$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2434as_fn_error "cannot compute suffix of executables: cannot compile and link
2435See \`config.log' for more details." "$LINENO" 5; }
2436fi
2437rm -f conftest conftest$ac_cv_exeext
2438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2439$as_echo "$ac_cv_exeext" >&6; }
2440
2441rm -f conftest.$ac_ext
2442EXEEXT=$ac_cv_exeext
2443ac_exeext=$EXEEXT
2444cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2445/* end confdefs.h.  */
2446#include <stdio.h>
2447int
2448main ()
2449{
2450FILE *f = fopen ("conftest.out", "w");
2451 return ferror (f) || fclose (f) != 0;
2452
2453  ;
2454  return 0;
2455}
2456_ACEOF
2457ac_clean_files="$ac_clean_files conftest.out"
2458# Check that the compiler produces executables we can run.  If not, either
2459# the compiler is broken, or we cross compile.
2460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2461$as_echo_n "checking whether we are cross compiling... " >&6; }
2462if test "$cross_compiling" != yes; then
2463  { { ac_try="$ac_link"
2464case "(($ac_try" in
2465  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466  *) ac_try_echo=$ac_try;;
2467esac
2468eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469$as_echo "$ac_try_echo"; } >&5
2470  (eval "$ac_link") 2>&5
2471  ac_status=$?
2472  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473  test $ac_status = 0; }
2474  if { ac_try='./conftest$ac_cv_exeext'
2475  { { case "(($ac_try" in
2476  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477  *) ac_try_echo=$ac_try;;
2478esac
2479eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480$as_echo "$ac_try_echo"; } >&5
2481  (eval "$ac_try") 2>&5
2482  ac_status=$?
2483  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484  test $ac_status = 0; }; }; then
2485    cross_compiling=no
2486  else
2487    if test "$cross_compiling" = maybe; then
2488        cross_compiling=yes
2489    else
2490        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2492as_fn_error "cannot run C++ compiled programs.
2493If you meant to cross compile, use \`--host'.
2494See \`config.log' for more details." "$LINENO" 5; }
2495    fi
2496  fi
2497fi
2498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2499$as_echo "$cross_compiling" >&6; }
2500
2501rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2502ac_clean_files=$ac_clean_files_save
2503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2504$as_echo_n "checking for suffix of object files... " >&6; }
2505if test "${ac_cv_objext+set}" = set; then :
2506  $as_echo_n "(cached) " >&6
2507else
2508  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2509/* end confdefs.h.  */
2510
2511int
2512main ()
2513{
2514
2515  ;
2516  return 0;
2517}
2518_ACEOF
2519rm -f conftest.o conftest.obj
2520if { { ac_try="$ac_compile"
2521case "(($ac_try" in
2522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523  *) ac_try_echo=$ac_try;;
2524esac
2525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526$as_echo "$ac_try_echo"; } >&5
2527  (eval "$ac_compile") 2>&5
2528  ac_status=$?
2529  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530  test $ac_status = 0; }; then :
2531  for ac_file in conftest.o conftest.obj conftest.*; do
2532  test -f "$ac_file" || continue;
2533  case $ac_file in
2534    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2535    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2536       break;;
2537  esac
2538done
2539else
2540  $as_echo "$as_me: failed program was:" >&5
2541sed 's/^/| /' conftest.$ac_ext >&5
2542
2543{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2544$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2545as_fn_error "cannot compute suffix of object files: cannot compile
2546See \`config.log' for more details." "$LINENO" 5; }
2547fi
2548rm -f conftest.$ac_cv_objext conftest.$ac_ext
2549fi
2550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2551$as_echo "$ac_cv_objext" >&6; }
2552OBJEXT=$ac_cv_objext
2553ac_objext=$OBJEXT
2554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2555$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2556if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
2557  $as_echo_n "(cached) " >&6
2558else
2559  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560/* end confdefs.h.  */
2561
2562int
2563main ()
2564{
2565#ifndef __GNUC__
2566       choke me
2567#endif
2568
2569  ;
2570  return 0;
2571}
2572_ACEOF
2573if ac_fn_cxx_try_compile "$LINENO"; then :
2574  ac_compiler_gnu=yes
2575else
2576  ac_compiler_gnu=no
2577fi
2578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2579ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2580
2581fi
2582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2583$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2584if test $ac_compiler_gnu = yes; then
2585  GXX=yes
2586else
2587  GXX=
2588fi
2589ac_test_CXXFLAGS=${CXXFLAGS+set}
2590ac_save_CXXFLAGS=$CXXFLAGS
2591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2592$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2593if test "${ac_cv_prog_cxx_g+set}" = set; then :
2594  $as_echo_n "(cached) " >&6
2595else
2596  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2597   ac_cxx_werror_flag=yes
2598   ac_cv_prog_cxx_g=no
2599   CXXFLAGS="-g"
2600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601/* end confdefs.h.  */
2602
2603int
2604main ()
2605{
2606
2607  ;
2608  return 0;
2609}
2610_ACEOF
2611if ac_fn_cxx_try_compile "$LINENO"; then :
2612  ac_cv_prog_cxx_g=yes
2613else
2614  CXXFLAGS=""
2615      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2616/* end confdefs.h.  */
2617
2618int
2619main ()
2620{
2621
2622  ;
2623  return 0;
2624}
2625_ACEOF
2626if ac_fn_cxx_try_compile "$LINENO"; then :
2627
2628else
2629  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2630         CXXFLAGS="-g"
2631         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2632/* end confdefs.h.  */
2633
2634int
2635main ()
2636{
2637
2638  ;
2639  return 0;
2640}
2641_ACEOF
2642if ac_fn_cxx_try_compile "$LINENO"; then :
2643  ac_cv_prog_cxx_g=yes
2644fi
2645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2646fi
2647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2648fi
2649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2650   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2651fi
2652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2653$as_echo "$ac_cv_prog_cxx_g" >&6; }
2654if test "$ac_test_CXXFLAGS" = set; then
2655  CXXFLAGS=$ac_save_CXXFLAGS
2656elif test $ac_cv_prog_cxx_g = yes; then
2657  if test "$GXX" = yes; then
2658    CXXFLAGS="-g -O2"
2659  else
2660    CXXFLAGS="-g"
2661  fi
2662else
2663  if test "$GXX" = yes; then
2664    CXXFLAGS="-O2"
2665  else
2666    CXXFLAGS=
2667  fi
2668fi
2669ac_ext=c
2670ac_cpp='$CPP $CPPFLAGS'
2671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2673ac_compiler_gnu=$ac_cv_c_compiler_gnu
2674
2675ac_ext=c
2676ac_cpp='$CPP $CPPFLAGS'
2677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2679ac_compiler_gnu=$ac_cv_c_compiler_gnu
2680if test -n "$ac_tool_prefix"; then
2681  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2682set dummy ${ac_tool_prefix}gcc; ac_word=$2
2683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684$as_echo_n "checking for $ac_word... " >&6; }
2685if test "${ac_cv_prog_CC+set}" = set; then :
2686  $as_echo_n "(cached) " >&6
2687else
2688  if test -n "$CC"; then
2689  ac_cv_prog_CC="$CC" # Let the user override the test.
2690else
2691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692for as_dir in $PATH
2693do
2694  IFS=$as_save_IFS
2695  test -z "$as_dir" && as_dir=.
2696    for ac_exec_ext in '' $ac_executable_extensions; do
2697  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2699    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700    break 2
2701  fi
2702done
2703  done
2704IFS=$as_save_IFS
2705
2706fi
2707fi
2708CC=$ac_cv_prog_CC
2709if test -n "$CC"; then
2710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711$as_echo "$CC" >&6; }
2712else
2713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714$as_echo "no" >&6; }
2715fi
2716
2717
2718fi
2719if test -z "$ac_cv_prog_CC"; then
2720  ac_ct_CC=$CC
2721  # Extract the first word of "gcc", so it can be a program name with args.
2722set dummy gcc; ac_word=$2
2723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724$as_echo_n "checking for $ac_word... " >&6; }
2725if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2726  $as_echo_n "(cached) " >&6
2727else
2728  if test -n "$ac_ct_CC"; then
2729  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2730else
2731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732for as_dir in $PATH
2733do
2734  IFS=$as_save_IFS
2735  test -z "$as_dir" && as_dir=.
2736    for ac_exec_ext in '' $ac_executable_extensions; do
2737  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2738    ac_cv_prog_ac_ct_CC="gcc"
2739    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740    break 2
2741  fi
2742done
2743  done
2744IFS=$as_save_IFS
2745
2746fi
2747fi
2748ac_ct_CC=$ac_cv_prog_ac_ct_CC
2749if test -n "$ac_ct_CC"; then
2750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2751$as_echo "$ac_ct_CC" >&6; }
2752else
2753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2754$as_echo "no" >&6; }
2755fi
2756
2757  if test "x$ac_ct_CC" = x; then
2758    CC=""
2759  else
2760    case $cross_compiling:$ac_tool_warned in
2761yes:)
2762{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2763$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2764ac_tool_warned=yes ;;
2765esac
2766    CC=$ac_ct_CC
2767  fi
2768else
2769  CC="$ac_cv_prog_CC"
2770fi
2771
2772if test -z "$CC"; then
2773          if test -n "$ac_tool_prefix"; then
2774    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2775set dummy ${ac_tool_prefix}cc; ac_word=$2
2776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777$as_echo_n "checking for $ac_word... " >&6; }
2778if test "${ac_cv_prog_CC+set}" = set; then :
2779  $as_echo_n "(cached) " >&6
2780else
2781  if test -n "$CC"; then
2782  ac_cv_prog_CC="$CC" # Let the user override the test.
2783else
2784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785for as_dir in $PATH
2786do
2787  IFS=$as_save_IFS
2788  test -z "$as_dir" && as_dir=.
2789    for ac_exec_ext in '' $ac_executable_extensions; do
2790  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2791    ac_cv_prog_CC="${ac_tool_prefix}cc"
2792    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793    break 2
2794  fi
2795done
2796  done
2797IFS=$as_save_IFS
2798
2799fi
2800fi
2801CC=$ac_cv_prog_CC
2802if test -n "$CC"; then
2803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2804$as_echo "$CC" >&6; }
2805else
2806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807$as_echo "no" >&6; }
2808fi
2809
2810
2811  fi
2812fi
2813if test -z "$CC"; then
2814  # Extract the first word of "cc", so it can be a program name with args.
2815set dummy cc; ac_word=$2
2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817$as_echo_n "checking for $ac_word... " >&6; }
2818if test "${ac_cv_prog_CC+set}" = set; then :
2819  $as_echo_n "(cached) " >&6
2820else
2821  if test -n "$CC"; then
2822  ac_cv_prog_CC="$CC" # Let the user override the test.
2823else
2824  ac_prog_rejected=no
2825as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826for as_dir in $PATH
2827do
2828  IFS=$as_save_IFS
2829  test -z "$as_dir" && as_dir=.
2830    for ac_exec_ext in '' $ac_executable_extensions; do
2831  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2833       ac_prog_rejected=yes
2834       continue
2835     fi
2836    ac_cv_prog_CC="cc"
2837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838    break 2
2839  fi
2840done
2841  done
2842IFS=$as_save_IFS
2843
2844if test $ac_prog_rejected = yes; then
2845  # We found a bogon in the path, so make sure we never use it.
2846  set dummy $ac_cv_prog_CC
2847  shift
2848  if test $# != 0; then
2849    # We chose a different compiler from the bogus one.
2850    # However, it has the same basename, so the bogon will be chosen
2851    # first if we set CC to just the basename; use the full file name.
2852    shift
2853    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2854  fi
2855fi
2856fi
2857fi
2858CC=$ac_cv_prog_CC
2859if test -n "$CC"; then
2860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2861$as_echo "$CC" >&6; }
2862else
2863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864$as_echo "no" >&6; }
2865fi
2866
2867
2868fi
2869if test -z "$CC"; then
2870  if test -n "$ac_tool_prefix"; then
2871  for ac_prog in cl.exe
2872  do
2873    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2874set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876$as_echo_n "checking for $ac_word... " >&6; }
2877if test "${ac_cv_prog_CC+set}" = set; then :
2878  $as_echo_n "(cached) " >&6
2879else
2880  if test -n "$CC"; then
2881  ac_cv_prog_CC="$CC" # Let the user override the test.
2882else
2883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884for as_dir in $PATH
2885do
2886  IFS=$as_save_IFS
2887  test -z "$as_dir" && as_dir=.
2888    for ac_exec_ext in '' $ac_executable_extensions; do
2889  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2891    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892    break 2
2893  fi
2894done
2895  done
2896IFS=$as_save_IFS
2897
2898fi
2899fi
2900CC=$ac_cv_prog_CC
2901if test -n "$CC"; then
2902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2903$as_echo "$CC" >&6; }
2904else
2905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906$as_echo "no" >&6; }
2907fi
2908
2909
2910    test -n "$CC" && break
2911  done
2912fi
2913if test -z "$CC"; then
2914  ac_ct_CC=$CC
2915  for ac_prog in cl.exe
2916do
2917  # Extract the first word of "$ac_prog", so it can be a program name with args.
2918set dummy $ac_prog; ac_word=$2
2919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920$as_echo_n "checking for $ac_word... " >&6; }
2921if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2922  $as_echo_n "(cached) " >&6
2923else
2924  if test -n "$ac_ct_CC"; then
2925  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2926else
2927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928for as_dir in $PATH
2929do
2930  IFS=$as_save_IFS
2931  test -z "$as_dir" && as_dir=.
2932    for ac_exec_ext in '' $ac_executable_extensions; do
2933  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934    ac_cv_prog_ac_ct_CC="$ac_prog"
2935    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936    break 2
2937  fi
2938done
2939  done
2940IFS=$as_save_IFS
2941
2942fi
2943fi
2944ac_ct_CC=$ac_cv_prog_ac_ct_CC
2945if test -n "$ac_ct_CC"; then
2946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2947$as_echo "$ac_ct_CC" >&6; }
2948else
2949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950$as_echo "no" >&6; }
2951fi
2952
2953
2954  test -n "$ac_ct_CC" && break
2955done
2956
2957  if test "x$ac_ct_CC" = x; then
2958    CC=""
2959  else
2960    case $cross_compiling:$ac_tool_warned in
2961yes:)
2962{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2963$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2964ac_tool_warned=yes ;;
2965esac
2966    CC=$ac_ct_CC
2967  fi
2968fi
2969
2970fi
2971
2972
2973test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975as_fn_error "no acceptable C compiler found in \$PATH
2976See \`config.log' for more details." "$LINENO" 5; }
2977
2978# Provide some information about the compiler.
2979$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2980set X $ac_compile
2981ac_compiler=$2
2982for ac_option in --version -v -V -qversion; do
2983  { { ac_try="$ac_compiler $ac_option >&5"
2984case "(($ac_try" in
2985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986  *) ac_try_echo=$ac_try;;
2987esac
2988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989$as_echo "$ac_try_echo"; } >&5
2990  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2991  ac_status=$?
2992  if test -s conftest.err; then
2993    sed '10a\
2994... rest of stderr output deleted ...
2995         10q' conftest.err >conftest.er1
2996    cat conftest.er1 >&5
2997  fi
2998  rm -f conftest.er1 conftest.err
2999  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000  test $ac_status = 0; }
3001done
3002
3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3004$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3005if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3006  $as_echo_n "(cached) " >&6
3007else
3008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009/* end confdefs.h.  */
3010
3011int
3012main ()
3013{
3014#ifndef __GNUC__
3015       choke me
3016#endif
3017
3018  ;
3019  return 0;
3020}
3021_ACEOF
3022if ac_fn_c_try_compile "$LINENO"; then :
3023  ac_compiler_gnu=yes
3024else
3025  ac_compiler_gnu=no
3026fi
3027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028ac_cv_c_compiler_gnu=$ac_compiler_gnu
3029
3030fi
3031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3032$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3033if test $ac_compiler_gnu = yes; then
3034  GCC=yes
3035else
3036  GCC=
3037fi
3038ac_test_CFLAGS=${CFLAGS+set}
3039ac_save_CFLAGS=$CFLAGS
3040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3041$as_echo_n "checking whether $CC accepts -g... " >&6; }
3042if test "${ac_cv_prog_cc_g+set}" = set; then :
3043  $as_echo_n "(cached) " >&6
3044else
3045  ac_save_c_werror_flag=$ac_c_werror_flag
3046   ac_c_werror_flag=yes
3047   ac_cv_prog_cc_g=no
3048   CFLAGS="-g"
3049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050/* end confdefs.h.  */
3051
3052int
3053main ()
3054{
3055
3056  ;
3057  return 0;
3058}
3059_ACEOF
3060if ac_fn_c_try_compile "$LINENO"; then :
3061  ac_cv_prog_cc_g=yes
3062else
3063  CFLAGS=""
3064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065/* end confdefs.h.  */
3066
3067int
3068main ()
3069{
3070
3071  ;
3072  return 0;
3073}
3074_ACEOF
3075if ac_fn_c_try_compile "$LINENO"; then :
3076
3077else
3078  ac_c_werror_flag=$ac_save_c_werror_flag
3079         CFLAGS="-g"
3080         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081/* end confdefs.h.  */
3082
3083int
3084main ()
3085{
3086
3087  ;
3088  return 0;
3089}
3090_ACEOF
3091if ac_fn_c_try_compile "$LINENO"; then :
3092  ac_cv_prog_cc_g=yes
3093fi
3094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095fi
3096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097fi
3098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099   ac_c_werror_flag=$ac_save_c_werror_flag
3100fi
3101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3102$as_echo "$ac_cv_prog_cc_g" >&6; }
3103if test "$ac_test_CFLAGS" = set; then
3104  CFLAGS=$ac_save_CFLAGS
3105elif test $ac_cv_prog_cc_g = yes; then
3106  if test "$GCC" = yes; then
3107    CFLAGS="-g -O2"
3108  else
3109    CFLAGS="-g"
3110  fi
3111else
3112  if test "$GCC" = yes; then
3113    CFLAGS="-O2"
3114  else
3115    CFLAGS=
3116  fi
3117fi
3118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3119$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3120if test "${ac_cv_prog_cc_c89+set}" = set; then :
3121  $as_echo_n "(cached) " >&6
3122else
3123  ac_cv_prog_cc_c89=no
3124ac_save_CC=$CC
3125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126/* end confdefs.h.  */
3127#include <stdarg.h>
3128#include <stdio.h>
3129#include <sys/types.h>
3130#include <sys/stat.h>
3131/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3132struct buf { int x; };
3133FILE * (*rcsopen) (struct buf *, struct stat *, int);
3134static char *e (p, i)
3135     char **p;
3136     int i;
3137{
3138  return p[i];
3139}
3140static char *f (char * (*g) (char **, int), char **p, ...)
3141{
3142  char *s;
3143  va_list v;
3144  va_start (v,p);
3145  s = g (p, va_arg (v,int));
3146  va_end (v);
3147  return s;
3148}
3149
3150/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3151   function prototypes and stuff, but not '\xHH' hex character constants.
3152   These don't provoke an error unfortunately, instead are silently treated
3153   as 'x'.  The following induces an error, until -std is added to get
3154   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3155   array size at least.  It's necessary to write '\x00'==0 to get something
3156   that's true only with -std.  */
3157int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3158
3159/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3160   inside strings and character constants.  */
3161#define FOO(x) 'x'
3162int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3163
3164int test (int i, double x);
3165struct s1 {int (*f) (int a);};
3166struct s2 {int (*f) (double a);};
3167int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3168int argc;
3169char **argv;
3170int
3171main ()
3172{
3173return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3174  ;
3175  return 0;
3176}
3177_ACEOF
3178for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3179        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3180do
3181  CC="$ac_save_CC $ac_arg"
3182  if ac_fn_c_try_compile "$LINENO"; then :
3183  ac_cv_prog_cc_c89=$ac_arg
3184fi
3185rm -f core conftest.err conftest.$ac_objext
3186  test "x$ac_cv_prog_cc_c89" != "xno" && break
3187done
3188rm -f conftest.$ac_ext
3189CC=$ac_save_CC
3190
3191fi
3192# AC_CACHE_VAL
3193case "x$ac_cv_prog_cc_c89" in
3194  x)
3195    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3196$as_echo "none needed" >&6; } ;;
3197  xno)
3198    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3199$as_echo "unsupported" >&6; } ;;
3200  *)
3201    CC="$CC $ac_cv_prog_cc_c89"
3202    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3203$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3204esac
3205if test "x$ac_cv_prog_cc_c89" != xno; then :
3206
3207fi
3208
3209ac_ext=c
3210ac_cpp='$CPP $CPPFLAGS'
3211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3213ac_compiler_gnu=$ac_cv_c_compiler_gnu
3214
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3216$as_echo_n "checking whether ln -s works... " >&6; }
3217LN_S=$as_ln_s
3218if test "$LN_S" = "ln -s"; then
3219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220$as_echo "yes" >&6; }
3221else
3222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3223$as_echo "no, using $LN_S" >&6; }
3224fi
3225
3226
3227# Checks for libraries.
3228
3229# Checks for header files.
3230
3231ac_ext=c
3232ac_cpp='$CPP $CPPFLAGS'
3233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3237$as_echo_n "checking how to run the C preprocessor... " >&6; }
3238# On Suns, sometimes $CPP names a directory.
3239if test -n "$CPP" && test -d "$CPP"; then
3240  CPP=
3241fi
3242if test -z "$CPP"; then
3243  if test "${ac_cv_prog_CPP+set}" = set; then :
3244  $as_echo_n "(cached) " >&6
3245else
3246      # Double quotes because CPP needs to be expanded
3247    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3248    do
3249      ac_preproc_ok=false
3250for ac_c_preproc_warn_flag in '' yes
3251do
3252  # Use a header file that comes with gcc, so configuring glibc
3253  # with a fresh cross-compiler works.
3254  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255  # <limits.h> exists even on freestanding compilers.
3256  # On the NeXT, cc -E runs the code through the compiler's parser,
3257  # not just through cpp. "Syntax error" is here to catch this case.
3258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259/* end confdefs.h.  */
3260#ifdef __STDC__
3261# include <limits.h>
3262#else
3263# include <assert.h>
3264#endif
3265                     Syntax error
3266_ACEOF
3267if ac_fn_c_try_cpp "$LINENO"; then :
3268
3269else
3270  # Broken: fails on valid input.
3271continue
3272fi
3273rm -f conftest.err conftest.$ac_ext
3274
3275  # OK, works on sane cases.  Now check whether nonexistent headers
3276  # can be detected and how.
3277  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278/* end confdefs.h.  */
3279#include <ac_nonexistent.h>
3280_ACEOF
3281if ac_fn_c_try_cpp "$LINENO"; then :
3282  # Broken: success on invalid input.
3283continue
3284else
3285  # Passes both tests.
3286ac_preproc_ok=:
3287break
3288fi
3289rm -f conftest.err conftest.$ac_ext
3290
3291done
3292# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3293rm -f conftest.err conftest.$ac_ext
3294if $ac_preproc_ok; then :
3295  break
3296fi
3297
3298    done
3299    ac_cv_prog_CPP=$CPP
3300
3301fi
3302  CPP=$ac_cv_prog_CPP
3303else
3304  ac_cv_prog_CPP=$CPP
3305fi
3306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3307$as_echo "$CPP" >&6; }
3308ac_preproc_ok=false
3309for ac_c_preproc_warn_flag in '' yes
3310do
3311  # Use a header file that comes with gcc, so configuring glibc
3312  # with a fresh cross-compiler works.
3313  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3314  # <limits.h> exists even on freestanding compilers.
3315  # On the NeXT, cc -E runs the code through the compiler's parser,
3316  # not just through cpp. "Syntax error" is here to catch this case.
3317  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318/* end confdefs.h.  */
3319#ifdef __STDC__
3320# include <limits.h>
3321#else
3322# include <assert.h>
3323#endif
3324                     Syntax error
3325_ACEOF
3326if ac_fn_c_try_cpp "$LINENO"; then :
3327
3328else
3329  # Broken: fails on valid input.
3330continue
3331fi
3332rm -f conftest.err conftest.$ac_ext
3333
3334  # OK, works on sane cases.  Now check whether nonexistent headers
3335  # can be detected and how.
3336  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337/* end confdefs.h.  */
3338#include <ac_nonexistent.h>
3339_ACEOF
3340if ac_fn_c_try_cpp "$LINENO"; then :
3341  # Broken: success on invalid input.
3342continue
3343else
3344  # Passes both tests.
3345ac_preproc_ok=:
3346break
3347fi
3348rm -f conftest.err conftest.$ac_ext
3349
3350done
3351# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3352rm -f conftest.err conftest.$ac_ext
3353if $ac_preproc_ok; then :
3354
3355else
3356  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358as_fn_error "C preprocessor \"$CPP\" fails sanity check
3359See \`config.log' for more details." "$LINENO" 5; }
3360fi
3361
3362ac_ext=c
3363ac_cpp='$CPP $CPPFLAGS'
3364ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3365ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3366ac_compiler_gnu=$ac_cv_c_compiler_gnu
3367
3368
3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3370$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3371if test "${ac_cv_path_GREP+set}" = set; then :
3372  $as_echo_n "(cached) " >&6
3373else
3374  if test -z "$GREP"; then
3375  ac_path_GREP_found=false
3376  # Loop through the user's path and test for each of PROGNAME-LIST
3377  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3379do
3380  IFS=$as_save_IFS
3381  test -z "$as_dir" && as_dir=.
3382    for ac_prog in grep ggrep; do
3383    for ac_exec_ext in '' $ac_executable_extensions; do
3384      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3385      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3386# Check for GNU ac_path_GREP and select it if it is found.
3387  # Check for GNU $ac_path_GREP
3388case `"$ac_path_GREP" --version 2>&1` in
3389*GNU*)
3390  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3391*)
3392  ac_count=0
3393  $as_echo_n 0123456789 >"conftest.in"
3394  while :
3395  do
3396    cat "conftest.in" "conftest.in" >"conftest.tmp"
3397    mv "conftest.tmp" "conftest.in"
3398    cp "conftest.in" "conftest.nl"
3399    $as_echo 'GREP' >> "conftest.nl"
3400    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3401    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3402    as_fn_arith $ac_count + 1 && ac_count=$as_val
3403    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3404      # Best one so far, save it but keep looking for a better one
3405      ac_cv_path_GREP="$ac_path_GREP"
3406      ac_path_GREP_max=$ac_count
3407    fi
3408    # 10*(2^10) chars as input seems more than enough
3409    test $ac_count -gt 10 && break
3410  done
3411  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3412esac
3413
3414      $ac_path_GREP_found && break 3
3415    done
3416  done
3417  done
3418IFS=$as_save_IFS
3419  if test -z "$ac_cv_path_GREP"; then
3420    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3421  fi
3422else
3423  ac_cv_path_GREP=$GREP
3424fi
3425
3426fi
3427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3428$as_echo "$ac_cv_path_GREP" >&6; }
3429 GREP="$ac_cv_path_GREP"
3430
3431
3432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3433$as_echo_n "checking for egrep... " >&6; }
3434if test "${ac_cv_path_EGREP+set}" = set; then :
3435  $as_echo_n "(cached) " >&6
3436else
3437  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3438   then ac_cv_path_EGREP="$GREP -E"
3439   else
3440     if test -z "$EGREP"; then
3441  ac_path_EGREP_found=false
3442  # Loop through the user's path and test for each of PROGNAME-LIST
3443  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3445do
3446  IFS=$as_save_IFS
3447  test -z "$as_dir" && as_dir=.
3448    for ac_prog in egrep; do
3449    for ac_exec_ext in '' $ac_executable_extensions; do
3450      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3451      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3452# Check for GNU ac_path_EGREP and select it if it is found.
3453  # Check for GNU $ac_path_EGREP
3454case `"$ac_path_EGREP" --version 2>&1` in
3455*GNU*)
3456  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3457*)
3458  ac_count=0
3459  $as_echo_n 0123456789 >"conftest.in"
3460  while :
3461  do
3462    cat "conftest.in" "conftest.in" >"conftest.tmp"
3463    mv "conftest.tmp" "conftest.in"
3464    cp "conftest.in" "conftest.nl"
3465    $as_echo 'EGREP' >> "conftest.nl"
3466    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3467    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3468    as_fn_arith $ac_count + 1 && ac_count=$as_val
3469    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3470      # Best one so far, save it but keep looking for a better one
3471      ac_cv_path_EGREP="$ac_path_EGREP"
3472      ac_path_EGREP_max=$ac_count
3473    fi
3474    # 10*(2^10) chars as input seems more than enough
3475    test $ac_count -gt 10 && break
3476  done
3477  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3478esac
3479
3480      $ac_path_EGREP_found && break 3
3481    done
3482  done
3483  done
3484IFS=$as_save_IFS
3485  if test -z "$ac_cv_path_EGREP"; then
3486    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3487  fi
3488else
3489  ac_cv_path_EGREP=$EGREP
3490fi
3491
3492   fi
3493fi
3494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3495$as_echo "$ac_cv_path_EGREP" >&6; }
3496 EGREP="$ac_cv_path_EGREP"
3497
3498
3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3500$as_echo_n "checking for ANSI C header files... " >&6; }
3501if test "${ac_cv_header_stdc+set}" = set; then :
3502  $as_echo_n "(cached) " >&6
3503else
3504  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505/* end confdefs.h.  */
3506#include <stdlib.h>
3507#include <stdarg.h>
3508#include <string.h>
3509#include <float.h>
3510
3511int
3512main ()
3513{
3514
3515  ;
3516  return 0;
3517}
3518_ACEOF
3519if ac_fn_c_try_compile "$LINENO"; then :
3520  ac_cv_header_stdc=yes
3521else
3522  ac_cv_header_stdc=no
3523fi
3524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525
3526if test $ac_cv_header_stdc = yes; then
3527  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3528  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529/* end confdefs.h.  */
3530#include <string.h>
3531
3532_ACEOF
3533if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3534  $EGREP "memchr" >/dev/null 2>&1; then :
3535
3536else
3537  ac_cv_header_stdc=no
3538fi
3539rm -f conftest*
3540
3541fi
3542
3543if test $ac_cv_header_stdc = yes; then
3544  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3545  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546/* end confdefs.h.  */
3547#include <stdlib.h>
3548
3549_ACEOF
3550if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3551  $EGREP "free" >/dev/null 2>&1; then :
3552
3553else
3554  ac_cv_header_stdc=no
3555fi
3556rm -f conftest*
3557
3558fi
3559
3560if test $ac_cv_header_stdc = yes; then
3561  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3562  if test "$cross_compiling" = yes; then :
3563  :
3564else
3565  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566/* end confdefs.h.  */
3567#include <ctype.h>
3568#include <stdlib.h>
3569#if ((' ' & 0x0FF) == 0x020)
3570# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3571# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3572#else
3573# define ISLOWER(c) \
3574                   (('a' <= (c) && (c) <= 'i') \
3575                     || ('j' <= (c) && (c) <= 'r') \
3576                     || ('s' <= (c) && (c) <= 'z'))
3577# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3578#endif
3579
3580#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3581int
3582main ()
3583{
3584  int i;
3585  for (i = 0; i < 256; i++)
3586    if (XOR (islower (i), ISLOWER (i))
3587        || toupper (i) != TOUPPER (i))
3588      return 2;
3589  return 0;
3590}
3591_ACEOF
3592if ac_fn_c_try_run "$LINENO"; then :
3593
3594else
3595  ac_cv_header_stdc=no
3596fi
3597rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3598  conftest.$ac_objext conftest.beam conftest.$ac_ext
3599fi
3600
3601fi
3602fi
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3604$as_echo "$ac_cv_header_stdc" >&6; }
3605if test $ac_cv_header_stdc = yes; then
3606
3607$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3608
3609fi
3610
3611# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3612for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3613                  inttypes.h stdint.h unistd.h
3614do :
3615  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3616ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3617"
3618eval as_val=\$$as_ac_Header
3619   if test "x$as_val" = x""yes; then :
3620  cat >>confdefs.h <<_ACEOF
3621#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3622_ACEOF
3623
3624fi
3625
3626done
3627
3628
3629for ac_header in stdlib.h string.h
3630do :
3631  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3632ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3633eval as_val=\$$as_ac_Header
3634   if test "x$as_val" = x""yes; then :
3635  cat >>confdefs.h <<_ACEOF
3636#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3637_ACEOF
3638
3639fi
3640
3641done
3642
3643
3644# Checks for typedefs, structures, and compiler characteristics.
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
3646$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
3647if test "${ac_cv_header_stdbool_h+set}" = set; then :
3648  $as_echo_n "(cached) " >&6
3649else
3650  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651/* end confdefs.h.  */
3652
3653#include <stdbool.h>
3654#ifndef bool
3655 "error: bool is not defined"
3656#endif
3657#ifndef false
3658 "error: false is not defined"
3659#endif
3660#if false
3661 "error: false is not 0"
3662#endif
3663#ifndef true
3664 "error: true is not defined"
3665#endif
3666#if true != 1
3667 "error: true is not 1"
3668#endif
3669#ifndef __bool_true_false_are_defined
3670 "error: __bool_true_false_are_defined is not defined"
3671#endif
3672
3673        struct s { _Bool s: 1; _Bool t; } s;
3674
3675        char a[true == 1 ? 1 : -1];
3676        char b[false == 0 ? 1 : -1];
3677        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3678        char d[(bool) 0.5 == true ? 1 : -1];
3679        bool e = &s;
3680        char f[(_Bool) 0.0 == false ? 1 : -1];
3681        char g[true];
3682        char h[sizeof (_Bool)];
3683        char i[sizeof s.t];
3684        enum { j = false, k = true, l = false * true, m = true * 256 };
3685        /* The following fails for
3686           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
3687        _Bool n[m];
3688        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
3689        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
3690#       if defined __xlc__ || defined __GNUC__
3691         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
3692            reported by James Lemley on 2005-10-05; see
3693            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
3694            This test is not quite right, since xlc is allowed to
3695            reject this program, as the initializer for xlcbug is
3696            not one of the forms that C requires support for.
3697            However, doing the test right would require a runtime
3698            test, and that would make cross-compilation harder.
3699            Let us hope that IBM fixes the xlc bug, and also adds
3700            support for this kind of constant expression.  In the
3701            meantime, this test will reject xlc, which is OK, since
3702            our stdbool.h substitute should suffice.  We also test
3703            this with GCC, where it should work, to detect more
3704            quickly whether someone messes up the test in the
3705            future.  */
3706         char digs[] = "0123456789";
3707         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
3708#       endif
3709        /* Catch a bug in an HP-UX C compiler.  See
3710           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
3711           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
3712         */
3713        _Bool q = true;
3714        _Bool *pq = &q;
3715
3716int
3717main ()
3718{
3719
3720        *pq |= q;
3721        *pq |= ! q;
3722        /* Refer to every declared value, to avoid compiler optimizations.  */
3723        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
3724                + !m + !n + !o + !p + !q + !pq);
3725
3726  ;
3727  return 0;
3728}
3729_ACEOF
3730if ac_fn_c_try_compile "$LINENO"; then :
3731  ac_cv_header_stdbool_h=yes
3732else
3733  ac_cv_header_stdbool_h=no
3734fi
3735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3736fi
3737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
3738$as_echo "$ac_cv_header_stdbool_h" >&6; }
3739ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
3740if test "x$ac_cv_type__Bool" = x""yes; then :
3741
3742cat >>confdefs.h <<_ACEOF
3743#define HAVE__BOOL 1
3744_ACEOF
3745
3746
3747fi
3748
3749if test $ac_cv_header_stdbool_h = yes; then
3750
3751$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
3752
3753fi
3754
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3756$as_echo_n "checking for inline... " >&6; }
3757if test "${ac_cv_c_inline+set}" = set; then :
3758  $as_echo_n "(cached) " >&6
3759else
3760  ac_cv_c_inline=no
3761for ac_kw in inline __inline__ __inline; do
3762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763/* end confdefs.h.  */
3764#ifndef __cplusplus
3765typedef int foo_t;
3766static $ac_kw foo_t static_foo () {return 0; }
3767$ac_kw foo_t foo () {return 0; }
3768#endif
3769
3770_ACEOF
3771if ac_fn_c_try_compile "$LINENO"; then :
3772  ac_cv_c_inline=$ac_kw
3773fi
3774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775  test "$ac_cv_c_inline" != no && break
3776done
3777
3778fi
3779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3780$as_echo "$ac_cv_c_inline" >&6; }
3781
3782case $ac_cv_c_inline in
3783  inline | yes) ;;
3784  *)
3785    case $ac_cv_c_inline in
3786      no) ac_val=;;
3787      *) ac_val=$ac_cv_c_inline;;
3788    esac
3789    cat >>confdefs.h <<_ACEOF
3790#ifndef __cplusplus
3791#define inline $ac_val
3792#endif
3793_ACEOF
3794    ;;
3795esac
3796
3797
3798# Checks for library functions.
3799for ac_header in stdlib.h
3800do :
3801  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
3802if test "x$ac_cv_header_stdlib_h" = x""yes; then :
3803  cat >>confdefs.h <<_ACEOF
3804#define HAVE_STDLIB_H 1
3805_ACEOF
3806
3807fi
3808
3809done
3810
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
3812$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
3813if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
3814  $as_echo_n "(cached) " >&6
3815else
3816  if test "$cross_compiling" = yes; then :
3817  ac_cv_func_malloc_0_nonnull=no
3818else
3819  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820/* end confdefs.h.  */
3821#if defined STDC_HEADERS || defined HAVE_STDLIB_H
3822# include <stdlib.h>
3823#else
3824char *malloc ();
3825#endif
3826
3827int
3828main ()
3829{
3830return ! malloc (0);
3831  ;
3832  return 0;
3833}
3834_ACEOF
3835if ac_fn_c_try_run "$LINENO"; then :
3836  ac_cv_func_malloc_0_nonnull=yes
3837else
3838  ac_cv_func_malloc_0_nonnull=no
3839fi
3840rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3841  conftest.$ac_objext conftest.beam conftest.$ac_ext
3842fi
3843
3844fi
3845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
3846$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
3847if test $ac_cv_func_malloc_0_nonnull = yes; then :
3848
3849$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
3850
3851else
3852  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
3853
3854   case " $LIBOBJS " in
3855  *" malloc.$ac_objext "* ) ;;
3856  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
3857 ;;
3858esac
3859
3860
3861$as_echo "#define malloc rpl_malloc" >>confdefs.h
3862
3863fi
3864
3865
3866for ac_func in memset
3867do :
3868  ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
3869if test "x$ac_cv_func_memset" = x""yes; then :
3870  cat >>confdefs.h <<_ACEOF
3871#define HAVE_MEMSET 1
3872_ACEOF
3873
3874fi
3875done
3876
3877
3878ac_config_files="$ac_config_files Makefile"
3879
3880cat >confcache <<\_ACEOF
3881# This file is a shell script that caches the results of configure
3882# tests run on this system so they can be shared between configure
3883# scripts and configure runs, see configure's option --config-cache.
3884# It is not useful on other systems.  If it contains results you don't
3885# want to keep, you may remove or edit it.
3886#
3887# config.status only pays attention to the cache file if you give it
3888# the --recheck option to rerun configure.
3889#
3890# `ac_cv_env_foo' variables (set or unset) will be overridden when
3891# loading this file, other *unset* `ac_cv_foo' will be assigned the
3892# following values.
3893
3894_ACEOF
3895
3896# The following way of writing the cache mishandles newlines in values,
3897# but we know of no workaround that is simple, portable, and efficient.
3898# So, we kill variables containing newlines.
3899# Ultrix sh set writes to stderr and can't be redirected directly,
3900# and sets the high bit in the cache file unless we assign to the vars.
3901(
3902  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3903    eval ac_val=\$$ac_var
3904    case $ac_val in #(
3905    *${as_nl}*)
3906      case $ac_var in #(
3907      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3908$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3909      esac
3910      case $ac_var in #(
3911      _ | IFS | as_nl) ;; #(
3912      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3913      *) { eval $ac_var=; unset $ac_var;} ;;
3914      esac ;;
3915    esac
3916  done
3917
3918  (set) 2>&1 |
3919    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3920    *${as_nl}ac_space=\ *)
3921      # `set' does not quote correctly, so add quotes: double-quote
3922      # substitution turns \\\\ into \\, and sed turns \\ into \.
3923      sed -n \
3924        "s/'/'\\\\''/g;
3925          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3926      ;; #(
3927    *)
3928      # `set' quotes correctly as required by POSIX, so do not add quotes.
3929      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3930      ;;
3931    esac |
3932    sort
3933) |
3934  sed '
3935     /^ac_cv_env_/b end
3936     t clear
3937     :clear
3938     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3939     t end
3940     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3941     :end' >>confcache
3942if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3943  if test -w "$cache_file"; then
3944    test "x$cache_file" != "x/dev/null" &&
3945      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3946$as_echo "$as_me: updating cache $cache_file" >&6;}
3947    cat confcache >$cache_file
3948  else
3949    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3950$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3951  fi
3952fi
3953rm -f confcache
3954
3955test "x$prefix" = xNONE && prefix=$ac_default_prefix
3956# Let make expand exec_prefix.
3957test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3958
3959DEFS=-DHAVE_CONFIG_H
3960
3961ac_libobjs=
3962ac_ltlibobjs=
3963for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3964  # 1. Remove the extension, and $U if already installed.
3965  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3966  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3967  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3968  #    will be set to the directory where LIBOBJS objects are built.
3969  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3970  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3971done
3972LIBOBJS=$ac_libobjs
3973
3974LTLIBOBJS=$ac_ltlibobjs
3975
3976
3977
3978: ${CONFIG_STATUS=./config.status}
3979ac_write_fail=0
3980ac_clean_files_save=$ac_clean_files
3981ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3982{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3983$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3984as_write_fail=0
3985cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3986#! $SHELL
3987# Generated by $as_me.
3988# Run this file to recreate the current configuration.
3989# Compiler output produced by configure, useful for debugging
3990# configure, is in config.log if it exists.
3991
3992debug=false
3993ac_cs_recheck=false
3994ac_cs_silent=false
3995
3996SHELL=\${CONFIG_SHELL-$SHELL}
3997export SHELL
3998_ASEOF
3999cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4000## -------------------- ##
4001## M4sh Initialization. ##
4002## -------------------- ##
4003
4004# Be more Bourne compatible
4005DUALCASE=1; export DUALCASE # for MKS sh
4006if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4007  emulate sh
4008  NULLCMD=:
4009  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4010  # is contrary to our usage.  Disable this feature.
4011  alias -g '${1+"$@"}'='"$@"'
4012  setopt NO_GLOB_SUBST
4013else
4014  case `(set -o) 2>/dev/null` in #(
4015  *posix*) :
4016    set -o posix ;; #(
4017  *) :
4018     ;;
4019esac
4020fi
4021
4022
4023as_nl='
4024'
4025export as_nl
4026# Printing a long string crashes Solaris 7 /usr/bin/printf.
4027as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4028as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4029as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4030# Prefer a ksh shell builtin over an external printf program on Solaris,
4031# but without wasting forks for bash or zsh.
4032if test -z "$BASH_VERSION$ZSH_VERSION" \
4033    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4034  as_echo='print -r --'
4035  as_echo_n='print -rn --'
4036elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4037  as_echo='printf %s\n'
4038  as_echo_n='printf %s'
4039else
4040  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4041    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4042    as_echo_n='/usr/ucb/echo -n'
4043  else
4044    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4045    as_echo_n_body='eval
4046      arg=$1;
4047      case $arg in #(
4048      *"$as_nl"*)
4049        expr "X$arg" : "X\\(.*\\)$as_nl";
4050        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4051      esac;
4052      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4053    '
4054    export as_echo_n_body
4055    as_echo_n='sh -c $as_echo_n_body as_echo'
4056  fi
4057  export as_echo_body
4058  as_echo='sh -c $as_echo_body as_echo'
4059fi
4060
4061# The user is always right.
4062if test "${PATH_SEPARATOR+set}" != set; then
4063  PATH_SEPARATOR=:
4064  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4065    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4066      PATH_SEPARATOR=';'
4067  }
4068fi
4069
4070
4071# IFS
4072# We need space, tab and new line, in precisely that order.  Quoting is
4073# there to prevent editors from complaining about space-tab.
4074# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4075# splitting by setting IFS to empty value.)
4076IFS=" ""        $as_nl"
4077
4078# Find who we are.  Look in the path if we contain no directory separator.
4079case $0 in #((
4080  *[\\/]* ) as_myself=$0 ;;
4081  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082for as_dir in $PATH
4083do
4084  IFS=$as_save_IFS
4085  test -z "$as_dir" && as_dir=.
4086    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4087  done
4088IFS=$as_save_IFS
4089
4090     ;;
4091esac
4092# We did not find ourselves, most probably we were run as `sh COMMAND'
4093# in which case we are not to be found in the path.
4094if test "x$as_myself" = x; then
4095  as_myself=$0
4096fi
4097if test ! -f "$as_myself"; then
4098  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4099  exit 1
4100fi
4101
4102# Unset variables that we do not need and which cause bugs (e.g. in
4103# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4104# suppresses any "Segmentation fault" message there.  '((' could
4105# trigger a bug in pdksh 5.2.14.
4106for as_var in BASH_ENV ENV MAIL MAILPATH
4107do eval test x\${$as_var+set} = xset \
4108  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4109done
4110PS1='$ '
4111PS2='> '
4112PS4='+ '
4113
4114# NLS nuisances.
4115LC_ALL=C
4116export LC_ALL
4117LANGUAGE=C
4118export LANGUAGE
4119
4120# CDPATH.
4121(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4122
4123
4124# as_fn_error ERROR [LINENO LOG_FD]
4125# ---------------------------------
4126# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4127# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4128# script with status $?, using 1 if that was 0.
4129as_fn_error ()
4130{
4131  as_status=$?; test $as_status -eq 0 && as_status=1
4132  if test "$3"; then
4133    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4134    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4135  fi
4136  $as_echo "$as_me: error: $1" >&2
4137  as_fn_exit $as_status
4138} # as_fn_error
4139
4140
4141# as_fn_set_status STATUS
4142# -----------------------
4143# Set $? to STATUS, without forking.
4144as_fn_set_status ()
4145{
4146  return $1
4147} # as_fn_set_status
4148
4149# as_fn_exit STATUS
4150# -----------------
4151# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4152as_fn_exit ()
4153{
4154  set +e
4155  as_fn_set_status $1
4156  exit $1
4157} # as_fn_exit
4158
4159# as_fn_unset VAR
4160# ---------------
4161# Portably unset VAR.
4162as_fn_unset ()
4163{
4164  { eval $1=; unset $1;}
4165}
4166as_unset=as_fn_unset
4167# as_fn_append VAR VALUE
4168# ----------------------
4169# Append the text in VALUE to the end of the definition contained in VAR. Take
4170# advantage of any shell optimizations that allow amortized linear growth over
4171# repeated appends, instead of the typical quadratic growth present in naive
4172# implementations.
4173if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4174  eval 'as_fn_append ()
4175  {
4176    eval $1+=\$2
4177  }'
4178else
4179  as_fn_append ()
4180  {
4181    eval $1=\$$1\$2
4182  }
4183fi # as_fn_append
4184
4185# as_fn_arith ARG...
4186# ------------------
4187# Perform arithmetic evaluation on the ARGs, and store the result in the
4188# global $as_val. Take advantage of shells that can avoid forks. The arguments
4189# must be portable across $(()) and expr.
4190if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4191  eval 'as_fn_arith ()
4192  {
4193    as_val=$(( $* ))
4194  }'
4195else
4196  as_fn_arith ()
4197  {
4198    as_val=`expr "$@" || test $? -eq 1`
4199  }
4200fi # as_fn_arith
4201
4202
4203if expr a : '\(a\)' >/dev/null 2>&1 &&
4204   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4205  as_expr=expr
4206else
4207  as_expr=false
4208fi
4209
4210if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4211  as_basename=basename
4212else
4213  as_basename=false
4214fi
4215
4216if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4217  as_dirname=dirname
4218else
4219  as_dirname=false
4220fi
4221
4222as_me=`$as_basename -- "$0" ||
4223$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4224         X"$0" : 'X\(//\)$' \| \
4225         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4226$as_echo X/"$0" |
4227    sed '/^.*\/\([^/][^/]*\)\/*$/{
4228            s//\1/
4229            q
4230          }
4231          /^X\/\(\/\/\)$/{
4232            s//\1/
4233            q
4234          }
4235          /^X\/\(\/\).*/{
4236            s//\1/
4237            q
4238          }
4239          s/.*/./; q'`
4240
4241# Avoid depending upon Character Ranges.
4242as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4243as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4244as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4245as_cr_digits='0123456789'
4246as_cr_alnum=$as_cr_Letters$as_cr_digits
4247
4248ECHO_C= ECHO_N= ECHO_T=
4249case `echo -n x` in #(((((
4250-n*)
4251  case `echo 'xy\c'` in
4252  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4253  xy)  ECHO_C='\c';;
4254  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4255       ECHO_T=' ';;
4256  esac;;
4257*)
4258  ECHO_N='-n';;
4259esac
4260
4261rm -f conf$$ conf$$.exe conf$$.file
4262if test -d conf$$.dir; then
4263  rm -f conf$$.dir/conf$$.file
4264else
4265  rm -f conf$$.dir
4266  mkdir conf$$.dir 2>/dev/null
4267fi
4268if (echo >conf$$.file) 2>/dev/null; then
4269  if ln -s conf$$.file conf$$ 2>/dev/null; then
4270    as_ln_s='ln -s'
4271    # ... but there are two gotchas:
4272    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4273    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4274    # In both cases, we have to default to `cp -p'.
4275    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4276      as_ln_s='cp -p'
4277  elif ln conf$$.file conf$$ 2>/dev/null; then
4278    as_ln_s=ln
4279  else
4280    as_ln_s='cp -p'
4281  fi
4282else
4283  as_ln_s='cp -p'
4284fi
4285rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4286rmdir conf$$.dir 2>/dev/null
4287
4288
4289# as_fn_mkdir_p
4290# -------------
4291# Create "$as_dir" as a directory, including parents if necessary.
4292as_fn_mkdir_p ()
4293{
4294
4295  case $as_dir in #(
4296  -*) as_dir=./$as_dir;;
4297  esac
4298  test -d "$as_dir" || eval $as_mkdir_p || {
4299    as_dirs=
4300    while :; do
4301      case $as_dir in #(
4302      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4303      *) as_qdir=$as_dir;;
4304      esac
4305      as_dirs="'$as_qdir' $as_dirs"
4306      as_dir=`$as_dirname -- "$as_dir" ||
4307$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4308         X"$as_dir" : 'X\(//\)[^/]' \| \
4309         X"$as_dir" : 'X\(//\)$' \| \
4310         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4311$as_echo X"$as_dir" |
4312    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4313            s//\1/
4314            q
4315          }
4316          /^X\(\/\/\)[^/].*/{
4317            s//\1/
4318            q
4319          }
4320          /^X\(\/\/\)$/{
4321            s//\1/
4322            q
4323          }
4324          /^X\(\/\).*/{
4325            s//\1/
4326            q
4327          }
4328          s/.*/./; q'`
4329      test -d "$as_dir" && break
4330    done
4331    test -z "$as_dirs" || eval "mkdir $as_dirs"
4332  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4333
4334
4335} # as_fn_mkdir_p
4336if mkdir -p . 2>/dev/null; then
4337  as_mkdir_p='mkdir -p "$as_dir"'
4338else
4339  test -d ./-p && rmdir ./-p
4340  as_mkdir_p=false
4341fi
4342
4343if test -x / >/dev/null 2>&1; then
4344  as_test_x='test -x'
4345else
4346  if ls -dL / >/dev/null 2>&1; then
4347    as_ls_L_option=L
4348  else
4349    as_ls_L_option=
4350  fi
4351  as_test_x='
4352    eval sh -c '\''
4353      if test -d "$1"; then
4354        test -d "$1/.";
4355      else
4356        case $1 in #(
4357        -*)set "./$1";;
4358        esac;
4359        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4360        ???[sx]*):;;*)false;;esac;fi
4361    '\'' sh
4362  '
4363fi
4364as_executable_p=$as_test_x
4365
4366# Sed expression to map a string onto a valid CPP name.
4367as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4368
4369# Sed expression to map a string onto a valid variable name.
4370as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4371
4372
4373exec 6>&1
4374## ----------------------------------- ##
4375## Main body of $CONFIG_STATUS script. ##
4376## ----------------------------------- ##
4377_ASEOF
4378test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4379
4380cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4381# Save the log message, to keep $0 and so on meaningful, and to
4382# report actual input values of CONFIG_FILES etc. instead of their
4383# values after options handling.
4384ac_log="
4385This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
4386generated by GNU Autoconf 2.65.  Invocation command line was
4387
4388  CONFIG_FILES    = $CONFIG_FILES
4389  CONFIG_HEADERS  = $CONFIG_HEADERS
4390  CONFIG_LINKS    = $CONFIG_LINKS
4391  CONFIG_COMMANDS = $CONFIG_COMMANDS
4392  $ $0 $@
4393
4394on `(hostname || uname -n) 2>/dev/null | sed 1q`
4395"
4396
4397_ACEOF
4398
4399case $ac_config_files in *"
4400"*) set x $ac_config_files; shift; ac_config_files=$*;;
4401esac
4402
4403case $ac_config_headers in *"
4404"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4405esac
4406
4407
4408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4409# Files that config.status was made for.
4410config_files="$ac_config_files"
4411config_headers="$ac_config_headers"
4412
4413_ACEOF
4414
4415cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4416ac_cs_usage="\
4417\`$as_me' instantiates files and other configuration actions
4418from templates according to the current configuration.  Unless the files
4419and actions are specified as TAGs, all are instantiated by default.
4420
4421Usage: $0 [OPTION]... [TAG]...
4422
4423  -h, --help       print this help, then exit
4424  -V, --version    print version number and configuration settings, then exit
4425      --config     print configuration, then exit
4426  -q, --quiet, --silent
4427                   do not print progress messages
4428  -d, --debug      don't remove temporary files
4429      --recheck    update $as_me by reconfiguring in the same conditions
4430      --file=FILE[:TEMPLATE]
4431                   instantiate the configuration file FILE
4432      --header=FILE[:TEMPLATE]
4433                   instantiate the configuration header FILE
4434
4435Configuration files:
4436$config_files
4437
4438Configuration headers:
4439$config_headers
4440
4441Report bugs to <BUG-REPORT-ADDRESS>."
4442
4443_ACEOF
4444cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4445ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4446ac_cs_version="\\
4447FULL-PACKAGE-NAME config.status VERSION
4448configured by $0, generated by GNU Autoconf 2.65,
4449  with options \\"\$ac_cs_config\\"
4450
4451Copyright (C) 2009 Free Software Foundation, Inc.
4452This config.status script is free software; the Free Software Foundation
4453gives unlimited permission to copy, distribute and modify it."
4454
4455ac_pwd='$ac_pwd'
4456srcdir='$srcdir'
4457test -n "\$AWK" || AWK=awk
4458_ACEOF
4459
4460cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4461# The default lists apply if the user does not specify any file.
4462ac_need_defaults=:
4463while test $# != 0
4464do
4465  case $1 in
4466  --*=*)
4467    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4468    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4469    ac_shift=:
4470    ;;
4471  *)
4472    ac_option=$1
4473    ac_optarg=$2
4474    ac_shift=shift
4475    ;;
4476  esac
4477
4478  case $ac_option in
4479  # Handling of the options.
4480  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4481    ac_cs_recheck=: ;;
4482  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4483    $as_echo "$ac_cs_version"; exit ;;
4484  --config | --confi | --conf | --con | --co | --c )
4485    $as_echo "$ac_cs_config"; exit ;;
4486  --debug | --debu | --deb | --de | --d | -d )
4487    debug=: ;;
4488  --file | --fil | --fi | --f )
4489    $ac_shift
4490    case $ac_optarg in
4491    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4492    esac
4493    as_fn_append CONFIG_FILES " '$ac_optarg'"
4494    ac_need_defaults=false;;
4495  --header | --heade | --head | --hea )
4496    $ac_shift
4497    case $ac_optarg in
4498    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4499    esac
4500    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4501    ac_need_defaults=false;;
4502  --he | --h)
4503    # Conflict between --help and --header
4504    as_fn_error "ambiguous option: \`$1'
4505Try \`$0 --help' for more information.";;
4506  --help | --hel | -h )
4507    $as_echo "$ac_cs_usage"; exit ;;
4508  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4509  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4510    ac_cs_silent=: ;;
4511
4512  # This is an error.
4513  -*) as_fn_error "unrecognized option: \`$1'
4514Try \`$0 --help' for more information." ;;
4515
4516  *) as_fn_append ac_config_targets " $1"
4517     ac_need_defaults=false ;;
4518
4519  esac
4520  shift
4521done
4522
4523ac_configure_extra_args=
4524
4525if $ac_cs_silent; then
4526  exec 6>/dev/null
4527  ac_configure_extra_args="$ac_configure_extra_args --silent"
4528fi
4529
4530_ACEOF
4531cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4532if \$ac_cs_recheck; then
4533  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4534  shift
4535  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4536  CONFIG_SHELL='$SHELL'
4537  export CONFIG_SHELL
4538  exec "\$@"
4539fi
4540
4541_ACEOF
4542cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4543exec 5>>config.log
4544{
4545  echo
4546  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4547## Running $as_me. ##
4548_ASBOX
4549  $as_echo "$ac_log"
4550} >&5
4551
4552_ACEOF
4553cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4554_ACEOF
4555
4556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4557
4558# Handling of arguments.
4559for ac_config_target in $ac_config_targets
4560do
4561  case $ac_config_target in
4562    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4563    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4564
4565  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4566  esac
4567done
4568
4569
4570# If the user did not use the arguments to specify the items to instantiate,
4571# then the envvar interface is used.  Set only those that are not.
4572# We use the long form for the default assignment because of an extremely
4573# bizarre bug on SunOS 4.1.3.
4574if $ac_need_defaults; then
4575  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4576  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4577fi
4578
4579# Have a temporary directory for convenience.  Make it in the build tree
4580# simply because there is no reason against having it here, and in addition,
4581# creating and moving files from /tmp can sometimes cause problems.
4582# Hook for its removal unless debugging.
4583# Note that there is a small window in which the directory will not be cleaned:
4584# after its creation but before its name has been assigned to `$tmp'.
4585$debug ||
4586{
4587  tmp=
4588  trap 'exit_status=$?
4589  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4590' 0
4591  trap 'as_fn_exit 1' 1 2 13 15
4592}
4593# Create a (secure) tmp directory for tmp files.
4594
4595{
4596  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4597  test -n "$tmp" && test -d "$tmp"
4598}  ||
4599{
4600  tmp=./conf$$-$RANDOM
4601  (umask 077 && mkdir "$tmp")
4602} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4603
4604# Set up the scripts for CONFIG_FILES section.
4605# No need to generate them if there are no CONFIG_FILES.
4606# This happens for instance with `./config.status config.h'.
4607if test -n "$CONFIG_FILES"; then
4608
4609
4610ac_cr=`echo X | tr X '\015'`
4611# On cygwin, bash can eat \r inside `` if the user requested igncr.
4612# But we know of no other shell where ac_cr would be empty at this
4613# point, so we can use a bashism as a fallback.
4614if test "x$ac_cr" = x; then
4615  eval ac_cr=\$\'\\r\'
4616fi
4617ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4618if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4619  ac_cs_awk_cr='\r'
4620else
4621  ac_cs_awk_cr=$ac_cr
4622fi
4623
4624echo 'BEGIN {' >"$tmp/subs1.awk" &&
4625_ACEOF
4626
4627
4628{
4629  echo "cat >conf$$subs.awk <<_ACEOF" &&
4630  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4631  echo "_ACEOF"
4632} >conf$$subs.sh ||
4633  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4634ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4635ac_delim='%!_!# '
4636for ac_last_try in false false false false false :; do
4637  . ./conf$$subs.sh ||
4638    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4639
4640  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4641  if test $ac_delim_n = $ac_delim_num; then
4642    break
4643  elif $ac_last_try; then
4644    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4645  else
4646    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4647  fi
4648done
4649rm -f conf$$subs.sh
4650
4651cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4652cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4653_ACEOF
4654sed -n '
4655h
4656s/^/S["/; s/!.*/"]=/
4657p
4658g
4659s/^[^!]*!//
4660:repl
4661t repl
4662s/'"$ac_delim"'$//
4663t delim
4664:nl
4665h
4666s/\(.\{148\}\)..*/\1/
4667t more1
4668s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4669p
4670n
4671b repl
4672:more1
4673s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4674p
4675g
4676s/.\{148\}//
4677t nl
4678:delim
4679h
4680s/\(.\{148\}\)..*/\1/
4681t more2
4682s/["\\]/\\&/g; s/^/"/; s/$/"/
4683p
4684b
4685:more2
4686s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4687p
4688g
4689s/.\{148\}//
4690t delim
4691' <conf$$subs.awk | sed '
4692/^[^""]/{
4693  N
4694  s/\n//
4695}
4696' >>$CONFIG_STATUS || ac_write_fail=1
4697rm -f conf$$subs.awk
4698cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4699_ACAWK
4700cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4701  for (key in S) S_is_set[key] = 1
4702  FS = ""
4703
4704}
4705{
4706  line = $ 0
4707  nfields = split(line, field, "@")
4708  substed = 0
4709  len = length(field[1])
4710  for (i = 2; i < nfields; i++) {
4711    key = field[i]
4712    keylen = length(key)
4713    if (S_is_set[key]) {
4714      value = S[key]
4715      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4716      len += length(value) + length(field[++i])
4717      substed = 1
4718    } else
4719      len += 1 + keylen
4720  }
4721
4722  print line
4723}
4724
4725_ACAWK
4726_ACEOF
4727cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4728if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4729  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4730else
4731  cat
4732fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4733  || as_fn_error "could not setup config files machinery" "$LINENO" 5
4734_ACEOF
4735
4736# VPATH may cause trouble with some makes, so we remove $(srcdir),
4737# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4738# trailing colons and then remove the whole line if VPATH becomes empty
4739# (actually we leave an empty line to preserve line numbers).
4740if test "x$srcdir" = x.; then
4741  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4742s/:*\$(srcdir):*/:/
4743s/:*\${srcdir}:*/:/
4744s/:*@srcdir@:*/:/
4745s/^\([^=]*=[     ]*\):*/\1/
4746s/:*$//
4747s/^[^=]*=[       ]*$//
4748}'
4749fi
4750
4751cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4752fi # test -n "$CONFIG_FILES"
4753
4754# Set up the scripts for CONFIG_HEADERS section.
4755# No need to generate them if there are no CONFIG_HEADERS.
4756# This happens for instance with `./config.status Makefile'.
4757if test -n "$CONFIG_HEADERS"; then
4758cat >"$tmp/defines.awk" <<\_ACAWK ||
4759BEGIN {
4760_ACEOF
4761
4762# Transform confdefs.h into an awk script `defines.awk', embedded as
4763# here-document in config.status, that substitutes the proper values into
4764# config.h.in to produce config.h.
4765
4766# Create a delimiter string that does not exist in confdefs.h, to ease
4767# handling of long lines.
4768ac_delim='%!_!# '
4769for ac_last_try in false false :; do
4770  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4771  if test -z "$ac_t"; then
4772    break
4773  elif $ac_last_try; then
4774    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
4775  else
4776    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4777  fi
4778done
4779
4780# For the awk script, D is an array of macro values keyed by name,
4781# likewise P contains macro parameters if any.  Preserve backslash
4782# newline sequences.
4783
4784ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4785sed -n '
4786s/.\{148\}/&'"$ac_delim"'/g
4787t rset
4788:rset
4789s/^[     ]*#[    ]*define[       ][      ]*/ /
4790t def
4791d
4792:def
4793s/\\$//
4794t bsnl
4795s/["\\]/\\&/g
4796s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4797D["\1"]=" \3"/p
4798s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
4799d
4800:bsnl
4801s/["\\]/\\&/g
4802s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4803D["\1"]=" \3\\\\\\n"\\/p
4804t cont
4805s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4806t cont
4807d
4808:cont
4809n
4810s/.\{148\}/&'"$ac_delim"'/g
4811t clear
4812:clear
4813s/\\$//
4814t bsnlc
4815s/["\\]/\\&/g; s/^/"/; s/$/"/p
4816d
4817:bsnlc
4818s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4819b cont
4820' <confdefs.h | sed '
4821s/'"$ac_delim"'/"\\\
4822"/g' >>$CONFIG_STATUS || ac_write_fail=1
4823
4824cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4825  for (key in D) D_is_set[key] = 1
4826  FS = ""
4827}
4828/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4829  line = \$ 0
4830  split(line, arg, " ")
4831  if (arg[1] == "#") {
4832    defundef = arg[2]
4833    mac1 = arg[3]
4834  } else {
4835    defundef = substr(arg[1], 2)
4836    mac1 = arg[2]
4837  }
4838  split(mac1, mac2, "(") #)
4839  macro = mac2[1]
4840  prefix = substr(line, 1, index(line, defundef) - 1)
4841  if (D_is_set[macro]) {
4842    # Preserve the white space surrounding the "#".
4843    print prefix "define", macro P[macro] D[macro]
4844    next
4845  } else {
4846    # Replace #undef with comments.  This is necessary, for example,
4847    # in the case of _POSIX_SOURCE, which is predefined and required
4848    # on some systems where configure will not decide to define it.
4849    if (defundef == "undef") {
4850      print "/*", prefix defundef, macro, "*/"
4851      next
4852    }
4853  }
4854}
4855{ print }
4856_ACAWK
4857_ACEOF
4858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4859  as_fn_error "could not setup config headers machinery" "$LINENO" 5
4860fi # test -n "$CONFIG_HEADERS"
4861
4862
4863eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
4864shift
4865for ac_tag
4866do
4867  case $ac_tag in
4868  :[FHLC]) ac_mode=$ac_tag; continue;;
4869  esac
4870  case $ac_mode$ac_tag in
4871  :[FHL]*:*);;
4872  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4873  :[FH]-) ac_tag=-:-;;
4874  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4875  esac
4876  ac_save_IFS=$IFS
4877  IFS=:
4878  set x $ac_tag
4879  IFS=$ac_save_IFS
4880  shift
4881  ac_file=$1
4882  shift
4883
4884  case $ac_mode in
4885  :L) ac_source=$1;;
4886  :[FH])
4887    ac_file_inputs=
4888    for ac_f
4889    do
4890      case $ac_f in
4891      -) ac_f="$tmp/stdin";;
4892      *) # Look for the file first in the build tree, then in the source tree
4893         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4894         # because $ac_f cannot contain `:'.
4895         test -f "$ac_f" ||
4896           case $ac_f in
4897           [\\/$]*) false;;
4898           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4899           esac ||
4900           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4901      esac
4902      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4903      as_fn_append ac_file_inputs " '$ac_f'"
4904    done
4905
4906    # Let's still pretend it is `configure' which instantiates (i.e., don't
4907    # use $as_me), people would be surprised to read:
4908    #    /* config.h.  Generated by config.status.  */
4909    configure_input='Generated from '`
4910          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4911        `' by configure.'
4912    if test x"$ac_file" != x-; then
4913      configure_input="$ac_file.  $configure_input"
4914      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4915$as_echo "$as_me: creating $ac_file" >&6;}
4916    fi
4917    # Neutralize special characters interpreted by sed in replacement strings.
4918    case $configure_input in #(
4919    *\&* | *\|* | *\\* )
4920       ac_sed_conf_input=`$as_echo "$configure_input" |
4921       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4922    *) ac_sed_conf_input=$configure_input;;
4923    esac
4924
4925    case $ac_tag in
4926    *:-:* | *:-) cat >"$tmp/stdin" \
4927      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4928    esac
4929    ;;
4930  esac
4931
4932  ac_dir=`$as_dirname -- "$ac_file" ||
4933$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4934         X"$ac_file" : 'X\(//\)[^/]' \| \
4935         X"$ac_file" : 'X\(//\)$' \| \
4936         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4937$as_echo X"$ac_file" |
4938    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4939            s//\1/
4940            q
4941          }
4942          /^X\(\/\/\)[^/].*/{
4943            s//\1/
4944            q
4945          }
4946          /^X\(\/\/\)$/{
4947            s//\1/
4948            q
4949          }
4950          /^X\(\/\).*/{
4951            s//\1/
4952            q
4953          }
4954          s/.*/./; q'`
4955  as_dir="$ac_dir"; as_fn_mkdir_p
4956  ac_builddir=.
4957
4958case "$ac_dir" in
4959.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4960*)
4961  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4962  # A ".." for each directory in $ac_dir_suffix.
4963  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4964  case $ac_top_builddir_sub in
4965  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4966  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4967  esac ;;
4968esac
4969ac_abs_top_builddir=$ac_pwd
4970ac_abs_builddir=$ac_pwd$ac_dir_suffix
4971# for backward compatibility:
4972ac_top_builddir=$ac_top_build_prefix
4973
4974case $srcdir in
4975  .)  # We are building in place.
4976    ac_srcdir=.
4977    ac_top_srcdir=$ac_top_builddir_sub
4978    ac_abs_top_srcdir=$ac_pwd ;;
4979  [\\/]* | ?:[\\/]* )  # Absolute name.
4980    ac_srcdir=$srcdir$ac_dir_suffix;
4981    ac_top_srcdir=$srcdir
4982    ac_abs_top_srcdir=$srcdir ;;
4983  *) # Relative name.
4984    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4985    ac_top_srcdir=$ac_top_build_prefix$srcdir
4986    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4987esac
4988ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4989
4990
4991  case $ac_mode in
4992  :F)
4993  #
4994  # CONFIG_FILE
4995  #
4996
4997_ACEOF
4998
4999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5000# If the template does not know about datarootdir, expand it.
5001# FIXME: This hack should be removed a few years after 2.60.
5002ac_datarootdir_hack=; ac_datarootdir_seen=
5003ac_sed_dataroot='
5004/datarootdir/ {
5005  p
5006  q
5007}
5008/@datadir@/p
5009/@docdir@/p
5010/@infodir@/p
5011/@localedir@/p
5012/@mandir@/p'
5013case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5014*datarootdir*) ac_datarootdir_seen=yes;;
5015*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5016  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5017$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5018_ACEOF
5019cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5020  ac_datarootdir_hack='
5021  s&@datadir@&$datadir&g
5022  s&@docdir@&$docdir&g
5023  s&@infodir@&$infodir&g
5024  s&@localedir@&$localedir&g
5025  s&@mandir@&$mandir&g
5026  s&\\\${datarootdir}&$datarootdir&g' ;;
5027esac
5028_ACEOF
5029
5030# Neutralize VPATH when `$srcdir' = `.'.
5031# Shell code in configure.ac might set extrasub.
5032# FIXME: do we really want to maintain this feature?
5033cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5034ac_sed_extra="$ac_vpsub
5035$extrasub
5036_ACEOF
5037cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5038:t
5039/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5040s|@configure_input@|$ac_sed_conf_input|;t t
5041s&@top_builddir@&$ac_top_builddir_sub&;t t
5042s&@top_build_prefix@&$ac_top_build_prefix&;t t
5043s&@srcdir@&$ac_srcdir&;t t
5044s&@abs_srcdir@&$ac_abs_srcdir&;t t
5045s&@top_srcdir@&$ac_top_srcdir&;t t
5046s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5047s&@builddir@&$ac_builddir&;t t
5048s&@abs_builddir@&$ac_abs_builddir&;t t
5049s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5050$ac_datarootdir_hack
5051"
5052eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5053  || as_fn_error "could not create $ac_file" "$LINENO" 5
5054
5055test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5056  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5057  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5058  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5059which seems to be undefined.  Please make sure it is defined." >&5
5060$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5061which seems to be undefined.  Please make sure it is defined." >&2;}
5062
5063  rm -f "$tmp/stdin"
5064  case $ac_file in
5065  -) cat "$tmp/out" && rm -f "$tmp/out";;
5066  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5067  esac \
5068  || as_fn_error "could not create $ac_file" "$LINENO" 5
5069 ;;
5070  :H)
5071  #
5072  # CONFIG_HEADER
5073  #
5074  if test x"$ac_file" != x-; then
5075    {
5076      $as_echo "/* $configure_input  */" \
5077      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5078    } >"$tmp/config.h" \
5079      || as_fn_error "could not create $ac_file" "$LINENO" 5
5080    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5081      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5082$as_echo "$as_me: $ac_file is unchanged" >&6;}
5083    else
5084      rm -f "$ac_file"
5085      mv "$tmp/config.h" "$ac_file" \
5086        || as_fn_error "could not create $ac_file" "$LINENO" 5
5087    fi
5088  else
5089    $as_echo "/* $configure_input  */" \
5090      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5091      || as_fn_error "could not create -" "$LINENO" 5
5092  fi
5093 ;;
5094
5095
5096  esac
5097
5098done # for ac_tag
5099
5100
5101as_fn_exit 0
5102_ACEOF
5103ac_clean_files=$ac_clean_files_save
5104
5105test $ac_write_fail = 0 ||
5106  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5107
5108
5109# configure is writing to config.log, and then calls config.status.
5110# config.status does its own redirection, appending to config.log.
5111# Unfortunately, on DOS this fails, as config.log is still kept open
5112# by configure, so config.status won't be able to write to it; its
5113# output is simply discarded.  So we exec the FD to /dev/null,
5114# effectively closing config.log, so it can be properly (re)opened and
5115# appended to by config.status.  When coming back to configure, we
5116# need to make the FD available again.
5117if test "$no_create" != yes; then
5118  ac_cs_success=:
5119  ac_config_status_args=
5120  test "$silent" = yes &&
5121    ac_config_status_args="$ac_config_status_args --quiet"
5122  exec 5>/dev/null
5123  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5124  exec 5>>config.log
5125  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5126  # would make configure fail if this is the last instruction.
5127  $ac_cs_success || as_fn_exit $?
5128fi
5129if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5130  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5131$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5132fi
5133
Note: See TracBrowser for help on using the repository browser.