source: git/resource/configure @ 5df856

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