source: git/coeffs/configure @ 039016

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