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