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