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