1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for GNU Typist 2.9.5.
4#
5# Report bugs to <bug-gtypist@gnu.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
202  if (eval "$as_required") 2>/dev/null; then :
203  as_have_required=yes
204else
205  as_have_required=no
206fi
207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214  IFS=$as_save_IFS
215  test -z "$as_dir" && as_dir=.
216  as_found=:
217  case $as_dir in #(
218	 /*)
219	   for as_base in sh bash ksh sh5; do
220	     # Try only shells that exist, to save several forks.
221	     as_shell=$as_dir/$as_base
222	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  CONFIG_SHELL=$as_shell as_have_required=yes
225		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226  break 2
227fi
228fi
229	   done;;
230       esac
231  as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235  CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240      if test "x$CONFIG_SHELL" != x; then :
241  export CONFIG_SHELL
242             # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250  *v*x* | *x*v* ) as_opts=-vx ;;
251  *v* ) as_opts=-v ;;
252  *x* ) as_opts=-x ;;
253  * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262    if test x$as_have_required = xno; then :
263  $as_echo "$0: This script requires a shell more modern than all"
264  $as_echo "$0: the shells that I found on your system."
265  if test x${ZSH_VERSION+set} = xset ; then
266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268  else
269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: bug-gtypist@gnu.org about your system, including any
271$0: error possibly output before this message. Then install
272$0: a modern shell, or manually run the script under such a
273$0: shell if you do have one."
274  fi
275  exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293  { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302  return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310  set +e
311  as_fn_set_status $1
312  exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321  case $as_dir in #(
322  -*) as_dir=./$as_dir;;
323  esac
324  test -d "$as_dir" || eval $as_mkdir_p || {
325    as_dirs=
326    while :; do
327      case $as_dir in #(
328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329      *) as_qdir=$as_dir;;
330      esac
331      as_dirs="'$as_qdir' $as_dirs"
332      as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334	 X"$as_dir" : 'X\(//\)[^/]' \| \
335	 X"$as_dir" : 'X\(//\)$' \| \
336	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)[^/].*/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\/\)$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\).*/{
351	    s//\1/
352	    q
353	  }
354	  s/.*/./; q'`
355      test -d "$as_dir" && break
356    done
357    test -z "$as_dirs" || eval "mkdir $as_dirs"
358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368  test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377  eval 'as_fn_append ()
378  {
379    eval $1+=\$2
380  }'
381else
382  as_fn_append ()
383  {
384    eval $1=\$$1\$2
385  }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394  eval 'as_fn_arith ()
395  {
396    as_val=$(( $* ))
397  }'
398else
399  as_fn_arith ()
400  {
401    as_val=`expr "$@" || test $? -eq 1`
402  }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413  as_status=$1; test $as_status -eq 0 && as_status=1
414  if test "$4"; then
415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417  fi
418  $as_echo "$as_me: error: $2" >&2
419  as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424  as_expr=expr
425else
426  as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430  as_basename=basename
431else
432  as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436  as_dirname=dirname
437else
438  as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443	 X"$0" : 'X\(//\)$' \| \
444	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446    sed '/^.*\/\([^/][^/]*\)\/*$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\/\)$/{
451	    s//\1/
452	    q
453	  }
454	  /^X\/\(\/\).*/{
455	    s//\1/
456	    q
457	  }
458	  s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473  sed -n '
474    p
475    /[$]LINENO/=
476  ' <$as_myself |
477    sed '
478      s/[$]LINENO.*/&-/
479      t lineno
480      b
481      :lineno
482      N
483      :loop
484      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485      t loop
486      s/-\n.*//
487    ' >$as_me.lineno &&
488  chmod +x "$as_me.lineno" ||
489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492  # already done that, so ensure we don't try to do so again and fall
493  # in an infinite loop.  This has already happened in practice.
494  _as_can_reexec=no; export _as_can_reexec
495  # Don't try to exec as it changes $[0], causing all sort of problems
496  # (the dirname of $[0] is not the place where we might find the
497  # original and so on.  Autoconf is especially sensitive to this).
498  . "./$as_me.lineno"
499  # Exit status is that of the last command.
500  exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506  case `echo 'xy\c'` in
507  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
508  xy)  ECHO_C='\c';;
509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510       ECHO_T='	';;
511  esac;;
512*)
513  ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518  rm -f conf$$.dir/conf$$.file
519else
520  rm -f conf$$.dir
521  mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524  if ln -s conf$$.file conf$$ 2>/dev/null; then
525    as_ln_s='ln -s'
526    # ... but there are two gotchas:
527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529    # In both cases, we have to default to `cp -pR'.
530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531      as_ln_s='cp -pR'
532  elif ln conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s=ln
534  else
535    as_ln_s='cp -pR'
536  fi
537else
538  as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544  as_mkdir_p='mkdir -p "$as_dir"'
545else
546  test -d ./-p && rmdir ./-p
547  as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='GNU Typist'
582PACKAGE_TARNAME='gtypist'
583PACKAGE_VERSION='2.9.5'
584PACKAGE_STRING='GNU Typist 2.9.5'
585PACKAGE_BUGREPORT='bug-gtypist@gnu.org'
586PACKAGE_URL='http://www.gnu.org/software/gtypist/'
587
588ac_unique_file="src/gtypist.c"
589# Factoring default headers for most tests.
590ac_includes_default="\
591#include <stdio.h>
592#ifdef HAVE_SYS_TYPES_H
593# include <sys/types.h>
594#endif
595#ifdef HAVE_SYS_STAT_H
596# include <sys/stat.h>
597#endif
598#ifdef STDC_HEADERS
599# include <stdlib.h>
600# include <stddef.h>
601#else
602# ifdef HAVE_STDLIB_H
603#  include <stdlib.h>
604# endif
605#endif
606#ifdef HAVE_STRING_H
607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608#  include <memory.h>
609# endif
610# include <string.h>
611#endif
612#ifdef HAVE_STRINGS_H
613# include <strings.h>
614#endif
615#ifdef HAVE_INTTYPES_H
616# include <inttypes.h>
617#endif
618#ifdef HAVE_STDINT_H
619# include <stdint.h>
620#endif
621#ifdef HAVE_UNISTD_H
622# include <unistd.h>
623#endif"
624
625gt_needs=
626ac_subst_vars='am__EXEEXT_FALSE
627am__EXEEXT_TRUE
628LTLIBOBJS
629lispdir
630EMACSLOADPATH
631EMACS
632GEN_MAN
633POSUB
634LTLIBINTL
635LIBINTL
636INTLLIBS
637INTL_MACOSX_LIBS
638XGETTEXT_EXTRA_OPTIONS
639MSGMERGE
640XGETTEXT_015
641XGETTEXT
642GMSGFMT_015
643MSGFMT_015
644GMSGFMT
645MSGFMT
646GETTEXT_MACRO_VERSION
647USE_NLS
648LTLIBICONV
649LIBICONV
650host_os
651host_vendor
652host_cpu
653host
654build_os
655build_vendor
656build_cpu
657build
658POW_LIB
659LIBOBJS
660ALLOCA
661YFLAGS
662YACC
663RANLIB
664LN_S
665EGREP
666GREP
667CPP
668am__fastdepCC_FALSE
669am__fastdepCC_TRUE
670CCDEPMODE
671am__nodep
672AMDEPBACKSLASH
673AMDEP_FALSE
674AMDEP_TRUE
675am__quote
676am__include
677DEPDIR
678OBJEXT
679EXEEXT
680ac_ct_CC
681CPPFLAGS
682LDFLAGS
683CFLAGS
684CC
685AM_BACKSLASH
686AM_DEFAULT_VERBOSITY
687AM_DEFAULT_V
688AM_V
689am__untar
690am__tar
691AMTAR
692am__leading_dot
693SET_MAKE
694AWK
695mkdir_p
696MKDIR_P
697INSTALL_STRIP_PROGRAM
698STRIP
699install_sh
700MAKEINFO
701AUTOHEADER
702AUTOMAKE
703AUTOCONF
704ACLOCAL
705VERSION
706PACKAGE
707CYGPATH_W
708am__isrc
709INSTALL_DATA
710INSTALL_SCRIPT
711INSTALL_PROGRAM
712target_alias
713host_alias
714build_alias
715LIBS
716ECHO_T
717ECHO_N
718ECHO_C
719DEFS
720mandir
721localedir
722libdir
723psdir
724pdfdir
725dvidir
726htmldir
727infodir
728docdir
729oldincludedir
730includedir
731localstatedir
732sharedstatedir
733sysconfdir
734datadir
735datarootdir
736libexecdir
737sbindir
738bindir
739program_transform_name
740prefix
741exec_prefix
742PACKAGE_URL
743PACKAGE_BUGREPORT
744PACKAGE_STRING
745PACKAGE_VERSION
746PACKAGE_TARNAME
747PACKAGE_NAME
748PATH_SEPARATOR
749SHELL'
750ac_subst_files=''
751ac_user_opts='
752enable_option_checking
753enable_silent_rules
754enable_dependency_tracking
755with_gnu_ld
756enable_rpath
757with_libiconv_prefix
758enable_nls
759with_libintl_prefix
760with_lispdir
761'
762      ac_precious_vars='build_alias
763host_alias
764target_alias
765CC
766CFLAGS
767LDFLAGS
768LIBS
769CPPFLAGS
770CPP
771YACC
772YFLAGS
773EMACS
774EMACSLOADPATH'
775
776
777# Initialize some variables set by options.
778ac_init_help=
779ac_init_version=false
780ac_unrecognized_opts=
781ac_unrecognized_sep=
782# The variables have the same names as the options, with
783# dashes changed to underlines.
784cache_file=/dev/null
785exec_prefix=NONE
786no_create=
787no_recursion=
788prefix=NONE
789program_prefix=NONE
790program_suffix=NONE
791program_transform_name=s,x,x,
792silent=
793site=
794srcdir=
795verbose=
796x_includes=NONE
797x_libraries=NONE
798
799# Installation directory options.
800# These are left unexpanded so users can "make install exec_prefix=/foo"
801# and all the variables that are supposed to be based on exec_prefix
802# by default will actually change.
803# Use braces instead of parens because sh, perl, etc. also accept them.
804# (The list follows the same order as the GNU Coding Standards.)
805bindir='${exec_prefix}/bin'
806sbindir='${exec_prefix}/sbin'
807libexecdir='${exec_prefix}/libexec'
808datarootdir='${prefix}/share'
809datadir='${datarootdir}'
810sysconfdir='${prefix}/etc'
811sharedstatedir='${prefix}/com'
812localstatedir='${prefix}/var'
813includedir='${prefix}/include'
814oldincludedir='/usr/include'
815docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
816infodir='${datarootdir}/info'
817htmldir='${docdir}'
818dvidir='${docdir}'
819pdfdir='${docdir}'
820psdir='${docdir}'
821libdir='${exec_prefix}/lib'
822localedir='${datarootdir}/locale'
823mandir='${datarootdir}/man'
824
825ac_prev=
826ac_dashdash=
827for ac_option
828do
829  # If the previous option needs an argument, assign it.
830  if test -n "$ac_prev"; then
831    eval $ac_prev=\$ac_option
832    ac_prev=
833    continue
834  fi
835
836  case $ac_option in
837  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838  *=)   ac_optarg= ;;
839  *)    ac_optarg=yes ;;
840  esac
841
842  # Accept the important Cygnus configure options, so we can diagnose typos.
843
844  case $ac_dashdash$ac_option in
845  --)
846    ac_dashdash=yes ;;
847
848  -bindir | --bindir | --bindi | --bind | --bin | --bi)
849    ac_prev=bindir ;;
850  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851    bindir=$ac_optarg ;;
852
853  -build | --build | --buil | --bui | --bu)
854    ac_prev=build_alias ;;
855  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856    build_alias=$ac_optarg ;;
857
858  -cache-file | --cache-file | --cache-fil | --cache-fi \
859  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860    ac_prev=cache_file ;;
861  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863    cache_file=$ac_optarg ;;
864
865  --config-cache | -C)
866    cache_file=config.cache ;;
867
868  -datadir | --datadir | --datadi | --datad)
869    ac_prev=datadir ;;
870  -datadir=* | --datadir=* | --datadi=* | --datad=*)
871    datadir=$ac_optarg ;;
872
873  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874  | --dataroo | --dataro | --datar)
875    ac_prev=datarootdir ;;
876  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878    datarootdir=$ac_optarg ;;
879
880  -disable-* | --disable-*)
881    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882    # Reject names that are not valid shell variable names.
883    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884      as_fn_error $? "invalid feature name: $ac_useropt"
885    ac_useropt_orig=$ac_useropt
886    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887    case $ac_user_opts in
888      *"
889"enable_$ac_useropt"
890"*) ;;
891      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892	 ac_unrecognized_sep=', ';;
893    esac
894    eval enable_$ac_useropt=no ;;
895
896  -docdir | --docdir | --docdi | --doc | --do)
897    ac_prev=docdir ;;
898  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899    docdir=$ac_optarg ;;
900
901  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902    ac_prev=dvidir ;;
903  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904    dvidir=$ac_optarg ;;
905
906  -enable-* | --enable-*)
907    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908    # Reject names that are not valid shell variable names.
909    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910      as_fn_error $? "invalid feature name: $ac_useropt"
911    ac_useropt_orig=$ac_useropt
912    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913    case $ac_user_opts in
914      *"
915"enable_$ac_useropt"
916"*) ;;
917      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918	 ac_unrecognized_sep=', ';;
919    esac
920    eval enable_$ac_useropt=\$ac_optarg ;;
921
922  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924  | --exec | --exe | --ex)
925    ac_prev=exec_prefix ;;
926  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928  | --exec=* | --exe=* | --ex=*)
929    exec_prefix=$ac_optarg ;;
930
931  -gas | --gas | --ga | --g)
932    # Obsolete; use --with-gas.
933    with_gas=yes ;;
934
935  -help | --help | --hel | --he | -h)
936    ac_init_help=long ;;
937  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938    ac_init_help=recursive ;;
939  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940    ac_init_help=short ;;
941
942  -host | --host | --hos | --ho)
943    ac_prev=host_alias ;;
944  -host=* | --host=* | --hos=* | --ho=*)
945    host_alias=$ac_optarg ;;
946
947  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948    ac_prev=htmldir ;;
949  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950  | --ht=*)
951    htmldir=$ac_optarg ;;
952
953  -includedir | --includedir | --includedi | --included | --include \
954  | --includ | --inclu | --incl | --inc)
955    ac_prev=includedir ;;
956  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957  | --includ=* | --inclu=* | --incl=* | --inc=*)
958    includedir=$ac_optarg ;;
959
960  -infodir | --infodir | --infodi | --infod | --info | --inf)
961    ac_prev=infodir ;;
962  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963    infodir=$ac_optarg ;;
964
965  -libdir | --libdir | --libdi | --libd)
966    ac_prev=libdir ;;
967  -libdir=* | --libdir=* | --libdi=* | --libd=*)
968    libdir=$ac_optarg ;;
969
970  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971  | --libexe | --libex | --libe)
972    ac_prev=libexecdir ;;
973  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974  | --libexe=* | --libex=* | --libe=*)
975    libexecdir=$ac_optarg ;;
976
977  -localedir | --localedir | --localedi | --localed | --locale)
978    ac_prev=localedir ;;
979  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980    localedir=$ac_optarg ;;
981
982  -localstatedir | --localstatedir | --localstatedi | --localstated \
983  | --localstate | --localstat | --localsta | --localst | --locals)
984    ac_prev=localstatedir ;;
985  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987    localstatedir=$ac_optarg ;;
988
989  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990    ac_prev=mandir ;;
991  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992    mandir=$ac_optarg ;;
993
994  -nfp | --nfp | --nf)
995    # Obsolete; use --without-fp.
996    with_fp=no ;;
997
998  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999  | --no-cr | --no-c | -n)
1000    no_create=yes ;;
1001
1002  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004    no_recursion=yes ;;
1005
1006  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008  | --oldin | --oldi | --old | --ol | --o)
1009    ac_prev=oldincludedir ;;
1010  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013    oldincludedir=$ac_optarg ;;
1014
1015  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016    ac_prev=prefix ;;
1017  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018    prefix=$ac_optarg ;;
1019
1020  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021  | --program-pre | --program-pr | --program-p)
1022    ac_prev=program_prefix ;;
1023  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025    program_prefix=$ac_optarg ;;
1026
1027  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028  | --program-suf | --program-su | --program-s)
1029    ac_prev=program_suffix ;;
1030  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032    program_suffix=$ac_optarg ;;
1033
1034  -program-transform-name | --program-transform-name \
1035  | --program-transform-nam | --program-transform-na \
1036  | --program-transform-n | --program-transform- \
1037  | --program-transform | --program-transfor \
1038  | --program-transfo | --program-transf \
1039  | --program-trans | --program-tran \
1040  | --progr-tra | --program-tr | --program-t)
1041    ac_prev=program_transform_name ;;
1042  -program-transform-name=* | --program-transform-name=* \
1043  | --program-transform-nam=* | --program-transform-na=* \
1044  | --program-transform-n=* | --program-transform-=* \
1045  | --program-transform=* | --program-transfor=* \
1046  | --program-transfo=* | --program-transf=* \
1047  | --program-trans=* | --program-tran=* \
1048  | --progr-tra=* | --program-tr=* | --program-t=*)
1049    program_transform_name=$ac_optarg ;;
1050
1051  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052    ac_prev=pdfdir ;;
1053  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054    pdfdir=$ac_optarg ;;
1055
1056  -psdir | --psdir | --psdi | --psd | --ps)
1057    ac_prev=psdir ;;
1058  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059    psdir=$ac_optarg ;;
1060
1061  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062  | -silent | --silent | --silen | --sile | --sil)
1063    silent=yes ;;
1064
1065  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066    ac_prev=sbindir ;;
1067  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068  | --sbi=* | --sb=*)
1069    sbindir=$ac_optarg ;;
1070
1071  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073  | --sharedst | --shareds | --shared | --share | --shar \
1074  | --sha | --sh)
1075    ac_prev=sharedstatedir ;;
1076  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079  | --sha=* | --sh=*)
1080    sharedstatedir=$ac_optarg ;;
1081
1082  -site | --site | --sit)
1083    ac_prev=site ;;
1084  -site=* | --site=* | --sit=*)
1085    site=$ac_optarg ;;
1086
1087  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088    ac_prev=srcdir ;;
1089  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090    srcdir=$ac_optarg ;;
1091
1092  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093  | --syscon | --sysco | --sysc | --sys | --sy)
1094    ac_prev=sysconfdir ;;
1095  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097    sysconfdir=$ac_optarg ;;
1098
1099  -target | --target | --targe | --targ | --tar | --ta | --t)
1100    ac_prev=target_alias ;;
1101  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102    target_alias=$ac_optarg ;;
1103
1104  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105    verbose=yes ;;
1106
1107  -version | --version | --versio | --versi | --vers | -V)
1108    ac_init_version=: ;;
1109
1110  -with-* | --with-*)
1111    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112    # Reject names that are not valid shell variable names.
1113    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114      as_fn_error $? "invalid package name: $ac_useropt"
1115    ac_useropt_orig=$ac_useropt
1116    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117    case $ac_user_opts in
1118      *"
1119"with_$ac_useropt"
1120"*) ;;
1121      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122	 ac_unrecognized_sep=', ';;
1123    esac
1124    eval with_$ac_useropt=\$ac_optarg ;;
1125
1126  -without-* | --without-*)
1127    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128    # Reject names that are not valid shell variable names.
1129    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130      as_fn_error $? "invalid package name: $ac_useropt"
1131    ac_useropt_orig=$ac_useropt
1132    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133    case $ac_user_opts in
1134      *"
1135"with_$ac_useropt"
1136"*) ;;
1137      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138	 ac_unrecognized_sep=', ';;
1139    esac
1140    eval with_$ac_useropt=no ;;
1141
1142  --x)
1143    # Obsolete; use --with-x.
1144    with_x=yes ;;
1145
1146  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147  | --x-incl | --x-inc | --x-in | --x-i)
1148    ac_prev=x_includes ;;
1149  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151    x_includes=$ac_optarg ;;
1152
1153  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155    ac_prev=x_libraries ;;
1156  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158    x_libraries=$ac_optarg ;;
1159
1160  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1161Try \`$0 --help' for more information"
1162    ;;
1163
1164  *=*)
1165    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166    # Reject names that are not valid shell variable names.
1167    case $ac_envvar in #(
1168      '' | [0-9]* | *[!_$as_cr_alnum]* )
1169      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1170    esac
1171    eval $ac_envvar=\$ac_optarg
1172    export $ac_envvar ;;
1173
1174  *)
1175    # FIXME: should be removed in autoconf 3.0.
1176    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1180    ;;
1181
1182  esac
1183done
1184
1185if test -n "$ac_prev"; then
1186  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187  as_fn_error $? "missing argument to $ac_option"
1188fi
1189
1190if test -n "$ac_unrecognized_opts"; then
1191  case $enable_option_checking in
1192    no) ;;
1193    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1194    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195  esac
1196fi
1197
1198# Check all directory arguments for consistency.
1199for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200		datadir sysconfdir sharedstatedir localstatedir includedir \
1201		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202		libdir localedir mandir
1203do
1204  eval ac_val=\$$ac_var
1205  # Remove trailing slashes.
1206  case $ac_val in
1207    */ )
1208      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209      eval $ac_var=\$ac_val;;
1210  esac
1211  # Be sure to have absolute directory names.
1212  case $ac_val in
1213    [\\/$]* | ?:[\\/]* )  continue;;
1214    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215  esac
1216  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1217done
1218
1219# There might be people who depend on the old broken behavior: `$host'
1220# used to hold the argument of --host etc.
1221# FIXME: To remove some day.
1222build=$build_alias
1223host=$host_alias
1224target=$target_alias
1225
1226# FIXME: To remove some day.
1227if test "x$host_alias" != x; then
1228  if test "x$build_alias" = x; then
1229    cross_compiling=maybe
1230  elif test "x$build_alias" != "x$host_alias"; then
1231    cross_compiling=yes
1232  fi
1233fi
1234
1235ac_tool_prefix=
1236test -n "$host_alias" && ac_tool_prefix=$host_alias-
1237
1238test "$silent" = yes && exec 6>/dev/null
1239
1240
1241ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242ac_ls_di=`ls -di .` &&
1243ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244  as_fn_error $? "working directory cannot be determined"
1245test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246  as_fn_error $? "pwd does not report name of working directory"
1247
1248
1249# Find the source files, if location was not specified.
1250if test -z "$srcdir"; then
1251  ac_srcdir_defaulted=yes
1252  # Try the directory containing this script, then the parent directory.
1253  ac_confdir=`$as_dirname -- "$as_myself" ||
1254$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255	 X"$as_myself" : 'X\(//\)[^/]' \| \
1256	 X"$as_myself" : 'X\(//\)$' \| \
1257	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258$as_echo X"$as_myself" |
1259    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260	    s//\1/
1261	    q
1262	  }
1263	  /^X\(\/\/\)[^/].*/{
1264	    s//\1/
1265	    q
1266	  }
1267	  /^X\(\/\/\)$/{
1268	    s//\1/
1269	    q
1270	  }
1271	  /^X\(\/\).*/{
1272	    s//\1/
1273	    q
1274	  }
1275	  s/.*/./; q'`
1276  srcdir=$ac_confdir
1277  if test ! -r "$srcdir/$ac_unique_file"; then
1278    srcdir=..
1279  fi
1280else
1281  ac_srcdir_defaulted=no
1282fi
1283if test ! -r "$srcdir/$ac_unique_file"; then
1284  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1286fi
1287ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288ac_abs_confdir=`(
1289	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1290	pwd)`
1291# When building in place, set srcdir=.
1292if test "$ac_abs_confdir" = "$ac_pwd"; then
1293  srcdir=.
1294fi
1295# Remove unnecessary trailing slashes from srcdir.
1296# Double slashes in file names in object file debugging info
1297# mess up M-x gdb in Emacs.
1298case $srcdir in
1299*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300esac
1301for ac_var in $ac_precious_vars; do
1302  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303  eval ac_env_${ac_var}_value=\$${ac_var}
1304  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1306done
1307
1308#
1309# Report the --help message.
1310#
1311if test "$ac_init_help" = "long"; then
1312  # Omit some internal or obsolete options to make the list less imposing.
1313  # This message is too long to be a string in the A/UX 3.1 sh.
1314  cat <<_ACEOF
1315\`configure' configures GNU Typist 2.9.5 to adapt to many kinds of systems.
1316
1317Usage: $0 [OPTION]... [VAR=VALUE]...
1318
1319To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320VAR=VALUE.  See below for descriptions of some of the useful variables.
1321
1322Defaults for the options are specified in brackets.
1323
1324Configuration:
1325  -h, --help              display this help and exit
1326      --help=short        display options specific to this package
1327      --help=recursive    display the short help of all the included packages
1328  -V, --version           display version information and exit
1329  -q, --quiet, --silent   do not print \`checking ...' messages
1330      --cache-file=FILE   cache test results in FILE [disabled]
1331  -C, --config-cache      alias for \`--cache-file=config.cache'
1332  -n, --no-create         do not create output files
1333      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1334
1335Installation directories:
1336  --prefix=PREFIX         install architecture-independent files in PREFIX
1337                          [$ac_default_prefix]
1338  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1339                          [PREFIX]
1340
1341By default, \`make install' will install all the files in
1342\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1343an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344for instance \`--prefix=\$HOME'.
1345
1346For better control, use the options below.
1347
1348Fine tuning of the installation directories:
1349  --bindir=DIR            user executables [EPREFIX/bin]
1350  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1351  --libexecdir=DIR        program executables [EPREFIX/libexec]
1352  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1353  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1354  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1355  --libdir=DIR            object code libraries [EPREFIX/lib]
1356  --includedir=DIR        C header files [PREFIX/include]
1357  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1358  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1359  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1360  --infodir=DIR           info documentation [DATAROOTDIR/info]
1361  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1362  --mandir=DIR            man documentation [DATAROOTDIR/man]
1363  --docdir=DIR            documentation root [DATAROOTDIR/doc/gtypist]
1364  --htmldir=DIR           html documentation [DOCDIR]
1365  --dvidir=DIR            dvi documentation [DOCDIR]
1366  --pdfdir=DIR            pdf documentation [DOCDIR]
1367  --psdir=DIR             ps documentation [DOCDIR]
1368_ACEOF
1369
1370  cat <<\_ACEOF
1371
1372Program names:
1373  --program-prefix=PREFIX            prepend PREFIX to installed program names
1374  --program-suffix=SUFFIX            append SUFFIX to installed program names
1375  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1376
1377System types:
1378  --build=BUILD     configure for building on BUILD [guessed]
1379  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1380_ACEOF
1381fi
1382
1383if test -n "$ac_init_help"; then
1384  case $ac_init_help in
1385     short | recursive ) echo "Configuration of GNU Typist 2.9.5:";;
1386   esac
1387  cat <<\_ACEOF
1388
1389Optional Features:
1390  --disable-option-checking  ignore unrecognized --enable/--with options
1391  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1392  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1393  --enable-silent-rules   less verbose build output (undo: "make V=1")
1394  --disable-silent-rules  verbose build output (undo: "make V=0")
1395  --enable-dependency-tracking
1396                          do not reject slow dependency extractors
1397  --disable-dependency-tracking
1398                          speeds up one-time build
1399  --disable-rpath         do not hardcode runtime library paths
1400  --disable-nls           do not use Native Language Support
1401
1402Optional Packages:
1403  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1404  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1405  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1406  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1407  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1408  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1409  --without-libintl-prefix     don't search for libintl in includedir and libdir
1410  --with-lispdir          override the default lisp directory
1411
1412Some influential environment variables:
1413  CC          C compiler command
1414  CFLAGS      C compiler flags
1415  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1416              nonstandard directory <lib dir>
1417  LIBS        libraries to pass to the linker, e.g. -l<library>
1418  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1419              you have headers in a nonstandard directory <include dir>
1420  CPP         C preprocessor
1421  YACC        The `Yet Another Compiler Compiler' implementation to use.
1422              Defaults to the first program found out of: `bison -y', `byacc',
1423              `yacc'.
1424  YFLAGS      The list of arguments that will be passed by default to $YACC.
1425              This script will default YFLAGS to the empty string to avoid a
1426              default value of `-d' given by some make applications.
1427  EMACS       the Emacs editor command
1428  EMACSLOADPATH
1429              the Emacs library search path
1430
1431Use these variables to override the choices made by `configure' or to help
1432it to find libraries and programs with nonstandard names/locations.
1433
1434Report bugs to <bug-gtypist@gnu.org>.
1435GNU Typist home page: <http://www.gnu.org/software/gtypist/>.
1436General help using GNU software: <http://www.gnu.org/gethelp/>.
1437_ACEOF
1438ac_status=$?
1439fi
1440
1441if test "$ac_init_help" = "recursive"; then
1442  # If there are subdirs, report their specific --help.
1443  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444    test -d "$ac_dir" ||
1445      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446      continue
1447    ac_builddir=.
1448
1449case "$ac_dir" in
1450.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451*)
1452  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1453  # A ".." for each directory in $ac_dir_suffix.
1454  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1455  case $ac_top_builddir_sub in
1456  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458  esac ;;
1459esac
1460ac_abs_top_builddir=$ac_pwd
1461ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462# for backward compatibility:
1463ac_top_builddir=$ac_top_build_prefix
1464
1465case $srcdir in
1466  .)  # We are building in place.
1467    ac_srcdir=.
1468    ac_top_srcdir=$ac_top_builddir_sub
1469    ac_abs_top_srcdir=$ac_pwd ;;
1470  [\\/]* | ?:[\\/]* )  # Absolute name.
1471    ac_srcdir=$srcdir$ac_dir_suffix;
1472    ac_top_srcdir=$srcdir
1473    ac_abs_top_srcdir=$srcdir ;;
1474  *) # Relative name.
1475    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476    ac_top_srcdir=$ac_top_build_prefix$srcdir
1477    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478esac
1479ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480
1481    cd "$ac_dir" || { ac_status=$?; continue; }
1482    # Check for guested configure.
1483    if test -f "$ac_srcdir/configure.gnu"; then
1484      echo &&
1485      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486    elif test -f "$ac_srcdir/configure"; then
1487      echo &&
1488      $SHELL "$ac_srcdir/configure" --help=recursive
1489    else
1490      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491    fi || ac_status=$?
1492    cd "$ac_pwd" || { ac_status=$?; break; }
1493  done
1494fi
1495
1496test -n "$ac_init_help" && exit $ac_status
1497if $ac_init_version; then
1498  cat <<\_ACEOF
1499GNU Typist configure 2.9.5
1500generated by GNU Autoconf 2.69
1501
1502Copyright (C) 2012 Free Software Foundation, Inc.
1503This configure script is free software; the Free Software Foundation
1504gives unlimited permission to copy, distribute and modify it.
1505_ACEOF
1506  exit
1507fi
1508
1509## ------------------------ ##
1510## Autoconf initialization. ##
1511## ------------------------ ##
1512
1513# ac_fn_c_try_compile LINENO
1514# --------------------------
1515# Try to compile conftest.$ac_ext, and return whether this succeeded.
1516ac_fn_c_try_compile ()
1517{
1518  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519  rm -f conftest.$ac_objext
1520  if { { ac_try="$ac_compile"
1521case "(($ac_try" in
1522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523  *) ac_try_echo=$ac_try;;
1524esac
1525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526$as_echo "$ac_try_echo"; } >&5
1527  (eval "$ac_compile") 2>conftest.err
1528  ac_status=$?
1529  if test -s conftest.err; then
1530    grep -v '^ *+' conftest.err >conftest.er1
1531    cat conftest.er1 >&5
1532    mv -f conftest.er1 conftest.err
1533  fi
1534  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535  test $ac_status = 0; } && {
1536	 test -z "$ac_c_werror_flag" ||
1537	 test ! -s conftest.err
1538       } && test -s conftest.$ac_objext; then :
1539  ac_retval=0
1540else
1541  $as_echo "$as_me: failed program was:" >&5
1542sed 's/^/| /' conftest.$ac_ext >&5
1543
1544	ac_retval=1
1545fi
1546  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547  as_fn_set_status $ac_retval
1548
1549} # ac_fn_c_try_compile
1550
1551# ac_fn_c_try_cpp LINENO
1552# ----------------------
1553# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1554ac_fn_c_try_cpp ()
1555{
1556  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557  if { { ac_try="$ac_cpp conftest.$ac_ext"
1558case "(($ac_try" in
1559  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560  *) ac_try_echo=$ac_try;;
1561esac
1562eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563$as_echo "$ac_try_echo"; } >&5
1564  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1565  ac_status=$?
1566  if test -s conftest.err; then
1567    grep -v '^ *+' conftest.err >conftest.er1
1568    cat conftest.er1 >&5
1569    mv -f conftest.er1 conftest.err
1570  fi
1571  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572  test $ac_status = 0; } > conftest.i && {
1573	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1574	 test ! -s conftest.err
1575       }; then :
1576  ac_retval=0
1577else
1578  $as_echo "$as_me: failed program was:" >&5
1579sed 's/^/| /' conftest.$ac_ext >&5
1580
1581    ac_retval=1
1582fi
1583  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584  as_fn_set_status $ac_retval
1585
1586} # ac_fn_c_try_cpp
1587
1588# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1589# -------------------------------------------------------
1590# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1591# the include files in INCLUDES and setting the cache variable VAR
1592# accordingly.
1593ac_fn_c_check_header_mongrel ()
1594{
1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596  if eval \${$3+:} false; then :
1597  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598$as_echo_n "checking for $2... " >&6; }
1599if eval \${$3+:} false; then :
1600  $as_echo_n "(cached) " >&6
1601fi
1602eval ac_res=\$$3
1603	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1604$as_echo "$ac_res" >&6; }
1605else
1606  # Is the header compilable?
1607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1608$as_echo_n "checking $2 usability... " >&6; }
1609cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610/* end confdefs.h.  */
1611$4
1612#include <$2>
1613_ACEOF
1614if ac_fn_c_try_compile "$LINENO"; then :
1615  ac_header_compiler=yes
1616else
1617  ac_header_compiler=no
1618fi
1619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1621$as_echo "$ac_header_compiler" >&6; }
1622
1623# Is the header present?
1624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1625$as_echo_n "checking $2 presence... " >&6; }
1626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627/* end confdefs.h.  */
1628#include <$2>
1629_ACEOF
1630if ac_fn_c_try_cpp "$LINENO"; then :
1631  ac_header_preproc=yes
1632else
1633  ac_header_preproc=no
1634fi
1635rm -f conftest.err conftest.i conftest.$ac_ext
1636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1637$as_echo "$ac_header_preproc" >&6; }
1638
1639# So?  What about this header?
1640case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1641  yes:no: )
1642    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1643$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1644    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1645$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1646    ;;
1647  no:yes:* )
1648    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1649$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1650    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1651$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1652    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1653$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1654    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1655$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1656    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1657$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658( $as_echo "## ---------------------------------- ##
1659## Report this to bug-gtypist@gnu.org ##
1660## ---------------------------------- ##"
1661     ) | sed "s/^/$as_me: WARNING:     /" >&2
1662    ;;
1663esac
1664  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665$as_echo_n "checking for $2... " >&6; }
1666if eval \${$3+:} false; then :
1667  $as_echo_n "(cached) " >&6
1668else
1669  eval "$3=\$ac_header_compiler"
1670fi
1671eval ac_res=\$$3
1672	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673$as_echo "$ac_res" >&6; }
1674fi
1675  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676
1677} # ac_fn_c_check_header_mongrel
1678
1679# ac_fn_c_try_run LINENO
1680# ----------------------
1681# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1682# that executables *can* be run.
1683ac_fn_c_try_run ()
1684{
1685  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686  if { { ac_try="$ac_link"
1687case "(($ac_try" in
1688  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689  *) ac_try_echo=$ac_try;;
1690esac
1691eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692$as_echo "$ac_try_echo"; } >&5
1693  (eval "$ac_link") 2>&5
1694  ac_status=$?
1695  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1697  { { case "(($ac_try" in
1698  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699  *) ac_try_echo=$ac_try;;
1700esac
1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702$as_echo "$ac_try_echo"; } >&5
1703  (eval "$ac_try") 2>&5
1704  ac_status=$?
1705  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706  test $ac_status = 0; }; }; then :
1707  ac_retval=0
1708else
1709  $as_echo "$as_me: program exited with status $ac_status" >&5
1710       $as_echo "$as_me: failed program was:" >&5
1711sed 's/^/| /' conftest.$ac_ext >&5
1712
1713       ac_retval=$ac_status
1714fi
1715  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717  as_fn_set_status $ac_retval
1718
1719} # ac_fn_c_try_run
1720
1721# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1722# -------------------------------------------------------
1723# Tests whether HEADER exists and can be compiled using the include files in
1724# INCLUDES, setting the cache variable VAR accordingly.
1725ac_fn_c_check_header_compile ()
1726{
1727  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729$as_echo_n "checking for $2... " >&6; }
1730if eval \${$3+:} false; then :
1731  $as_echo_n "(cached) " >&6
1732else
1733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734/* end confdefs.h.  */
1735$4
1736#include <$2>
1737_ACEOF
1738if ac_fn_c_try_compile "$LINENO"; then :
1739  eval "$3=yes"
1740else
1741  eval "$3=no"
1742fi
1743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744fi
1745eval ac_res=\$$3
1746	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747$as_echo "$ac_res" >&6; }
1748  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749
1750} # ac_fn_c_check_header_compile
1751
1752# ac_fn_c_try_link LINENO
1753# -----------------------
1754# Try to link conftest.$ac_ext, and return whether this succeeded.
1755ac_fn_c_try_link ()
1756{
1757  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758  rm -f conftest.$ac_objext conftest$ac_exeext
1759  if { { ac_try="$ac_link"
1760case "(($ac_try" in
1761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762  *) ac_try_echo=$ac_try;;
1763esac
1764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765$as_echo "$ac_try_echo"; } >&5
1766  (eval "$ac_link") 2>conftest.err
1767  ac_status=$?
1768  if test -s conftest.err; then
1769    grep -v '^ *+' conftest.err >conftest.er1
1770    cat conftest.er1 >&5
1771    mv -f conftest.er1 conftest.err
1772  fi
1773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774  test $ac_status = 0; } && {
1775	 test -z "$ac_c_werror_flag" ||
1776	 test ! -s conftest.err
1777       } && test -s conftest$ac_exeext && {
1778	 test "$cross_compiling" = yes ||
1779	 test -x conftest$ac_exeext
1780       }; then :
1781  ac_retval=0
1782else
1783  $as_echo "$as_me: failed program was:" >&5
1784sed 's/^/| /' conftest.$ac_ext >&5
1785
1786	ac_retval=1
1787fi
1788  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790  # interfere with the next link command; also delete a directory that is
1791  # left behind by Apple's compiler.  We do this before executing the actions.
1792  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794  as_fn_set_status $ac_retval
1795
1796} # ac_fn_c_try_link
1797
1798# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1799# -------------------------------------------
1800# Tests whether TYPE exists after having included INCLUDES, setting cache
1801# variable VAR accordingly.
1802ac_fn_c_check_type ()
1803{
1804  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806$as_echo_n "checking for $2... " >&6; }
1807if eval \${$3+:} false; then :
1808  $as_echo_n "(cached) " >&6
1809else
1810  eval "$3=no"
1811  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812/* end confdefs.h.  */
1813$4
1814int
1815main ()
1816{
1817if (sizeof ($2))
1818	 return 0;
1819  ;
1820  return 0;
1821}
1822_ACEOF
1823if ac_fn_c_try_compile "$LINENO"; then :
1824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825/* end confdefs.h.  */
1826$4
1827int
1828main ()
1829{
1830if (sizeof (($2)))
1831	    return 0;
1832  ;
1833  return 0;
1834}
1835_ACEOF
1836if ac_fn_c_try_compile "$LINENO"; then :
1837
1838else
1839  eval "$3=yes"
1840fi
1841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1842fi
1843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844fi
1845eval ac_res=\$$3
1846	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847$as_echo "$ac_res" >&6; }
1848  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849
1850} # ac_fn_c_check_type
1851
1852# ac_fn_c_check_func LINENO FUNC VAR
1853# ----------------------------------
1854# Tests whether FUNC exists, setting the cache variable VAR accordingly
1855ac_fn_c_check_func ()
1856{
1857  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859$as_echo_n "checking for $2... " >&6; }
1860if eval \${$3+:} false; then :
1861  $as_echo_n "(cached) " >&6
1862else
1863  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864/* end confdefs.h.  */
1865/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1867#define $2 innocuous_$2
1868
1869/* System header to define __stub macros and hopefully few prototypes,
1870    which can conflict with char $2 (); below.
1871    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872    <limits.h> exists even on freestanding compilers.  */
1873
1874#ifdef __STDC__
1875# include <limits.h>
1876#else
1877# include <assert.h>
1878#endif
1879
1880#undef $2
1881
1882/* Override any GCC internal prototype to avoid an error.
1883   Use char because int might match the return type of a GCC
1884   builtin and then its argument prototype would still apply.  */
1885#ifdef __cplusplus
1886extern "C"
1887#endif
1888char $2 ();
1889/* The GNU C library defines this for functions which it implements
1890    to always fail with ENOSYS.  Some functions are actually named
1891    something starting with __ and the normal name is an alias.  */
1892#if defined __stub_$2 || defined __stub___$2
1893choke me
1894#endif
1895
1896int
1897main ()
1898{
1899return $2 ();
1900  ;
1901  return 0;
1902}
1903_ACEOF
1904if ac_fn_c_try_link "$LINENO"; then :
1905  eval "$3=yes"
1906else
1907  eval "$3=no"
1908fi
1909rm -f core conftest.err conftest.$ac_objext \
1910    conftest$ac_exeext conftest.$ac_ext
1911fi
1912eval ac_res=\$$3
1913	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914$as_echo "$ac_res" >&6; }
1915  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916
1917} # ac_fn_c_check_func
1918cat >config.log <<_ACEOF
1919This file contains any messages produced by compilers while
1920running configure, to aid debugging if configure makes a mistake.
1921
1922It was created by GNU Typist $as_me 2.9.5, which was
1923generated by GNU Autoconf 2.69.  Invocation command line was
1924
1925  $ $0 $@
1926
1927_ACEOF
1928exec 5>>config.log
1929{
1930cat <<_ASUNAME
1931## --------- ##
1932## Platform. ##
1933## --------- ##
1934
1935hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1936uname -m = `(uname -m) 2>/dev/null || echo unknown`
1937uname -r = `(uname -r) 2>/dev/null || echo unknown`
1938uname -s = `(uname -s) 2>/dev/null || echo unknown`
1939uname -v = `(uname -v) 2>/dev/null || echo unknown`
1940
1941/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1942/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1943
1944/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1945/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1946/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1947/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1948/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1949/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1950/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1951
1952_ASUNAME
1953
1954as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955for as_dir in $PATH
1956do
1957  IFS=$as_save_IFS
1958  test -z "$as_dir" && as_dir=.
1959    $as_echo "PATH: $as_dir"
1960  done
1961IFS=$as_save_IFS
1962
1963} >&5
1964
1965cat >&5 <<_ACEOF
1966
1967
1968## ----------- ##
1969## Core tests. ##
1970## ----------- ##
1971
1972_ACEOF
1973
1974
1975# Keep a trace of the command line.
1976# Strip out --no-create and --no-recursion so they do not pile up.
1977# Strip out --silent because we don't want to record it for future runs.
1978# Also quote any args containing shell meta-characters.
1979# Make two passes to allow for proper duplicate-argument suppression.
1980ac_configure_args=
1981ac_configure_args0=
1982ac_configure_args1=
1983ac_must_keep_next=false
1984for ac_pass in 1 2
1985do
1986  for ac_arg
1987  do
1988    case $ac_arg in
1989    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1990    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1991    | -silent | --silent | --silen | --sile | --sil)
1992      continue ;;
1993    *\'*)
1994      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1995    esac
1996    case $ac_pass in
1997    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1998    2)
1999      as_fn_append ac_configure_args1 " '$ac_arg'"
2000      if test $ac_must_keep_next = true; then
2001	ac_must_keep_next=false # Got value, back to normal.
2002      else
2003	case $ac_arg in
2004	  *=* | --config-cache | -C | -disable-* | --disable-* \
2005	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2006	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2007	  | -with-* | --with-* | -without-* | --without-* | --x)
2008	    case "$ac_configure_args0 " in
2009	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2010	    esac
2011	    ;;
2012	  -* ) ac_must_keep_next=true ;;
2013	esac
2014      fi
2015      as_fn_append ac_configure_args " '$ac_arg'"
2016      ;;
2017    esac
2018  done
2019done
2020{ ac_configure_args0=; unset ac_configure_args0;}
2021{ ac_configure_args1=; unset ac_configure_args1;}
2022
2023# When interrupted or exit'd, cleanup temporary files, and complete
2024# config.log.  We remove comments because anyway the quotes in there
2025# would cause problems or look ugly.
2026# WARNING: Use '\'' to represent an apostrophe within the trap.
2027# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2028trap 'exit_status=$?
2029  # Save into config.log some information that might help in debugging.
2030  {
2031    echo
2032
2033    $as_echo "## ---------------- ##
2034## Cache variables. ##
2035## ---------------- ##"
2036    echo
2037    # The following way of writing the cache mishandles newlines in values,
2038(
2039  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2040    eval ac_val=\$$ac_var
2041    case $ac_val in #(
2042    *${as_nl}*)
2043      case $ac_var in #(
2044      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2045$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2046      esac
2047      case $ac_var in #(
2048      _ | IFS | as_nl) ;; #(
2049      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2050      *) { eval $ac_var=; unset $ac_var;} ;;
2051      esac ;;
2052    esac
2053  done
2054  (set) 2>&1 |
2055    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2056    *${as_nl}ac_space=\ *)
2057      sed -n \
2058	"s/'\''/'\''\\\\'\'''\''/g;
2059	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2060      ;; #(
2061    *)
2062      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2063      ;;
2064    esac |
2065    sort
2066)
2067    echo
2068
2069    $as_echo "## ----------------- ##
2070## Output variables. ##
2071## ----------------- ##"
2072    echo
2073    for ac_var in $ac_subst_vars
2074    do
2075      eval ac_val=\$$ac_var
2076      case $ac_val in
2077      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2078      esac
2079      $as_echo "$ac_var='\''$ac_val'\''"
2080    done | sort
2081    echo
2082
2083    if test -n "$ac_subst_files"; then
2084      $as_echo "## ------------------- ##
2085## File substitutions. ##
2086## ------------------- ##"
2087      echo
2088      for ac_var in $ac_subst_files
2089      do
2090	eval ac_val=\$$ac_var
2091	case $ac_val in
2092	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2093	esac
2094	$as_echo "$ac_var='\''$ac_val'\''"
2095      done | sort
2096      echo
2097    fi
2098
2099    if test -s confdefs.h; then
2100      $as_echo "## ----------- ##
2101## confdefs.h. ##
2102## ----------- ##"
2103      echo
2104      cat confdefs.h
2105      echo
2106    fi
2107    test "$ac_signal" != 0 &&
2108      $as_echo "$as_me: caught signal $ac_signal"
2109    $as_echo "$as_me: exit $exit_status"
2110  } >&5
2111  rm -f core *.core core.conftest.* &&
2112    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2113    exit $exit_status
2114' 0
2115for ac_signal in 1 2 13 15; do
2116  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2117done
2118ac_signal=0
2119
2120# confdefs.h avoids OS command line length limits that DEFS can exceed.
2121rm -f -r conftest* confdefs.h
2122
2123$as_echo "/* confdefs.h */" > confdefs.h
2124
2125# Predefined preprocessor variables.
2126
2127cat >>confdefs.h <<_ACEOF
2128#define PACKAGE_NAME "$PACKAGE_NAME"
2129_ACEOF
2130
2131cat >>confdefs.h <<_ACEOF
2132#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2133_ACEOF
2134
2135cat >>confdefs.h <<_ACEOF
2136#define PACKAGE_VERSION "$PACKAGE_VERSION"
2137_ACEOF
2138
2139cat >>confdefs.h <<_ACEOF
2140#define PACKAGE_STRING "$PACKAGE_STRING"
2141_ACEOF
2142
2143cat >>confdefs.h <<_ACEOF
2144#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2145_ACEOF
2146
2147cat >>confdefs.h <<_ACEOF
2148#define PACKAGE_URL "$PACKAGE_URL"
2149_ACEOF
2150
2151
2152# Let the site file select an alternate cache file if it wants to.
2153# Prefer an explicitly selected file to automatically selected ones.
2154ac_site_file1=NONE
2155ac_site_file2=NONE
2156if test -n "$CONFIG_SITE"; then
2157  # We do not want a PATH search for config.site.
2158  case $CONFIG_SITE in #((
2159    -*)  ac_site_file1=./$CONFIG_SITE;;
2160    */*) ac_site_file1=$CONFIG_SITE;;
2161    *)   ac_site_file1=./$CONFIG_SITE;;
2162  esac
2163elif test "x$prefix" != xNONE; then
2164  ac_site_file1=$prefix/share/config.site
2165  ac_site_file2=$prefix/etc/config.site
2166else
2167  ac_site_file1=$ac_default_prefix/share/config.site
2168  ac_site_file2=$ac_default_prefix/etc/config.site
2169fi
2170for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2171do
2172  test "x$ac_site_file" = xNONE && continue
2173  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2174    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2175$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2176    sed 's/^/| /' "$ac_site_file" >&5
2177    . "$ac_site_file" \
2178      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180as_fn_error $? "failed to load site script $ac_site_file
2181See \`config.log' for more details" "$LINENO" 5; }
2182  fi
2183done
2184
2185if test -r "$cache_file"; then
2186  # Some versions of bash will fail to source /dev/null (special files
2187  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2188  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2189    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2190$as_echo "$as_me: loading cache $cache_file" >&6;}
2191    case $cache_file in
2192      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2193      *)                      . "./$cache_file";;
2194    esac
2195  fi
2196else
2197  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2198$as_echo "$as_me: creating cache $cache_file" >&6;}
2199  >$cache_file
2200fi
2201
2202gt_needs="$gt_needs "
2203# Check that the precious variables saved in the cache have kept the same
2204# value.
2205ac_cache_corrupted=false
2206for ac_var in $ac_precious_vars; do
2207  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2208  eval ac_new_set=\$ac_env_${ac_var}_set
2209  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2210  eval ac_new_val=\$ac_env_${ac_var}_value
2211  case $ac_old_set,$ac_new_set in
2212    set,)
2213      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2214$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2215      ac_cache_corrupted=: ;;
2216    ,set)
2217      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2218$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2219      ac_cache_corrupted=: ;;
2220    ,);;
2221    *)
2222      if test "x$ac_old_val" != "x$ac_new_val"; then
2223	# differences in whitespace do not lead to failure.
2224	ac_old_val_w=`echo x $ac_old_val`
2225	ac_new_val_w=`echo x $ac_new_val`
2226	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2227	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2228$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2229	  ac_cache_corrupted=:
2230	else
2231	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2232$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2233	  eval $ac_var=\$ac_old_val
2234	fi
2235	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2236$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2237	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2238$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2239      fi;;
2240  esac
2241  # Pass precious variables to config.status.
2242  if test "$ac_new_set" = set; then
2243    case $ac_new_val in
2244    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2245    *) ac_arg=$ac_var=$ac_new_val ;;
2246    esac
2247    case " $ac_configure_args " in
2248      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2249      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2250    esac
2251  fi
2252done
2253if $ac_cache_corrupted; then
2254  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2255$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2257$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2258  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2259fi
2260## -------------------- ##
2261## Main body of script. ##
2262## -------------------- ##
2263
2264ac_ext=c
2265ac_cpp='$CPP $CPPFLAGS'
2266ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2267ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2268ac_compiler_gnu=$ac_cv_c_compiler_gnu
2269
2270
2271am__api_version='1.14'
2272
2273ac_aux_dir=
2274for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2275  if test -f "$ac_dir/install-sh"; then
2276    ac_aux_dir=$ac_dir
2277    ac_install_sh="$ac_aux_dir/install-sh -c"
2278    break
2279  elif test -f "$ac_dir/install.sh"; then
2280    ac_aux_dir=$ac_dir
2281    ac_install_sh="$ac_aux_dir/install.sh -c"
2282    break
2283  elif test -f "$ac_dir/shtool"; then
2284    ac_aux_dir=$ac_dir
2285    ac_install_sh="$ac_aux_dir/shtool install -c"
2286    break
2287  fi
2288done
2289if test -z "$ac_aux_dir"; then
2290  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2291fi
2292
2293# These three variables are undocumented and unsupported,
2294# and are intended to be withdrawn in a future Autoconf release.
2295# They can cause serious problems if a builder's source tree is in a directory
2296# whose full name contains unusual characters.
2297ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2298ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2299ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2300
2301
2302# Find a good install program.  We prefer a C program (faster),
2303# so one script is as good as another.  But avoid the broken or
2304# incompatible versions:
2305# SysV /etc/install, /usr/sbin/install
2306# SunOS /usr/etc/install
2307# IRIX /sbin/install
2308# AIX /bin/install
2309# AmigaOS /C/install, which installs bootblocks on floppy discs
2310# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2311# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2312# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2313# OS/2's system install, which has a completely different semantic
2314# ./install, which can be erroneously created by make from ./install.sh.
2315# Reject install programs that cannot install multiple files.
2316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2317$as_echo_n "checking for a BSD-compatible install... " >&6; }
2318if test -z "$INSTALL"; then
2319if ${ac_cv_path_install+:} false; then :
2320  $as_echo_n "(cached) " >&6
2321else
2322  as_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    # Account for people who put trailing slashes in PATH elements.
2328case $as_dir/ in #((
2329  ./ | .// | /[cC]/* | \
2330  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2331  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2332  /usr/ucb/* ) ;;
2333  *)
2334    # OSF1 and SCO ODT 3.0 have their own names for install.
2335    # Don't use installbsd from OSF since it installs stuff as root
2336    # by default.
2337    for ac_prog in ginstall scoinst install; do
2338      for ac_exec_ext in '' $ac_executable_extensions; do
2339	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2340	  if test $ac_prog = install &&
2341	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2342	    # AIX install.  It has an incompatible calling convention.
2343	    :
2344	  elif test $ac_prog = install &&
2345	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2346	    # program-specific install script used by HP pwplus--don't use.
2347	    :
2348	  else
2349	    rm -rf conftest.one conftest.two conftest.dir
2350	    echo one > conftest.one
2351	    echo two > conftest.two
2352	    mkdir conftest.dir
2353	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2354	      test -s conftest.one && test -s conftest.two &&
2355	      test -s conftest.dir/conftest.one &&
2356	      test -s conftest.dir/conftest.two
2357	    then
2358	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2359	      break 3
2360	    fi
2361	  fi
2362	fi
2363      done
2364    done
2365    ;;
2366esac
2367
2368  done
2369IFS=$as_save_IFS
2370
2371rm -rf conftest.one conftest.two conftest.dir
2372
2373fi
2374  if test "${ac_cv_path_install+set}" = set; then
2375    INSTALL=$ac_cv_path_install
2376  else
2377    # As a last resort, use the slow shell script.  Don't cache a
2378    # value for INSTALL within a source directory, because that will
2379    # break other packages using the cache if that directory is
2380    # removed, or if the value is a relative name.
2381    INSTALL=$ac_install_sh
2382  fi
2383fi
2384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2385$as_echo "$INSTALL" >&6; }
2386
2387# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2388# It thinks the first close brace ends the variable substitution.
2389test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2390
2391test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2392
2393test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2394
2395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2396$as_echo_n "checking whether build environment is sane... " >&6; }
2397# Reject unsafe characters in $srcdir or the absolute working directory
2398# name.  Accept space and tab only in the latter.
2399am_lf='
2400'
2401case `pwd` in
2402  *[\\\"\#\$\&\'\`$am_lf]*)
2403    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2404esac
2405case $srcdir in
2406  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2407    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2408esac
2409
2410# Do 'set' in a subshell so we don't clobber the current shell's
2411# arguments.  Must try -L first in case configure is actually a
2412# symlink; some systems play weird games with the mod time of symlinks
2413# (eg FreeBSD returns the mod time of the symlink's containing
2414# directory).
2415if (
2416   am_has_slept=no
2417   for am_try in 1 2; do
2418     echo "timestamp, slept: $am_has_slept" > conftest.file
2419     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2420     if test "$*" = "X"; then
2421	# -L didn't work.
2422	set X `ls -t "$srcdir/configure" conftest.file`
2423     fi
2424     if test "$*" != "X $srcdir/configure conftest.file" \
2425	&& test "$*" != "X conftest.file $srcdir/configure"; then
2426
2427	# If neither matched, then we have a broken ls.  This can happen
2428	# if, for instance, CONFIG_SHELL is bash and it inherits a
2429	# broken ls alias from the environment.  This has actually
2430	# happened.  Such a system could not be considered "sane".
2431	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2432  alias in your environment" "$LINENO" 5
2433     fi
2434     if test "$2" = conftest.file || test $am_try -eq 2; then
2435       break
2436     fi
2437     # Just in case.
2438     sleep 1
2439     am_has_slept=yes
2440   done
2441   test "$2" = conftest.file
2442   )
2443then
2444   # Ok.
2445   :
2446else
2447   as_fn_error $? "newly created file is older than distributed files!
2448Check your system clock" "$LINENO" 5
2449fi
2450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2451$as_echo "yes" >&6; }
2452# If we didn't sleep, we still need to ensure time stamps of config.status and
2453# generated files are strictly newer.
2454am_sleep_pid=
2455if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2456  ( sleep 1 ) &
2457  am_sleep_pid=$!
2458fi
2459
2460rm -f conftest.file
2461
2462test "$program_prefix" != NONE &&
2463  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2464# Use a double $ so make ignores it.
2465test "$program_suffix" != NONE &&
2466  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2467# Double any \ or $.
2468# By default was `s,x,x', remove it if useless.
2469ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2470program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2471
2472# expand $ac_aux_dir to an absolute path
2473am_aux_dir=`cd $ac_aux_dir && pwd`
2474
2475if test x"${MISSING+set}" != xset; then
2476  case $am_aux_dir in
2477  *\ * | *\	*)
2478    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2479  *)
2480    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2481  esac
2482fi
2483# Use eval to expand $SHELL
2484if eval "$MISSING --is-lightweight"; then
2485  am_missing_run="$MISSING "
2486else
2487  am_missing_run=
2488  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2489$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2490fi
2491
2492if test x"${install_sh}" != xset; then
2493  case $am_aux_dir in
2494  *\ * | *\	*)
2495    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2496  *)
2497    install_sh="\${SHELL} $am_aux_dir/install-sh"
2498  esac
2499fi
2500
2501# Installed binaries are usually stripped using 'strip' when the user
2502# run "make install-strip".  However 'strip' might not be the right
2503# tool to use in cross-compilation environments, therefore Automake
2504# will honor the 'STRIP' environment variable to overrule this program.
2505if test "$cross_compiling" != no; then
2506  if test -n "$ac_tool_prefix"; then
2507  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2508set dummy ${ac_tool_prefix}strip; ac_word=$2
2509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510$as_echo_n "checking for $ac_word... " >&6; }
2511if ${ac_cv_prog_STRIP+:} false; then :
2512  $as_echo_n "(cached) " >&6
2513else
2514  if test -n "$STRIP"; then
2515  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2516else
2517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518for as_dir in $PATH
2519do
2520  IFS=$as_save_IFS
2521  test -z "$as_dir" && as_dir=.
2522    for ac_exec_ext in '' $ac_executable_extensions; do
2523  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526    break 2
2527  fi
2528done
2529  done
2530IFS=$as_save_IFS
2531
2532fi
2533fi
2534STRIP=$ac_cv_prog_STRIP
2535if test -n "$STRIP"; then
2536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2537$as_echo "$STRIP" >&6; }
2538else
2539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540$as_echo "no" >&6; }
2541fi
2542
2543
2544fi
2545if test -z "$ac_cv_prog_STRIP"; then
2546  ac_ct_STRIP=$STRIP
2547  # Extract the first word of "strip", so it can be a program name with args.
2548set dummy strip; ac_word=$2
2549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550$as_echo_n "checking for $ac_word... " >&6; }
2551if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2552  $as_echo_n "(cached) " >&6
2553else
2554  if test -n "$ac_ct_STRIP"; then
2555  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2556else
2557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558for as_dir in $PATH
2559do
2560  IFS=$as_save_IFS
2561  test -z "$as_dir" && as_dir=.
2562    for ac_exec_ext in '' $ac_executable_extensions; do
2563  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2564    ac_cv_prog_ac_ct_STRIP="strip"
2565    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566    break 2
2567  fi
2568done
2569  done
2570IFS=$as_save_IFS
2571
2572fi
2573fi
2574ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2575if test -n "$ac_ct_STRIP"; then
2576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2577$as_echo "$ac_ct_STRIP" >&6; }
2578else
2579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580$as_echo "no" >&6; }
2581fi
2582
2583  if test "x$ac_ct_STRIP" = x; then
2584    STRIP=":"
2585  else
2586    case $cross_compiling:$ac_tool_warned in
2587yes:)
2588{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2589$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2590ac_tool_warned=yes ;;
2591esac
2592    STRIP=$ac_ct_STRIP
2593  fi
2594else
2595  STRIP="$ac_cv_prog_STRIP"
2596fi
2597
2598fi
2599INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2600
2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2602$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2603if test -z "$MKDIR_P"; then
2604  if ${ac_cv_path_mkdir+:} false; then :
2605  $as_echo_n "(cached) " >&6
2606else
2607  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2609do
2610  IFS=$as_save_IFS
2611  test -z "$as_dir" && as_dir=.
2612    for ac_prog in mkdir gmkdir; do
2613	 for ac_exec_ext in '' $ac_executable_extensions; do
2614	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2615	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2616	     'mkdir (GNU coreutils) '* | \
2617	     'mkdir (coreutils) '* | \
2618	     'mkdir (fileutils) '4.1*)
2619	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2620	       break 3;;
2621	   esac
2622	 done
2623       done
2624  done
2625IFS=$as_save_IFS
2626
2627fi
2628
2629  test -d ./--version && rmdir ./--version
2630  if test "${ac_cv_path_mkdir+set}" = set; then
2631    MKDIR_P="$ac_cv_path_mkdir -p"
2632  else
2633    # As a last resort, use the slow shell script.  Don't cache a
2634    # value for MKDIR_P within a source directory, because that will
2635    # break other packages using the cache if that directory is
2636    # removed, or if the value is a relative name.
2637    MKDIR_P="$ac_install_sh -d"
2638  fi
2639fi
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2641$as_echo "$MKDIR_P" >&6; }
2642
2643for ac_prog in gawk mawk nawk awk
2644do
2645  # Extract the first word of "$ac_prog", so it can be a program name with args.
2646set dummy $ac_prog; ac_word=$2
2647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648$as_echo_n "checking for $ac_word... " >&6; }
2649if ${ac_cv_prog_AWK+:} false; then :
2650  $as_echo_n "(cached) " >&6
2651else
2652  if test -n "$AWK"; then
2653  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2654else
2655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656for as_dir in $PATH
2657do
2658  IFS=$as_save_IFS
2659  test -z "$as_dir" && as_dir=.
2660    for ac_exec_ext in '' $ac_executable_extensions; do
2661  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2662    ac_cv_prog_AWK="$ac_prog"
2663    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664    break 2
2665  fi
2666done
2667  done
2668IFS=$as_save_IFS
2669
2670fi
2671fi
2672AWK=$ac_cv_prog_AWK
2673if test -n "$AWK"; then
2674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2675$as_echo "$AWK" >&6; }
2676else
2677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678$as_echo "no" >&6; }
2679fi
2680
2681
2682  test -n "$AWK" && break
2683done
2684
2685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2686$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2687set x ${MAKE-make}
2688ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2689if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2690  $as_echo_n "(cached) " >&6
2691else
2692  cat >conftest.make <<\_ACEOF
2693SHELL = /bin/sh
2694all:
2695	@echo '@@@%%%=$(MAKE)=@@@%%%'
2696_ACEOF
2697# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2698case `${MAKE-make} -f conftest.make 2>/dev/null` in
2699  *@@@%%%=?*=@@@%%%*)
2700    eval ac_cv_prog_make_${ac_make}_set=yes;;
2701  *)
2702    eval ac_cv_prog_make_${ac_make}_set=no;;
2703esac
2704rm -f conftest.make
2705fi
2706if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2708$as_echo "yes" >&6; }
2709  SET_MAKE=
2710else
2711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712$as_echo "no" >&6; }
2713  SET_MAKE="MAKE=${MAKE-make}"
2714fi
2715
2716rm -rf .tst 2>/dev/null
2717mkdir .tst 2>/dev/null
2718if test -d .tst; then
2719  am__leading_dot=.
2720else
2721  am__leading_dot=_
2722fi
2723rmdir .tst 2>/dev/null
2724
2725# Check whether --enable-silent-rules was given.
2726if test "${enable_silent_rules+set}" = set; then :
2727  enableval=$enable_silent_rules;
2728fi
2729
2730case $enable_silent_rules in # (((
2731  yes) AM_DEFAULT_VERBOSITY=0;;
2732   no) AM_DEFAULT_VERBOSITY=1;;
2733    *) AM_DEFAULT_VERBOSITY=1;;
2734esac
2735am_make=${MAKE-make}
2736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2737$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2738if ${am_cv_make_support_nested_variables+:} false; then :
2739  $as_echo_n "(cached) " >&6
2740else
2741  if $as_echo 'TRUE=$(BAR$(V))
2742BAR0=false
2743BAR1=true
2744V=1
2745am__doit:
2746	@$(TRUE)
2747.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2748  am_cv_make_support_nested_variables=yes
2749else
2750  am_cv_make_support_nested_variables=no
2751fi
2752fi
2753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2754$as_echo "$am_cv_make_support_nested_variables" >&6; }
2755if test $am_cv_make_support_nested_variables = yes; then
2756    AM_V='$(V)'
2757  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2758else
2759  AM_V=$AM_DEFAULT_VERBOSITY
2760  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2761fi
2762AM_BACKSLASH='\'
2763
2764if test "`cd $srcdir && pwd`" != "`pwd`"; then
2765  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2766  # is not polluted with repeated "-I."
2767  am__isrc=' -I$(srcdir)'
2768  # test to see if srcdir already configured
2769  if test -f $srcdir/config.status; then
2770    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2771  fi
2772fi
2773
2774# test whether we have cygpath
2775if test -z "$CYGPATH_W"; then
2776  if (cygpath --version) >/dev/null 2>/dev/null; then
2777    CYGPATH_W='cygpath -w'
2778  else
2779    CYGPATH_W=echo
2780  fi
2781fi
2782
2783
2784# Define the identity of the package.
2785 PACKAGE='gtypist'
2786 VERSION='2.9.5'
2787
2788
2789cat >>confdefs.h <<_ACEOF
2790#define PACKAGE "$PACKAGE"
2791_ACEOF
2792
2793
2794cat >>confdefs.h <<_ACEOF
2795#define VERSION "$VERSION"
2796_ACEOF
2797
2798# Some tools Automake needs.
2799
2800ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2801
2802
2803AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2804
2805
2806AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2807
2808
2809AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2810
2811
2812MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2813
2814# For better backward compatibility.  To be removed once Automake 1.9.x
2815# dies out for good.  For more background, see:
2816# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2817# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2818mkdir_p='$(MKDIR_P)'
2819
2820# We need awk for the "check" target.  The system "awk" is bad on
2821# some platforms.
2822# Always define AMTAR for backward compatibility.  Yes, it's still used
2823# in the wild :-(  We should find a proper way to deprecate it ...
2824AMTAR='$${TAR-tar}'
2825
2826
2827# We'll loop over all known methods to create a tar archive until one works.
2828_am_tools='gnutar  pax cpio none'
2829
2830am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2831
2832
2833
2834
2835
2836
2837# POSIX will say in a future version that running "rm -f" with no argument
2838# is OK; and we want to be able to make that assumption in our Makefile
2839# recipes.  So use an aggressive probe to check that the usage we want is
2840# actually supported "in the wild" to an acceptable degree.
2841# See automake bug#10828.
2842# To make any issue more visible, cause the running configure to be aborted
2843# by default if the 'rm' program in use doesn't match our expectations; the
2844# user can still override this though.
2845if rm -f && rm -fr && rm -rf; then : OK; else
2846  cat >&2 <<'END'
2847Oops!
2848
2849Your 'rm' program seems unable to run without file operands specified
2850on the command line, even when the '-f' option is present.  This is contrary
2851to the behaviour of most rm programs out there, and not conforming with
2852the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2853
2854Please tell bug-automake@gnu.org about your system, including the value
2855of your $PATH and any error possibly output before this message.  This
2856can help us improve future automake versions.
2857
2858END
2859  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2860    echo 'Configuration will proceed anyway, since you have set the' >&2
2861    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2862    echo >&2
2863  else
2864    cat >&2 <<'END'
2865Aborting the configuration process, to ensure you take notice of the issue.
2866
2867You can download and install GNU coreutils to get an 'rm' implementation
2868that behaves properly: <http://www.gnu.org/software/coreutils/>.
2869
2870If you want to complete the configuration process using your problematic
2871'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2872to "yes", and re-run configure.
2873
2874END
2875    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2876  fi
2877fi
2878
2879
2880ac_config_headers="$ac_config_headers config.h"
2881
2882DEPDIR="${am__leading_dot}deps"
2883
2884ac_config_commands="$ac_config_commands depfiles"
2885
2886
2887am_make=${MAKE-make}
2888cat > confinc << 'END'
2889am__doit:
2890	@echo this is the am__doit target
2891.PHONY: am__doit
2892END
2893# If we don't find an include directive, just comment out the code.
2894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2895$as_echo_n "checking for style of include used by $am_make... " >&6; }
2896am__include="#"
2897am__quote=
2898_am_result=none
2899# First try GNU make style include.
2900echo "include confinc" > confmf
2901# Ignore all kinds of additional output from 'make'.
2902case `$am_make -s -f confmf 2> /dev/null` in #(
2903*the\ am__doit\ target*)
2904  am__include=include
2905  am__quote=
2906  _am_result=GNU
2907  ;;
2908esac
2909# Now try BSD make style include.
2910if test "$am__include" = "#"; then
2911   echo '.include "confinc"' > confmf
2912   case `$am_make -s -f confmf 2> /dev/null` in #(
2913   *the\ am__doit\ target*)
2914     am__include=.include
2915     am__quote="\""
2916     _am_result=BSD
2917     ;;
2918   esac
2919fi
2920
2921
2922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2923$as_echo "$_am_result" >&6; }
2924rm -f confinc confmf
2925
2926# Check whether --enable-dependency-tracking was given.
2927if test "${enable_dependency_tracking+set}" = set; then :
2928  enableval=$enable_dependency_tracking;
2929fi
2930
2931if test "x$enable_dependency_tracking" != xno; then
2932  am_depcomp="$ac_aux_dir/depcomp"
2933  AMDEPBACKSLASH='\'
2934  am__nodep='_no'
2935fi
2936 if test "x$enable_dependency_tracking" != xno; then
2937  AMDEP_TRUE=
2938  AMDEP_FALSE='#'
2939else
2940  AMDEP_TRUE='#'
2941  AMDEP_FALSE=
2942fi
2943
2944
2945ac_ext=c
2946ac_cpp='$CPP $CPPFLAGS'
2947ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949ac_compiler_gnu=$ac_cv_c_compiler_gnu
2950if test -n "$ac_tool_prefix"; then
2951  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2952set dummy ${ac_tool_prefix}gcc; ac_word=$2
2953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954$as_echo_n "checking for $ac_word... " >&6; }
2955if ${ac_cv_prog_CC+:} false; then :
2956  $as_echo_n "(cached) " >&6
2957else
2958  if test -n "$CC"; then
2959  ac_cv_prog_CC="$CC" # Let the user override the test.
2960else
2961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962for as_dir in $PATH
2963do
2964  IFS=$as_save_IFS
2965  test -z "$as_dir" && as_dir=.
2966    for ac_exec_ext in '' $ac_executable_extensions; do
2967  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2969    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970    break 2
2971  fi
2972done
2973  done
2974IFS=$as_save_IFS
2975
2976fi
2977fi
2978CC=$ac_cv_prog_CC
2979if test -n "$CC"; then
2980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981$as_echo "$CC" >&6; }
2982else
2983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984$as_echo "no" >&6; }
2985fi
2986
2987
2988fi
2989if test -z "$ac_cv_prog_CC"; then
2990  ac_ct_CC=$CC
2991  # Extract the first word of "gcc", so it can be a program name with args.
2992set dummy gcc; ac_word=$2
2993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994$as_echo_n "checking for $ac_word... " >&6; }
2995if ${ac_cv_prog_ac_ct_CC+:} false; then :
2996  $as_echo_n "(cached) " >&6
2997else
2998  if test -n "$ac_ct_CC"; then
2999  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3000else
3001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002for as_dir in $PATH
3003do
3004  IFS=$as_save_IFS
3005  test -z "$as_dir" && as_dir=.
3006    for ac_exec_ext in '' $ac_executable_extensions; do
3007  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008    ac_cv_prog_ac_ct_CC="gcc"
3009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3010    break 2
3011  fi
3012done
3013  done
3014IFS=$as_save_IFS
3015
3016fi
3017fi
3018ac_ct_CC=$ac_cv_prog_ac_ct_CC
3019if test -n "$ac_ct_CC"; then
3020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3021$as_echo "$ac_ct_CC" >&6; }
3022else
3023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024$as_echo "no" >&6; }
3025fi
3026
3027  if test "x$ac_ct_CC" = x; then
3028    CC=""
3029  else
3030    case $cross_compiling:$ac_tool_warned in
3031yes:)
3032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3034ac_tool_warned=yes ;;
3035esac
3036    CC=$ac_ct_CC
3037  fi
3038else
3039  CC="$ac_cv_prog_CC"
3040fi
3041
3042if test -z "$CC"; then
3043          if test -n "$ac_tool_prefix"; then
3044    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3045set dummy ${ac_tool_prefix}cc; ac_word=$2
3046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047$as_echo_n "checking for $ac_word... " >&6; }
3048if ${ac_cv_prog_CC+:} false; then :
3049  $as_echo_n "(cached) " >&6
3050else
3051  if test -n "$CC"; then
3052  ac_cv_prog_CC="$CC" # Let the user override the test.
3053else
3054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055for as_dir in $PATH
3056do
3057  IFS=$as_save_IFS
3058  test -z "$as_dir" && as_dir=.
3059    for ac_exec_ext in '' $ac_executable_extensions; do
3060  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3061    ac_cv_prog_CC="${ac_tool_prefix}cc"
3062    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063    break 2
3064  fi
3065done
3066  done
3067IFS=$as_save_IFS
3068
3069fi
3070fi
3071CC=$ac_cv_prog_CC
3072if test -n "$CC"; then
3073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074$as_echo "$CC" >&6; }
3075else
3076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077$as_echo "no" >&6; }
3078fi
3079
3080
3081  fi
3082fi
3083if test -z "$CC"; then
3084  # Extract the first word of "cc", so it can be a program name with args.
3085set dummy cc; ac_word=$2
3086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087$as_echo_n "checking for $ac_word... " >&6; }
3088if ${ac_cv_prog_CC+:} false; then :
3089  $as_echo_n "(cached) " >&6
3090else
3091  if test -n "$CC"; then
3092  ac_cv_prog_CC="$CC" # Let the user override the test.
3093else
3094  ac_prog_rejected=no
3095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096for as_dir in $PATH
3097do
3098  IFS=$as_save_IFS
3099  test -z "$as_dir" && as_dir=.
3100    for ac_exec_ext in '' $ac_executable_extensions; do
3101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3102    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3103       ac_prog_rejected=yes
3104       continue
3105     fi
3106    ac_cv_prog_CC="cc"
3107    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108    break 2
3109  fi
3110done
3111  done
3112IFS=$as_save_IFS
3113
3114if test $ac_prog_rejected = yes; then
3115  # We found a bogon in the path, so make sure we never use it.
3116  set dummy $ac_cv_prog_CC
3117  shift
3118  if test $# != 0; then
3119    # We chose a different compiler from the bogus one.
3120    # However, it has the same basename, so the bogon will be chosen
3121    # first if we set CC to just the basename; use the full file name.
3122    shift
3123    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3124  fi
3125fi
3126fi
3127fi
3128CC=$ac_cv_prog_CC
3129if test -n "$CC"; then
3130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3131$as_echo "$CC" >&6; }
3132else
3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134$as_echo "no" >&6; }
3135fi
3136
3137
3138fi
3139if test -z "$CC"; then
3140  if test -n "$ac_tool_prefix"; then
3141  for ac_prog in cl.exe
3142  do
3143    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3144set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146$as_echo_n "checking for $ac_word... " >&6; }
3147if ${ac_cv_prog_CC+:} false; then :
3148  $as_echo_n "(cached) " >&6
3149else
3150  if test -n "$CC"; then
3151  ac_cv_prog_CC="$CC" # Let the user override the test.
3152else
3153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154for as_dir in $PATH
3155do
3156  IFS=$as_save_IFS
3157  test -z "$as_dir" && as_dir=.
3158    for ac_exec_ext in '' $ac_executable_extensions; do
3159  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3161    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162    break 2
3163  fi
3164done
3165  done
3166IFS=$as_save_IFS
3167
3168fi
3169fi
3170CC=$ac_cv_prog_CC
3171if test -n "$CC"; then
3172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173$as_echo "$CC" >&6; }
3174else
3175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176$as_echo "no" >&6; }
3177fi
3178
3179
3180    test -n "$CC" && break
3181  done
3182fi
3183if test -z "$CC"; then
3184  ac_ct_CC=$CC
3185  for ac_prog in cl.exe
3186do
3187  # Extract the first word of "$ac_prog", so it can be a program name with args.
3188set dummy $ac_prog; ac_word=$2
3189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190$as_echo_n "checking for $ac_word... " >&6; }
3191if ${ac_cv_prog_ac_ct_CC+:} false; then :
3192  $as_echo_n "(cached) " >&6
3193else
3194  if test -n "$ac_ct_CC"; then
3195  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3196else
3197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198for as_dir in $PATH
3199do
3200  IFS=$as_save_IFS
3201  test -z "$as_dir" && as_dir=.
3202    for ac_exec_ext in '' $ac_executable_extensions; do
3203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204    ac_cv_prog_ac_ct_CC="$ac_prog"
3205    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206    break 2
3207  fi
3208done
3209  done
3210IFS=$as_save_IFS
3211
3212fi
3213fi
3214ac_ct_CC=$ac_cv_prog_ac_ct_CC
3215if test -n "$ac_ct_CC"; then
3216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3217$as_echo "$ac_ct_CC" >&6; }
3218else
3219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220$as_echo "no" >&6; }
3221fi
3222
3223
3224  test -n "$ac_ct_CC" && break
3225done
3226
3227  if test "x$ac_ct_CC" = x; then
3228    CC=""
3229  else
3230    case $cross_compiling:$ac_tool_warned in
3231yes:)
3232{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234ac_tool_warned=yes ;;
3235esac
3236    CC=$ac_ct_CC
3237  fi
3238fi
3239
3240fi
3241
3242
3243test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3245as_fn_error $? "no acceptable C compiler found in \$PATH
3246See \`config.log' for more details" "$LINENO" 5; }
3247
3248# Provide some information about the compiler.
3249$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3250set X $ac_compile
3251ac_compiler=$2
3252for ac_option in --version -v -V -qversion; do
3253  { { ac_try="$ac_compiler $ac_option >&5"
3254case "(($ac_try" in
3255  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256  *) ac_try_echo=$ac_try;;
3257esac
3258eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3259$as_echo "$ac_try_echo"; } >&5
3260  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3261  ac_status=$?
3262  if test -s conftest.err; then
3263    sed '10a\
3264... rest of stderr output deleted ...
3265         10q' conftest.err >conftest.er1
3266    cat conftest.er1 >&5
3267  fi
3268  rm -f conftest.er1 conftest.err
3269  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270  test $ac_status = 0; }
3271done
3272
3273cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274/* end confdefs.h.  */
3275
3276int
3277main ()
3278{
3279
3280  ;
3281  return 0;
3282}
3283_ACEOF
3284ac_clean_files_save=$ac_clean_files
3285ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3286# Try to create an executable without -o first, disregard a.out.
3287# It will help us diagnose broken compilers, and finding out an intuition
3288# of exeext.
3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3290$as_echo_n "checking whether the C compiler works... " >&6; }
3291ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3292
3293# The possible output files:
3294ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3295
3296ac_rmfiles=
3297for ac_file in $ac_files
3298do
3299  case $ac_file in
3300    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3301    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3302  esac
3303done
3304rm -f $ac_rmfiles
3305
3306if { { ac_try="$ac_link_default"
3307case "(($ac_try" in
3308  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3309  *) ac_try_echo=$ac_try;;
3310esac
3311eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312$as_echo "$ac_try_echo"; } >&5
3313  (eval "$ac_link_default") 2>&5
3314  ac_status=$?
3315  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316  test $ac_status = 0; }; then :
3317  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3318# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3319# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3320# so that the user can short-circuit this test for compilers unknown to
3321# Autoconf.
3322for ac_file in $ac_files ''
3323do
3324  test -f "$ac_file" || continue
3325  case $ac_file in
3326    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3327	;;
3328    [ab].out )
3329	# We found the default executable, but exeext='' is most
3330	# certainly right.
3331	break;;
3332    *.* )
3333	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3334	then :; else
3335	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3336	fi
3337	# We set ac_cv_exeext here because the later test for it is not
3338	# safe: cross compilers may not add the suffix if given an `-o'
3339	# argument, so we may need to know it at that point already.
3340	# Even if this section looks crufty: it has the advantage of
3341	# actually working.
3342	break;;
3343    * )
3344	break;;
3345  esac
3346done
3347test "$ac_cv_exeext" = no && ac_cv_exeext=
3348
3349else
3350  ac_file=''
3351fi
3352if test -z "$ac_file"; then :
3353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354$as_echo "no" >&6; }
3355$as_echo "$as_me: failed program was:" >&5
3356sed 's/^/| /' conftest.$ac_ext >&5
3357
3358{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360as_fn_error 77 "C compiler cannot create executables
3361See \`config.log' for more details" "$LINENO" 5; }
3362else
3363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3364$as_echo "yes" >&6; }
3365fi
3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3367$as_echo_n "checking for C compiler default output file name... " >&6; }
3368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3369$as_echo "$ac_file" >&6; }
3370ac_exeext=$ac_cv_exeext
3371
3372rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3373ac_clean_files=$ac_clean_files_save
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3375$as_echo_n "checking for suffix of executables... " >&6; }
3376if { { ac_try="$ac_link"
3377case "(($ac_try" in
3378  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379  *) ac_try_echo=$ac_try;;
3380esac
3381eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382$as_echo "$ac_try_echo"; } >&5
3383  (eval "$ac_link") 2>&5
3384  ac_status=$?
3385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386  test $ac_status = 0; }; then :
3387  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3388# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3389# work properly (i.e., refer to `conftest.exe'), while it won't with
3390# `rm'.
3391for ac_file in conftest.exe conftest conftest.*; do
3392  test -f "$ac_file" || continue
3393  case $ac_file in
3394    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3395    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3396	  break;;
3397    * ) break;;
3398  esac
3399done
3400else
3401  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3404See \`config.log' for more details" "$LINENO" 5; }
3405fi
3406rm -f conftest conftest$ac_cv_exeext
3407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3408$as_echo "$ac_cv_exeext" >&6; }
3409
3410rm -f conftest.$ac_ext
3411EXEEXT=$ac_cv_exeext
3412ac_exeext=$EXEEXT
3413cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414/* end confdefs.h.  */
3415#include <stdio.h>
3416int
3417main ()
3418{
3419FILE *f = fopen ("conftest.out", "w");
3420 return ferror (f) || fclose (f) != 0;
3421
3422  ;
3423  return 0;
3424}
3425_ACEOF
3426ac_clean_files="$ac_clean_files conftest.out"
3427# Check that the compiler produces executables we can run.  If not, either
3428# the compiler is broken, or we cross compile.
3429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3430$as_echo_n "checking whether we are cross compiling... " >&6; }
3431if test "$cross_compiling" != yes; then
3432  { { ac_try="$ac_link"
3433case "(($ac_try" in
3434  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435  *) ac_try_echo=$ac_try;;
3436esac
3437eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438$as_echo "$ac_try_echo"; } >&5
3439  (eval "$ac_link") 2>&5
3440  ac_status=$?
3441  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442  test $ac_status = 0; }
3443  if { ac_try='./conftest$ac_cv_exeext'
3444  { { case "(($ac_try" in
3445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446  *) ac_try_echo=$ac_try;;
3447esac
3448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449$as_echo "$ac_try_echo"; } >&5
3450  (eval "$ac_try") 2>&5
3451  ac_status=$?
3452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453  test $ac_status = 0; }; }; then
3454    cross_compiling=no
3455  else
3456    if test "$cross_compiling" = maybe; then
3457	cross_compiling=yes
3458    else
3459	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461as_fn_error $? "cannot run C compiled programs.
3462If you meant to cross compile, use \`--host'.
3463See \`config.log' for more details" "$LINENO" 5; }
3464    fi
3465  fi
3466fi
3467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3468$as_echo "$cross_compiling" >&6; }
3469
3470rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3471ac_clean_files=$ac_clean_files_save
3472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3473$as_echo_n "checking for suffix of object files... " >&6; }
3474if ${ac_cv_objext+:} false; then :
3475  $as_echo_n "(cached) " >&6
3476else
3477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478/* end confdefs.h.  */
3479
3480int
3481main ()
3482{
3483
3484  ;
3485  return 0;
3486}
3487_ACEOF
3488rm -f conftest.o conftest.obj
3489if { { ac_try="$ac_compile"
3490case "(($ac_try" in
3491  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492  *) ac_try_echo=$ac_try;;
3493esac
3494eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495$as_echo "$ac_try_echo"; } >&5
3496  (eval "$ac_compile") 2>&5
3497  ac_status=$?
3498  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499  test $ac_status = 0; }; then :
3500  for ac_file in conftest.o conftest.obj conftest.*; do
3501  test -f "$ac_file" || continue;
3502  case $ac_file in
3503    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3504    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3505       break;;
3506  esac
3507done
3508else
3509  $as_echo "$as_me: failed program was:" >&5
3510sed 's/^/| /' conftest.$ac_ext >&5
3511
3512{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3513$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3514as_fn_error $? "cannot compute suffix of object files: cannot compile
3515See \`config.log' for more details" "$LINENO" 5; }
3516fi
3517rm -f conftest.$ac_cv_objext conftest.$ac_ext
3518fi
3519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3520$as_echo "$ac_cv_objext" >&6; }
3521OBJEXT=$ac_cv_objext
3522ac_objext=$OBJEXT
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3524$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3525if ${ac_cv_c_compiler_gnu+:} false; then :
3526  $as_echo_n "(cached) " >&6
3527else
3528  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529/* end confdefs.h.  */
3530
3531int
3532main ()
3533{
3534#ifndef __GNUC__
3535       choke me
3536#endif
3537
3538  ;
3539  return 0;
3540}
3541_ACEOF
3542if ac_fn_c_try_compile "$LINENO"; then :
3543  ac_compiler_gnu=yes
3544else
3545  ac_compiler_gnu=no
3546fi
3547rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548ac_cv_c_compiler_gnu=$ac_compiler_gnu
3549
3550fi
3551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3552$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3553if test $ac_compiler_gnu = yes; then
3554  GCC=yes
3555else
3556  GCC=
3557fi
3558ac_test_CFLAGS=${CFLAGS+set}
3559ac_save_CFLAGS=$CFLAGS
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3561$as_echo_n "checking whether $CC accepts -g... " >&6; }
3562if ${ac_cv_prog_cc_g+:} false; then :
3563  $as_echo_n "(cached) " >&6
3564else
3565  ac_save_c_werror_flag=$ac_c_werror_flag
3566   ac_c_werror_flag=yes
3567   ac_cv_prog_cc_g=no
3568   CFLAGS="-g"
3569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570/* end confdefs.h.  */
3571
3572int
3573main ()
3574{
3575
3576  ;
3577  return 0;
3578}
3579_ACEOF
3580if ac_fn_c_try_compile "$LINENO"; then :
3581  ac_cv_prog_cc_g=yes
3582else
3583  CFLAGS=""
3584      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585/* end confdefs.h.  */
3586
3587int
3588main ()
3589{
3590
3591  ;
3592  return 0;
3593}
3594_ACEOF
3595if ac_fn_c_try_compile "$LINENO"; then :
3596
3597else
3598  ac_c_werror_flag=$ac_save_c_werror_flag
3599	 CFLAGS="-g"
3600	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601/* end confdefs.h.  */
3602
3603int
3604main ()
3605{
3606
3607  ;
3608  return 0;
3609}
3610_ACEOF
3611if ac_fn_c_try_compile "$LINENO"; then :
3612  ac_cv_prog_cc_g=yes
3613fi
3614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615fi
3616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617fi
3618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619   ac_c_werror_flag=$ac_save_c_werror_flag
3620fi
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3622$as_echo "$ac_cv_prog_cc_g" >&6; }
3623if test "$ac_test_CFLAGS" = set; then
3624  CFLAGS=$ac_save_CFLAGS
3625elif test $ac_cv_prog_cc_g = yes; then
3626  if test "$GCC" = yes; then
3627    CFLAGS="-g -O2"
3628  else
3629    CFLAGS="-g"
3630  fi
3631else
3632  if test "$GCC" = yes; then
3633    CFLAGS="-O2"
3634  else
3635    CFLAGS=
3636  fi
3637fi
3638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3639$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3640if ${ac_cv_prog_cc_c89+:} false; then :
3641  $as_echo_n "(cached) " >&6
3642else
3643  ac_cv_prog_cc_c89=no
3644ac_save_CC=$CC
3645cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646/* end confdefs.h.  */
3647#include <stdarg.h>
3648#include <stdio.h>
3649struct stat;
3650/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3651struct buf { int x; };
3652FILE * (*rcsopen) (struct buf *, struct stat *, int);
3653static char *e (p, i)
3654     char **p;
3655     int i;
3656{
3657  return p[i];
3658}
3659static char *f (char * (*g) (char **, int), char **p, ...)
3660{
3661  char *s;
3662  va_list v;
3663  va_start (v,p);
3664  s = g (p, va_arg (v,int));
3665  va_end (v);
3666  return s;
3667}
3668
3669/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3670   function prototypes and stuff, but not '\xHH' hex character constants.
3671   These don't provoke an error unfortunately, instead are silently treated
3672   as 'x'.  The following induces an error, until -std is added to get
3673   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3674   array size at least.  It's necessary to write '\x00'==0 to get something
3675   that's true only with -std.  */
3676int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3677
3678/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3679   inside strings and character constants.  */
3680#define FOO(x) 'x'
3681int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3682
3683int test (int i, double x);
3684struct s1 {int (*f) (int a);};
3685struct s2 {int (*f) (double a);};
3686int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3687int argc;
3688char **argv;
3689int
3690main ()
3691{
3692return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3693  ;
3694  return 0;
3695}
3696_ACEOF
3697for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3698	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3699do
3700  CC="$ac_save_CC $ac_arg"
3701  if ac_fn_c_try_compile "$LINENO"; then :
3702  ac_cv_prog_cc_c89=$ac_arg
3703fi
3704rm -f core conftest.err conftest.$ac_objext
3705  test "x$ac_cv_prog_cc_c89" != "xno" && break
3706done
3707rm -f conftest.$ac_ext
3708CC=$ac_save_CC
3709
3710fi
3711# AC_CACHE_VAL
3712case "x$ac_cv_prog_cc_c89" in
3713  x)
3714    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3715$as_echo "none needed" >&6; } ;;
3716  xno)
3717    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3718$as_echo "unsupported" >&6; } ;;
3719  *)
3720    CC="$CC $ac_cv_prog_cc_c89"
3721    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3722$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3723esac
3724if test "x$ac_cv_prog_cc_c89" != xno; then :
3725
3726fi
3727
3728ac_ext=c
3729ac_cpp='$CPP $CPPFLAGS'
3730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733
3734ac_ext=c
3735ac_cpp='$CPP $CPPFLAGS'
3736ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3737ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738ac_compiler_gnu=$ac_cv_c_compiler_gnu
3739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3740$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3741if ${am_cv_prog_cc_c_o+:} false; then :
3742  $as_echo_n "(cached) " >&6
3743else
3744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745/* end confdefs.h.  */
3746
3747int
3748main ()
3749{
3750
3751  ;
3752  return 0;
3753}
3754_ACEOF
3755  # Make sure it works both with $CC and with simple cc.
3756  # Following AC_PROG_CC_C_O, we do the test twice because some
3757  # compilers refuse to overwrite an existing .o file with -o,
3758  # though they will create one.
3759  am_cv_prog_cc_c_o=yes
3760  for am_i in 1 2; do
3761    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3762   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3763   ac_status=$?
3764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765   (exit $ac_status); } \
3766         && test -f conftest2.$ac_objext; then
3767      : OK
3768    else
3769      am_cv_prog_cc_c_o=no
3770      break
3771    fi
3772  done
3773  rm -f core conftest*
3774  unset am_i
3775fi
3776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3777$as_echo "$am_cv_prog_cc_c_o" >&6; }
3778if test "$am_cv_prog_cc_c_o" != yes; then
3779   # Losing compiler, so override with the script.
3780   # FIXME: It is wrong to rewrite CC.
3781   # But if we don't then we get into trouble of one sort or another.
3782   # A longer-term fix would be to have automake use am__CC in this case,
3783   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3784   CC="$am_aux_dir/compile $CC"
3785fi
3786ac_ext=c
3787ac_cpp='$CPP $CPPFLAGS'
3788ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3789ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3790ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791
3792
3793depcc="$CC"   am_compiler_list=
3794
3795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3796$as_echo_n "checking dependency style of $depcc... " >&6; }
3797if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3798  $as_echo_n "(cached) " >&6
3799else
3800  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3801  # We make a subdir and do the tests there.  Otherwise we can end up
3802  # making bogus files that we don't know about and never remove.  For
3803  # instance it was reported that on HP-UX the gcc test will end up
3804  # making a dummy file named 'D' -- because '-MD' means "put the output
3805  # in D".
3806  rm -rf conftest.dir
3807  mkdir conftest.dir
3808  # Copy depcomp to subdir because otherwise we won't find it if we're
3809  # using a relative directory.
3810  cp "$am_depcomp" conftest.dir
3811  cd conftest.dir
3812  # We will build objects and dependencies in a subdirectory because
3813  # it helps to detect inapplicable dependency modes.  For instance
3814  # both Tru64's cc and ICC support -MD to output dependencies as a
3815  # side effect of compilation, but ICC will put the dependencies in
3816  # the current directory while Tru64 will put them in the object
3817  # directory.
3818  mkdir sub
3819
3820  am_cv_CC_dependencies_compiler_type=none
3821  if test "$am_compiler_list" = ""; then
3822     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3823  fi
3824  am__universal=false
3825  case " $depcc " in #(
3826     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3827     esac
3828
3829  for depmode in $am_compiler_list; do
3830    # Setup a source with many dependencies, because some compilers
3831    # like to wrap large dependency lists on column 80 (with \), and
3832    # we should not choose a depcomp mode which is confused by this.
3833    #
3834    # We need to recreate these files for each test, as the compiler may
3835    # overwrite some of them when testing with obscure command lines.
3836    # This happens at least with the AIX C compiler.
3837    : > sub/conftest.c
3838    for i in 1 2 3 4 5 6; do
3839      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3840      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3841      # Solaris 10 /bin/sh.
3842      echo '/* dummy */' > sub/conftst$i.h
3843    done
3844    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3845
3846    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3847    # mode.  It turns out that the SunPro C++ compiler does not properly
3848    # handle '-M -o', and we need to detect this.  Also, some Intel
3849    # versions had trouble with output in subdirs.
3850    am__obj=sub/conftest.${OBJEXT-o}
3851    am__minus_obj="-o $am__obj"
3852    case $depmode in
3853    gcc)
3854      # This depmode causes a compiler race in universal mode.
3855      test "$am__universal" = false || continue
3856      ;;
3857    nosideeffect)
3858      # After this tag, mechanisms are not by side-effect, so they'll
3859      # only be used when explicitly requested.
3860      if test "x$enable_dependency_tracking" = xyes; then
3861	continue
3862      else
3863	break
3864      fi
3865      ;;
3866    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3867      # This compiler won't grok '-c -o', but also, the minuso test has
3868      # not run yet.  These depmodes are late enough in the game, and
3869      # so weak that their functioning should not be impacted.
3870      am__obj=conftest.${OBJEXT-o}
3871      am__minus_obj=
3872      ;;
3873    none) break ;;
3874    esac
3875    if depmode=$depmode \
3876       source=sub/conftest.c object=$am__obj \
3877       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3878       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3879         >/dev/null 2>conftest.err &&
3880       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3881       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3882       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3883       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3884      # icc doesn't choke on unknown options, it will just issue warnings
3885      # or remarks (even with -Werror).  So we grep stderr for any message
3886      # that says an option was ignored or not supported.
3887      # When given -MP, icc 7.0 and 7.1 complain thusly:
3888      #   icc: Command line warning: ignoring option '-M'; no argument required
3889      # The diagnosis changed in icc 8.0:
3890      #   icc: Command line remark: option '-MP' not supported
3891      if (grep 'ignoring option' conftest.err ||
3892          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3893        am_cv_CC_dependencies_compiler_type=$depmode
3894        break
3895      fi
3896    fi
3897  done
3898
3899  cd ..
3900  rm -rf conftest.dir
3901else
3902  am_cv_CC_dependencies_compiler_type=none
3903fi
3904
3905fi
3906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3907$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3908CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3909
3910 if
3911  test "x$enable_dependency_tracking" != xno \
3912  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3913  am__fastdepCC_TRUE=
3914  am__fastdepCC_FALSE='#'
3915else
3916  am__fastdepCC_TRUE='#'
3917  am__fastdepCC_FALSE=
3918fi
3919
3920
3921
3922ac_ext=c
3923ac_cpp='$CPP $CPPFLAGS'
3924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3926ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3928$as_echo_n "checking how to run the C preprocessor... " >&6; }
3929# On Suns, sometimes $CPP names a directory.
3930if test -n "$CPP" && test -d "$CPP"; then
3931  CPP=
3932fi
3933if test -z "$CPP"; then
3934  if ${ac_cv_prog_CPP+:} false; then :
3935  $as_echo_n "(cached) " >&6
3936else
3937      # Double quotes because CPP needs to be expanded
3938    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3939    do
3940      ac_preproc_ok=false
3941for ac_c_preproc_warn_flag in '' yes
3942do
3943  # Use a header file that comes with gcc, so configuring glibc
3944  # with a fresh cross-compiler works.
3945  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3946  # <limits.h> exists even on freestanding compilers.
3947  # On the NeXT, cc -E runs the code through the compiler's parser,
3948  # not just through cpp. "Syntax error" is here to catch this case.
3949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950/* end confdefs.h.  */
3951#ifdef __STDC__
3952# include <limits.h>
3953#else
3954# include <assert.h>
3955#endif
3956		     Syntax error
3957_ACEOF
3958if ac_fn_c_try_cpp "$LINENO"; then :
3959
3960else
3961  # Broken: fails on valid input.
3962continue
3963fi
3964rm -f conftest.err conftest.i conftest.$ac_ext
3965
3966  # OK, works on sane cases.  Now check whether nonexistent headers
3967  # can be detected and how.
3968  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3969/* end confdefs.h.  */
3970#include <ac_nonexistent.h>
3971_ACEOF
3972if ac_fn_c_try_cpp "$LINENO"; then :
3973  # Broken: success on invalid input.
3974continue
3975else
3976  # Passes both tests.
3977ac_preproc_ok=:
3978break
3979fi
3980rm -f conftest.err conftest.i conftest.$ac_ext
3981
3982done
3983# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3984rm -f conftest.i conftest.err conftest.$ac_ext
3985if $ac_preproc_ok; then :
3986  break
3987fi
3988
3989    done
3990    ac_cv_prog_CPP=$CPP
3991
3992fi
3993  CPP=$ac_cv_prog_CPP
3994else
3995  ac_cv_prog_CPP=$CPP
3996fi
3997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3998$as_echo "$CPP" >&6; }
3999ac_preproc_ok=false
4000for ac_c_preproc_warn_flag in '' yes
4001do
4002  # Use a header file that comes with gcc, so configuring glibc
4003  # with a fresh cross-compiler works.
4004  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4005  # <limits.h> exists even on freestanding compilers.
4006  # On the NeXT, cc -E runs the code through the compiler's parser,
4007  # not just through cpp. "Syntax error" is here to catch this case.
4008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4009/* end confdefs.h.  */
4010#ifdef __STDC__
4011# include <limits.h>
4012#else
4013# include <assert.h>
4014#endif
4015		     Syntax error
4016_ACEOF
4017if ac_fn_c_try_cpp "$LINENO"; then :
4018
4019else
4020  # Broken: fails on valid input.
4021continue
4022fi
4023rm -f conftest.err conftest.i conftest.$ac_ext
4024
4025  # OK, works on sane cases.  Now check whether nonexistent headers
4026  # can be detected and how.
4027  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028/* end confdefs.h.  */
4029#include <ac_nonexistent.h>
4030_ACEOF
4031if ac_fn_c_try_cpp "$LINENO"; then :
4032  # Broken: success on invalid input.
4033continue
4034else
4035  # Passes both tests.
4036ac_preproc_ok=:
4037break
4038fi
4039rm -f conftest.err conftest.i conftest.$ac_ext
4040
4041done
4042# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4043rm -f conftest.i conftest.err conftest.$ac_ext
4044if $ac_preproc_ok; then :
4045
4046else
4047  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4048$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4049as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4050See \`config.log' for more details" "$LINENO" 5; }
4051fi
4052
4053ac_ext=c
4054ac_cpp='$CPP $CPPFLAGS'
4055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058
4059
4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4061$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4062if ${ac_cv_path_GREP+:} false; then :
4063  $as_echo_n "(cached) " >&6
4064else
4065  if test -z "$GREP"; then
4066  ac_path_GREP_found=false
4067  # Loop through the user's path and test for each of PROGNAME-LIST
4068  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4070do
4071  IFS=$as_save_IFS
4072  test -z "$as_dir" && as_dir=.
4073    for ac_prog in grep ggrep; do
4074    for ac_exec_ext in '' $ac_executable_extensions; do
4075      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4076      as_fn_executable_p "$ac_path_GREP" || continue
4077# Check for GNU ac_path_GREP and select it if it is found.
4078  # Check for GNU $ac_path_GREP
4079case `"$ac_path_GREP" --version 2>&1` in
4080*GNU*)
4081  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4082*)
4083  ac_count=0
4084  $as_echo_n 0123456789 >"conftest.in"
4085  while :
4086  do
4087    cat "conftest.in" "conftest.in" >"conftest.tmp"
4088    mv "conftest.tmp" "conftest.in"
4089    cp "conftest.in" "conftest.nl"
4090    $as_echo 'GREP' >> "conftest.nl"
4091    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4092    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4093    as_fn_arith $ac_count + 1 && ac_count=$as_val
4094    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4095      # Best one so far, save it but keep looking for a better one
4096      ac_cv_path_GREP="$ac_path_GREP"
4097      ac_path_GREP_max=$ac_count
4098    fi
4099    # 10*(2^10) chars as input seems more than enough
4100    test $ac_count -gt 10 && break
4101  done
4102  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4103esac
4104
4105      $ac_path_GREP_found && break 3
4106    done
4107  done
4108  done
4109IFS=$as_save_IFS
4110  if test -z "$ac_cv_path_GREP"; then
4111    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4112  fi
4113else
4114  ac_cv_path_GREP=$GREP
4115fi
4116
4117fi
4118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4119$as_echo "$ac_cv_path_GREP" >&6; }
4120 GREP="$ac_cv_path_GREP"
4121
4122
4123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4124$as_echo_n "checking for egrep... " >&6; }
4125if ${ac_cv_path_EGREP+:} false; then :
4126  $as_echo_n "(cached) " >&6
4127else
4128  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4129   then ac_cv_path_EGREP="$GREP -E"
4130   else
4131     if test -z "$EGREP"; then
4132  ac_path_EGREP_found=false
4133  # Loop through the user's path and test for each of PROGNAME-LIST
4134  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4136do
4137  IFS=$as_save_IFS
4138  test -z "$as_dir" && as_dir=.
4139    for ac_prog in egrep; do
4140    for ac_exec_ext in '' $ac_executable_extensions; do
4141      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4142      as_fn_executable_p "$ac_path_EGREP" || continue
4143# Check for GNU ac_path_EGREP and select it if it is found.
4144  # Check for GNU $ac_path_EGREP
4145case `"$ac_path_EGREP" --version 2>&1` in
4146*GNU*)
4147  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4148*)
4149  ac_count=0
4150  $as_echo_n 0123456789 >"conftest.in"
4151  while :
4152  do
4153    cat "conftest.in" "conftest.in" >"conftest.tmp"
4154    mv "conftest.tmp" "conftest.in"
4155    cp "conftest.in" "conftest.nl"
4156    $as_echo 'EGREP' >> "conftest.nl"
4157    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4158    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4159    as_fn_arith $ac_count + 1 && ac_count=$as_val
4160    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4161      # Best one so far, save it but keep looking for a better one
4162      ac_cv_path_EGREP="$ac_path_EGREP"
4163      ac_path_EGREP_max=$ac_count
4164    fi
4165    # 10*(2^10) chars as input seems more than enough
4166    test $ac_count -gt 10 && break
4167  done
4168  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4169esac
4170
4171      $ac_path_EGREP_found && break 3
4172    done
4173  done
4174  done
4175IFS=$as_save_IFS
4176  if test -z "$ac_cv_path_EGREP"; then
4177    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4178  fi
4179else
4180  ac_cv_path_EGREP=$EGREP
4181fi
4182
4183   fi
4184fi
4185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4186$as_echo "$ac_cv_path_EGREP" >&6; }
4187 EGREP="$ac_cv_path_EGREP"
4188
4189
4190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4191$as_echo_n "checking for ANSI C header files... " >&6; }
4192if ${ac_cv_header_stdc+:} false; then :
4193  $as_echo_n "(cached) " >&6
4194else
4195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196/* end confdefs.h.  */
4197#include <stdlib.h>
4198#include <stdarg.h>
4199#include <string.h>
4200#include <float.h>
4201
4202int
4203main ()
4204{
4205
4206  ;
4207  return 0;
4208}
4209_ACEOF
4210if ac_fn_c_try_compile "$LINENO"; then :
4211  ac_cv_header_stdc=yes
4212else
4213  ac_cv_header_stdc=no
4214fi
4215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216
4217if test $ac_cv_header_stdc = yes; then
4218  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4219  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220/* end confdefs.h.  */
4221#include <string.h>
4222
4223_ACEOF
4224if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4225  $EGREP "memchr" >/dev/null 2>&1; then :
4226
4227else
4228  ac_cv_header_stdc=no
4229fi
4230rm -f conftest*
4231
4232fi
4233
4234if test $ac_cv_header_stdc = yes; then
4235  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4236  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237/* end confdefs.h.  */
4238#include <stdlib.h>
4239
4240_ACEOF
4241if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4242  $EGREP "free" >/dev/null 2>&1; then :
4243
4244else
4245  ac_cv_header_stdc=no
4246fi
4247rm -f conftest*
4248
4249fi
4250
4251if test $ac_cv_header_stdc = yes; then
4252  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4253  if test "$cross_compiling" = yes; then :
4254  :
4255else
4256  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257/* end confdefs.h.  */
4258#include <ctype.h>
4259#include <stdlib.h>
4260#if ((' ' & 0x0FF) == 0x020)
4261# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4262# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4263#else
4264# define ISLOWER(c) \
4265		   (('a' <= (c) && (c) <= 'i') \
4266		     || ('j' <= (c) && (c) <= 'r') \
4267		     || ('s' <= (c) && (c) <= 'z'))
4268# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4269#endif
4270
4271#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4272int
4273main ()
4274{
4275  int i;
4276  for (i = 0; i < 256; i++)
4277    if (XOR (islower (i), ISLOWER (i))
4278	|| toupper (i) != TOUPPER (i))
4279      return 2;
4280  return 0;
4281}
4282_ACEOF
4283if ac_fn_c_try_run "$LINENO"; then :
4284
4285else
4286  ac_cv_header_stdc=no
4287fi
4288rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4289  conftest.$ac_objext conftest.beam conftest.$ac_ext
4290fi
4291
4292fi
4293fi
4294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4295$as_echo "$ac_cv_header_stdc" >&6; }
4296if test $ac_cv_header_stdc = yes; then
4297
4298$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4299
4300fi
4301
4302# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4303for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4304		  inttypes.h stdint.h unistd.h
4305do :
4306  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4307ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4308"
4309if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4310  cat >>confdefs.h <<_ACEOF
4311#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4312_ACEOF
4313
4314fi
4315
4316done
4317
4318
4319
4320  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4321if test "x$ac_cv_header_minix_config_h" = xyes; then :
4322  MINIX=yes
4323else
4324  MINIX=
4325fi
4326
4327
4328  if test "$MINIX" = yes; then
4329
4330$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4331
4332
4333$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4334
4335
4336$as_echo "#define _MINIX 1" >>confdefs.h
4337
4338  fi
4339
4340
4341  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4342$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4343if ${ac_cv_safe_to_define___extensions__+:} false; then :
4344  $as_echo_n "(cached) " >&6
4345else
4346  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347/* end confdefs.h.  */
4348
4349#         define __EXTENSIONS__ 1
4350          $ac_includes_default
4351int
4352main ()
4353{
4354
4355  ;
4356  return 0;
4357}
4358_ACEOF
4359if ac_fn_c_try_compile "$LINENO"; then :
4360  ac_cv_safe_to_define___extensions__=yes
4361else
4362  ac_cv_safe_to_define___extensions__=no
4363fi
4364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365fi
4366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4367$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4368  test $ac_cv_safe_to_define___extensions__ = yes &&
4369    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4370
4371  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4372
4373  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4374
4375  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4376
4377  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4378
4379
4380
4381# Checks for programs
4382
4383for ac_prog in gawk mawk nawk awk
4384do
4385  # Extract the first word of "$ac_prog", so it can be a program name with args.
4386set dummy $ac_prog; ac_word=$2
4387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388$as_echo_n "checking for $ac_word... " >&6; }
4389if ${ac_cv_prog_AWK+:} false; then :
4390  $as_echo_n "(cached) " >&6
4391else
4392  if test -n "$AWK"; then
4393  ac_cv_prog_AWK="$AWK" # Let the user override the test.
4394else
4395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396for as_dir in $PATH
4397do
4398  IFS=$as_save_IFS
4399  test -z "$as_dir" && as_dir=.
4400    for ac_exec_ext in '' $ac_executable_extensions; do
4401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4402    ac_cv_prog_AWK="$ac_prog"
4403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404    break 2
4405  fi
4406done
4407  done
4408IFS=$as_save_IFS
4409
4410fi
4411fi
4412AWK=$ac_cv_prog_AWK
4413if test -n "$AWK"; then
4414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4415$as_echo "$AWK" >&6; }
4416else
4417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418$as_echo "no" >&6; }
4419fi
4420
4421
4422  test -n "$AWK" && break
4423done
4424
4425ac_ext=c
4426ac_cpp='$CPP $CPPFLAGS'
4427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4429ac_compiler_gnu=$ac_cv_c_compiler_gnu
4430if test -n "$ac_tool_prefix"; then
4431  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4432set dummy ${ac_tool_prefix}gcc; ac_word=$2
4433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434$as_echo_n "checking for $ac_word... " >&6; }
4435if ${ac_cv_prog_CC+:} false; then :
4436  $as_echo_n "(cached) " >&6
4437else
4438  if test -n "$CC"; then
4439  ac_cv_prog_CC="$CC" # Let the user override the test.
4440else
4441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442for as_dir in $PATH
4443do
4444  IFS=$as_save_IFS
4445  test -z "$as_dir" && as_dir=.
4446    for ac_exec_ext in '' $ac_executable_extensions; do
4447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450    break 2
4451  fi
4452done
4453  done
4454IFS=$as_save_IFS
4455
4456fi
4457fi
4458CC=$ac_cv_prog_CC
4459if test -n "$CC"; then
4460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4461$as_echo "$CC" >&6; }
4462else
4463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464$as_echo "no" >&6; }
4465fi
4466
4467
4468fi
4469if test -z "$ac_cv_prog_CC"; then
4470  ac_ct_CC=$CC
4471  # Extract the first word of "gcc", so it can be a program name with args.
4472set dummy gcc; ac_word=$2
4473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474$as_echo_n "checking for $ac_word... " >&6; }
4475if ${ac_cv_prog_ac_ct_CC+:} false; then :
4476  $as_echo_n "(cached) " >&6
4477else
4478  if test -n "$ac_ct_CC"; then
4479  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4480else
4481as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482for as_dir in $PATH
4483do
4484  IFS=$as_save_IFS
4485  test -z "$as_dir" && as_dir=.
4486    for ac_exec_ext in '' $ac_executable_extensions; do
4487  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488    ac_cv_prog_ac_ct_CC="gcc"
4489    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490    break 2
4491  fi
4492done
4493  done
4494IFS=$as_save_IFS
4495
4496fi
4497fi
4498ac_ct_CC=$ac_cv_prog_ac_ct_CC
4499if test -n "$ac_ct_CC"; then
4500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4501$as_echo "$ac_ct_CC" >&6; }
4502else
4503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504$as_echo "no" >&6; }
4505fi
4506
4507  if test "x$ac_ct_CC" = x; then
4508    CC=""
4509  else
4510    case $cross_compiling:$ac_tool_warned in
4511yes:)
4512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4514ac_tool_warned=yes ;;
4515esac
4516    CC=$ac_ct_CC
4517  fi
4518else
4519  CC="$ac_cv_prog_CC"
4520fi
4521
4522if test -z "$CC"; then
4523          if test -n "$ac_tool_prefix"; then
4524    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4525set dummy ${ac_tool_prefix}cc; ac_word=$2
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4527$as_echo_n "checking for $ac_word... " >&6; }
4528if ${ac_cv_prog_CC+:} false; then :
4529  $as_echo_n "(cached) " >&6
4530else
4531  if test -n "$CC"; then
4532  ac_cv_prog_CC="$CC" # Let the user override the test.
4533else
4534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535for as_dir in $PATH
4536do
4537  IFS=$as_save_IFS
4538  test -z "$as_dir" && as_dir=.
4539    for ac_exec_ext in '' $ac_executable_extensions; do
4540  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4541    ac_cv_prog_CC="${ac_tool_prefix}cc"
4542    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543    break 2
4544  fi
4545done
4546  done
4547IFS=$as_save_IFS
4548
4549fi
4550fi
4551CC=$ac_cv_prog_CC
4552if test -n "$CC"; then
4553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4554$as_echo "$CC" >&6; }
4555else
4556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557$as_echo "no" >&6; }
4558fi
4559
4560
4561  fi
4562fi
4563if test -z "$CC"; then
4564  # Extract the first word of "cc", so it can be a program name with args.
4565set dummy cc; ac_word=$2
4566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567$as_echo_n "checking for $ac_word... " >&6; }
4568if ${ac_cv_prog_CC+:} false; then :
4569  $as_echo_n "(cached) " >&6
4570else
4571  if test -n "$CC"; then
4572  ac_cv_prog_CC="$CC" # Let the user override the test.
4573else
4574  ac_prog_rejected=no
4575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576for as_dir in $PATH
4577do
4578  IFS=$as_save_IFS
4579  test -z "$as_dir" && as_dir=.
4580    for ac_exec_ext in '' $ac_executable_extensions; do
4581  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4583       ac_prog_rejected=yes
4584       continue
4585     fi
4586    ac_cv_prog_CC="cc"
4587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588    break 2
4589  fi
4590done
4591  done
4592IFS=$as_save_IFS
4593
4594if test $ac_prog_rejected = yes; then
4595  # We found a bogon in the path, so make sure we never use it.
4596  set dummy $ac_cv_prog_CC
4597  shift
4598  if test $# != 0; then
4599    # We chose a different compiler from the bogus one.
4600    # However, it has the same basename, so the bogon will be chosen
4601    # first if we set CC to just the basename; use the full file name.
4602    shift
4603    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4604  fi
4605fi
4606fi
4607fi
4608CC=$ac_cv_prog_CC
4609if test -n "$CC"; then
4610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4611$as_echo "$CC" >&6; }
4612else
4613  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614$as_echo "no" >&6; }
4615fi
4616
4617
4618fi
4619if test -z "$CC"; then
4620  if test -n "$ac_tool_prefix"; then
4621  for ac_prog in cl.exe
4622  do
4623    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4624set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626$as_echo_n "checking for $ac_word... " >&6; }
4627if ${ac_cv_prog_CC+:} false; then :
4628  $as_echo_n "(cached) " >&6
4629else
4630  if test -n "$CC"; then
4631  ac_cv_prog_CC="$CC" # Let the user override the test.
4632else
4633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634for as_dir in $PATH
4635do
4636  IFS=$as_save_IFS
4637  test -z "$as_dir" && as_dir=.
4638    for ac_exec_ext in '' $ac_executable_extensions; do
4639  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4641    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642    break 2
4643  fi
4644done
4645  done
4646IFS=$as_save_IFS
4647
4648fi
4649fi
4650CC=$ac_cv_prog_CC
4651if test -n "$CC"; then
4652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4653$as_echo "$CC" >&6; }
4654else
4655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656$as_echo "no" >&6; }
4657fi
4658
4659
4660    test -n "$CC" && break
4661  done
4662fi
4663if test -z "$CC"; then
4664  ac_ct_CC=$CC
4665  for ac_prog in cl.exe
4666do
4667  # Extract the first word of "$ac_prog", so it can be a program name with args.
4668set dummy $ac_prog; ac_word=$2
4669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670$as_echo_n "checking for $ac_word... " >&6; }
4671if ${ac_cv_prog_ac_ct_CC+:} false; then :
4672  $as_echo_n "(cached) " >&6
4673else
4674  if test -n "$ac_ct_CC"; then
4675  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4676else
4677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678for as_dir in $PATH
4679do
4680  IFS=$as_save_IFS
4681  test -z "$as_dir" && as_dir=.
4682    for ac_exec_ext in '' $ac_executable_extensions; do
4683  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684    ac_cv_prog_ac_ct_CC="$ac_prog"
4685    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686    break 2
4687  fi
4688done
4689  done
4690IFS=$as_save_IFS
4691
4692fi
4693fi
4694ac_ct_CC=$ac_cv_prog_ac_ct_CC
4695if test -n "$ac_ct_CC"; then
4696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4697$as_echo "$ac_ct_CC" >&6; }
4698else
4699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700$as_echo "no" >&6; }
4701fi
4702
4703
4704  test -n "$ac_ct_CC" && break
4705done
4706
4707  if test "x$ac_ct_CC" = x; then
4708    CC=""
4709  else
4710    case $cross_compiling:$ac_tool_warned in
4711yes:)
4712{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4713$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4714ac_tool_warned=yes ;;
4715esac
4716    CC=$ac_ct_CC
4717  fi
4718fi
4719
4720fi
4721
4722
4723test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4725as_fn_error $? "no acceptable C compiler found in \$PATH
4726See \`config.log' for more details" "$LINENO" 5; }
4727
4728# Provide some information about the compiler.
4729$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4730set X $ac_compile
4731ac_compiler=$2
4732for ac_option in --version -v -V -qversion; do
4733  { { ac_try="$ac_compiler $ac_option >&5"
4734case "(($ac_try" in
4735  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736  *) ac_try_echo=$ac_try;;
4737esac
4738eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4739$as_echo "$ac_try_echo"; } >&5
4740  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4741  ac_status=$?
4742  if test -s conftest.err; then
4743    sed '10a\
4744... rest of stderr output deleted ...
4745         10q' conftest.err >conftest.er1
4746    cat conftest.er1 >&5
4747  fi
4748  rm -f conftest.er1 conftest.err
4749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4750  test $ac_status = 0; }
4751done
4752
4753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4754$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4755if ${ac_cv_c_compiler_gnu+:} false; then :
4756  $as_echo_n "(cached) " >&6
4757else
4758  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759/* end confdefs.h.  */
4760
4761int
4762main ()
4763{
4764#ifndef __GNUC__
4765       choke me
4766#endif
4767
4768  ;
4769  return 0;
4770}
4771_ACEOF
4772if ac_fn_c_try_compile "$LINENO"; then :
4773  ac_compiler_gnu=yes
4774else
4775  ac_compiler_gnu=no
4776fi
4777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778ac_cv_c_compiler_gnu=$ac_compiler_gnu
4779
4780fi
4781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4782$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4783if test $ac_compiler_gnu = yes; then
4784  GCC=yes
4785else
4786  GCC=
4787fi
4788ac_test_CFLAGS=${CFLAGS+set}
4789ac_save_CFLAGS=$CFLAGS
4790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4791$as_echo_n "checking whether $CC accepts -g... " >&6; }
4792if ${ac_cv_prog_cc_g+:} false; then :
4793  $as_echo_n "(cached) " >&6
4794else
4795  ac_save_c_werror_flag=$ac_c_werror_flag
4796   ac_c_werror_flag=yes
4797   ac_cv_prog_cc_g=no
4798   CFLAGS="-g"
4799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800/* end confdefs.h.  */
4801
4802int
4803main ()
4804{
4805
4806  ;
4807  return 0;
4808}
4809_ACEOF
4810if ac_fn_c_try_compile "$LINENO"; then :
4811  ac_cv_prog_cc_g=yes
4812else
4813  CFLAGS=""
4814      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815/* end confdefs.h.  */
4816
4817int
4818main ()
4819{
4820
4821  ;
4822  return 0;
4823}
4824_ACEOF
4825if ac_fn_c_try_compile "$LINENO"; then :
4826
4827else
4828  ac_c_werror_flag=$ac_save_c_werror_flag
4829	 CFLAGS="-g"
4830	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4831/* end confdefs.h.  */
4832
4833int
4834main ()
4835{
4836
4837  ;
4838  return 0;
4839}
4840_ACEOF
4841if ac_fn_c_try_compile "$LINENO"; then :
4842  ac_cv_prog_cc_g=yes
4843fi
4844rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845fi
4846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4847fi
4848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849   ac_c_werror_flag=$ac_save_c_werror_flag
4850fi
4851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4852$as_echo "$ac_cv_prog_cc_g" >&6; }
4853if test "$ac_test_CFLAGS" = set; then
4854  CFLAGS=$ac_save_CFLAGS
4855elif test $ac_cv_prog_cc_g = yes; then
4856  if test "$GCC" = yes; then
4857    CFLAGS="-g -O2"
4858  else
4859    CFLAGS="-g"
4860  fi
4861else
4862  if test "$GCC" = yes; then
4863    CFLAGS="-O2"
4864  else
4865    CFLAGS=
4866  fi
4867fi
4868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4869$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4870if ${ac_cv_prog_cc_c89+:} false; then :
4871  $as_echo_n "(cached) " >&6
4872else
4873  ac_cv_prog_cc_c89=no
4874ac_save_CC=$CC
4875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876/* end confdefs.h.  */
4877#include <stdarg.h>
4878#include <stdio.h>
4879struct stat;
4880/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4881struct buf { int x; };
4882FILE * (*rcsopen) (struct buf *, struct stat *, int);
4883static char *e (p, i)
4884     char **p;
4885     int i;
4886{
4887  return p[i];
4888}
4889static char *f (char * (*g) (char **, int), char **p, ...)
4890{
4891  char *s;
4892  va_list v;
4893  va_start (v,p);
4894  s = g (p, va_arg (v,int));
4895  va_end (v);
4896  return s;
4897}
4898
4899/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4900   function prototypes and stuff, but not '\xHH' hex character constants.
4901   These don't provoke an error unfortunately, instead are silently treated
4902   as 'x'.  The following induces an error, until -std is added to get
4903   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4904   array size at least.  It's necessary to write '\x00'==0 to get something
4905   that's true only with -std.  */
4906int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4907
4908/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4909   inside strings and character constants.  */
4910#define FOO(x) 'x'
4911int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4912
4913int test (int i, double x);
4914struct s1 {int (*f) (int a);};
4915struct s2 {int (*f) (double a);};
4916int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4917int argc;
4918char **argv;
4919int
4920main ()
4921{
4922return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4923  ;
4924  return 0;
4925}
4926_ACEOF
4927for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4928	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4929do
4930  CC="$ac_save_CC $ac_arg"
4931  if ac_fn_c_try_compile "$LINENO"; then :
4932  ac_cv_prog_cc_c89=$ac_arg
4933fi
4934rm -f core conftest.err conftest.$ac_objext
4935  test "x$ac_cv_prog_cc_c89" != "xno" && break
4936done
4937rm -f conftest.$ac_ext
4938CC=$ac_save_CC
4939
4940fi
4941# AC_CACHE_VAL
4942case "x$ac_cv_prog_cc_c89" in
4943  x)
4944    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4945$as_echo "none needed" >&6; } ;;
4946  xno)
4947    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4948$as_echo "unsupported" >&6; } ;;
4949  *)
4950    CC="$CC $ac_cv_prog_cc_c89"
4951    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4952$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4953esac
4954if test "x$ac_cv_prog_cc_c89" != xno; then :
4955
4956fi
4957
4958ac_ext=c
4959ac_cpp='$CPP $CPPFLAGS'
4960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4962ac_compiler_gnu=$ac_cv_c_compiler_gnu
4963
4964ac_ext=c
4965ac_cpp='$CPP $CPPFLAGS'
4966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4968ac_compiler_gnu=$ac_cv_c_compiler_gnu
4969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4970$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4971if ${am_cv_prog_cc_c_o+:} false; then :
4972  $as_echo_n "(cached) " >&6
4973else
4974  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4975/* end confdefs.h.  */
4976
4977int
4978main ()
4979{
4980
4981  ;
4982  return 0;
4983}
4984_ACEOF
4985  # Make sure it works both with $CC and with simple cc.
4986  # Following AC_PROG_CC_C_O, we do the test twice because some
4987  # compilers refuse to overwrite an existing .o file with -o,
4988  # though they will create one.
4989  am_cv_prog_cc_c_o=yes
4990  for am_i in 1 2; do
4991    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4992   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4993   ac_status=$?
4994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995   (exit $ac_status); } \
4996         && test -f conftest2.$ac_objext; then
4997      : OK
4998    else
4999      am_cv_prog_cc_c_o=no
5000      break
5001    fi
5002  done
5003  rm -f core conftest*
5004  unset am_i
5005fi
5006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5007$as_echo "$am_cv_prog_cc_c_o" >&6; }
5008if test "$am_cv_prog_cc_c_o" != yes; then
5009   # Losing compiler, so override with the script.
5010   # FIXME: It is wrong to rewrite CC.
5011   # But if we don't then we get into trouble of one sort or another.
5012   # A longer-term fix would be to have automake use am__CC in this case,
5013   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5014   CC="$am_aux_dir/compile $CC"
5015fi
5016ac_ext=c
5017ac_cpp='$CPP $CPPFLAGS'
5018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020ac_compiler_gnu=$ac_cv_c_compiler_gnu
5021
5022
5023depcc="$CC"   am_compiler_list=
5024
5025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5026$as_echo_n "checking dependency style of $depcc... " >&6; }
5027if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5028  $as_echo_n "(cached) " >&6
5029else
5030  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5031  # We make a subdir and do the tests there.  Otherwise we can end up
5032  # making bogus files that we don't know about and never remove.  For
5033  # instance it was reported that on HP-UX the gcc test will end up
5034  # making a dummy file named 'D' -- because '-MD' means "put the output
5035  # in D".
5036  rm -rf conftest.dir
5037  mkdir conftest.dir
5038  # Copy depcomp to subdir because otherwise we won't find it if we're
5039  # using a relative directory.
5040  cp "$am_depcomp" conftest.dir
5041  cd conftest.dir
5042  # We will build objects and dependencies in a subdirectory because
5043  # it helps to detect inapplicable dependency modes.  For instance
5044  # both Tru64's cc and ICC support -MD to output dependencies as a
5045  # side effect of compilation, but ICC will put the dependencies in
5046  # the current directory while Tru64 will put them in the object
5047  # directory.
5048  mkdir sub
5049
5050  am_cv_CC_dependencies_compiler_type=none
5051  if test "$am_compiler_list" = ""; then
5052     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5053  fi
5054  am__universal=false
5055  case " $depcc " in #(
5056     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5057     esac
5058
5059  for depmode in $am_compiler_list; do
5060    # Setup a source with many dependencies, because some compilers
5061    # like to wrap large dependency lists on column 80 (with \), and
5062    # we should not choose a depcomp mode which is confused by this.
5063    #
5064    # We need to recreate these files for each test, as the compiler may
5065    # overwrite some of them when testing with obscure command lines.
5066    # This happens at least with the AIX C compiler.
5067    : > sub/conftest.c
5068    for i in 1 2 3 4 5 6; do
5069      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5070      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5071      # Solaris 10 /bin/sh.
5072      echo '/* dummy */' > sub/conftst$i.h
5073    done
5074    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5075
5076    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5077    # mode.  It turns out that the SunPro C++ compiler does not properly
5078    # handle '-M -o', and we need to detect this.  Also, some Intel
5079    # versions had trouble with output in subdirs.
5080    am__obj=sub/conftest.${OBJEXT-o}
5081    am__minus_obj="-o $am__obj"
5082    case $depmode in
5083    gcc)
5084      # This depmode causes a compiler race in universal mode.
5085      test "$am__universal" = false || continue
5086      ;;
5087    nosideeffect)
5088      # After this tag, mechanisms are not by side-effect, so they'll
5089      # only be used when explicitly requested.
5090      if test "x$enable_dependency_tracking" = xyes; then
5091	continue
5092      else
5093	break
5094      fi
5095      ;;
5096    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5097      # This compiler won't grok '-c -o', but also, the minuso test has
5098      # not run yet.  These depmodes are late enough in the game, and
5099      # so weak that their functioning should not be impacted.
5100      am__obj=conftest.${OBJEXT-o}
5101      am__minus_obj=
5102      ;;
5103    none) break ;;
5104    esac
5105    if depmode=$depmode \
5106       source=sub/conftest.c object=$am__obj \
5107       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5108       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5109         >/dev/null 2>conftest.err &&
5110       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5111       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5112       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5113       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5114      # icc doesn't choke on unknown options, it will just issue warnings
5115      # or remarks (even with -Werror).  So we grep stderr for any message
5116      # that says an option was ignored or not supported.
5117      # When given -MP, icc 7.0 and 7.1 complain thusly:
5118      #   icc: Command line warning: ignoring option '-M'; no argument required
5119      # The diagnosis changed in icc 8.0:
5120      #   icc: Command line remark: option '-MP' not supported
5121      if (grep 'ignoring option' conftest.err ||
5122          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5123        am_cv_CC_dependencies_compiler_type=$depmode
5124        break
5125      fi
5126    fi
5127  done
5128
5129  cd ..
5130  rm -rf conftest.dir
5131else
5132  am_cv_CC_dependencies_compiler_type=none
5133fi
5134
5135fi
5136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5137$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5138CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5139
5140 if
5141  test "x$enable_dependency_tracking" != xno \
5142  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5143  am__fastdepCC_TRUE=
5144  am__fastdepCC_FALSE='#'
5145else
5146  am__fastdepCC_TRUE='#'
5147  am__fastdepCC_FALSE=
5148fi
5149
5150
5151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5152$as_echo_n "checking for library containing strerror... " >&6; }
5153if ${ac_cv_search_strerror+:} false; then :
5154  $as_echo_n "(cached) " >&6
5155else
5156  ac_func_search_save_LIBS=$LIBS
5157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158/* end confdefs.h.  */
5159
5160/* Override any GCC internal prototype to avoid an error.
5161   Use char because int might match the return type of a GCC
5162   builtin and then its argument prototype would still apply.  */
5163#ifdef __cplusplus
5164extern "C"
5165#endif
5166char strerror ();
5167int
5168main ()
5169{
5170return strerror ();
5171  ;
5172  return 0;
5173}
5174_ACEOF
5175for ac_lib in '' cposix; do
5176  if test -z "$ac_lib"; then
5177    ac_res="none required"
5178  else
5179    ac_res=-l$ac_lib
5180    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5181  fi
5182  if ac_fn_c_try_link "$LINENO"; then :
5183  ac_cv_search_strerror=$ac_res
5184fi
5185rm -f core conftest.err conftest.$ac_objext \
5186    conftest$ac_exeext
5187  if ${ac_cv_search_strerror+:} false; then :
5188  break
5189fi
5190done
5191if ${ac_cv_search_strerror+:} false; then :
5192
5193else
5194  ac_cv_search_strerror=no
5195fi
5196rm conftest.$ac_ext
5197LIBS=$ac_func_search_save_LIBS
5198fi
5199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5200$as_echo "$ac_cv_search_strerror" >&6; }
5201ac_res=$ac_cv_search_strerror
5202if test "$ac_res" != no; then :
5203  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5204
5205fi
5206
5207
5208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5209$as_echo_n "checking whether ln -s works... " >&6; }
5210LN_S=$as_ln_s
5211if test "$LN_S" = "ln -s"; then
5212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5213$as_echo "yes" >&6; }
5214else
5215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5216$as_echo "no, using $LN_S" >&6; }
5217fi
5218
5219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5220$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5221set x ${MAKE-make}
5222ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5223if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5224  $as_echo_n "(cached) " >&6
5225else
5226  cat >conftest.make <<\_ACEOF
5227SHELL = /bin/sh
5228all:
5229	@echo '@@@%%%=$(MAKE)=@@@%%%'
5230_ACEOF
5231# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5232case `${MAKE-make} -f conftest.make 2>/dev/null` in
5233  *@@@%%%=?*=@@@%%%*)
5234    eval ac_cv_prog_make_${ac_make}_set=yes;;
5235  *)
5236    eval ac_cv_prog_make_${ac_make}_set=no;;
5237esac
5238rm -f conftest.make
5239fi
5240if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5242$as_echo "yes" >&6; }
5243  SET_MAKE=
5244else
5245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246$as_echo "no" >&6; }
5247  SET_MAKE="MAKE=${MAKE-make}"
5248fi
5249
5250if test -n "$ac_tool_prefix"; then
5251  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5252set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254$as_echo_n "checking for $ac_word... " >&6; }
5255if ${ac_cv_prog_RANLIB+:} false; then :
5256  $as_echo_n "(cached) " >&6
5257else
5258  if test -n "$RANLIB"; then
5259  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5260else
5261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262for as_dir in $PATH
5263do
5264  IFS=$as_save_IFS
5265  test -z "$as_dir" && as_dir=.
5266    for ac_exec_ext in '' $ac_executable_extensions; do
5267  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5268    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5269    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5270    break 2
5271  fi
5272done
5273  done
5274IFS=$as_save_IFS
5275
5276fi
5277fi
5278RANLIB=$ac_cv_prog_RANLIB
5279if test -n "$RANLIB"; then
5280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5281$as_echo "$RANLIB" >&6; }
5282else
5283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284$as_echo "no" >&6; }
5285fi
5286
5287
5288fi
5289if test -z "$ac_cv_prog_RANLIB"; then
5290  ac_ct_RANLIB=$RANLIB
5291  # Extract the first word of "ranlib", so it can be a program name with args.
5292set dummy ranlib; ac_word=$2
5293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294$as_echo_n "checking for $ac_word... " >&6; }
5295if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5296  $as_echo_n "(cached) " >&6
5297else
5298  if test -n "$ac_ct_RANLIB"; then
5299  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5300else
5301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302for as_dir in $PATH
5303do
5304  IFS=$as_save_IFS
5305  test -z "$as_dir" && as_dir=.
5306    for ac_exec_ext in '' $ac_executable_extensions; do
5307  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5308    ac_cv_prog_ac_ct_RANLIB="ranlib"
5309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310    break 2
5311  fi
5312done
5313  done
5314IFS=$as_save_IFS
5315
5316fi
5317fi
5318ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5319if test -n "$ac_ct_RANLIB"; then
5320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5321$as_echo "$ac_ct_RANLIB" >&6; }
5322else
5323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324$as_echo "no" >&6; }
5325fi
5326
5327  if test "x$ac_ct_RANLIB" = x; then
5328    RANLIB=":"
5329  else
5330    case $cross_compiling:$ac_tool_warned in
5331yes:)
5332{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5333$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5334ac_tool_warned=yes ;;
5335esac
5336    RANLIB=$ac_ct_RANLIB
5337  fi
5338else
5339  RANLIB="$ac_cv_prog_RANLIB"
5340fi
5341
5342for ac_prog in 'bison -y' byacc
5343do
5344  # Extract the first word of "$ac_prog", so it can be a program name with args.
5345set dummy $ac_prog; ac_word=$2
5346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5347$as_echo_n "checking for $ac_word... " >&6; }
5348if ${ac_cv_prog_YACC+:} false; then :
5349  $as_echo_n "(cached) " >&6
5350else
5351  if test -n "$YACC"; then
5352  ac_cv_prog_YACC="$YACC" # Let the user override the test.
5353else
5354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5355for as_dir in $PATH
5356do
5357  IFS=$as_save_IFS
5358  test -z "$as_dir" && as_dir=.
5359    for ac_exec_ext in '' $ac_executable_extensions; do
5360  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5361    ac_cv_prog_YACC="$ac_prog"
5362    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363    break 2
5364  fi
5365done
5366  done
5367IFS=$as_save_IFS
5368
5369fi
5370fi
5371YACC=$ac_cv_prog_YACC
5372if test -n "$YACC"; then
5373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5374$as_echo "$YACC" >&6; }
5375else
5376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377$as_echo "no" >&6; }
5378fi
5379
5380
5381  test -n "$YACC" && break
5382done
5383test -n "$YACC" || YACC="yacc"
5384
5385
5386# Set of available languages.
5387
5388ALL_LINGUAS="cs de es eu fi fr nl pl ru tr zh_CN zh_TW"
5389
5390# Checks for header files.
5391
5392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5393$as_echo_n "checking for ANSI C header files... " >&6; }
5394if ${ac_cv_header_stdc+:} false; then :
5395  $as_echo_n "(cached) " >&6
5396else
5397  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398/* end confdefs.h.  */
5399#include <stdlib.h>
5400#include <stdarg.h>
5401#include <string.h>
5402#include <float.h>
5403
5404int
5405main ()
5406{
5407
5408  ;
5409  return 0;
5410}
5411_ACEOF
5412if ac_fn_c_try_compile "$LINENO"; then :
5413  ac_cv_header_stdc=yes
5414else
5415  ac_cv_header_stdc=no
5416fi
5417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5418
5419if test $ac_cv_header_stdc = yes; then
5420  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422/* end confdefs.h.  */
5423#include <string.h>
5424
5425_ACEOF
5426if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5427  $EGREP "memchr" >/dev/null 2>&1; then :
5428
5429else
5430  ac_cv_header_stdc=no
5431fi
5432rm -f conftest*
5433
5434fi
5435
5436if test $ac_cv_header_stdc = yes; then
5437  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5438  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439/* end confdefs.h.  */
5440#include <stdlib.h>
5441
5442_ACEOF
5443if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5444  $EGREP "free" >/dev/null 2>&1; then :
5445
5446else
5447  ac_cv_header_stdc=no
5448fi
5449rm -f conftest*
5450
5451fi
5452
5453if test $ac_cv_header_stdc = yes; then
5454  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5455  if test "$cross_compiling" = yes; then :
5456  :
5457else
5458  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5459/* end confdefs.h.  */
5460#include <ctype.h>
5461#include <stdlib.h>
5462#if ((' ' & 0x0FF) == 0x020)
5463# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5464# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5465#else
5466# define ISLOWER(c) \
5467		   (('a' <= (c) && (c) <= 'i') \
5468		     || ('j' <= (c) && (c) <= 'r') \
5469		     || ('s' <= (c) && (c) <= 'z'))
5470# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5471#endif
5472
5473#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5474int
5475main ()
5476{
5477  int i;
5478  for (i = 0; i < 256; i++)
5479    if (XOR (islower (i), ISLOWER (i))
5480	|| toupper (i) != TOUPPER (i))
5481      return 2;
5482  return 0;
5483}
5484_ACEOF
5485if ac_fn_c_try_run "$LINENO"; then :
5486
5487else
5488  ac_cv_header_stdc=no
5489fi
5490rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5491  conftest.$ac_objext conftest.beam conftest.$ac_ext
5492fi
5493
5494fi
5495fi
5496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5497$as_echo "$ac_cv_header_stdc" >&6; }
5498if test $ac_cv_header_stdc = yes; then
5499
5500$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5501
5502fi
5503
5504for ac_header in unistd.h alloca.h argz.h errno.h fcntl.h langinfo.h libintl.h limits.h locale.h malloc.h stddef.h stdio_ext.h stdlib.h string.h strings.h sys/param.h unistd.h
5505do :
5506  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5507ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5508if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5509  cat >>confdefs.h <<_ACEOF
5510#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5511_ACEOF
5512
5513fi
5514
5515done
5516
5517
5518# Checks for typedefs, structures, and compiler characteristics.
5519
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5521$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5522if ${ac_cv_header_stdbool_h+:} false; then :
5523  $as_echo_n "(cached) " >&6
5524else
5525  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526/* end confdefs.h.  */
5527
5528             #include <stdbool.h>
5529             #ifndef bool
5530              "error: bool is not defined"
5531             #endif
5532             #ifndef false
5533              "error: false is not defined"
5534             #endif
5535             #if false
5536              "error: false is not 0"
5537             #endif
5538             #ifndef true
5539              "error: true is not defined"
5540             #endif
5541             #if true != 1
5542              "error: true is not 1"
5543             #endif
5544             #ifndef __bool_true_false_are_defined
5545              "error: __bool_true_false_are_defined is not defined"
5546             #endif
5547
5548             struct s { _Bool s: 1; _Bool t; } s;
5549
5550             char a[true == 1 ? 1 : -1];
5551             char b[false == 0 ? 1 : -1];
5552             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5553             char d[(bool) 0.5 == true ? 1 : -1];
5554             /* See body of main program for 'e'.  */
5555             char f[(_Bool) 0.0 == false ? 1 : -1];
5556             char g[true];
5557             char h[sizeof (_Bool)];
5558             char i[sizeof s.t];
5559             enum { j = false, k = true, l = false * true, m = true * 256 };
5560             /* The following fails for
5561                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5562             _Bool n[m];
5563             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5564             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5565             /* Catch a bug in an HP-UX C compiler.  See
5566                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5567                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5568              */
5569             _Bool q = true;
5570             _Bool *pq = &q;
5571
5572int
5573main ()
5574{
5575
5576             bool e = &s;
5577             *pq |= q;
5578             *pq |= ! q;
5579             /* Refer to every declared value, to avoid compiler optimizations.  */
5580             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5581                     + !m + !n + !o + !p + !q + !pq);
5582
5583  ;
5584  return 0;
5585}
5586_ACEOF
5587if ac_fn_c_try_compile "$LINENO"; then :
5588  ac_cv_header_stdbool_h=yes
5589else
5590  ac_cv_header_stdbool_h=no
5591fi
5592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5593fi
5594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5595$as_echo "$ac_cv_header_stdbool_h" >&6; }
5596   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5597if test "x$ac_cv_type__Bool" = xyes; then :
5598
5599cat >>confdefs.h <<_ACEOF
5600#define HAVE__BOOL 1
5601_ACEOF
5602
5603
5604fi
5605
5606
5607if test $ac_cv_header_stdbool_h = yes; then
5608
5609$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
5610
5611fi
5612
5613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5614$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5615if ${ac_cv_c_const+:} false; then :
5616  $as_echo_n "(cached) " >&6
5617else
5618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619/* end confdefs.h.  */
5620
5621int
5622main ()
5623{
5624
5625#ifndef __cplusplus
5626  /* Ultrix mips cc rejects this sort of thing.  */
5627  typedef int charset[2];
5628  const charset cs = { 0, 0 };
5629  /* SunOS 4.1.1 cc rejects this.  */
5630  char const *const *pcpcc;
5631  char **ppc;
5632  /* NEC SVR4.0.2 mips cc rejects this.  */
5633  struct point {int x, y;};
5634  static struct point const zero = {0,0};
5635  /* AIX XL C 1.02.0.0 rejects this.
5636     It does not let you subtract one const X* pointer from another in
5637     an arm of an if-expression whose if-part is not a constant
5638     expression */
5639  const char *g = "string";
5640  pcpcc = &g + (g ? g-g : 0);
5641  /* HPUX 7.0 cc rejects these. */
5642  ++pcpcc;
5643  ppc = (char**) pcpcc;
5644  pcpcc = (char const *const *) ppc;
5645  { /* SCO 3.2v4 cc rejects this sort of thing.  */
5646    char tx;
5647    char *t = &tx;
5648    char const *s = 0 ? (char *) 0 : (char const *) 0;
5649
5650    *t++ = 0;
5651    if (s) return 0;
5652  }
5653  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5654    int x[] = {25, 17};
5655    const int *foo = &x[0];
5656    ++foo;
5657  }
5658  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5659    typedef const int *iptr;
5660    iptr p = 0;
5661    ++p;
5662  }
5663  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5664       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5665    struct s { int j; const int *ap[3]; } bx;
5666    struct s *b = &bx; b->j = 5;
5667  }
5668  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5669    const int foo = 10;
5670    if (!foo) return 0;
5671  }
5672  return !cs[0] && !zero.x;
5673#endif
5674
5675  ;
5676  return 0;
5677}
5678_ACEOF
5679if ac_fn_c_try_compile "$LINENO"; then :
5680  ac_cv_c_const=yes
5681else
5682  ac_cv_c_const=no
5683fi
5684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5685fi
5686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5687$as_echo "$ac_cv_c_const" >&6; }
5688if test $ac_cv_c_const = no; then
5689
5690$as_echo "#define const /**/" >>confdefs.h
5691
5692fi
5693
5694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5695$as_echo_n "checking for inline... " >&6; }
5696if ${ac_cv_c_inline+:} false; then :
5697  $as_echo_n "(cached) " >&6
5698else
5699  ac_cv_c_inline=no
5700for ac_kw in inline __inline__ __inline; do
5701  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702/* end confdefs.h.  */
5703#ifndef __cplusplus
5704typedef int foo_t;
5705static $ac_kw foo_t static_foo () {return 0; }
5706$ac_kw foo_t foo () {return 0; }
5707#endif
5708
5709_ACEOF
5710if ac_fn_c_try_compile "$LINENO"; then :
5711  ac_cv_c_inline=$ac_kw
5712fi
5713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5714  test "$ac_cv_c_inline" != no && break
5715done
5716
5717fi
5718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5719$as_echo "$ac_cv_c_inline" >&6; }
5720
5721case $ac_cv_c_inline in
5722  inline | yes) ;;
5723  *)
5724    case $ac_cv_c_inline in
5725      no) ac_val=;;
5726      *) ac_val=$ac_cv_c_inline;;
5727    esac
5728    cat >>confdefs.h <<_ACEOF
5729#ifndef __cplusplus
5730#define inline $ac_val
5731#endif
5732_ACEOF
5733    ;;
5734esac
5735
5736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
5737$as_echo_n "checking for working volatile... " >&6; }
5738if ${ac_cv_c_volatile+:} false; then :
5739  $as_echo_n "(cached) " >&6
5740else
5741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742/* end confdefs.h.  */
5743
5744int
5745main ()
5746{
5747
5748volatile int x;
5749int * volatile y = (int *) 0;
5750return !x && !y;
5751  ;
5752  return 0;
5753}
5754_ACEOF
5755if ac_fn_c_try_compile "$LINENO"; then :
5756  ac_cv_c_volatile=yes
5757else
5758  ac_cv_c_volatile=no
5759fi
5760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5761fi
5762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
5763$as_echo "$ac_cv_c_volatile" >&6; }
5764if test $ac_cv_c_volatile = no; then
5765
5766$as_echo "#define volatile /**/" >>confdefs.h
5767
5768fi
5769
5770ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5771if test "x$ac_cv_type_size_t" = xyes; then :
5772
5773else
5774
5775cat >>confdefs.h <<_ACEOF
5776#define size_t unsigned int
5777_ACEOF
5778
5779fi
5780
5781
5782# Checks for library functions.
5783
5784if test $ac_cv_c_compiler_gnu = yes; then
5785    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
5786$as_echo_n "checking whether $CC needs -traditional... " >&6; }
5787if ${ac_cv_prog_gcc_traditional+:} false; then :
5788  $as_echo_n "(cached) " >&6
5789else
5790    ac_pattern="Autoconf.*'x'"
5791  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5792/* end confdefs.h.  */
5793#include <sgtty.h>
5794Autoconf TIOCGETP
5795_ACEOF
5796if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5797  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5798  ac_cv_prog_gcc_traditional=yes
5799else
5800  ac_cv_prog_gcc_traditional=no
5801fi
5802rm -f conftest*
5803
5804
5805  if test $ac_cv_prog_gcc_traditional = no; then
5806    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807/* end confdefs.h.  */
5808#include <termio.h>
5809Autoconf TCGETA
5810_ACEOF
5811if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5812  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
5813  ac_cv_prog_gcc_traditional=yes
5814fi
5815rm -f conftest*
5816
5817  fi
5818fi
5819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
5820$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
5821  if test $ac_cv_prog_gcc_traditional = yes; then
5822    CC="$CC -traditional"
5823  fi
5824fi
5825
5826# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5827# for constant arguments.  Useless!
5828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5829$as_echo_n "checking for working alloca.h... " >&6; }
5830if ${ac_cv_working_alloca_h+:} false; then :
5831  $as_echo_n "(cached) " >&6
5832else
5833  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5834/* end confdefs.h.  */
5835#include <alloca.h>
5836int
5837main ()
5838{
5839char *p = (char *) alloca (2 * sizeof (int));
5840			  if (p) return 0;
5841  ;
5842  return 0;
5843}
5844_ACEOF
5845if ac_fn_c_try_link "$LINENO"; then :
5846  ac_cv_working_alloca_h=yes
5847else
5848  ac_cv_working_alloca_h=no
5849fi
5850rm -f core conftest.err conftest.$ac_objext \
5851    conftest$ac_exeext conftest.$ac_ext
5852fi
5853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5854$as_echo "$ac_cv_working_alloca_h" >&6; }
5855if test $ac_cv_working_alloca_h = yes; then
5856
5857$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5858
5859fi
5860
5861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5862$as_echo_n "checking for alloca... " >&6; }
5863if ${ac_cv_func_alloca_works+:} false; then :
5864  $as_echo_n "(cached) " >&6
5865else
5866  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867/* end confdefs.h.  */
5868#ifdef __GNUC__
5869# define alloca __builtin_alloca
5870#else
5871# ifdef _MSC_VER
5872#  include <malloc.h>
5873#  define alloca _alloca
5874# else
5875#  ifdef HAVE_ALLOCA_H
5876#   include <alloca.h>
5877#  else
5878#   ifdef _AIX
5879 #pragma alloca
5880#   else
5881#    ifndef alloca /* predefined by HP cc +Olibcalls */
5882void *alloca (size_t);
5883#    endif
5884#   endif
5885#  endif
5886# endif
5887#endif
5888
5889int
5890main ()
5891{
5892char *p = (char *) alloca (1);
5893				    if (p) return 0;
5894  ;
5895  return 0;
5896}
5897_ACEOF
5898if ac_fn_c_try_link "$LINENO"; then :
5899  ac_cv_func_alloca_works=yes
5900else
5901  ac_cv_func_alloca_works=no
5902fi
5903rm -f core conftest.err conftest.$ac_objext \
5904    conftest$ac_exeext conftest.$ac_ext
5905fi
5906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5907$as_echo "$ac_cv_func_alloca_works" >&6; }
5908
5909if test $ac_cv_func_alloca_works = yes; then
5910
5911$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5912
5913else
5914  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5915# that cause trouble.  Some versions do not even contain alloca or
5916# contain a buggy version.  If you still want to use their alloca,
5917# use ar to extract alloca.o from them instead of compiling alloca.c.
5918
5919ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5920
5921$as_echo "#define C_ALLOCA 1" >>confdefs.h
5922
5923
5924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5925$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5926if ${ac_cv_os_cray+:} false; then :
5927  $as_echo_n "(cached) " >&6
5928else
5929  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5930/* end confdefs.h.  */
5931#if defined CRAY && ! defined CRAY2
5932webecray
5933#else
5934wenotbecray
5935#endif
5936
5937_ACEOF
5938if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5939  $EGREP "webecray" >/dev/null 2>&1; then :
5940  ac_cv_os_cray=yes
5941else
5942  ac_cv_os_cray=no
5943fi
5944rm -f conftest*
5945
5946fi
5947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5948$as_echo "$ac_cv_os_cray" >&6; }
5949if test $ac_cv_os_cray = yes; then
5950  for ac_func in _getb67 GETB67 getb67; do
5951    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5952ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5953if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5954
5955cat >>confdefs.h <<_ACEOF
5956#define CRAY_STACKSEG_END $ac_func
5957_ACEOF
5958
5959    break
5960fi
5961
5962  done
5963fi
5964
5965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5966$as_echo_n "checking stack direction for C alloca... " >&6; }
5967if ${ac_cv_c_stack_direction+:} false; then :
5968  $as_echo_n "(cached) " >&6
5969else
5970  if test "$cross_compiling" = yes; then :
5971  ac_cv_c_stack_direction=0
5972else
5973  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974/* end confdefs.h.  */
5975$ac_includes_default
5976int
5977find_stack_direction (int *addr, int depth)
5978{
5979  int dir, dummy = 0;
5980  if (! addr)
5981    addr = &dummy;
5982  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5983  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5984  return dir + dummy;
5985}
5986
5987int
5988main (int argc, char **argv)
5989{
5990  return find_stack_direction (0, argc + !argv + 20) < 0;
5991}
5992_ACEOF
5993if ac_fn_c_try_run "$LINENO"; then :
5994  ac_cv_c_stack_direction=1
5995else
5996  ac_cv_c_stack_direction=-1
5997fi
5998rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5999  conftest.$ac_objext conftest.beam conftest.$ac_ext
6000fi
6001
6002fi
6003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6004$as_echo "$ac_cv_c_stack_direction" >&6; }
6005cat >>confdefs.h <<_ACEOF
6006#define STACK_DIRECTION $ac_cv_c_stack_direction
6007_ACEOF
6008
6009
6010fi
6011
6012for ac_header in stdlib.h
6013do :
6014  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6015if test "x$ac_cv_header_stdlib_h" = xyes; then :
6016  cat >>confdefs.h <<_ACEOF
6017#define HAVE_STDLIB_H 1
6018_ACEOF
6019
6020fi
6021
6022done
6023
6024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6025$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6026if ${ac_cv_func_malloc_0_nonnull+:} false; then :
6027  $as_echo_n "(cached) " >&6
6028else
6029  if test "$cross_compiling" = yes; then :
6030  ac_cv_func_malloc_0_nonnull=no
6031else
6032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033/* end confdefs.h.  */
6034#if defined STDC_HEADERS || defined HAVE_STDLIB_H
6035# include <stdlib.h>
6036#else
6037char *malloc ();
6038#endif
6039
6040int
6041main ()
6042{
6043return ! malloc (0);
6044  ;
6045  return 0;
6046}
6047_ACEOF
6048if ac_fn_c_try_run "$LINENO"; then :
6049  ac_cv_func_malloc_0_nonnull=yes
6050else
6051  ac_cv_func_malloc_0_nonnull=no
6052fi
6053rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6054  conftest.$ac_objext conftest.beam conftest.$ac_ext
6055fi
6056
6057fi
6058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6059$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6060if test $ac_cv_func_malloc_0_nonnull = yes; then :
6061
6062$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
6063
6064else
6065  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
6066
6067   case " $LIBOBJS " in
6068  *" malloc.$ac_objext "* ) ;;
6069  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6070 ;;
6071esac
6072
6073
6074$as_echo "#define malloc rpl_malloc" >>confdefs.h
6075
6076fi
6077
6078
6079for ac_header in stdlib.h
6080do :
6081  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6082if test "x$ac_cv_header_stdlib_h" = xyes; then :
6083  cat >>confdefs.h <<_ACEOF
6084#define HAVE_STDLIB_H 1
6085_ACEOF
6086
6087fi
6088
6089done
6090
6091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6092$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6093if ${ac_cv_func_realloc_0_nonnull+:} false; then :
6094  $as_echo_n "(cached) " >&6
6095else
6096  if test "$cross_compiling" = yes; then :
6097  ac_cv_func_realloc_0_nonnull=no
6098else
6099  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6100/* end confdefs.h.  */
6101#if defined STDC_HEADERS || defined HAVE_STDLIB_H
6102# include <stdlib.h>
6103#else
6104char *realloc ();
6105#endif
6106
6107int
6108main ()
6109{
6110return ! realloc (0, 0);
6111  ;
6112  return 0;
6113}
6114_ACEOF
6115if ac_fn_c_try_run "$LINENO"; then :
6116  ac_cv_func_realloc_0_nonnull=yes
6117else
6118  ac_cv_func_realloc_0_nonnull=no
6119fi
6120rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6121  conftest.$ac_objext conftest.beam conftest.$ac_ext
6122fi
6123
6124fi
6125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6126$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6127if test $ac_cv_func_realloc_0_nonnull = yes; then :
6128
6129$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
6130
6131else
6132  $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
6133
6134   case " $LIBOBJS " in
6135  *" realloc.$ac_objext "* ) ;;
6136  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
6137 ;;
6138esac
6139
6140
6141$as_echo "#define realloc rpl_realloc" >>confdefs.h
6142
6143fi
6144
6145
6146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
6147$as_echo_n "checking return type of signal handlers... " >&6; }
6148if ${ac_cv_type_signal+:} false; then :
6149  $as_echo_n "(cached) " >&6
6150else
6151  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6152/* end confdefs.h.  */
6153#include <sys/types.h>
6154#include <signal.h>
6155
6156int
6157main ()
6158{
6159return *(signal (0, 0)) (0) == 1;
6160  ;
6161  return 0;
6162}
6163_ACEOF
6164if ac_fn_c_try_compile "$LINENO"; then :
6165  ac_cv_type_signal=int
6166else
6167  ac_cv_type_signal=void
6168fi
6169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6170fi
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
6172$as_echo "$ac_cv_type_signal" >&6; }
6173
6174cat >>confdefs.h <<_ACEOF
6175#define RETSIGTYPE $ac_cv_type_signal
6176_ACEOF
6177
6178
6179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
6180$as_echo_n "checking for working strtod... " >&6; }
6181if ${ac_cv_func_strtod+:} false; then :
6182  $as_echo_n "(cached) " >&6
6183else
6184  if test "$cross_compiling" = yes; then :
6185  ac_cv_func_strtod=no
6186else
6187  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188/* end confdefs.h.  */
6189
6190$ac_includes_default
6191#ifndef strtod
6192double strtod ();
6193#endif
6194int
6195main()
6196{
6197  {
6198    /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
6199    char *string = " +69";
6200    char *term;
6201    double value;
6202    value = strtod (string, &term);
6203    if (value != 69 || term != (string + 4))
6204      return 1;
6205  }
6206
6207  {
6208    /* Under Solaris 2.4, strtod returns the wrong value for the
6209       terminating character under some conditions.  */
6210    char *string = "NaN";
6211    char *term;
6212    strtod (string, &term);
6213    if (term != string && *(term - 1) == 0)
6214      return 1;
6215  }
6216  return 0;
6217}
6218
6219_ACEOF
6220if ac_fn_c_try_run "$LINENO"; then :
6221  ac_cv_func_strtod=yes
6222else
6223  ac_cv_func_strtod=no
6224fi
6225rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6226  conftest.$ac_objext conftest.beam conftest.$ac_ext
6227fi
6228
6229fi
6230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
6231$as_echo "$ac_cv_func_strtod" >&6; }
6232if test $ac_cv_func_strtod = no; then
6233  case " $LIBOBJS " in
6234  *" strtod.$ac_objext "* ) ;;
6235  *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
6236 ;;
6237esac
6238
6239ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
6240if test "x$ac_cv_func_pow" = xyes; then :
6241
6242fi
6243
6244if test $ac_cv_func_pow = no; then
6245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
6246$as_echo_n "checking for pow in -lm... " >&6; }
6247if ${ac_cv_lib_m_pow+:} false; then :
6248  $as_echo_n "(cached) " >&6
6249else
6250  ac_check_lib_save_LIBS=$LIBS
6251LIBS="-lm  $LIBS"
6252cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253/* end confdefs.h.  */
6254
6255/* Override any GCC internal prototype to avoid an error.
6256   Use char because int might match the return type of a GCC
6257   builtin and then its argument prototype would still apply.  */
6258#ifdef __cplusplus
6259extern "C"
6260#endif
6261char pow ();
6262int
6263main ()
6264{
6265return pow ();
6266  ;
6267  return 0;
6268}
6269_ACEOF
6270if ac_fn_c_try_link "$LINENO"; then :
6271  ac_cv_lib_m_pow=yes
6272else
6273  ac_cv_lib_m_pow=no
6274fi
6275rm -f core conftest.err conftest.$ac_objext \
6276    conftest$ac_exeext conftest.$ac_ext
6277LIBS=$ac_check_lib_save_LIBS
6278fi
6279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
6280$as_echo "$ac_cv_lib_m_pow" >&6; }
6281if test "x$ac_cv_lib_m_pow" = xyes; then :
6282  POW_LIB=-lm
6283else
6284  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
6285$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
6286fi
6287
6288fi
6289
6290fi
6291
6292for ac_func in __argz_count __argz_next __argz_stringify dcgettext getcwd getwd mempcpy memset munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul
6293do :
6294  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6295ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6296if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6297  cat >>confdefs.h <<_ACEOF
6298#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6299_ACEOF
6300
6301fi
6302done
6303
6304
6305# check for libncursesw
6306
6307ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default"
6308if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then :
6309  HAVE_NCURSESW_H=1
6310fi
6311
6312
6313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_wch in -lncurses -ltinfo" >&5
6314$as_echo_n "checking for add_wch in -lncurses -ltinfo... " >&6; }
6315if ${ac_cv_lib_ncursesw_add_wch+:} false; then :
6316  $as_echo_n "(cached) " >&6
6317else
6318  ac_check_lib_save_LIBS=$LIBS
6319LIBS="-lncurses -ltinfo  $LIBS"
6320cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321/* end confdefs.h.  */
6322
6323/* Override any GCC internal prototype to avoid an error.
6324   Use char because int might match the return type of a GCC
6325   builtin and then its argument prototype would still apply.  */
6326#ifdef __cplusplus
6327extern "C"
6328#endif
6329char add_wch ();
6330int
6331main ()
6332{
6333return add_wch ();
6334  ;
6335  return 0;
6336}
6337_ACEOF
6338if ac_fn_c_try_link "$LINENO"; then :
6339  ac_cv_lib_ncursesw_add_wch=yes
6340else
6341  ac_cv_lib_ncursesw_add_wch=no
6342fi
6343rm -f core conftest.err conftest.$ac_objext \
6344    conftest$ac_exeext conftest.$ac_ext
6345LIBS=$ac_check_lib_save_LIBS
6346fi
6347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_add_wch" >&5
6348$as_echo "$ac_cv_lib_ncursesw_add_wch" >&6; }
6349if test "x$ac_cv_lib_ncursesw_add_wch" = xyes; then :
6350  HAVE_LIBNCURSESW=1
6351fi
6352
6353if test -n "$HAVE_NCURSESW_H" -a -n "$HAVE_LIBNCURSESW";  then
6354   LIBS="-lncurses -ltinfo $LIBS"
6355else
6356   echo -e "Error:  both library and header files for the ncursesw library\n"\
6357       "are required to build this package.  See INSTALL file for"\
6358       "further information. On Debian/Ubuntu you need to install libncursesw5-dev."
6359   exit 1;
6360fi
6361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cbreak" >&5
6362$as_echo_n "checking for library containing cbreak... " >&6; }
6363if ${ac_cv_search_cbreak+:} false; then :
6364  $as_echo_n "(cached) " >&6
6365else
6366  ac_func_search_save_LIBS=$LIBS
6367cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6368/* end confdefs.h.  */
6369
6370/* Override any GCC internal prototype to avoid an error.
6371   Use char because int might match the return type of a GCC
6372   builtin and then its argument prototype would still apply.  */
6373#ifdef __cplusplus
6374extern "C"
6375#endif
6376char cbreak ();
6377int
6378main ()
6379{
6380return cbreak ();
6381  ;
6382  return 0;
6383}
6384_ACEOF
6385for ac_lib in '' tinfo; do
6386  if test -z "$ac_lib"; then
6387    ac_res="none required"
6388  else
6389    ac_res=-l$ac_lib
6390    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6391  fi
6392  if ac_fn_c_try_link "$LINENO"; then :
6393  ac_cv_search_cbreak=$ac_res
6394fi
6395rm -f core conftest.err conftest.$ac_objext \
6396    conftest$ac_exeext
6397  if ${ac_cv_search_cbreak+:} false; then :
6398  break
6399fi
6400done
6401if ${ac_cv_search_cbreak+:} false; then :
6402
6403else
6404  ac_cv_search_cbreak=no
6405fi
6406rm conftest.$ac_ext
6407LIBS=$ac_func_search_save_LIBS
6408fi
6409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cbreak" >&5
6410$as_echo "$ac_cv_search_cbreak" >&6; }
6411ac_res=$ac_cv_search_cbreak
6412if test "$ac_res" != no; then :
6413  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6414
6415else
6416  as_fn_error $? "Can't find cbreak() in -lncurses -ltinfo or -ltinfo" "$LINENO" 5
6417fi
6418
6419
6420
6421# iconv
6422
6423# Make sure we can run config.sub.
6424$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6425  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6426
6427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6428$as_echo_n "checking build system type... " >&6; }
6429if ${ac_cv_build+:} false; then :
6430  $as_echo_n "(cached) " >&6
6431else
6432  ac_build_alias=$build_alias
6433test "x$ac_build_alias" = x &&
6434  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6435test "x$ac_build_alias" = x &&
6436  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6437ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6438  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6439
6440fi
6441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6442$as_echo "$ac_cv_build" >&6; }
6443case $ac_cv_build in
6444*-*-*) ;;
6445*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6446esac
6447build=$ac_cv_build
6448ac_save_IFS=$IFS; IFS='-'
6449set x $ac_cv_build
6450shift
6451build_cpu=$1
6452build_vendor=$2
6453shift; shift
6454# Remember, the first character of IFS is used to create $*,
6455# except with old shells:
6456build_os=$*
6457IFS=$ac_save_IFS
6458case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6459
6460
6461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6462$as_echo_n "checking host system type... " >&6; }
6463if ${ac_cv_host+:} false; then :
6464  $as_echo_n "(cached) " >&6
6465else
6466  if test "x$host_alias" = x; then
6467  ac_cv_host=$ac_cv_build
6468else
6469  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6470    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6471fi
6472
6473fi
6474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6475$as_echo "$ac_cv_host" >&6; }
6476case $ac_cv_host in
6477*-*-*) ;;
6478*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6479esac
6480host=$ac_cv_host
6481ac_save_IFS=$IFS; IFS='-'
6482set x $ac_cv_host
6483shift
6484host_cpu=$1
6485host_vendor=$2
6486shift; shift
6487# Remember, the first character of IFS is used to create $*,
6488# except with old shells:
6489host_os=$*
6490IFS=$ac_save_IFS
6491case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6492
6493
6494
6495      if test "X$prefix" = "XNONE"; then
6496    acl_final_prefix="$ac_default_prefix"
6497  else
6498    acl_final_prefix="$prefix"
6499  fi
6500  if test "X$exec_prefix" = "XNONE"; then
6501    acl_final_exec_prefix='${prefix}'
6502  else
6503    acl_final_exec_prefix="$exec_prefix"
6504  fi
6505  acl_save_prefix="$prefix"
6506  prefix="$acl_final_prefix"
6507  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
6508  prefix="$acl_save_prefix"
6509
6510
6511
6512# Check whether --with-gnu-ld was given.
6513if test "${with_gnu_ld+set}" = set; then :
6514  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6515else
6516  with_gnu_ld=no
6517fi
6518
6519# Prepare PATH_SEPARATOR.
6520# The user is always right.
6521if test "${PATH_SEPARATOR+set}" != set; then
6522  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6523  # contains only /bin. Note that ksh looks also at the FPATH variable,
6524  # so we have to set that as well for the test.
6525  PATH_SEPARATOR=:
6526  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6527    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6528           || PATH_SEPARATOR=';'
6529       }
6530fi
6531
6532ac_prog=ld
6533if test "$GCC" = yes; then
6534  # Check if gcc -print-prog-name=ld gives a path.
6535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6536$as_echo_n "checking for ld used by $CC... " >&6; }
6537  case $host in
6538  *-*-mingw*)
6539    # gcc leaves a trailing carriage return which upsets mingw
6540    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6541  *)
6542    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6543  esac
6544  case $ac_prog in
6545    # Accept absolute paths.
6546    [\\/]* | ?:[\\/]*)
6547      re_direlt='/[^/][^/]*/\.\./'
6548      # Canonicalize the pathname of ld
6549      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
6550      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
6551        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
6552      done
6553      test -z "$LD" && LD="$ac_prog"
6554      ;;
6555  "")
6556    # If it fails, then pretend we aren't using GCC.
6557    ac_prog=ld
6558    ;;
6559  *)
6560    # If it is relative, then search for the first ld in PATH.
6561    with_gnu_ld=unknown
6562    ;;
6563  esac
6564elif test "$with_gnu_ld" = yes; then
6565  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6566$as_echo_n "checking for GNU ld... " >&6; }
6567else
6568  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6569$as_echo_n "checking for non-GNU ld... " >&6; }
6570fi
6571if ${acl_cv_path_LD+:} false; then :
6572  $as_echo_n "(cached) " >&6
6573else
6574  if test -z "$LD"; then
6575  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6576  for ac_dir in $PATH; do
6577    IFS="$acl_save_ifs"
6578    test -z "$ac_dir" && ac_dir=.
6579    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6580      acl_cv_path_LD="$ac_dir/$ac_prog"
6581      # Check to see if the program is GNU ld.  I'd rather use --version,
6582      # but apparently some variants of GNU ld only accept -v.
6583      # Break only if it was the GNU/non-GNU ld that we prefer.
6584      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
6585      *GNU* | *'with BFD'*)
6586        test "$with_gnu_ld" != no && break
6587        ;;
6588      *)
6589        test "$with_gnu_ld" != yes && break
6590        ;;
6591      esac
6592    fi
6593  done
6594  IFS="$acl_save_ifs"
6595else
6596  acl_cv_path_LD="$LD" # Let the user override the test with a path.
6597fi
6598fi
6599
6600LD="$acl_cv_path_LD"
6601if test -n "$LD"; then
6602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6603$as_echo "$LD" >&6; }
6604else
6605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606$as_echo "no" >&6; }
6607fi
6608test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6610$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6611if ${acl_cv_prog_gnu_ld+:} false; then :
6612  $as_echo_n "(cached) " >&6
6613else
6614  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6615case `$LD -v 2>&1 </dev/null` in
6616*GNU* | *'with BFD'*)
6617  acl_cv_prog_gnu_ld=yes
6618  ;;
6619*)
6620  acl_cv_prog_gnu_ld=no
6621  ;;
6622esac
6623fi
6624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6625$as_echo "$acl_cv_prog_gnu_ld" >&6; }
6626with_gnu_ld=$acl_cv_prog_gnu_ld
6627
6628
6629
6630
6631                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6632$as_echo_n "checking for shared library run path origin... " >&6; }
6633if ${acl_cv_rpath+:} false; then :
6634  $as_echo_n "(cached) " >&6
6635else
6636
6637    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
6638    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6639    . ./conftest.sh
6640    rm -f ./conftest.sh
6641    acl_cv_rpath=done
6642
6643fi
6644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6645$as_echo "$acl_cv_rpath" >&6; }
6646  wl="$acl_cv_wl"
6647  acl_libext="$acl_cv_libext"
6648  acl_shlibext="$acl_cv_shlibext"
6649  acl_libname_spec="$acl_cv_libname_spec"
6650  acl_library_names_spec="$acl_cv_library_names_spec"
6651  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
6652  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
6653  acl_hardcode_direct="$acl_cv_hardcode_direct"
6654  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
6655    # Check whether --enable-rpath was given.
6656if test "${enable_rpath+set}" = set; then :
6657  enableval=$enable_rpath; :
6658else
6659  enable_rpath=yes
6660fi
6661
6662
6663
6664
6665  acl_libdirstem=lib
6666  acl_libdirstem2=
6667  case "$host_os" in
6668    solaris*)
6669                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
6670$as_echo_n "checking for 64-bit host... " >&6; }
6671if ${gl_cv_solaris_64bit+:} false; then :
6672  $as_echo_n "(cached) " >&6
6673else
6674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675/* end confdefs.h.  */
6676
6677#ifdef _LP64
6678sixtyfour bits
6679#endif
6680
6681_ACEOF
6682if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6683  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
6684  gl_cv_solaris_64bit=yes
6685else
6686  gl_cv_solaris_64bit=no
6687fi
6688rm -f conftest*
6689
6690
6691fi
6692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
6693$as_echo "$gl_cv_solaris_64bit" >&6; }
6694      if test $gl_cv_solaris_64bit = yes; then
6695        acl_libdirstem=lib/64
6696        case "$host_cpu" in
6697          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
6698          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
6699        esac
6700      fi
6701      ;;
6702    *)
6703      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
6704      if test -n "$searchpath"; then
6705        acl_save_IFS="${IFS= 	}"; IFS=":"
6706        for searchdir in $searchpath; do
6707          if test -d "$searchdir"; then
6708            case "$searchdir" in
6709              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
6710              */../ | */.. )
6711                # Better ignore directories of this form. They are misleading.
6712                ;;
6713              *) searchdir=`cd "$searchdir" && pwd`
6714                 case "$searchdir" in
6715                   */lib64 ) acl_libdirstem=lib64 ;;
6716                 esac ;;
6717            esac
6718          fi
6719        done
6720        IFS="$acl_save_IFS"
6721      fi
6722      ;;
6723  esac
6724  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737    use_additional=yes
6738
6739  acl_save_prefix="$prefix"
6740  prefix="$acl_final_prefix"
6741  acl_save_exec_prefix="$exec_prefix"
6742  exec_prefix="$acl_final_exec_prefix"
6743
6744    eval additional_includedir=\"$includedir\"
6745    eval additional_libdir=\"$libdir\"
6746
6747  exec_prefix="$acl_save_exec_prefix"
6748  prefix="$acl_save_prefix"
6749
6750
6751# Check whether --with-libiconv-prefix was given.
6752if test "${with_libiconv_prefix+set}" = set; then :
6753  withval=$with_libiconv_prefix;
6754    if test "X$withval" = "Xno"; then
6755      use_additional=no
6756    else
6757      if test "X$withval" = "X"; then
6758
6759  acl_save_prefix="$prefix"
6760  prefix="$acl_final_prefix"
6761  acl_save_exec_prefix="$exec_prefix"
6762  exec_prefix="$acl_final_exec_prefix"
6763
6764          eval additional_includedir=\"$includedir\"
6765          eval additional_libdir=\"$libdir\"
6766
6767  exec_prefix="$acl_save_exec_prefix"
6768  prefix="$acl_save_prefix"
6769
6770      else
6771        additional_includedir="$withval/include"
6772        additional_libdir="$withval/$acl_libdirstem"
6773        if test "$acl_libdirstem2" != "$acl_libdirstem" \
6774           && ! test -d "$withval/$acl_libdirstem"; then
6775          additional_libdir="$withval/$acl_libdirstem2"
6776        fi
6777      fi
6778    fi
6779
6780fi
6781
6782      LIBICONV=
6783  LTLIBICONV=
6784  INCICONV=
6785  LIBICONV_PREFIX=
6786      HAVE_LIBICONV=
6787  rpathdirs=
6788  ltrpathdirs=
6789  names_already_handled=
6790  names_next_round='iconv '
6791  while test -n "$names_next_round"; do
6792    names_this_round="$names_next_round"
6793    names_next_round=
6794    for name in $names_this_round; do
6795      already_handled=
6796      for n in $names_already_handled; do
6797        if test "$n" = "$name"; then
6798          already_handled=yes
6799          break
6800        fi
6801      done
6802      if test -z "$already_handled"; then
6803        names_already_handled="$names_already_handled $name"
6804                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
6805        eval value=\"\$HAVE_LIB$uppername\"
6806        if test -n "$value"; then
6807          if test "$value" = yes; then
6808            eval value=\"\$LIB$uppername\"
6809            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
6810            eval value=\"\$LTLIB$uppername\"
6811            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
6812          else
6813                                    :
6814          fi
6815        else
6816                              found_dir=
6817          found_la=
6818          found_so=
6819          found_a=
6820          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
6821          if test -n "$acl_shlibext"; then
6822            shrext=".$acl_shlibext"             # typically: shrext=.so
6823          else
6824            shrext=
6825          fi
6826          if test $use_additional = yes; then
6827            dir="$additional_libdir"
6828                                    if test -n "$acl_shlibext"; then
6829              if test -f "$dir/$libname$shrext"; then
6830                found_dir="$dir"
6831                found_so="$dir/$libname$shrext"
6832              else
6833                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6834                  ver=`(cd "$dir" && \
6835                        for f in "$libname$shrext".*; do echo "$f"; done \
6836                        | sed -e "s,^$libname$shrext\\\\.,," \
6837                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6838                        | sed 1q ) 2>/dev/null`
6839                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6840                    found_dir="$dir"
6841                    found_so="$dir/$libname$shrext.$ver"
6842                  fi
6843                else
6844                  eval library_names=\"$acl_library_names_spec\"
6845                  for f in $library_names; do
6846                    if test -f "$dir/$f"; then
6847                      found_dir="$dir"
6848                      found_so="$dir/$f"
6849                      break
6850                    fi
6851                  done
6852                fi
6853              fi
6854            fi
6855                        if test "X$found_dir" = "X"; then
6856              if test -f "$dir/$libname.$acl_libext"; then
6857                found_dir="$dir"
6858                found_a="$dir/$libname.$acl_libext"
6859              fi
6860            fi
6861            if test "X$found_dir" != "X"; then
6862              if test -f "$dir/$libname.la"; then
6863                found_la="$dir/$libname.la"
6864              fi
6865            fi
6866          fi
6867          if test "X$found_dir" = "X"; then
6868            for x in $LDFLAGS $LTLIBICONV; do
6869
6870  acl_save_prefix="$prefix"
6871  prefix="$acl_final_prefix"
6872  acl_save_exec_prefix="$exec_prefix"
6873  exec_prefix="$acl_final_exec_prefix"
6874  eval x=\"$x\"
6875  exec_prefix="$acl_save_exec_prefix"
6876  prefix="$acl_save_prefix"
6877
6878              case "$x" in
6879                -L*)
6880                  dir=`echo "X$x" | sed -e 's/^X-L//'`
6881                                    if test -n "$acl_shlibext"; then
6882                    if test -f "$dir/$libname$shrext"; then
6883                      found_dir="$dir"
6884                      found_so="$dir/$libname$shrext"
6885                    else
6886                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
6887                        ver=`(cd "$dir" && \
6888                              for f in "$libname$shrext".*; do echo "$f"; done \
6889                              | sed -e "s,^$libname$shrext\\\\.,," \
6890                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
6891                              | sed 1q ) 2>/dev/null`
6892                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
6893                          found_dir="$dir"
6894                          found_so="$dir/$libname$shrext.$ver"
6895                        fi
6896                      else
6897                        eval library_names=\"$acl_library_names_spec\"
6898                        for f in $library_names; do
6899                          if test -f "$dir/$f"; then
6900                            found_dir="$dir"
6901                            found_so="$dir/$f"
6902                            break
6903                          fi
6904                        done
6905                      fi
6906                    fi
6907                  fi
6908                                    if test "X$found_dir" = "X"; then
6909                    if test -f "$dir/$libname.$acl_libext"; then
6910                      found_dir="$dir"
6911                      found_a="$dir/$libname.$acl_libext"
6912                    fi
6913                  fi
6914                  if test "X$found_dir" != "X"; then
6915                    if test -f "$dir/$libname.la"; then
6916                      found_la="$dir/$libname.la"
6917                    fi
6918                  fi
6919                  ;;
6920              esac
6921              if test "X$found_dir" != "X"; then
6922                break
6923              fi
6924            done
6925          fi
6926          if test "X$found_dir" != "X"; then
6927                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6928            if test "X$found_so" != "X"; then
6929                                                        if test "$enable_rpath" = no \
6930                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
6931                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
6932                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6933              else
6934                                                                                haveit=
6935                for x in $ltrpathdirs; do
6936                  if test "X$x" = "X$found_dir"; then
6937                    haveit=yes
6938                    break
6939                  fi
6940                done
6941                if test -z "$haveit"; then
6942                  ltrpathdirs="$ltrpathdirs $found_dir"
6943                fi
6944                                if test "$acl_hardcode_direct" = yes; then
6945                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6946                else
6947                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
6948                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6949                                                            haveit=
6950                    for x in $rpathdirs; do
6951                      if test "X$x" = "X$found_dir"; then
6952                        haveit=yes
6953                        break
6954                      fi
6955                    done
6956                    if test -z "$haveit"; then
6957                      rpathdirs="$rpathdirs $found_dir"
6958                    fi
6959                  else
6960                                                                                haveit=
6961                    for x in $LDFLAGS $LIBICONV; do
6962
6963  acl_save_prefix="$prefix"
6964  prefix="$acl_final_prefix"
6965  acl_save_exec_prefix="$exec_prefix"
6966  exec_prefix="$acl_final_exec_prefix"
6967  eval x=\"$x\"
6968  exec_prefix="$acl_save_exec_prefix"
6969  prefix="$acl_save_prefix"
6970
6971                      if test "X$x" = "X-L$found_dir"; then
6972                        haveit=yes
6973                        break
6974                      fi
6975                    done
6976                    if test -z "$haveit"; then
6977                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6978                    fi
6979                    if test "$acl_hardcode_minus_L" != no; then
6980                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
6981                    else
6982                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
6983                    fi
6984                  fi
6985                fi
6986              fi
6987            else
6988              if test "X$found_a" != "X"; then
6989                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
6990              else
6991                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6992              fi
6993            fi
6994                        additional_includedir=
6995            case "$found_dir" in
6996              */$acl_libdirstem | */$acl_libdirstem/)
6997                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
6998                if test "$name" = 'iconv'; then
6999                  LIBICONV_PREFIX="$basedir"
7000                fi
7001                additional_includedir="$basedir/include"
7002                ;;
7003              */$acl_libdirstem2 | */$acl_libdirstem2/)
7004                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7005                if test "$name" = 'iconv'; then
7006                  LIBICONV_PREFIX="$basedir"
7007                fi
7008                additional_includedir="$basedir/include"
7009                ;;
7010            esac
7011            if test "X$additional_includedir" != "X"; then
7012                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
7013                haveit=
7014                if test "X$additional_includedir" = "X/usr/local/include"; then
7015                  if test -n "$GCC"; then
7016                    case $host_os in
7017                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7018                    esac
7019                  fi
7020                fi
7021                if test -z "$haveit"; then
7022                  for x in $CPPFLAGS $INCICONV; do
7023
7024  acl_save_prefix="$prefix"
7025  prefix="$acl_final_prefix"
7026  acl_save_exec_prefix="$exec_prefix"
7027  exec_prefix="$acl_final_exec_prefix"
7028  eval x=\"$x\"
7029  exec_prefix="$acl_save_exec_prefix"
7030  prefix="$acl_save_prefix"
7031
7032                    if test "X$x" = "X-I$additional_includedir"; then
7033                      haveit=yes
7034                      break
7035                    fi
7036                  done
7037                  if test -z "$haveit"; then
7038                    if test -d "$additional_includedir"; then
7039                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7040                    fi
7041                  fi
7042                fi
7043              fi
7044            fi
7045                        if test -n "$found_la"; then
7046                                                        save_libdir="$libdir"
7047              case "$found_la" in
7048                */* | *\\*) . "$found_la" ;;
7049                *) . "./$found_la" ;;
7050              esac
7051              libdir="$save_libdir"
7052                            for dep in $dependency_libs; do
7053                case "$dep" in
7054                  -L*)
7055                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7056                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7057                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7058                      haveit=
7059                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7060                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7061                        if test -n "$GCC"; then
7062                          case $host_os in
7063                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7064                          esac
7065                        fi
7066                      fi
7067                      if test -z "$haveit"; then
7068                        haveit=
7069                        for x in $LDFLAGS $LIBICONV; do
7070
7071  acl_save_prefix="$prefix"
7072  prefix="$acl_final_prefix"
7073  acl_save_exec_prefix="$exec_prefix"
7074  exec_prefix="$acl_final_exec_prefix"
7075  eval x=\"$x\"
7076  exec_prefix="$acl_save_exec_prefix"
7077  prefix="$acl_save_prefix"
7078
7079                          if test "X$x" = "X-L$additional_libdir"; then
7080                            haveit=yes
7081                            break
7082                          fi
7083                        done
7084                        if test -z "$haveit"; then
7085                          if test -d "$additional_libdir"; then
7086                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7087                          fi
7088                        fi
7089                        haveit=
7090                        for x in $LDFLAGS $LTLIBICONV; do
7091
7092  acl_save_prefix="$prefix"
7093  prefix="$acl_final_prefix"
7094  acl_save_exec_prefix="$exec_prefix"
7095  exec_prefix="$acl_final_exec_prefix"
7096  eval x=\"$x\"
7097  exec_prefix="$acl_save_exec_prefix"
7098  prefix="$acl_save_prefix"
7099
7100                          if test "X$x" = "X-L$additional_libdir"; then
7101                            haveit=yes
7102                            break
7103                          fi
7104                        done
7105                        if test -z "$haveit"; then
7106                          if test -d "$additional_libdir"; then
7107                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7108                          fi
7109                        fi
7110                      fi
7111                    fi
7112                    ;;
7113                  -R*)
7114                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
7115                    if test "$enable_rpath" != no; then
7116                                                                  haveit=
7117                      for x in $rpathdirs; do
7118                        if test "X$x" = "X$dir"; then
7119                          haveit=yes
7120                          break
7121                        fi
7122                      done
7123                      if test -z "$haveit"; then
7124                        rpathdirs="$rpathdirs $dir"
7125                      fi
7126                                                                  haveit=
7127                      for x in $ltrpathdirs; do
7128                        if test "X$x" = "X$dir"; then
7129                          haveit=yes
7130                          break
7131                        fi
7132                      done
7133                      if test -z "$haveit"; then
7134                        ltrpathdirs="$ltrpathdirs $dir"
7135                      fi
7136                    fi
7137                    ;;
7138                  -l*)
7139                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7140                    ;;
7141                  *.la)
7142                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7143                    ;;
7144                  *)
7145                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
7146                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7147                    ;;
7148                esac
7149              done
7150            fi
7151          else
7152                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7153            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7154          fi
7155        fi
7156      fi
7157    done
7158  done
7159  if test "X$rpathdirs" != "X"; then
7160    if test -n "$acl_hardcode_libdir_separator"; then
7161                        alldirs=
7162      for found_dir in $rpathdirs; do
7163        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7164      done
7165            acl_save_libdir="$libdir"
7166      libdir="$alldirs"
7167      eval flag=\"$acl_hardcode_libdir_flag_spec\"
7168      libdir="$acl_save_libdir"
7169      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7170    else
7171            for found_dir in $rpathdirs; do
7172        acl_save_libdir="$libdir"
7173        libdir="$found_dir"
7174        eval flag=\"$acl_hardcode_libdir_flag_spec\"
7175        libdir="$acl_save_libdir"
7176        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7177      done
7178    fi
7179  fi
7180  if test "X$ltrpathdirs" != "X"; then
7181            for found_dir in $ltrpathdirs; do
7182      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7183    done
7184  fi
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197          am_save_CPPFLAGS="$CPPFLAGS"
7198
7199  for element in $INCICONV; do
7200    haveit=
7201    for x in $CPPFLAGS; do
7202
7203  acl_save_prefix="$prefix"
7204  prefix="$acl_final_prefix"
7205  acl_save_exec_prefix="$exec_prefix"
7206  exec_prefix="$acl_final_exec_prefix"
7207  eval x=\"$x\"
7208  exec_prefix="$acl_save_exec_prefix"
7209  prefix="$acl_save_prefix"
7210
7211      if test "X$x" = "X$element"; then
7212        haveit=yes
7213        break
7214      fi
7215    done
7216    if test -z "$haveit"; then
7217      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7218    fi
7219  done
7220
7221
7222  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7223$as_echo_n "checking for iconv... " >&6; }
7224if ${am_cv_func_iconv+:} false; then :
7225  $as_echo_n "(cached) " >&6
7226else
7227
7228    am_cv_func_iconv="no, consider installing GNU libiconv"
7229    am_cv_lib_iconv=no
7230    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7231/* end confdefs.h.  */
7232
7233#include <stdlib.h>
7234#include <iconv.h>
7235
7236int
7237main ()
7238{
7239iconv_t cd = iconv_open("","");
7240           iconv(cd,NULL,NULL,NULL,NULL);
7241           iconv_close(cd);
7242  ;
7243  return 0;
7244}
7245_ACEOF
7246if ac_fn_c_try_link "$LINENO"; then :
7247  am_cv_func_iconv=yes
7248fi
7249rm -f core conftest.err conftest.$ac_objext \
7250    conftest$ac_exeext conftest.$ac_ext
7251    if test "$am_cv_func_iconv" != yes; then
7252      am_save_LIBS="$LIBS"
7253      LIBS="$LIBS $LIBICONV"
7254      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7255/* end confdefs.h.  */
7256
7257#include <stdlib.h>
7258#include <iconv.h>
7259
7260int
7261main ()
7262{
7263iconv_t cd = iconv_open("","");
7264             iconv(cd,NULL,NULL,NULL,NULL);
7265             iconv_close(cd);
7266  ;
7267  return 0;
7268}
7269_ACEOF
7270if ac_fn_c_try_link "$LINENO"; then :
7271  am_cv_lib_iconv=yes
7272        am_cv_func_iconv=yes
7273fi
7274rm -f core conftest.err conftest.$ac_objext \
7275    conftest$ac_exeext conftest.$ac_ext
7276      LIBS="$am_save_LIBS"
7277    fi
7278
7279fi
7280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7281$as_echo "$am_cv_func_iconv" >&6; }
7282  if test "$am_cv_func_iconv" = yes; then
7283    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7284$as_echo_n "checking for working iconv... " >&6; }
7285if ${am_cv_func_iconv_works+:} false; then :
7286  $as_echo_n "(cached) " >&6
7287else
7288
7289                  am_save_LIBS="$LIBS"
7290      if test $am_cv_lib_iconv = yes; then
7291        LIBS="$LIBS $LIBICONV"
7292      fi
7293      if test "$cross_compiling" = yes; then :
7294
7295         case "$host_os" in
7296           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
7297           *)            am_cv_func_iconv_works="guessing yes" ;;
7298         esac
7299
7300else
7301  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7302/* end confdefs.h.  */
7303
7304#include <iconv.h>
7305#include <string.h>
7306int main ()
7307{
7308  int result = 0;
7309  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
7310     returns.  */
7311  {
7312    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
7313    if (cd_utf8_to_88591 != (iconv_t)(-1))
7314      {
7315        static const char input[] = "\342\202\254"; /* EURO SIGN */
7316        char buf[10];
7317        const char *inptr = input;
7318        size_t inbytesleft = strlen (input);
7319        char *outptr = buf;
7320        size_t outbytesleft = sizeof (buf);
7321        size_t res = iconv (cd_utf8_to_88591,
7322                            (char **) &inptr, &inbytesleft,
7323                            &outptr, &outbytesleft);
7324        if (res == 0)
7325          result |= 1;
7326        iconv_close (cd_utf8_to_88591);
7327      }
7328  }
7329  /* Test against Solaris 10 bug: Failures are not distinguishable from
7330     successful returns.  */
7331  {
7332    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
7333    if (cd_ascii_to_88591 != (iconv_t)(-1))
7334      {
7335        static const char input[] = "\263";
7336        char buf[10];
7337        const char *inptr = input;
7338        size_t inbytesleft = strlen (input);
7339        char *outptr = buf;
7340        size_t outbytesleft = sizeof (buf);
7341        size_t res = iconv (cd_ascii_to_88591,
7342                            (char **) &inptr, &inbytesleft,
7343                            &outptr, &outbytesleft);
7344        if (res == 0)
7345          result |= 2;
7346        iconv_close (cd_ascii_to_88591);
7347      }
7348  }
7349  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
7350  {
7351    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
7352    if (cd_88591_to_utf8 != (iconv_t)(-1))
7353      {
7354        static const char input[] = "\304";
7355        static char buf[2] = { (char)0xDE, (char)0xAD };
7356        const char *inptr = input;
7357        size_t inbytesleft = 1;
7358        char *outptr = buf;
7359        size_t outbytesleft = 1;
7360        size_t res = iconv (cd_88591_to_utf8,
7361                            (char **) &inptr, &inbytesleft,
7362                            &outptr, &outbytesleft);
7363        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
7364          result |= 4;
7365        iconv_close (cd_88591_to_utf8);
7366      }
7367  }
7368#if 0 /* This bug could be worked around by the caller.  */
7369  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
7370  {
7371    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
7372    if (cd_88591_to_utf8 != (iconv_t)(-1))
7373      {
7374        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
7375        char buf[50];
7376        const char *inptr = input;
7377        size_t inbytesleft = strlen (input);
7378        char *outptr = buf;
7379        size_t outbytesleft = sizeof (buf);
7380        size_t res = iconv (cd_88591_to_utf8,
7381                            (char **) &inptr, &inbytesleft,
7382                            &outptr, &outbytesleft);
7383        if ((int)res > 0)
7384          result |= 8;
7385        iconv_close (cd_88591_to_utf8);
7386      }
7387  }
7388#endif
7389  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
7390     provided.  */
7391  if (/* Try standardized names.  */
7392      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
7393      /* Try IRIX, OSF/1 names.  */
7394      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
7395      /* Try AIX names.  */
7396      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
7397      /* Try HP-UX names.  */
7398      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
7399    result |= 16;
7400  return result;
7401}
7402_ACEOF
7403if ac_fn_c_try_run "$LINENO"; then :
7404  am_cv_func_iconv_works=yes
7405else
7406  am_cv_func_iconv_works=no
7407fi
7408rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7409  conftest.$ac_objext conftest.beam conftest.$ac_ext
7410fi
7411
7412      LIBS="$am_save_LIBS"
7413
7414fi
7415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
7416$as_echo "$am_cv_func_iconv_works" >&6; }
7417    case "$am_cv_func_iconv_works" in
7418      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
7419      *)   am_func_iconv=yes ;;
7420    esac
7421  else
7422    am_func_iconv=no am_cv_lib_iconv=no
7423  fi
7424  if test "$am_func_iconv" = yes; then
7425
7426$as_echo "#define HAVE_ICONV 1" >>confdefs.h
7427
7428  fi
7429  if test "$am_cv_lib_iconv" = yes; then
7430    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7431$as_echo_n "checking how to link with libiconv... " >&6; }
7432    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7433$as_echo "$LIBICONV" >&6; }
7434  else
7435            CPPFLAGS="$am_save_CPPFLAGS"
7436    LIBICONV=
7437    LTLIBICONV=
7438  fi
7439
7440
7441
7442  if test "$am_cv_func_iconv" = yes; then
7443    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7444$as_echo_n "checking for iconv declaration... " >&6; }
7445    if ${am_cv_proto_iconv+:} false; then :
7446  $as_echo_n "(cached) " >&6
7447else
7448
7449      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450/* end confdefs.h.  */
7451
7452#include <stdlib.h>
7453#include <iconv.h>
7454extern
7455#ifdef __cplusplus
7456"C"
7457#endif
7458#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
7459size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7460#else
7461size_t iconv();
7462#endif
7463
7464int
7465main ()
7466{
7467
7468  ;
7469  return 0;
7470}
7471_ACEOF
7472if ac_fn_c_try_compile "$LINENO"; then :
7473  am_cv_proto_iconv_arg1=""
7474else
7475  am_cv_proto_iconv_arg1="const"
7476fi
7477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7478      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
7479fi
7480
7481    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7482    { $as_echo "$as_me:${as_lineno-$LINENO}: result:
7483         $am_cv_proto_iconv" >&5
7484$as_echo "
7485         $am_cv_proto_iconv" >&6; }
7486
7487cat >>confdefs.h <<_ACEOF
7488#define ICONV_CONST $am_cv_proto_iconv_arg1
7489_ACEOF
7490
7491
7492  fi
7493
7494
7495# Internationalization macros
7496
7497
7498
7499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
7500$as_echo_n "checking whether NLS is requested... " >&6; }
7501    # Check whether --enable-nls was given.
7502if test "${enable_nls+set}" = set; then :
7503  enableval=$enable_nls; USE_NLS=$enableval
7504else
7505  USE_NLS=yes
7506fi
7507
7508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
7509$as_echo "$USE_NLS" >&6; }
7510
7511
7512
7513
7514      GETTEXT_MACRO_VERSION=0.18
7515
7516
7517
7518
7519# Prepare PATH_SEPARATOR.
7520# The user is always right.
7521if test "${PATH_SEPARATOR+set}" != set; then
7522  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7523  # contains only /bin. Note that ksh looks also at the FPATH variable,
7524  # so we have to set that as well for the test.
7525  PATH_SEPARATOR=:
7526  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7527    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7528           || PATH_SEPARATOR=';'
7529       }
7530fi
7531
7532# Find out how to test for executable files. Don't use a zero-byte file,
7533# as systems may use methods other than mode bits to determine executability.
7534cat >conf$$.file <<_ASEOF
7535#! /bin/sh
7536exit 0
7537_ASEOF
7538chmod +x conf$$.file
7539if test -x conf$$.file >/dev/null 2>&1; then
7540  ac_executable_p="test -x"
7541else
7542  ac_executable_p="test -f"
7543fi
7544rm -f conf$$.file
7545
7546# Extract the first word of "msgfmt", so it can be a program name with args.
7547set dummy msgfmt; ac_word=$2
7548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549$as_echo_n "checking for $ac_word... " >&6; }
7550if ${ac_cv_path_MSGFMT+:} false; then :
7551  $as_echo_n "(cached) " >&6
7552else
7553  case "$MSGFMT" in
7554  [\\/]* | ?:[\\/]*)
7555    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7556    ;;
7557  *)
7558    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7559    for ac_dir in $PATH; do
7560      IFS="$ac_save_IFS"
7561      test -z "$ac_dir" && ac_dir=.
7562      for ac_exec_ext in '' $ac_executable_extensions; do
7563        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7564          echo "$as_me: trying $ac_dir/$ac_word..." >&5
7565          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
7566     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7567            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
7568            break 2
7569          fi
7570        fi
7571      done
7572    done
7573    IFS="$ac_save_IFS"
7574  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
7575    ;;
7576esac
7577fi
7578MSGFMT="$ac_cv_path_MSGFMT"
7579if test "$MSGFMT" != ":"; then
7580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7581$as_echo "$MSGFMT" >&6; }
7582else
7583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584$as_echo "no" >&6; }
7585fi
7586
7587  # Extract the first word of "gmsgfmt", so it can be a program name with args.
7588set dummy gmsgfmt; ac_word=$2
7589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590$as_echo_n "checking for $ac_word... " >&6; }
7591if ${ac_cv_path_GMSGFMT+:} false; then :
7592  $as_echo_n "(cached) " >&6
7593else
7594  case $GMSGFMT in
7595  [\\/]* | ?:[\\/]*)
7596  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7597  ;;
7598  *)
7599  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600for as_dir in $PATH
7601do
7602  IFS=$as_save_IFS
7603  test -z "$as_dir" && as_dir=.
7604    for ac_exec_ext in '' $ac_executable_extensions; do
7605  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608    break 2
7609  fi
7610done
7611  done
7612IFS=$as_save_IFS
7613
7614  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7615  ;;
7616esac
7617fi
7618GMSGFMT=$ac_cv_path_GMSGFMT
7619if test -n "$GMSGFMT"; then
7620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
7621$as_echo "$GMSGFMT" >&6; }
7622else
7623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624$as_echo "no" >&6; }
7625fi
7626
7627
7628
7629    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7630    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
7631    *) MSGFMT_015=$MSGFMT ;;
7632  esac
7633
7634  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7635    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
7636    *) GMSGFMT_015=$GMSGFMT ;;
7637  esac
7638
7639
7640
7641# Prepare PATH_SEPARATOR.
7642# The user is always right.
7643if test "${PATH_SEPARATOR+set}" != set; then
7644  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7645  # contains only /bin. Note that ksh looks also at the FPATH variable,
7646  # so we have to set that as well for the test.
7647  PATH_SEPARATOR=:
7648  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7649    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7650           || PATH_SEPARATOR=';'
7651       }
7652fi
7653
7654# Find out how to test for executable files. Don't use a zero-byte file,
7655# as systems may use methods other than mode bits to determine executability.
7656cat >conf$$.file <<_ASEOF
7657#! /bin/sh
7658exit 0
7659_ASEOF
7660chmod +x conf$$.file
7661if test -x conf$$.file >/dev/null 2>&1; then
7662  ac_executable_p="test -x"
7663else
7664  ac_executable_p="test -f"
7665fi
7666rm -f conf$$.file
7667
7668# Extract the first word of "xgettext", so it can be a program name with args.
7669set dummy xgettext; ac_word=$2
7670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7671$as_echo_n "checking for $ac_word... " >&6; }
7672if ${ac_cv_path_XGETTEXT+:} false; then :
7673  $as_echo_n "(cached) " >&6
7674else
7675  case "$XGETTEXT" in
7676  [\\/]* | ?:[\\/]*)
7677    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7678    ;;
7679  *)
7680    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7681    for ac_dir in $PATH; do
7682      IFS="$ac_save_IFS"
7683      test -z "$ac_dir" && ac_dir=.
7684      for ac_exec_ext in '' $ac_executable_extensions; do
7685        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7686          echo "$as_me: trying $ac_dir/$ac_word..." >&5
7687          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
7688     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7689            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
7690            break 2
7691          fi
7692        fi
7693      done
7694    done
7695    IFS="$ac_save_IFS"
7696  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7697    ;;
7698esac
7699fi
7700XGETTEXT="$ac_cv_path_XGETTEXT"
7701if test "$XGETTEXT" != ":"; then
7702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
7703$as_echo "$XGETTEXT" >&6; }
7704else
7705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706$as_echo "no" >&6; }
7707fi
7708
7709    rm -f messages.po
7710
7711    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7712    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
7713    *) XGETTEXT_015=$XGETTEXT ;;
7714  esac
7715
7716
7717
7718# Prepare PATH_SEPARATOR.
7719# The user is always right.
7720if test "${PATH_SEPARATOR+set}" != set; then
7721  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
7722  # contains only /bin. Note that ksh looks also at the FPATH variable,
7723  # so we have to set that as well for the test.
7724  PATH_SEPARATOR=:
7725  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7726    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
7727           || PATH_SEPARATOR=';'
7728       }
7729fi
7730
7731# Find out how to test for executable files. Don't use a zero-byte file,
7732# as systems may use methods other than mode bits to determine executability.
7733cat >conf$$.file <<_ASEOF
7734#! /bin/sh
7735exit 0
7736_ASEOF
7737chmod +x conf$$.file
7738if test -x conf$$.file >/dev/null 2>&1; then
7739  ac_executable_p="test -x"
7740else
7741  ac_executable_p="test -f"
7742fi
7743rm -f conf$$.file
7744
7745# Extract the first word of "msgmerge", so it can be a program name with args.
7746set dummy msgmerge; ac_word=$2
7747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748$as_echo_n "checking for $ac_word... " >&6; }
7749if ${ac_cv_path_MSGMERGE+:} false; then :
7750  $as_echo_n "(cached) " >&6
7751else
7752  case "$MSGMERGE" in
7753  [\\/]* | ?:[\\/]*)
7754    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7755    ;;
7756  *)
7757    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7758    for ac_dir in $PATH; do
7759      IFS="$ac_save_IFS"
7760      test -z "$ac_dir" && ac_dir=.
7761      for ac_exec_ext in '' $ac_executable_extensions; do
7762        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7763          echo "$as_me: trying $ac_dir/$ac_word..." >&5
7764          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
7765            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
7766            break 2
7767          fi
7768        fi
7769      done
7770    done
7771    IFS="$ac_save_IFS"
7772  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
7773    ;;
7774esac
7775fi
7776MSGMERGE="$ac_cv_path_MSGMERGE"
7777if test "$MSGMERGE" != ":"; then
7778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
7779$as_echo "$MSGMERGE" >&6; }
7780else
7781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7782$as_echo "no" >&6; }
7783fi
7784
7785
7786        test -n "$localedir" || localedir='${datadir}/locale'
7787
7788
7789    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
7790
7791
7792  ac_config_commands="$ac_config_commands po-directories"
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7820$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
7821if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
7822  $as_echo_n "(cached) " >&6
7823else
7824  gt_save_LIBS="$LIBS"
7825     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7826     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7827/* end confdefs.h.  */
7828#include <CoreFoundation/CFPreferences.h>
7829int
7830main ()
7831{
7832CFPreferencesCopyAppValue(NULL, NULL)
7833  ;
7834  return 0;
7835}
7836_ACEOF
7837if ac_fn_c_try_link "$LINENO"; then :
7838  gt_cv_func_CFPreferencesCopyAppValue=yes
7839else
7840  gt_cv_func_CFPreferencesCopyAppValue=no
7841fi
7842rm -f core conftest.err conftest.$ac_objext \
7843    conftest$ac_exeext conftest.$ac_ext
7844     LIBS="$gt_save_LIBS"
7845fi
7846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7847$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7848  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7849
7850$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7851
7852  fi
7853    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
7854$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
7855if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
7856  $as_echo_n "(cached) " >&6
7857else
7858  gt_save_LIBS="$LIBS"
7859     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7860     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7861/* end confdefs.h.  */
7862#include <CoreFoundation/CFLocale.h>
7863int
7864main ()
7865{
7866CFLocaleCopyCurrent();
7867  ;
7868  return 0;
7869}
7870_ACEOF
7871if ac_fn_c_try_link "$LINENO"; then :
7872  gt_cv_func_CFLocaleCopyCurrent=yes
7873else
7874  gt_cv_func_CFLocaleCopyCurrent=no
7875fi
7876rm -f core conftest.err conftest.$ac_objext \
7877    conftest$ac_exeext conftest.$ac_ext
7878     LIBS="$gt_save_LIBS"
7879fi
7880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
7881$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
7882  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7883
7884$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
7885
7886  fi
7887  INTL_MACOSX_LIBS=
7888  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
7889    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7890  fi
7891
7892
7893
7894
7895
7896
7897  LIBINTL=
7898  LTLIBINTL=
7899  POSUB=
7900
7901    case " $gt_needs " in
7902    *" need-formatstring-macros "*) gt_api_version=3 ;;
7903    *" need-ngettext "*) gt_api_version=2 ;;
7904    *) gt_api_version=1 ;;
7905  esac
7906  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
7907  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
7908
7909    if test "$USE_NLS" = "yes"; then
7910    gt_use_preinstalled_gnugettext=no
7911
7912
7913        if test $gt_api_version -ge 3; then
7914          gt_revision_test_code='
7915#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7916#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7917#endif
7918typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7919'
7920        else
7921          gt_revision_test_code=
7922        fi
7923        if test $gt_api_version -ge 2; then
7924          gt_expression_test_code=' + * ngettext ("", "", 0)'
7925        else
7926          gt_expression_test_code=
7927        fi
7928
7929        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7930$as_echo_n "checking for GNU gettext in libc... " >&6; }
7931if eval \${$gt_func_gnugettext_libc+:} false; then :
7932  $as_echo_n "(cached) " >&6
7933else
7934  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935/* end confdefs.h.  */
7936
7937#include <libintl.h>
7938$gt_revision_test_code
7939extern int _nl_msg_cat_cntr;
7940extern int *_nl_domain_bindings;
7941
7942int
7943main ()
7944{
7945
7946bindtextdomain ("", "");
7947return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
7948
7949  ;
7950  return 0;
7951}
7952_ACEOF
7953if ac_fn_c_try_link "$LINENO"; then :
7954  eval "$gt_func_gnugettext_libc=yes"
7955else
7956  eval "$gt_func_gnugettext_libc=no"
7957fi
7958rm -f core conftest.err conftest.$ac_objext \
7959    conftest$ac_exeext conftest.$ac_ext
7960fi
7961eval ac_res=\$$gt_func_gnugettext_libc
7962	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7963$as_echo "$ac_res" >&6; }
7964
7965        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7966
7967
7968
7969
7970
7971          am_save_CPPFLAGS="$CPPFLAGS"
7972
7973  for element in $INCICONV; do
7974    haveit=
7975    for x in $CPPFLAGS; do
7976
7977  acl_save_prefix="$prefix"
7978  prefix="$acl_final_prefix"
7979  acl_save_exec_prefix="$exec_prefix"
7980  exec_prefix="$acl_final_exec_prefix"
7981  eval x=\"$x\"
7982  exec_prefix="$acl_save_exec_prefix"
7983  prefix="$acl_save_prefix"
7984
7985      if test "X$x" = "X$element"; then
7986        haveit=yes
7987        break
7988      fi
7989    done
7990    if test -z "$haveit"; then
7991      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7992    fi
7993  done
7994
7995
7996  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7997$as_echo_n "checking for iconv... " >&6; }
7998if ${am_cv_func_iconv+:} false; then :
7999  $as_echo_n "(cached) " >&6
8000else
8001
8002    am_cv_func_iconv="no, consider installing GNU libiconv"
8003    am_cv_lib_iconv=no
8004    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8005/* end confdefs.h.  */
8006
8007#include <stdlib.h>
8008#include <iconv.h>
8009
8010int
8011main ()
8012{
8013iconv_t cd = iconv_open("","");
8014           iconv(cd,NULL,NULL,NULL,NULL);
8015           iconv_close(cd);
8016  ;
8017  return 0;
8018}
8019_ACEOF
8020if ac_fn_c_try_link "$LINENO"; then :
8021  am_cv_func_iconv=yes
8022fi
8023rm -f core conftest.err conftest.$ac_objext \
8024    conftest$ac_exeext conftest.$ac_ext
8025    if test "$am_cv_func_iconv" != yes; then
8026      am_save_LIBS="$LIBS"
8027      LIBS="$LIBS $LIBICONV"
8028      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8029/* end confdefs.h.  */
8030
8031#include <stdlib.h>
8032#include <iconv.h>
8033
8034int
8035main ()
8036{
8037iconv_t cd = iconv_open("","");
8038             iconv(cd,NULL,NULL,NULL,NULL);
8039             iconv_close(cd);
8040  ;
8041  return 0;
8042}
8043_ACEOF
8044if ac_fn_c_try_link "$LINENO"; then :
8045  am_cv_lib_iconv=yes
8046        am_cv_func_iconv=yes
8047fi
8048rm -f core conftest.err conftest.$ac_objext \
8049    conftest$ac_exeext conftest.$ac_ext
8050      LIBS="$am_save_LIBS"
8051    fi
8052
8053fi
8054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8055$as_echo "$am_cv_func_iconv" >&6; }
8056  if test "$am_cv_func_iconv" = yes; then
8057    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8058$as_echo_n "checking for working iconv... " >&6; }
8059if ${am_cv_func_iconv_works+:} false; then :
8060  $as_echo_n "(cached) " >&6
8061else
8062
8063                  am_save_LIBS="$LIBS"
8064      if test $am_cv_lib_iconv = yes; then
8065        LIBS="$LIBS $LIBICONV"
8066      fi
8067      if test "$cross_compiling" = yes; then :
8068
8069         case "$host_os" in
8070           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
8071           *)            am_cv_func_iconv_works="guessing yes" ;;
8072         esac
8073
8074else
8075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076/* end confdefs.h.  */
8077
8078#include <iconv.h>
8079#include <string.h>
8080int main ()
8081{
8082  int result = 0;
8083  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
8084     returns.  */
8085  {
8086    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8087    if (cd_utf8_to_88591 != (iconv_t)(-1))
8088      {
8089        static const char input[] = "\342\202\254"; /* EURO SIGN */
8090        char buf[10];
8091        const char *inptr = input;
8092        size_t inbytesleft = strlen (input);
8093        char *outptr = buf;
8094        size_t outbytesleft = sizeof (buf);
8095        size_t res = iconv (cd_utf8_to_88591,
8096                            (char **) &inptr, &inbytesleft,
8097                            &outptr, &outbytesleft);
8098        if (res == 0)
8099          result |= 1;
8100        iconv_close (cd_utf8_to_88591);
8101      }
8102  }
8103  /* Test against Solaris 10 bug: Failures are not distinguishable from
8104     successful returns.  */
8105  {
8106    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8107    if (cd_ascii_to_88591 != (iconv_t)(-1))
8108      {
8109        static const char input[] = "\263";
8110        char buf[10];
8111        const char *inptr = input;
8112        size_t inbytesleft = strlen (input);
8113        char *outptr = buf;
8114        size_t outbytesleft = sizeof (buf);
8115        size_t res = iconv (cd_ascii_to_88591,
8116                            (char **) &inptr, &inbytesleft,
8117                            &outptr, &outbytesleft);
8118        if (res == 0)
8119          result |= 2;
8120        iconv_close (cd_ascii_to_88591);
8121      }
8122  }
8123  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
8124  {
8125    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8126    if (cd_88591_to_utf8 != (iconv_t)(-1))
8127      {
8128        static const char input[] = "\304";
8129        static char buf[2] = { (char)0xDE, (char)0xAD };
8130        const char *inptr = input;
8131        size_t inbytesleft = 1;
8132        char *outptr = buf;
8133        size_t outbytesleft = 1;
8134        size_t res = iconv (cd_88591_to_utf8,
8135                            (char **) &inptr, &inbytesleft,
8136                            &outptr, &outbytesleft);
8137        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8138          result |= 4;
8139        iconv_close (cd_88591_to_utf8);
8140      }
8141  }
8142#if 0 /* This bug could be worked around by the caller.  */
8143  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
8144  {
8145    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8146    if (cd_88591_to_utf8 != (iconv_t)(-1))
8147      {
8148        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8149        char buf[50];
8150        const char *inptr = input;
8151        size_t inbytesleft = strlen (input);
8152        char *outptr = buf;
8153        size_t outbytesleft = sizeof (buf);
8154        size_t res = iconv (cd_88591_to_utf8,
8155                            (char **) &inptr, &inbytesleft,
8156                            &outptr, &outbytesleft);
8157        if ((int)res > 0)
8158          result |= 8;
8159        iconv_close (cd_88591_to_utf8);
8160      }
8161  }
8162#endif
8163  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8164     provided.  */
8165  if (/* Try standardized names.  */
8166      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
8167      /* Try IRIX, OSF/1 names.  */
8168      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
8169      /* Try AIX names.  */
8170      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
8171      /* Try HP-UX names.  */
8172      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
8173    result |= 16;
8174  return result;
8175}
8176_ACEOF
8177if ac_fn_c_try_run "$LINENO"; then :
8178  am_cv_func_iconv_works=yes
8179else
8180  am_cv_func_iconv_works=no
8181fi
8182rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8183  conftest.$ac_objext conftest.beam conftest.$ac_ext
8184fi
8185
8186      LIBS="$am_save_LIBS"
8187
8188fi
8189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8190$as_echo "$am_cv_func_iconv_works" >&6; }
8191    case "$am_cv_func_iconv_works" in
8192      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
8193      *)   am_func_iconv=yes ;;
8194    esac
8195  else
8196    am_func_iconv=no am_cv_lib_iconv=no
8197  fi
8198  if test "$am_func_iconv" = yes; then
8199
8200$as_echo "#define HAVE_ICONV 1" >>confdefs.h
8201
8202  fi
8203  if test "$am_cv_lib_iconv" = yes; then
8204    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8205$as_echo_n "checking how to link with libiconv... " >&6; }
8206    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8207$as_echo "$LIBICONV" >&6; }
8208  else
8209            CPPFLAGS="$am_save_CPPFLAGS"
8210    LIBICONV=
8211    LTLIBICONV=
8212  fi
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224    use_additional=yes
8225
8226  acl_save_prefix="$prefix"
8227  prefix="$acl_final_prefix"
8228  acl_save_exec_prefix="$exec_prefix"
8229  exec_prefix="$acl_final_exec_prefix"
8230
8231    eval additional_includedir=\"$includedir\"
8232    eval additional_libdir=\"$libdir\"
8233
8234  exec_prefix="$acl_save_exec_prefix"
8235  prefix="$acl_save_prefix"
8236
8237
8238# Check whether --with-libintl-prefix was given.
8239if test "${with_libintl_prefix+set}" = set; then :
8240  withval=$with_libintl_prefix;
8241    if test "X$withval" = "Xno"; then
8242      use_additional=no
8243    else
8244      if test "X$withval" = "X"; then
8245
8246  acl_save_prefix="$prefix"
8247  prefix="$acl_final_prefix"
8248  acl_save_exec_prefix="$exec_prefix"
8249  exec_prefix="$acl_final_exec_prefix"
8250
8251          eval additional_includedir=\"$includedir\"
8252          eval additional_libdir=\"$libdir\"
8253
8254  exec_prefix="$acl_save_exec_prefix"
8255  prefix="$acl_save_prefix"
8256
8257      else
8258        additional_includedir="$withval/include"
8259        additional_libdir="$withval/$acl_libdirstem"
8260        if test "$acl_libdirstem2" != "$acl_libdirstem" \
8261           && ! test -d "$withval/$acl_libdirstem"; then
8262          additional_libdir="$withval/$acl_libdirstem2"
8263        fi
8264      fi
8265    fi
8266
8267fi
8268
8269      LIBINTL=
8270  LTLIBINTL=
8271  INCINTL=
8272  LIBINTL_PREFIX=
8273      HAVE_LIBINTL=
8274  rpathdirs=
8275  ltrpathdirs=
8276  names_already_handled=
8277  names_next_round='intl '
8278  while test -n "$names_next_round"; do
8279    names_this_round="$names_next_round"
8280    names_next_round=
8281    for name in $names_this_round; do
8282      already_handled=
8283      for n in $names_already_handled; do
8284        if test "$n" = "$name"; then
8285          already_handled=yes
8286          break
8287        fi
8288      done
8289      if test -z "$already_handled"; then
8290        names_already_handled="$names_already_handled $name"
8291                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8292        eval value=\"\$HAVE_LIB$uppername\"
8293        if test -n "$value"; then
8294          if test "$value" = yes; then
8295            eval value=\"\$LIB$uppername\"
8296            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8297            eval value=\"\$LTLIB$uppername\"
8298            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8299          else
8300                                    :
8301          fi
8302        else
8303                              found_dir=
8304          found_la=
8305          found_so=
8306          found_a=
8307          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
8308          if test -n "$acl_shlibext"; then
8309            shrext=".$acl_shlibext"             # typically: shrext=.so
8310          else
8311            shrext=
8312          fi
8313          if test $use_additional = yes; then
8314            dir="$additional_libdir"
8315                                    if test -n "$acl_shlibext"; then
8316              if test -f "$dir/$libname$shrext"; then
8317                found_dir="$dir"
8318                found_so="$dir/$libname$shrext"
8319              else
8320                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8321                  ver=`(cd "$dir" && \
8322                        for f in "$libname$shrext".*; do echo "$f"; done \
8323                        | sed -e "s,^$libname$shrext\\\\.,," \
8324                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8325                        | sed 1q ) 2>/dev/null`
8326                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8327                    found_dir="$dir"
8328                    found_so="$dir/$libname$shrext.$ver"
8329                  fi
8330                else
8331                  eval library_names=\"$acl_library_names_spec\"
8332                  for f in $library_names; do
8333                    if test -f "$dir/$f"; then
8334                      found_dir="$dir"
8335                      found_so="$dir/$f"
8336                      break
8337                    fi
8338                  done
8339                fi
8340              fi
8341            fi
8342                        if test "X$found_dir" = "X"; then
8343              if test -f "$dir/$libname.$acl_libext"; then
8344                found_dir="$dir"
8345                found_a="$dir/$libname.$acl_libext"
8346              fi
8347            fi
8348            if test "X$found_dir" != "X"; then
8349              if test -f "$dir/$libname.la"; then
8350                found_la="$dir/$libname.la"
8351              fi
8352            fi
8353          fi
8354          if test "X$found_dir" = "X"; then
8355            for x in $LDFLAGS $LTLIBINTL; do
8356
8357  acl_save_prefix="$prefix"
8358  prefix="$acl_final_prefix"
8359  acl_save_exec_prefix="$exec_prefix"
8360  exec_prefix="$acl_final_exec_prefix"
8361  eval x=\"$x\"
8362  exec_prefix="$acl_save_exec_prefix"
8363  prefix="$acl_save_prefix"
8364
8365              case "$x" in
8366                -L*)
8367                  dir=`echo "X$x" | sed -e 's/^X-L//'`
8368                                    if test -n "$acl_shlibext"; then
8369                    if test -f "$dir/$libname$shrext"; then
8370                      found_dir="$dir"
8371                      found_so="$dir/$libname$shrext"
8372                    else
8373                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8374                        ver=`(cd "$dir" && \
8375                              for f in "$libname$shrext".*; do echo "$f"; done \
8376                              | sed -e "s,^$libname$shrext\\\\.,," \
8377                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8378                              | sed 1q ) 2>/dev/null`
8379                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8380                          found_dir="$dir"
8381                          found_so="$dir/$libname$shrext.$ver"
8382                        fi
8383                      else
8384                        eval library_names=\"$acl_library_names_spec\"
8385                        for f in $library_names; do
8386                          if test -f "$dir/$f"; then
8387                            found_dir="$dir"
8388                            found_so="$dir/$f"
8389                            break
8390                          fi
8391                        done
8392                      fi
8393                    fi
8394                  fi
8395                                    if test "X$found_dir" = "X"; then
8396                    if test -f "$dir/$libname.$acl_libext"; then
8397                      found_dir="$dir"
8398                      found_a="$dir/$libname.$acl_libext"
8399                    fi
8400                  fi
8401                  if test "X$found_dir" != "X"; then
8402                    if test -f "$dir/$libname.la"; then
8403                      found_la="$dir/$libname.la"
8404                    fi
8405                  fi
8406                  ;;
8407              esac
8408              if test "X$found_dir" != "X"; then
8409                break
8410              fi
8411            done
8412          fi
8413          if test "X$found_dir" != "X"; then
8414                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8415            if test "X$found_so" != "X"; then
8416                                                        if test "$enable_rpath" = no \
8417                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
8418                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
8419                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8420              else
8421                                                                                haveit=
8422                for x in $ltrpathdirs; do
8423                  if test "X$x" = "X$found_dir"; then
8424                    haveit=yes
8425                    break
8426                  fi
8427                done
8428                if test -z "$haveit"; then
8429                  ltrpathdirs="$ltrpathdirs $found_dir"
8430                fi
8431                                if test "$acl_hardcode_direct" = yes; then
8432                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8433                else
8434                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8435                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8436                                                            haveit=
8437                    for x in $rpathdirs; do
8438                      if test "X$x" = "X$found_dir"; then
8439                        haveit=yes
8440                        break
8441                      fi
8442                    done
8443                    if test -z "$haveit"; then
8444                      rpathdirs="$rpathdirs $found_dir"
8445                    fi
8446                  else
8447                                                                                haveit=
8448                    for x in $LDFLAGS $LIBINTL; do
8449
8450  acl_save_prefix="$prefix"
8451  prefix="$acl_final_prefix"
8452  acl_save_exec_prefix="$exec_prefix"
8453  exec_prefix="$acl_final_exec_prefix"
8454  eval x=\"$x\"
8455  exec_prefix="$acl_save_exec_prefix"
8456  prefix="$acl_save_prefix"
8457
8458                      if test "X$x" = "X-L$found_dir"; then
8459                        haveit=yes
8460                        break
8461                      fi
8462                    done
8463                    if test -z "$haveit"; then
8464                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8465                    fi
8466                    if test "$acl_hardcode_minus_L" != no; then
8467                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8468                    else
8469                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8470                    fi
8471                  fi
8472                fi
8473              fi
8474            else
8475              if test "X$found_a" != "X"; then
8476                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8477              else
8478                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8479              fi
8480            fi
8481                        additional_includedir=
8482            case "$found_dir" in
8483              */$acl_libdirstem | */$acl_libdirstem/)
8484                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8485                if test "$name" = 'intl'; then
8486                  LIBINTL_PREFIX="$basedir"
8487                fi
8488                additional_includedir="$basedir/include"
8489                ;;
8490              */$acl_libdirstem2 | */$acl_libdirstem2/)
8491                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8492                if test "$name" = 'intl'; then
8493                  LIBINTL_PREFIX="$basedir"
8494                fi
8495                additional_includedir="$basedir/include"
8496                ;;
8497            esac
8498            if test "X$additional_includedir" != "X"; then
8499                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
8500                haveit=
8501                if test "X$additional_includedir" = "X/usr/local/include"; then
8502                  if test -n "$GCC"; then
8503                    case $host_os in
8504                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8505                    esac
8506                  fi
8507                fi
8508                if test -z "$haveit"; then
8509                  for x in $CPPFLAGS $INCINTL; do
8510
8511  acl_save_prefix="$prefix"
8512  prefix="$acl_final_prefix"
8513  acl_save_exec_prefix="$exec_prefix"
8514  exec_prefix="$acl_final_exec_prefix"
8515  eval x=\"$x\"
8516  exec_prefix="$acl_save_exec_prefix"
8517  prefix="$acl_save_prefix"
8518
8519                    if test "X$x" = "X-I$additional_includedir"; then
8520                      haveit=yes
8521                      break
8522                    fi
8523                  done
8524                  if test -z "$haveit"; then
8525                    if test -d "$additional_includedir"; then
8526                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8527                    fi
8528                  fi
8529                fi
8530              fi
8531            fi
8532                        if test -n "$found_la"; then
8533                                                        save_libdir="$libdir"
8534              case "$found_la" in
8535                */* | *\\*) . "$found_la" ;;
8536                *) . "./$found_la" ;;
8537              esac
8538              libdir="$save_libdir"
8539                            for dep in $dependency_libs; do
8540                case "$dep" in
8541                  -L*)
8542                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8543                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8544                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
8545                      haveit=
8546                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8547                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
8548                        if test -n "$GCC"; then
8549                          case $host_os in
8550                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8551                          esac
8552                        fi
8553                      fi
8554                      if test -z "$haveit"; then
8555                        haveit=
8556                        for x in $LDFLAGS $LIBINTL; do
8557
8558  acl_save_prefix="$prefix"
8559  prefix="$acl_final_prefix"
8560  acl_save_exec_prefix="$exec_prefix"
8561  exec_prefix="$acl_final_exec_prefix"
8562  eval x=\"$x\"
8563  exec_prefix="$acl_save_exec_prefix"
8564  prefix="$acl_save_prefix"
8565
8566                          if test "X$x" = "X-L$additional_libdir"; then
8567                            haveit=yes
8568                            break
8569                          fi
8570                        done
8571                        if test -z "$haveit"; then
8572                          if test -d "$additional_libdir"; then
8573                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
8574                          fi
8575                        fi
8576                        haveit=
8577                        for x in $LDFLAGS $LTLIBINTL; do
8578
8579  acl_save_prefix="$prefix"
8580  prefix="$acl_final_prefix"
8581  acl_save_exec_prefix="$exec_prefix"
8582  exec_prefix="$acl_final_exec_prefix"
8583  eval x=\"$x\"
8584  exec_prefix="$acl_save_exec_prefix"
8585  prefix="$acl_save_prefix"
8586
8587                          if test "X$x" = "X-L$additional_libdir"; then
8588                            haveit=yes
8589                            break
8590                          fi
8591                        done
8592                        if test -z "$haveit"; then
8593                          if test -d "$additional_libdir"; then
8594                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
8595                          fi
8596                        fi
8597                      fi
8598                    fi
8599                    ;;
8600                  -R*)
8601                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
8602                    if test "$enable_rpath" != no; then
8603                                                                  haveit=
8604                      for x in $rpathdirs; do
8605                        if test "X$x" = "X$dir"; then
8606                          haveit=yes
8607                          break
8608                        fi
8609                      done
8610                      if test -z "$haveit"; then
8611                        rpathdirs="$rpathdirs $dir"
8612                      fi
8613                                                                  haveit=
8614                      for x in $ltrpathdirs; do
8615                        if test "X$x" = "X$dir"; then
8616                          haveit=yes
8617                          break
8618                        fi
8619                      done
8620                      if test -z "$haveit"; then
8621                        ltrpathdirs="$ltrpathdirs $dir"
8622                      fi
8623                    fi
8624                    ;;
8625                  -l*)
8626                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8627                    ;;
8628                  *.la)
8629                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8630                    ;;
8631                  *)
8632                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
8633                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8634                    ;;
8635                esac
8636              done
8637            fi
8638          else
8639                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8640            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8641          fi
8642        fi
8643      fi
8644    done
8645  done
8646  if test "X$rpathdirs" != "X"; then
8647    if test -n "$acl_hardcode_libdir_separator"; then
8648                        alldirs=
8649      for found_dir in $rpathdirs; do
8650        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8651      done
8652            acl_save_libdir="$libdir"
8653      libdir="$alldirs"
8654      eval flag=\"$acl_hardcode_libdir_flag_spec\"
8655      libdir="$acl_save_libdir"
8656      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8657    else
8658            for found_dir in $rpathdirs; do
8659        acl_save_libdir="$libdir"
8660        libdir="$found_dir"
8661        eval flag=\"$acl_hardcode_libdir_flag_spec\"
8662        libdir="$acl_save_libdir"
8663        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8664      done
8665    fi
8666  fi
8667  if test "X$ltrpathdirs" != "X"; then
8668            for found_dir in $ltrpathdirs; do
8669      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8670    done
8671  fi
8672
8673
8674
8675
8676
8677
8678          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8679$as_echo_n "checking for GNU gettext in libintl... " >&6; }
8680if eval \${$gt_func_gnugettext_libintl+:} false; then :
8681  $as_echo_n "(cached) " >&6
8682else
8683  gt_save_CPPFLAGS="$CPPFLAGS"
8684            CPPFLAGS="$CPPFLAGS $INCINTL"
8685            gt_save_LIBS="$LIBS"
8686            LIBS="$LIBS $LIBINTL"
8687                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688/* end confdefs.h.  */
8689
8690#include <libintl.h>
8691$gt_revision_test_code
8692extern int _nl_msg_cat_cntr;
8693extern
8694#ifdef __cplusplus
8695"C"
8696#endif
8697const char *_nl_expand_alias (const char *);
8698
8699int
8700main ()
8701{
8702
8703bindtextdomain ("", "");
8704return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8705
8706  ;
8707  return 0;
8708}
8709_ACEOF
8710if ac_fn_c_try_link "$LINENO"; then :
8711  eval "$gt_func_gnugettext_libintl=yes"
8712else
8713  eval "$gt_func_gnugettext_libintl=no"
8714fi
8715rm -f core conftest.err conftest.$ac_objext \
8716    conftest$ac_exeext conftest.$ac_ext
8717                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8718              LIBS="$LIBS $LIBICONV"
8719              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720/* end confdefs.h.  */
8721
8722#include <libintl.h>
8723$gt_revision_test_code
8724extern int _nl_msg_cat_cntr;
8725extern
8726#ifdef __cplusplus
8727"C"
8728#endif
8729const char *_nl_expand_alias (const char *);
8730
8731int
8732main ()
8733{
8734
8735bindtextdomain ("", "");
8736return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
8737
8738  ;
8739  return 0;
8740}
8741_ACEOF
8742if ac_fn_c_try_link "$LINENO"; then :
8743  LIBINTL="$LIBINTL $LIBICONV"
8744                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
8745                 eval "$gt_func_gnugettext_libintl=yes"
8746
8747fi
8748rm -f core conftest.err conftest.$ac_objext \
8749    conftest$ac_exeext conftest.$ac_ext
8750            fi
8751            CPPFLAGS="$gt_save_CPPFLAGS"
8752            LIBS="$gt_save_LIBS"
8753fi
8754eval ac_res=\$$gt_func_gnugettext_libintl
8755	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8756$as_echo "$ac_res" >&6; }
8757        fi
8758
8759                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8760           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8761                && test "$PACKAGE" != gettext-runtime \
8762                && test "$PACKAGE" != gettext-tools; }; then
8763          gt_use_preinstalled_gnugettext=yes
8764        else
8765                    LIBINTL=
8766          LTLIBINTL=
8767          INCINTL=
8768        fi
8769
8770
8771
8772    if test -n "$INTL_MACOSX_LIBS"; then
8773      if test "$gt_use_preinstalled_gnugettext" = "yes" \
8774         || test "$nls_cv_use_gnu_gettext" = "yes"; then
8775                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
8776        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
8777      fi
8778    fi
8779
8780    if test "$gt_use_preinstalled_gnugettext" = "yes" \
8781       || test "$nls_cv_use_gnu_gettext" = "yes"; then
8782
8783$as_echo "#define ENABLE_NLS 1" >>confdefs.h
8784
8785    else
8786      USE_NLS=no
8787    fi
8788  fi
8789
8790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8791$as_echo_n "checking whether to use NLS... " >&6; }
8792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8793$as_echo "$USE_NLS" >&6; }
8794  if test "$USE_NLS" = "yes"; then
8795    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8796$as_echo_n "checking where the gettext function comes from... " >&6; }
8797    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8798      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8799        gt_source="external libintl"
8800      else
8801        gt_source="libc"
8802      fi
8803    else
8804      gt_source="included intl directory"
8805    fi
8806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8807$as_echo "$gt_source" >&6; }
8808  fi
8809
8810  if test "$USE_NLS" = "yes"; then
8811
8812    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8813      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8814        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8815$as_echo_n "checking how to link with libintl... " >&6; }
8816        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8817$as_echo "$LIBINTL" >&6; }
8818
8819  for element in $INCINTL; do
8820    haveit=
8821    for x in $CPPFLAGS; do
8822
8823  acl_save_prefix="$prefix"
8824  prefix="$acl_final_prefix"
8825  acl_save_exec_prefix="$exec_prefix"
8826  exec_prefix="$acl_final_exec_prefix"
8827  eval x=\"$x\"
8828  exec_prefix="$acl_save_exec_prefix"
8829  prefix="$acl_save_prefix"
8830
8831      if test "X$x" = "X$element"; then
8832        haveit=yes
8833        break
8834      fi
8835    done
8836    if test -z "$haveit"; then
8837      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8838    fi
8839  done
8840
8841      fi
8842
8843
8844$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
8845
8846
8847$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
8848
8849    fi
8850
8851        POSUB=po
8852  fi
8853
8854
8855
8856    INTLLIBS="$LIBINTL"
8857
8858
8859
8860
8861
8862
8863
8864# Manual page generation
8865
8866GEN_MAN="help2man ./gtypist -o gtypist.1 -n 'a typing tutor with lessons for different keyboards and languages'"
8867
8868
8869# This is necessary for tools/gtypist-mode.el
8870
8871 # If set to t, that means we are running in a shell under Emacs.
8872 # If you have an Emacs named "t", then use the full path.
8873 test x"$EMACS" = xt && EMACS=
8874 for ac_prog in emacs xemacs
8875do
8876  # Extract the first word of "$ac_prog", so it can be a program name with args.
8877set dummy $ac_prog; ac_word=$2
8878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8879$as_echo_n "checking for $ac_word... " >&6; }
8880if ${ac_cv_prog_EMACS+:} false; then :
8881  $as_echo_n "(cached) " >&6
8882else
8883  if test -n "$EMACS"; then
8884  ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
8885else
8886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8887for as_dir in $PATH
8888do
8889  IFS=$as_save_IFS
8890  test -z "$as_dir" && as_dir=.
8891    for ac_exec_ext in '' $ac_executable_extensions; do
8892  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8893    ac_cv_prog_EMACS="$ac_prog"
8894    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8895    break 2
8896  fi
8897done
8898  done
8899IFS=$as_save_IFS
8900
8901fi
8902fi
8903EMACS=$ac_cv_prog_EMACS
8904if test -n "$EMACS"; then
8905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
8906$as_echo "$EMACS" >&6; }
8907else
8908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909$as_echo "no" >&6; }
8910fi
8911
8912
8913  test -n "$EMACS" && break
8914done
8915test -n "$EMACS" || EMACS="no"
8916
8917
8918
8919
8920# Check whether --with-lispdir was given.
8921if test "${with_lispdir+set}" = set; then :
8922  withval=$with_lispdir;  lispdir="$withval"
8923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
8924$as_echo_n "checking where .elc files should go... " >&6; }
8925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
8926$as_echo "$lispdir" >&6; }
8927else
8928
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
8930$as_echo_n "checking where .elc files should go... " >&6; }
8931if ${am_cv_lispdir+:} false; then :
8932  $as_echo_n "(cached) " >&6
8933else
8934
8935   if test $EMACS != "no"; then
8936     if test x${lispdir+set} != xset; then
8937  # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
8938  # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
8939  #  which is non-obvious for non-emacs users.
8940  # Redirecting /dev/null should help a bit; pity we can't detect "broken"
8941  #  emacsen earlier and avoid running this altogether.
8942  { { $as_echo "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5
8943  ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
8944  ac_status=$?
8945  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8946  test $ac_status = 0; }
8947	am_cv_lispdir=`sed -n \
8948       -e 's,/$,,' \
8949       -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
8950       -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
8951       conftest.out`
8952       rm conftest.out
8953     fi
8954   fi
8955   test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
8956
8957fi
8958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5
8959$as_echo "$am_cv_lispdir" >&6; }
8960  lispdir="$am_cv_lispdir"
8961
8962fi
8963
8964
8965
8966
8967# Generate files
8968
8969ac_config_files="$ac_config_files lessons/Makefile tools/Makefile doc/Makefile src/Makefile Makefile po/Makefile.in m4/Makefile"
8970
8971cat >confcache <<\_ACEOF
8972# This file is a shell script that caches the results of configure
8973# tests run on this system so they can be shared between configure
8974# scripts and configure runs, see configure's option --config-cache.
8975# It is not useful on other systems.  If it contains results you don't
8976# want to keep, you may remove or edit it.
8977#
8978# config.status only pays attention to the cache file if you give it
8979# the --recheck option to rerun configure.
8980#
8981# `ac_cv_env_foo' variables (set or unset) will be overridden when
8982# loading this file, other *unset* `ac_cv_foo' will be assigned the
8983# following values.
8984
8985_ACEOF
8986
8987# The following way of writing the cache mishandles newlines in values,
8988# but we know of no workaround that is simple, portable, and efficient.
8989# So, we kill variables containing newlines.
8990# Ultrix sh set writes to stderr and can't be redirected directly,
8991# and sets the high bit in the cache file unless we assign to the vars.
8992(
8993  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8994    eval ac_val=\$$ac_var
8995    case $ac_val in #(
8996    *${as_nl}*)
8997      case $ac_var in #(
8998      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8999$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9000      esac
9001      case $ac_var in #(
9002      _ | IFS | as_nl) ;; #(
9003      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9004      *) { eval $ac_var=; unset $ac_var;} ;;
9005      esac ;;
9006    esac
9007  done
9008
9009  (set) 2>&1 |
9010    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9011    *${as_nl}ac_space=\ *)
9012      # `set' does not quote correctly, so add quotes: double-quote
9013      # substitution turns \\\\ into \\, and sed turns \\ into \.
9014      sed -n \
9015	"s/'/'\\\\''/g;
9016	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9017      ;; #(
9018    *)
9019      # `set' quotes correctly as required by POSIX, so do not add quotes.
9020      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9021      ;;
9022    esac |
9023    sort
9024) |
9025  sed '
9026     /^ac_cv_env_/b end
9027     t clear
9028     :clear
9029     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9030     t end
9031     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9032     :end' >>confcache
9033if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9034  if test -w "$cache_file"; then
9035    if test "x$cache_file" != "x/dev/null"; then
9036      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9037$as_echo "$as_me: updating cache $cache_file" >&6;}
9038      if test ! -f "$cache_file" || test -h "$cache_file"; then
9039	cat confcache >"$cache_file"
9040      else
9041        case $cache_file in #(
9042        */* | ?:*)
9043	  mv -f confcache "$cache_file"$$ &&
9044	  mv -f "$cache_file"$$ "$cache_file" ;; #(
9045        *)
9046	  mv -f confcache "$cache_file" ;;
9047	esac
9048      fi
9049    fi
9050  else
9051    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9052$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9053  fi
9054fi
9055rm -f confcache
9056
9057test "x$prefix" = xNONE && prefix=$ac_default_prefix
9058# Let make expand exec_prefix.
9059test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9060
9061DEFS=-DHAVE_CONFIG_H
9062
9063ac_libobjs=
9064ac_ltlibobjs=
9065for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9066  # 1. Remove the extension, and $U if already installed.
9067  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9068  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9069  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9070  #    will be set to the directory where LIBOBJS objects are built.
9071  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9072  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9073done
9074LIBOBJS=$ac_libobjs
9075
9076LTLIBOBJS=$ac_ltlibobjs
9077
9078
9079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
9080$as_echo_n "checking that generated files are newer than configure... " >&6; }
9081   if test -n "$am_sleep_pid"; then
9082     # Hide warnings about reused PIDs.
9083     wait $am_sleep_pid 2>/dev/null
9084   fi
9085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
9086$as_echo "done" >&6; }
9087 if test -n "$EXEEXT"; then
9088  am__EXEEXT_TRUE=
9089  am__EXEEXT_FALSE='#'
9090else
9091  am__EXEEXT_TRUE='#'
9092  am__EXEEXT_FALSE=
9093fi
9094
9095if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9096  as_fn_error $? "conditional \"AMDEP\" was never defined.
9097Usually this means the macro was only invoked conditionally." "$LINENO" 5
9098fi
9099if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9100  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9101Usually this means the macro was only invoked conditionally." "$LINENO" 5
9102fi
9103if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9104  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9105Usually this means the macro was only invoked conditionally." "$LINENO" 5
9106fi
9107
9108: "${CONFIG_STATUS=./config.status}"
9109ac_write_fail=0
9110ac_clean_files_save=$ac_clean_files
9111ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9112{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9113$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9114as_write_fail=0
9115cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9116#! $SHELL
9117# Generated by $as_me.
9118# Run this file to recreate the current configuration.
9119# Compiler output produced by configure, useful for debugging
9120# configure, is in config.log if it exists.
9121
9122debug=false
9123ac_cs_recheck=false
9124ac_cs_silent=false
9125
9126SHELL=\${CONFIG_SHELL-$SHELL}
9127export SHELL
9128_ASEOF
9129cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9130## -------------------- ##
9131## M4sh Initialization. ##
9132## -------------------- ##
9133
9134# Be more Bourne compatible
9135DUALCASE=1; export DUALCASE # for MKS sh
9136if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9137  emulate sh
9138  NULLCMD=:
9139  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9140  # is contrary to our usage.  Disable this feature.
9141  alias -g '${1+"$@"}'='"$@"'
9142  setopt NO_GLOB_SUBST
9143else
9144  case `(set -o) 2>/dev/null` in #(
9145  *posix*) :
9146    set -o posix ;; #(
9147  *) :
9148     ;;
9149esac
9150fi
9151
9152
9153as_nl='
9154'
9155export as_nl
9156# Printing a long string crashes Solaris 7 /usr/bin/printf.
9157as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9158as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9159as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9160# Prefer a ksh shell builtin over an external printf program on Solaris,
9161# but without wasting forks for bash or zsh.
9162if test -z "$BASH_VERSION$ZSH_VERSION" \
9163    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9164  as_echo='print -r --'
9165  as_echo_n='print -rn --'
9166elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9167  as_echo='printf %s\n'
9168  as_echo_n='printf %s'
9169else
9170  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9171    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9172    as_echo_n='/usr/ucb/echo -n'
9173  else
9174    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9175    as_echo_n_body='eval
9176      arg=$1;
9177      case $arg in #(
9178      *"$as_nl"*)
9179	expr "X$arg" : "X\\(.*\\)$as_nl";
9180	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9181      esac;
9182      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9183    '
9184    export as_echo_n_body
9185    as_echo_n='sh -c $as_echo_n_body as_echo'
9186  fi
9187  export as_echo_body
9188  as_echo='sh -c $as_echo_body as_echo'
9189fi
9190
9191# The user is always right.
9192if test "${PATH_SEPARATOR+set}" != set; then
9193  PATH_SEPARATOR=:
9194  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9195    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9196      PATH_SEPARATOR=';'
9197  }
9198fi
9199
9200
9201# IFS
9202# We need space, tab and new line, in precisely that order.  Quoting is
9203# there to prevent editors from complaining about space-tab.
9204# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9205# splitting by setting IFS to empty value.)
9206IFS=" ""	$as_nl"
9207
9208# Find who we are.  Look in the path if we contain no directory separator.
9209as_myself=
9210case $0 in #((
9211  *[\\/]* ) as_myself=$0 ;;
9212  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9213for as_dir in $PATH
9214do
9215  IFS=$as_save_IFS
9216  test -z "$as_dir" && as_dir=.
9217    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9218  done
9219IFS=$as_save_IFS
9220
9221     ;;
9222esac
9223# We did not find ourselves, most probably we were run as `sh COMMAND'
9224# in which case we are not to be found in the path.
9225if test "x$as_myself" = x; then
9226  as_myself=$0
9227fi
9228if test ! -f "$as_myself"; then
9229  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9230  exit 1
9231fi
9232
9233# Unset variables that we do not need and which cause bugs (e.g. in
9234# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
9235# suppresses any "Segmentation fault" message there.  '((' could
9236# trigger a bug in pdksh 5.2.14.
9237for as_var in BASH_ENV ENV MAIL MAILPATH
9238do eval test x\${$as_var+set} = xset \
9239  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9240done
9241PS1='$ '
9242PS2='> '
9243PS4='+ '
9244
9245# NLS nuisances.
9246LC_ALL=C
9247export LC_ALL
9248LANGUAGE=C
9249export LANGUAGE
9250
9251# CDPATH.
9252(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9253
9254
9255# as_fn_error STATUS ERROR [LINENO LOG_FD]
9256# ----------------------------------------
9257# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9258# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9259# script with STATUS, using 1 if that was 0.
9260as_fn_error ()
9261{
9262  as_status=$1; test $as_status -eq 0 && as_status=1
9263  if test "$4"; then
9264    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9265    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9266  fi
9267  $as_echo "$as_me: error: $2" >&2
9268  as_fn_exit $as_status
9269} # as_fn_error
9270
9271
9272# as_fn_set_status STATUS
9273# -----------------------
9274# Set $? to STATUS, without forking.
9275as_fn_set_status ()
9276{
9277  return $1
9278} # as_fn_set_status
9279
9280# as_fn_exit STATUS
9281# -----------------
9282# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9283as_fn_exit ()
9284{
9285  set +e
9286  as_fn_set_status $1
9287  exit $1
9288} # as_fn_exit
9289
9290# as_fn_unset VAR
9291# ---------------
9292# Portably unset VAR.
9293as_fn_unset ()
9294{
9295  { eval $1=; unset $1;}
9296}
9297as_unset=as_fn_unset
9298# as_fn_append VAR VALUE
9299# ----------------------
9300# Append the text in VALUE to the end of the definition contained in VAR. Take
9301# advantage of any shell optimizations that allow amortized linear growth over
9302# repeated appends, instead of the typical quadratic growth present in naive
9303# implementations.
9304if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9305  eval 'as_fn_append ()
9306  {
9307    eval $1+=\$2
9308  }'
9309else
9310  as_fn_append ()
9311  {
9312    eval $1=\$$1\$2
9313  }
9314fi # as_fn_append
9315
9316# as_fn_arith ARG...
9317# ------------------
9318# Perform arithmetic evaluation on the ARGs, and store the result in the
9319# global $as_val. Take advantage of shells that can avoid forks. The arguments
9320# must be portable across $(()) and expr.
9321if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9322  eval 'as_fn_arith ()
9323  {
9324    as_val=$(( $* ))
9325  }'
9326else
9327  as_fn_arith ()
9328  {
9329    as_val=`expr "$@" || test $? -eq 1`
9330  }
9331fi # as_fn_arith
9332
9333
9334if expr a : '\(a\)' >/dev/null 2>&1 &&
9335   test "X`expr 00001 : '.*\(...\)'`" = X001; then
9336  as_expr=expr
9337else
9338  as_expr=false
9339fi
9340
9341if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9342  as_basename=basename
9343else
9344  as_basename=false
9345fi
9346
9347if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9348  as_dirname=dirname
9349else
9350  as_dirname=false
9351fi
9352
9353as_me=`$as_basename -- "$0" ||
9354$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9355	 X"$0" : 'X\(//\)$' \| \
9356	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9357$as_echo X/"$0" |
9358    sed '/^.*\/\([^/][^/]*\)\/*$/{
9359	    s//\1/
9360	    q
9361	  }
9362	  /^X\/\(\/\/\)$/{
9363	    s//\1/
9364	    q
9365	  }
9366	  /^X\/\(\/\).*/{
9367	    s//\1/
9368	    q
9369	  }
9370	  s/.*/./; q'`
9371
9372# Avoid depending upon Character Ranges.
9373as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9374as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9375as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9376as_cr_digits='0123456789'
9377as_cr_alnum=$as_cr_Letters$as_cr_digits
9378
9379ECHO_C= ECHO_N= ECHO_T=
9380case `echo -n x` in #(((((
9381-n*)
9382  case `echo 'xy\c'` in
9383  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
9384  xy)  ECHO_C='\c';;
9385  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
9386       ECHO_T='	';;
9387  esac;;
9388*)
9389  ECHO_N='-n';;
9390esac
9391
9392rm -f conf$$ conf$$.exe conf$$.file
9393if test -d conf$$.dir; then
9394  rm -f conf$$.dir/conf$$.file
9395else
9396  rm -f conf$$.dir
9397  mkdir conf$$.dir 2>/dev/null
9398fi
9399if (echo >conf$$.file) 2>/dev/null; then
9400  if ln -s conf$$.file conf$$ 2>/dev/null; then
9401    as_ln_s='ln -s'
9402    # ... but there are two gotchas:
9403    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9404    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9405    # In both cases, we have to default to `cp -pR'.
9406    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9407      as_ln_s='cp -pR'
9408  elif ln conf$$.file conf$$ 2>/dev/null; then
9409    as_ln_s=ln
9410  else
9411    as_ln_s='cp -pR'
9412  fi
9413else
9414  as_ln_s='cp -pR'
9415fi
9416rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9417rmdir conf$$.dir 2>/dev/null
9418
9419
9420# as_fn_mkdir_p
9421# -------------
9422# Create "$as_dir" as a directory, including parents if necessary.
9423as_fn_mkdir_p ()
9424{
9425
9426  case $as_dir in #(
9427  -*) as_dir=./$as_dir;;
9428  esac
9429  test -d "$as_dir" || eval $as_mkdir_p || {
9430    as_dirs=
9431    while :; do
9432      case $as_dir in #(
9433      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9434      *) as_qdir=$as_dir;;
9435      esac
9436      as_dirs="'$as_qdir' $as_dirs"
9437      as_dir=`$as_dirname -- "$as_dir" ||
9438$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9439	 X"$as_dir" : 'X\(//\)[^/]' \| \
9440	 X"$as_dir" : 'X\(//\)$' \| \
9441	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9442$as_echo X"$as_dir" |
9443    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9444	    s//\1/
9445	    q
9446	  }
9447	  /^X\(\/\/\)[^/].*/{
9448	    s//\1/
9449	    q
9450	  }
9451	  /^X\(\/\/\)$/{
9452	    s//\1/
9453	    q
9454	  }
9455	  /^X\(\/\).*/{
9456	    s//\1/
9457	    q
9458	  }
9459	  s/.*/./; q'`
9460      test -d "$as_dir" && break
9461    done
9462    test -z "$as_dirs" || eval "mkdir $as_dirs"
9463  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9464
9465
9466} # as_fn_mkdir_p
9467if mkdir -p . 2>/dev/null; then
9468  as_mkdir_p='mkdir -p "$as_dir"'
9469else
9470  test -d ./-p && rmdir ./-p
9471  as_mkdir_p=false
9472fi
9473
9474
9475# as_fn_executable_p FILE
9476# -----------------------
9477# Test if FILE is an executable regular file.
9478as_fn_executable_p ()
9479{
9480  test -f "$1" && test -x "$1"
9481} # as_fn_executable_p
9482as_test_x='test -x'
9483as_executable_p=as_fn_executable_p
9484
9485# Sed expression to map a string onto a valid CPP name.
9486as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9487
9488# Sed expression to map a string onto a valid variable name.
9489as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9490
9491
9492exec 6>&1
9493## ----------------------------------- ##
9494## Main body of $CONFIG_STATUS script. ##
9495## ----------------------------------- ##
9496_ASEOF
9497test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9498
9499cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9500# Save the log message, to keep $0 and so on meaningful, and to
9501# report actual input values of CONFIG_FILES etc. instead of their
9502# values after options handling.
9503ac_log="
9504This file was extended by GNU Typist $as_me 2.9.5, which was
9505generated by GNU Autoconf 2.69.  Invocation command line was
9506
9507  CONFIG_FILES    = $CONFIG_FILES
9508  CONFIG_HEADERS  = $CONFIG_HEADERS
9509  CONFIG_LINKS    = $CONFIG_LINKS
9510  CONFIG_COMMANDS = $CONFIG_COMMANDS
9511  $ $0 $@
9512
9513on `(hostname || uname -n) 2>/dev/null | sed 1q`
9514"
9515
9516_ACEOF
9517
9518case $ac_config_files in *"
9519"*) set x $ac_config_files; shift; ac_config_files=$*;;
9520esac
9521
9522case $ac_config_headers in *"
9523"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9524esac
9525
9526
9527cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9528# Files that config.status was made for.
9529config_files="$ac_config_files"
9530config_headers="$ac_config_headers"
9531config_commands="$ac_config_commands"
9532
9533_ACEOF
9534
9535cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9536ac_cs_usage="\
9537\`$as_me' instantiates files and other configuration actions
9538from templates according to the current configuration.  Unless the files
9539and actions are specified as TAGs, all are instantiated by default.
9540
9541Usage: $0 [OPTION]... [TAG]...
9542
9543  -h, --help       print this help, then exit
9544  -V, --version    print version number and configuration settings, then exit
9545      --config     print configuration, then exit
9546  -q, --quiet, --silent
9547                   do not print progress messages
9548  -d, --debug      don't remove temporary files
9549      --recheck    update $as_me by reconfiguring in the same conditions
9550      --file=FILE[:TEMPLATE]
9551                   instantiate the configuration file FILE
9552      --header=FILE[:TEMPLATE]
9553                   instantiate the configuration header FILE
9554
9555Configuration files:
9556$config_files
9557
9558Configuration headers:
9559$config_headers
9560
9561Configuration commands:
9562$config_commands
9563
9564Report bugs to <bug-gtypist@gnu.org>.
9565GNU Typist home page: <http://www.gnu.org/software/gtypist/>.
9566General help using GNU software: <http://www.gnu.org/gethelp/>."
9567
9568_ACEOF
9569cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9570ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9571ac_cs_version="\\
9572GNU Typist config.status 2.9.5
9573configured by $0, generated by GNU Autoconf 2.69,
9574  with options \\"\$ac_cs_config\\"
9575
9576Copyright (C) 2012 Free Software Foundation, Inc.
9577This config.status script is free software; the Free Software Foundation
9578gives unlimited permission to copy, distribute and modify it."
9579
9580ac_pwd='$ac_pwd'
9581srcdir='$srcdir'
9582INSTALL='$INSTALL'
9583MKDIR_P='$MKDIR_P'
9584AWK='$AWK'
9585test -n "\$AWK" || AWK=awk
9586_ACEOF
9587
9588cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9589# The default lists apply if the user does not specify any file.
9590ac_need_defaults=:
9591while test $# != 0
9592do
9593  case $1 in
9594  --*=?*)
9595    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9596    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9597    ac_shift=:
9598    ;;
9599  --*=)
9600    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9601    ac_optarg=
9602    ac_shift=:
9603    ;;
9604  *)
9605    ac_option=$1
9606    ac_optarg=$2
9607    ac_shift=shift
9608    ;;
9609  esac
9610
9611  case $ac_option in
9612  # Handling of the options.
9613  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9614    ac_cs_recheck=: ;;
9615  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9616    $as_echo "$ac_cs_version"; exit ;;
9617  --config | --confi | --conf | --con | --co | --c )
9618    $as_echo "$ac_cs_config"; exit ;;
9619  --debug | --debu | --deb | --de | --d | -d )
9620    debug=: ;;
9621  --file | --fil | --fi | --f )
9622    $ac_shift
9623    case $ac_optarg in
9624    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9625    '') as_fn_error $? "missing file argument" ;;
9626    esac
9627    as_fn_append CONFIG_FILES " '$ac_optarg'"
9628    ac_need_defaults=false;;
9629  --header | --heade | --head | --hea )
9630    $ac_shift
9631    case $ac_optarg in
9632    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9633    esac
9634    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9635    ac_need_defaults=false;;
9636  --he | --h)
9637    # Conflict between --help and --header
9638    as_fn_error $? "ambiguous option: \`$1'
9639Try \`$0 --help' for more information.";;
9640  --help | --hel | -h )
9641    $as_echo "$ac_cs_usage"; exit ;;
9642  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9643  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9644    ac_cs_silent=: ;;
9645
9646  # This is an error.
9647  -*) as_fn_error $? "unrecognized option: \`$1'
9648Try \`$0 --help' for more information." ;;
9649
9650  *) as_fn_append ac_config_targets " $1"
9651     ac_need_defaults=false ;;
9652
9653  esac
9654  shift
9655done
9656
9657ac_configure_extra_args=
9658
9659if $ac_cs_silent; then
9660  exec 6>/dev/null
9661  ac_configure_extra_args="$ac_configure_extra_args --silent"
9662fi
9663
9664_ACEOF
9665cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9666if \$ac_cs_recheck; then
9667  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9668  shift
9669  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9670  CONFIG_SHELL='$SHELL'
9671  export CONFIG_SHELL
9672  exec "\$@"
9673fi
9674
9675_ACEOF
9676cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9677exec 5>>config.log
9678{
9679  echo
9680  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9681## Running $as_me. ##
9682_ASBOX
9683  $as_echo "$ac_log"
9684} >&5
9685
9686_ACEOF
9687cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9688#
9689# INIT-COMMANDS
9690#
9691AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9692# Capture the value of obsolete ALL_LINGUAS because we need it to compute
9693    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9694    # from automake < 1.5.
9695    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9696    # Capture the value of LINGUAS because we need it to compute CATALOGS.
9697    LINGUAS="${LINGUAS-%UNSET%}"
9698
9699
9700_ACEOF
9701
9702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9703
9704# Handling of arguments.
9705for ac_config_target in $ac_config_targets
9706do
9707  case $ac_config_target in
9708    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9709    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9710    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9711    "lessons/Makefile") CONFIG_FILES="$CONFIG_FILES lessons/Makefile" ;;
9712    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
9713    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9714    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9715    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9716    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9717    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9718
9719  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9720  esac
9721done
9722
9723
9724# If the user did not use the arguments to specify the items to instantiate,
9725# then the envvar interface is used.  Set only those that are not.
9726# We use the long form for the default assignment because of an extremely
9727# bizarre bug on SunOS 4.1.3.
9728if $ac_need_defaults; then
9729  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9730  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9731  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9732fi
9733
9734# Have a temporary directory for convenience.  Make it in the build tree
9735# simply because there is no reason against having it here, and in addition,
9736# creating and moving files from /tmp can sometimes cause problems.
9737# Hook for its removal unless debugging.
9738# Note that there is a small window in which the directory will not be cleaned:
9739# after its creation but before its name has been assigned to `$tmp'.
9740$debug ||
9741{
9742  tmp= ac_tmp=
9743  trap 'exit_status=$?
9744  : "${ac_tmp:=$tmp}"
9745  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9746' 0
9747  trap 'as_fn_exit 1' 1 2 13 15
9748}
9749# Create a (secure) tmp directory for tmp files.
9750
9751{
9752  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9753  test -d "$tmp"
9754}  ||
9755{
9756  tmp=./conf$$-$RANDOM
9757  (umask 077 && mkdir "$tmp")
9758} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9759ac_tmp=$tmp
9760
9761# Set up the scripts for CONFIG_FILES section.
9762# No need to generate them if there are no CONFIG_FILES.
9763# This happens for instance with `./config.status config.h'.
9764if test -n "$CONFIG_FILES"; then
9765
9766
9767ac_cr=`echo X | tr X '\015'`
9768# On cygwin, bash can eat \r inside `` if the user requested igncr.
9769# But we know of no other shell where ac_cr would be empty at this
9770# point, so we can use a bashism as a fallback.
9771if test "x$ac_cr" = x; then
9772  eval ac_cr=\$\'\\r\'
9773fi
9774ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9775if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9776  ac_cs_awk_cr='\\r'
9777else
9778  ac_cs_awk_cr=$ac_cr
9779fi
9780
9781echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9782_ACEOF
9783
9784
9785{
9786  echo "cat >conf$$subs.awk <<_ACEOF" &&
9787  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9788  echo "_ACEOF"
9789} >conf$$subs.sh ||
9790  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9791ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9792ac_delim='%!_!# '
9793for ac_last_try in false false false false false :; do
9794  . ./conf$$subs.sh ||
9795    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9796
9797  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9798  if test $ac_delim_n = $ac_delim_num; then
9799    break
9800  elif $ac_last_try; then
9801    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9802  else
9803    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9804  fi
9805done
9806rm -f conf$$subs.sh
9807
9808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9809cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9810_ACEOF
9811sed -n '
9812h
9813s/^/S["/; s/!.*/"]=/
9814p
9815g
9816s/^[^!]*!//
9817:repl
9818t repl
9819s/'"$ac_delim"'$//
9820t delim
9821:nl
9822h
9823s/\(.\{148\}\)..*/\1/
9824t more1
9825s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9826p
9827n
9828b repl
9829:more1
9830s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9831p
9832g
9833s/.\{148\}//
9834t nl
9835:delim
9836h
9837s/\(.\{148\}\)..*/\1/
9838t more2
9839s/["\\]/\\&/g; s/^/"/; s/$/"/
9840p
9841b
9842:more2
9843s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9844p
9845g
9846s/.\{148\}//
9847t delim
9848' <conf$$subs.awk | sed '
9849/^[^""]/{
9850  N
9851  s/\n//
9852}
9853' >>$CONFIG_STATUS || ac_write_fail=1
9854rm -f conf$$subs.awk
9855cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9856_ACAWK
9857cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9858  for (key in S) S_is_set[key] = 1
9859  FS = ""
9860
9861}
9862{
9863  line = $ 0
9864  nfields = split(line, field, "@")
9865  substed = 0
9866  len = length(field[1])
9867  for (i = 2; i < nfields; i++) {
9868    key = field[i]
9869    keylen = length(key)
9870    if (S_is_set[key]) {
9871      value = S[key]
9872      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9873      len += length(value) + length(field[++i])
9874      substed = 1
9875    } else
9876      len += 1 + keylen
9877  }
9878
9879  print line
9880}
9881
9882_ACAWK
9883_ACEOF
9884cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9885if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9886  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9887else
9888  cat
9889fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9890  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9891_ACEOF
9892
9893# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9894# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9895# trailing colons and then remove the whole line if VPATH becomes empty
9896# (actually we leave an empty line to preserve line numbers).
9897if test "x$srcdir" = x.; then
9898  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
9899h
9900s///
9901s/^/:/
9902s/[	 ]*$/:/
9903s/:\$(srcdir):/:/g
9904s/:\${srcdir}:/:/g
9905s/:@srcdir@:/:/g
9906s/^:*//
9907s/:*$//
9908x
9909s/\(=[	 ]*\).*/\1/
9910G
9911s/\n//
9912s/^[^=]*=[	 ]*$//
9913}'
9914fi
9915
9916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9917fi # test -n "$CONFIG_FILES"
9918
9919# Set up the scripts for CONFIG_HEADERS section.
9920# No need to generate them if there are no CONFIG_HEADERS.
9921# This happens for instance with `./config.status Makefile'.
9922if test -n "$CONFIG_HEADERS"; then
9923cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9924BEGIN {
9925_ACEOF
9926
9927# Transform confdefs.h into an awk script `defines.awk', embedded as
9928# here-document in config.status, that substitutes the proper values into
9929# config.h.in to produce config.h.
9930
9931# Create a delimiter string that does not exist in confdefs.h, to ease
9932# handling of long lines.
9933ac_delim='%!_!# '
9934for ac_last_try in false false :; do
9935  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9936  if test -z "$ac_tt"; then
9937    break
9938  elif $ac_last_try; then
9939    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9940  else
9941    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9942  fi
9943done
9944
9945# For the awk script, D is an array of macro values keyed by name,
9946# likewise P contains macro parameters if any.  Preserve backslash
9947# newline sequences.
9948
9949ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9950sed -n '
9951s/.\{148\}/&'"$ac_delim"'/g
9952t rset
9953:rset
9954s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
9955t def
9956d
9957:def
9958s/\\$//
9959t bsnl
9960s/["\\]/\\&/g
9961s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
9962D["\1"]=" \3"/p
9963s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
9964d
9965:bsnl
9966s/["\\]/\\&/g
9967s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
9968D["\1"]=" \3\\\\\\n"\\/p
9969t cont
9970s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9971t cont
9972d
9973:cont
9974n
9975s/.\{148\}/&'"$ac_delim"'/g
9976t clear
9977:clear
9978s/\\$//
9979t bsnlc
9980s/["\\]/\\&/g; s/^/"/; s/$/"/p
9981d
9982:bsnlc
9983s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9984b cont
9985' <confdefs.h | sed '
9986s/'"$ac_delim"'/"\\\
9987"/g' >>$CONFIG_STATUS || ac_write_fail=1
9988
9989cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9990  for (key in D) D_is_set[key] = 1
9991  FS = ""
9992}
9993/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9994  line = \$ 0
9995  split(line, arg, " ")
9996  if (arg[1] == "#") {
9997    defundef = arg[2]
9998    mac1 = arg[3]
9999  } else {
10000    defundef = substr(arg[1], 2)
10001    mac1 = arg[2]
10002  }
10003  split(mac1, mac2, "(") #)
10004  macro = mac2[1]
10005  prefix = substr(line, 1, index(line, defundef) - 1)
10006  if (D_is_set[macro]) {
10007    # Preserve the white space surrounding the "#".
10008    print prefix "define", macro P[macro] D[macro]
10009    next
10010  } else {
10011    # Replace #undef with comments.  This is necessary, for example,
10012    # in the case of _POSIX_SOURCE, which is predefined and required
10013    # on some systems where configure will not decide to define it.
10014    if (defundef == "undef") {
10015      print "/*", prefix defundef, macro, "*/"
10016      next
10017    }
10018  }
10019}
10020{ print }
10021_ACAWK
10022_ACEOF
10023cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10024  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10025fi # test -n "$CONFIG_HEADERS"
10026
10027
10028eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10029shift
10030for ac_tag
10031do
10032  case $ac_tag in
10033  :[FHLC]) ac_mode=$ac_tag; continue;;
10034  esac
10035  case $ac_mode$ac_tag in
10036  :[FHL]*:*);;
10037  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10038  :[FH]-) ac_tag=-:-;;
10039  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10040  esac
10041  ac_save_IFS=$IFS
10042  IFS=:
10043  set x $ac_tag
10044  IFS=$ac_save_IFS
10045  shift
10046  ac_file=$1
10047  shift
10048
10049  case $ac_mode in
10050  :L) ac_source=$1;;
10051  :[FH])
10052    ac_file_inputs=
10053    for ac_f
10054    do
10055      case $ac_f in
10056      -) ac_f="$ac_tmp/stdin";;
10057      *) # Look for the file first in the build tree, then in the source tree
10058	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
10059	 # because $ac_f cannot contain `:'.
10060	 test -f "$ac_f" ||
10061	   case $ac_f in
10062	   [\\/$]*) false;;
10063	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10064	   esac ||
10065	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10066      esac
10067      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10068      as_fn_append ac_file_inputs " '$ac_f'"
10069    done
10070
10071    # Let's still pretend it is `configure' which instantiates (i.e., don't
10072    # use $as_me), people would be surprised to read:
10073    #    /* config.h.  Generated by config.status.  */
10074    configure_input='Generated from '`
10075	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10076	`' by configure.'
10077    if test x"$ac_file" != x-; then
10078      configure_input="$ac_file.  $configure_input"
10079      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10080$as_echo "$as_me: creating $ac_file" >&6;}
10081    fi
10082    # Neutralize special characters interpreted by sed in replacement strings.
10083    case $configure_input in #(
10084    *\&* | *\|* | *\\* )
10085       ac_sed_conf_input=`$as_echo "$configure_input" |
10086       sed 's/[\\\\&|]/\\\\&/g'`;; #(
10087    *) ac_sed_conf_input=$configure_input;;
10088    esac
10089
10090    case $ac_tag in
10091    *:-:* | *:-) cat >"$ac_tmp/stdin" \
10092      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10093    esac
10094    ;;
10095  esac
10096
10097  ac_dir=`$as_dirname -- "$ac_file" ||
10098$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10099	 X"$ac_file" : 'X\(//\)[^/]' \| \
10100	 X"$ac_file" : 'X\(//\)$' \| \
10101	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10102$as_echo X"$ac_file" |
10103    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10104	    s//\1/
10105	    q
10106	  }
10107	  /^X\(\/\/\)[^/].*/{
10108	    s//\1/
10109	    q
10110	  }
10111	  /^X\(\/\/\)$/{
10112	    s//\1/
10113	    q
10114	  }
10115	  /^X\(\/\).*/{
10116	    s//\1/
10117	    q
10118	  }
10119	  s/.*/./; q'`
10120  as_dir="$ac_dir"; as_fn_mkdir_p
10121  ac_builddir=.
10122
10123case "$ac_dir" in
10124.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10125*)
10126  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10127  # A ".." for each directory in $ac_dir_suffix.
10128  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10129  case $ac_top_builddir_sub in
10130  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10131  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10132  esac ;;
10133esac
10134ac_abs_top_builddir=$ac_pwd
10135ac_abs_builddir=$ac_pwd$ac_dir_suffix
10136# for backward compatibility:
10137ac_top_builddir=$ac_top_build_prefix
10138
10139case $srcdir in
10140  .)  # We are building in place.
10141    ac_srcdir=.
10142    ac_top_srcdir=$ac_top_builddir_sub
10143    ac_abs_top_srcdir=$ac_pwd ;;
10144  [\\/]* | ?:[\\/]* )  # Absolute name.
10145    ac_srcdir=$srcdir$ac_dir_suffix;
10146    ac_top_srcdir=$srcdir
10147    ac_abs_top_srcdir=$srcdir ;;
10148  *) # Relative name.
10149    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10150    ac_top_srcdir=$ac_top_build_prefix$srcdir
10151    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10152esac
10153ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10154
10155
10156  case $ac_mode in
10157  :F)
10158  #
10159  # CONFIG_FILE
10160  #
10161
10162  case $INSTALL in
10163  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10164  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10165  esac
10166  ac_MKDIR_P=$MKDIR_P
10167  case $MKDIR_P in
10168  [\\/$]* | ?:[\\/]* ) ;;
10169  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10170  esac
10171_ACEOF
10172
10173cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10174# If the template does not know about datarootdir, expand it.
10175# FIXME: This hack should be removed a few years after 2.60.
10176ac_datarootdir_hack=; ac_datarootdir_seen=
10177ac_sed_dataroot='
10178/datarootdir/ {
10179  p
10180  q
10181}
10182/@datadir@/p
10183/@docdir@/p
10184/@infodir@/p
10185/@localedir@/p
10186/@mandir@/p'
10187case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10188*datarootdir*) ac_datarootdir_seen=yes;;
10189*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10190  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10191$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10192_ACEOF
10193cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10194  ac_datarootdir_hack='
10195  s&@datadir@&$datadir&g
10196  s&@docdir@&$docdir&g
10197  s&@infodir@&$infodir&g
10198  s&@localedir@&$localedir&g
10199  s&@mandir@&$mandir&g
10200  s&\\\${datarootdir}&$datarootdir&g' ;;
10201esac
10202_ACEOF
10203
10204# Neutralize VPATH when `$srcdir' = `.'.
10205# Shell code in configure.ac might set extrasub.
10206# FIXME: do we really want to maintain this feature?
10207cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10208ac_sed_extra="$ac_vpsub
10209$extrasub
10210_ACEOF
10211cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10212:t
10213/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10214s|@configure_input@|$ac_sed_conf_input|;t t
10215s&@top_builddir@&$ac_top_builddir_sub&;t t
10216s&@top_build_prefix@&$ac_top_build_prefix&;t t
10217s&@srcdir@&$ac_srcdir&;t t
10218s&@abs_srcdir@&$ac_abs_srcdir&;t t
10219s&@top_srcdir@&$ac_top_srcdir&;t t
10220s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10221s&@builddir@&$ac_builddir&;t t
10222s&@abs_builddir@&$ac_abs_builddir&;t t
10223s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10224s&@INSTALL@&$ac_INSTALL&;t t
10225s&@MKDIR_P@&$ac_MKDIR_P&;t t
10226$ac_datarootdir_hack
10227"
10228eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10229  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10230
10231test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10232  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10233  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
10234      "$ac_tmp/out"`; test -z "$ac_out"; } &&
10235  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10236which seems to be undefined.  Please make sure it is defined" >&5
10237$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10238which seems to be undefined.  Please make sure it is defined" >&2;}
10239
10240  rm -f "$ac_tmp/stdin"
10241  case $ac_file in
10242  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10243  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10244  esac \
10245  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10246 ;;
10247  :H)
10248  #
10249  # CONFIG_HEADER
10250  #
10251  if test x"$ac_file" != x-; then
10252    {
10253      $as_echo "/* $configure_input  */" \
10254      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10255    } >"$ac_tmp/config.h" \
10256      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10257    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10258      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10259$as_echo "$as_me: $ac_file is unchanged" >&6;}
10260    else
10261      rm -f "$ac_file"
10262      mv "$ac_tmp/config.h" "$ac_file" \
10263	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
10264    fi
10265  else
10266    $as_echo "/* $configure_input  */" \
10267      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10268      || as_fn_error $? "could not create -" "$LINENO" 5
10269  fi
10270# Compute "$ac_file"'s index in $config_headers.
10271_am_arg="$ac_file"
10272_am_stamp_count=1
10273for _am_header in $config_headers :; do
10274  case $_am_header in
10275    $_am_arg | $_am_arg:* )
10276      break ;;
10277    * )
10278      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10279  esac
10280done
10281echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10282$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10283	 X"$_am_arg" : 'X\(//\)[^/]' \| \
10284	 X"$_am_arg" : 'X\(//\)$' \| \
10285	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10286$as_echo X"$_am_arg" |
10287    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10288	    s//\1/
10289	    q
10290	  }
10291	  /^X\(\/\/\)[^/].*/{
10292	    s//\1/
10293	    q
10294	  }
10295	  /^X\(\/\/\)$/{
10296	    s//\1/
10297	    q
10298	  }
10299	  /^X\(\/\).*/{
10300	    s//\1/
10301	    q
10302	  }
10303	  s/.*/./; q'`/stamp-h$_am_stamp_count
10304 ;;
10305
10306  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10307$as_echo "$as_me: executing $ac_file commands" >&6;}
10308 ;;
10309  esac
10310
10311
10312  case $ac_file$ac_mode in
10313    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10314  # Older Autoconf quotes --file arguments for eval, but not when files
10315  # are listed without --file.  Let's play safe and only enable the eval
10316  # if we detect the quoting.
10317  case $CONFIG_FILES in
10318  *\'*) eval set x "$CONFIG_FILES" ;;
10319  *)   set x $CONFIG_FILES ;;
10320  esac
10321  shift
10322  for mf
10323  do
10324    # Strip MF so we end up with the name of the file.
10325    mf=`echo "$mf" | sed -e 's/:.*$//'`
10326    # Check whether this is an Automake generated Makefile or not.
10327    # We used to match only the files named 'Makefile.in', but
10328    # some people rename them; so instead we look at the file content.
10329    # Grep'ing the first line is not enough: some people post-process
10330    # each Makefile.in and add a new line on top of each file to say so.
10331    # Grep'ing the whole file is not good either: AIX grep has a line
10332    # limit of 2048, but all sed's we know have understand at least 4000.
10333    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10334      dirpart=`$as_dirname -- "$mf" ||
10335$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10336	 X"$mf" : 'X\(//\)[^/]' \| \
10337	 X"$mf" : 'X\(//\)$' \| \
10338	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10339$as_echo X"$mf" |
10340    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10341	    s//\1/
10342	    q
10343	  }
10344	  /^X\(\/\/\)[^/].*/{
10345	    s//\1/
10346	    q
10347	  }
10348	  /^X\(\/\/\)$/{
10349	    s//\1/
10350	    q
10351	  }
10352	  /^X\(\/\).*/{
10353	    s//\1/
10354	    q
10355	  }
10356	  s/.*/./; q'`
10357    else
10358      continue
10359    fi
10360    # Extract the definition of DEPDIR, am__include, and am__quote
10361    # from the Makefile without running 'make'.
10362    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10363    test -z "$DEPDIR" && continue
10364    am__include=`sed -n 's/^am__include = //p' < "$mf"`
10365    test -z "$am__include" && continue
10366    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10367    # Find all dependency output files, they are included files with
10368    # $(DEPDIR) in their names.  We invoke sed twice because it is the
10369    # simplest approach to changing $(DEPDIR) to its actual value in the
10370    # expansion.
10371    for file in `sed -n "
10372      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10373	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10374      # Make sure the directory exists.
10375      test -f "$dirpart/$file" && continue
10376      fdir=`$as_dirname -- "$file" ||
10377$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10378	 X"$file" : 'X\(//\)[^/]' \| \
10379	 X"$file" : 'X\(//\)$' \| \
10380	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10381$as_echo X"$file" |
10382    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10383	    s//\1/
10384	    q
10385	  }
10386	  /^X\(\/\/\)[^/].*/{
10387	    s//\1/
10388	    q
10389	  }
10390	  /^X\(\/\/\)$/{
10391	    s//\1/
10392	    q
10393	  }
10394	  /^X\(\/\).*/{
10395	    s//\1/
10396	    q
10397	  }
10398	  s/.*/./; q'`
10399      as_dir=$dirpart/$fdir; as_fn_mkdir_p
10400      # echo "creating $dirpart/$file"
10401      echo '# dummy' > "$dirpart/$file"
10402    done
10403  done
10404}
10405 ;;
10406    "po-directories":C)
10407    for ac_file in $CONFIG_FILES; do
10408      # Support "outfile[:infile[:infile...]]"
10409      case "$ac_file" in
10410        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10411      esac
10412      # PO directories have a Makefile.in generated from Makefile.in.in.
10413      case "$ac_file" in */Makefile.in)
10414        # Adjust a relative srcdir.
10415        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10416        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
10417        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10418        # In autoconf-2.13 it is called $ac_given_srcdir.
10419        # In autoconf-2.50 it is called $srcdir.
10420        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10421        case "$ac_given_srcdir" in
10422          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10423          /*) top_srcdir="$ac_given_srcdir" ;;
10424          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
10425        esac
10426        # Treat a directory as a PO directory if and only if it has a
10427        # POTFILES.in file. This allows packages to have multiple PO
10428        # directories under different names or in different locations.
10429        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10430          rm -f "$ac_dir/POTFILES"
10431          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10432          gt_tab=`printf '\t'`
10433          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10434          POMAKEFILEDEPS="POTFILES.in"
10435          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10436          # on $ac_dir but don't depend on user-specified configuration
10437          # parameters.
10438          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10439            # The LINGUAS file contains the set of available languages.
10440            if test -n "$OBSOLETE_ALL_LINGUAS"; then
10441              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10442            fi
10443            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10444            # Hide the ALL_LINGUAS assignment from automake < 1.5.
10445            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10446            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10447          else
10448            # The set of available languages was given in configure.in.
10449            # Hide the ALL_LINGUAS assignment from automake < 1.5.
10450            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10451          fi
10452          # Compute POFILES
10453          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10454          # Compute UPDATEPOFILES
10455          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10456          # Compute DUMMYPOFILES
10457          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10458          # Compute GMOFILES
10459          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10460          case "$ac_given_srcdir" in
10461            .) srcdirpre= ;;
10462            *) srcdirpre='$(srcdir)/' ;;
10463          esac
10464          POFILES=
10465          UPDATEPOFILES=
10466          DUMMYPOFILES=
10467          GMOFILES=
10468          for lang in $ALL_LINGUAS; do
10469            POFILES="$POFILES $srcdirpre$lang.po"
10470            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10471            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10472            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10473          done
10474          # CATALOGS depends on both $ac_dir and the user's LINGUAS
10475          # environment variable.
10476          INST_LINGUAS=
10477          if test -n "$ALL_LINGUAS"; then
10478            for presentlang in $ALL_LINGUAS; do
10479              useit=no
10480              if test "%UNSET%" != "$LINGUAS"; then
10481                desiredlanguages="$LINGUAS"
10482              else
10483                desiredlanguages="$ALL_LINGUAS"
10484              fi
10485              for desiredlang in $desiredlanguages; do
10486                # Use the presentlang catalog if desiredlang is
10487                #   a. equal to presentlang, or
10488                #   b. a variant of presentlang (because in this case,
10489                #      presentlang can be used as a fallback for messages
10490                #      which are not translated in the desiredlang catalog).
10491                case "$desiredlang" in
10492                  "$presentlang"*) useit=yes;;
10493                esac
10494              done
10495              if test $useit = yes; then
10496                INST_LINGUAS="$INST_LINGUAS $presentlang"
10497              fi
10498            done
10499          fi
10500          CATALOGS=
10501          if test -n "$INST_LINGUAS"; then
10502            for lang in $INST_LINGUAS; do
10503              CATALOGS="$CATALOGS $lang.gmo"
10504            done
10505          fi
10506          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10507          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10508          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10509            if test -f "$f"; then
10510              case "$f" in
10511                *.orig | *.bak | *~) ;;
10512                *) cat "$f" >> "$ac_dir/Makefile" ;;
10513              esac
10514            fi
10515          done
10516        fi
10517        ;;
10518      esac
10519    done ;;
10520
10521  esac
10522done # for ac_tag
10523
10524
10525as_fn_exit 0
10526_ACEOF
10527ac_clean_files=$ac_clean_files_save
10528
10529test $ac_write_fail = 0 ||
10530  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10531
10532
10533# configure is writing to config.log, and then calls config.status.
10534# config.status does its own redirection, appending to config.log.
10535# Unfortunately, on DOS this fails, as config.log is still kept open
10536# by configure, so config.status won't be able to write to it; its
10537# output is simply discarded.  So we exec the FD to /dev/null,
10538# effectively closing config.log, so it can be properly (re)opened and
10539# appended to by config.status.  When coming back to configure, we
10540# need to make the FD available again.
10541if test "$no_create" != yes; then
10542  ac_cs_success=:
10543  ac_config_status_args=
10544  test "$silent" = yes &&
10545    ac_config_status_args="$ac_config_status_args --quiet"
10546  exec 5>/dev/null
10547  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10548  exec 5>>config.log
10549  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10550  # would make configure fail if this is the last instruction.
10551  $ac_cs_success || as_fn_exit 1
10552fi
10553if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10554  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10555$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10556fi
10557
10558