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