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