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