configure revision d4401354
1d4401354Smrg#! /bin/sh
2d4401354Smrg# Guess values for system-dependent variables and create Makefiles.
3d4401354Smrg# Generated by GNU Autoconf 2.65 for XCB Proto 1.6.
4d4401354Smrg#
5d4401354Smrg# Report bugs to <xcb@lists.freedesktop.org>.
6d4401354Smrg#
7d4401354Smrg#
8d4401354Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9d4401354Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10d4401354Smrg# Inc.
11d4401354Smrg#
12d4401354Smrg#
13d4401354Smrg# This configure script is free software; the Free Software Foundation
14d4401354Smrg# gives unlimited permission to copy, distribute and modify it.
15d4401354Smrg## -------------------- ##
16d4401354Smrg## M4sh Initialization. ##
17d4401354Smrg## -------------------- ##
18d4401354Smrg
19d4401354Smrg# Be more Bourne compatible
20d4401354SmrgDUALCASE=1; export DUALCASE # for MKS sh
21d4401354Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22d4401354Smrg  emulate sh
23d4401354Smrg  NULLCMD=:
24d4401354Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25d4401354Smrg  # is contrary to our usage.  Disable this feature.
26d4401354Smrg  alias -g '${1+"$@"}'='"$@"'
27d4401354Smrg  setopt NO_GLOB_SUBST
28d4401354Smrgelse
29d4401354Smrg  case `(set -o) 2>/dev/null` in #(
30d4401354Smrg  *posix*) :
31d4401354Smrg    set -o posix ;; #(
32d4401354Smrg  *) :
33d4401354Smrg     ;;
34d4401354Smrgesac
35d4401354Smrgfi
36d4401354Smrg
37d4401354Smrg
38d4401354Smrgas_nl='
39d4401354Smrg'
40d4401354Smrgexport as_nl
41d4401354Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
42d4401354Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43d4401354Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44d4401354Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45d4401354Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
46d4401354Smrg# but without wasting forks for bash or zsh.
47d4401354Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
48d4401354Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49d4401354Smrg  as_echo='print -r --'
50d4401354Smrg  as_echo_n='print -rn --'
51d4401354Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52d4401354Smrg  as_echo='printf %s\n'
53d4401354Smrg  as_echo_n='printf %s'
54d4401354Smrgelse
55d4401354Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56d4401354Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57d4401354Smrg    as_echo_n='/usr/ucb/echo -n'
58d4401354Smrg  else
59d4401354Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60d4401354Smrg    as_echo_n_body='eval
61d4401354Smrg      arg=$1;
62d4401354Smrg      case $arg in #(
63d4401354Smrg      *"$as_nl"*)
64d4401354Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
65d4401354Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66d4401354Smrg      esac;
67d4401354Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68d4401354Smrg    '
69d4401354Smrg    export as_echo_n_body
70d4401354Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
71d4401354Smrg  fi
72d4401354Smrg  export as_echo_body
73d4401354Smrg  as_echo='sh -c $as_echo_body as_echo'
74d4401354Smrgfi
75d4401354Smrg
76d4401354Smrg# The user is always right.
77d4401354Smrgif test "${PATH_SEPARATOR+set}" != set; then
78d4401354Smrg  PATH_SEPARATOR=:
79d4401354Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80d4401354Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81d4401354Smrg      PATH_SEPARATOR=';'
82d4401354Smrg  }
83d4401354Smrgfi
84d4401354Smrg
85d4401354Smrg
86d4401354Smrg# IFS
87d4401354Smrg# We need space, tab and new line, in precisely that order.  Quoting is
88d4401354Smrg# there to prevent editors from complaining about space-tab.
89d4401354Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90d4401354Smrg# splitting by setting IFS to empty value.)
91d4401354SmrgIFS=" ""	$as_nl"
92d4401354Smrg
93d4401354Smrg# Find who we are.  Look in the path if we contain no directory separator.
94d4401354Smrgcase $0 in #((
95d4401354Smrg  *[\\/]* ) as_myself=$0 ;;
96d4401354Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97d4401354Smrgfor as_dir in $PATH
98d4401354Smrgdo
99d4401354Smrg  IFS=$as_save_IFS
100d4401354Smrg  test -z "$as_dir" && as_dir=.
101d4401354Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102d4401354Smrg  done
103d4401354SmrgIFS=$as_save_IFS
104d4401354Smrg
105d4401354Smrg     ;;
106d4401354Smrgesac
107d4401354Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
108d4401354Smrg# in which case we are not to be found in the path.
109d4401354Smrgif test "x$as_myself" = x; then
110d4401354Smrg  as_myself=$0
111d4401354Smrgfi
112d4401354Smrgif test ! -f "$as_myself"; then
113d4401354Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114d4401354Smrg  exit 1
115d4401354Smrgfi
116d4401354Smrg
117d4401354Smrg# Unset variables that we do not need and which cause bugs (e.g. in
118d4401354Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119d4401354Smrg# suppresses any "Segmentation fault" message there.  '((' could
120d4401354Smrg# trigger a bug in pdksh 5.2.14.
121d4401354Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
122d4401354Smrgdo eval test x\${$as_var+set} = xset \
123d4401354Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124d4401354Smrgdone
125d4401354SmrgPS1='$ '
126d4401354SmrgPS2='> '
127d4401354SmrgPS4='+ '
128d4401354Smrg
129d4401354Smrg# NLS nuisances.
130d4401354SmrgLC_ALL=C
131d4401354Smrgexport LC_ALL
132d4401354SmrgLANGUAGE=C
133d4401354Smrgexport LANGUAGE
134d4401354Smrg
135d4401354Smrg# CDPATH.
136d4401354Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137d4401354Smrg
138d4401354Smrgif test "x$CONFIG_SHELL" = x; then
139d4401354Smrg  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140d4401354Smrg  emulate sh
141d4401354Smrg  NULLCMD=:
142d4401354Smrg  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143d4401354Smrg  # is contrary to our usage.  Disable this feature.
144d4401354Smrg  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145d4401354Smrg  setopt NO_GLOB_SUBST
146d4401354Smrgelse
147d4401354Smrg  case \`(set -o) 2>/dev/null\` in #(
148d4401354Smrg  *posix*) :
149d4401354Smrg    set -o posix ;; #(
150d4401354Smrg  *) :
151d4401354Smrg     ;;
152d4401354Smrgesac
153d4401354Smrgfi
154d4401354Smrg"
155d4401354Smrg  as_required="as_fn_return () { (exit \$1); }
156d4401354Smrgas_fn_success () { as_fn_return 0; }
157d4401354Smrgas_fn_failure () { as_fn_return 1; }
158d4401354Smrgas_fn_ret_success () { return 0; }
159d4401354Smrgas_fn_ret_failure () { return 1; }
160d4401354Smrg
161d4401354Smrgexitcode=0
162d4401354Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; }
163d4401354Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164d4401354Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165d4401354Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166d4401354Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167d4401354Smrg
168d4401354Smrgelse
169d4401354Smrg  exitcode=1; echo positional parameters were not saved.
170d4401354Smrgfi
171d4401354Smrgtest x\$exitcode = x0 || exit 1"
172d4401354Smrg  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173d4401354Smrg  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174d4401354Smrg  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175d4401354Smrg  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176d4401354Smrg  if (eval "$as_required") 2>/dev/null; then :
177d4401354Smrg  as_have_required=yes
178d4401354Smrgelse
179d4401354Smrg  as_have_required=no
180d4401354Smrgfi
181d4401354Smrg  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182d4401354Smrg
183d4401354Smrgelse
184d4401354Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185d4401354Smrgas_found=false
186d4401354Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187d4401354Smrgdo
188d4401354Smrg  IFS=$as_save_IFS
189d4401354Smrg  test -z "$as_dir" && as_dir=.
190d4401354Smrg  as_found=:
191d4401354Smrg  case $as_dir in #(
192d4401354Smrg	 /*)
193d4401354Smrg	   for as_base in sh bash ksh sh5; do
194d4401354Smrg	     # Try only shells that exist, to save several forks.
195d4401354Smrg	     as_shell=$as_dir/$as_base
196d4401354Smrg	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197d4401354Smrg		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198d4401354Smrg  CONFIG_SHELL=$as_shell as_have_required=yes
199d4401354Smrg		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200d4401354Smrg  break 2
201d4401354Smrgfi
202d4401354Smrgfi
203d4401354Smrg	   done;;
204d4401354Smrg       esac
205d4401354Smrg  as_found=false
206d4401354Smrgdone
207d4401354Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208d4401354Smrg	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209d4401354Smrg  CONFIG_SHELL=$SHELL as_have_required=yes
210d4401354Smrgfi; }
211d4401354SmrgIFS=$as_save_IFS
212d4401354Smrg
213d4401354Smrg
214d4401354Smrg      if test "x$CONFIG_SHELL" != x; then :
215d4401354Smrg  # We cannot yet assume a decent shell, so we have to provide a
216d4401354Smrg	# neutralization value for shells without unset; and this also
217d4401354Smrg	# works around shells that cannot unset nonexistent variables.
218d4401354Smrg	BASH_ENV=/dev/null
219d4401354Smrg	ENV=/dev/null
220d4401354Smrg	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221d4401354Smrg	export CONFIG_SHELL
222d4401354Smrg	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223d4401354Smrgfi
224d4401354Smrg
225d4401354Smrg    if test x$as_have_required = xno; then :
226d4401354Smrg  $as_echo "$0: This script requires a shell more modern than all"
227d4401354Smrg  $as_echo "$0: the shells that I found on your system."
228d4401354Smrg  if test x${ZSH_VERSION+set} = xset ; then
229d4401354Smrg    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230d4401354Smrg    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231d4401354Smrg  else
232d4401354Smrg    $as_echo "$0: Please tell bug-autoconf@gnu.org and
233d4401354Smrg$0: xcb@lists.freedesktop.org about your system, including
234d4401354Smrg$0: any error possibly output before this message. Then
235d4401354Smrg$0: install a modern shell, or manually run the script
236d4401354Smrg$0: under such a shell if you do have one."
237d4401354Smrg  fi
238d4401354Smrg  exit 1
239d4401354Smrgfi
240d4401354Smrgfi
241d4401354Smrgfi
242d4401354SmrgSHELL=${CONFIG_SHELL-/bin/sh}
243d4401354Smrgexport SHELL
244d4401354Smrg# Unset more variables known to interfere with behavior of common tools.
245d4401354SmrgCLICOLOR_FORCE= GREP_OPTIONS=
246d4401354Smrgunset CLICOLOR_FORCE GREP_OPTIONS
247d4401354Smrg
248d4401354Smrg## --------------------- ##
249d4401354Smrg## M4sh Shell Functions. ##
250d4401354Smrg## --------------------- ##
251d4401354Smrg# as_fn_unset VAR
252d4401354Smrg# ---------------
253d4401354Smrg# Portably unset VAR.
254d4401354Smrgas_fn_unset ()
255d4401354Smrg{
256d4401354Smrg  { eval $1=; unset $1;}
257d4401354Smrg}
258d4401354Smrgas_unset=as_fn_unset
259d4401354Smrg
260d4401354Smrg# as_fn_set_status STATUS
261d4401354Smrg# -----------------------
262d4401354Smrg# Set $? to STATUS, without forking.
263d4401354Smrgas_fn_set_status ()
264d4401354Smrg{
265d4401354Smrg  return $1
266d4401354Smrg} # as_fn_set_status
267d4401354Smrg
268d4401354Smrg# as_fn_exit STATUS
269d4401354Smrg# -----------------
270d4401354Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271d4401354Smrgas_fn_exit ()
272d4401354Smrg{
273d4401354Smrg  set +e
274d4401354Smrg  as_fn_set_status $1
275d4401354Smrg  exit $1
276d4401354Smrg} # as_fn_exit
277d4401354Smrg
278d4401354Smrg# as_fn_mkdir_p
279d4401354Smrg# -------------
280d4401354Smrg# Create "$as_dir" as a directory, including parents if necessary.
281d4401354Smrgas_fn_mkdir_p ()
282d4401354Smrg{
283d4401354Smrg
284d4401354Smrg  case $as_dir in #(
285d4401354Smrg  -*) as_dir=./$as_dir;;
286d4401354Smrg  esac
287d4401354Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
288d4401354Smrg    as_dirs=
289d4401354Smrg    while :; do
290d4401354Smrg      case $as_dir in #(
291d4401354Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292d4401354Smrg      *) as_qdir=$as_dir;;
293d4401354Smrg      esac
294d4401354Smrg      as_dirs="'$as_qdir' $as_dirs"
295d4401354Smrg      as_dir=`$as_dirname -- "$as_dir" ||
296d4401354Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297d4401354Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
298d4401354Smrg	 X"$as_dir" : 'X\(//\)$' \| \
299d4401354Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300d4401354Smrg$as_echo X"$as_dir" |
301d4401354Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302d4401354Smrg	    s//\1/
303d4401354Smrg	    q
304d4401354Smrg	  }
305d4401354Smrg	  /^X\(\/\/\)[^/].*/{
306d4401354Smrg	    s//\1/
307d4401354Smrg	    q
308d4401354Smrg	  }
309d4401354Smrg	  /^X\(\/\/\)$/{
310d4401354Smrg	    s//\1/
311d4401354Smrg	    q
312d4401354Smrg	  }
313d4401354Smrg	  /^X\(\/\).*/{
314d4401354Smrg	    s//\1/
315d4401354Smrg	    q
316d4401354Smrg	  }
317d4401354Smrg	  s/.*/./; q'`
318d4401354Smrg      test -d "$as_dir" && break
319d4401354Smrg    done
320d4401354Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
321d4401354Smrg  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322d4401354Smrg
323d4401354Smrg
324d4401354Smrg} # as_fn_mkdir_p
325d4401354Smrg# as_fn_append VAR VALUE
326d4401354Smrg# ----------------------
327d4401354Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
328d4401354Smrg# advantage of any shell optimizations that allow amortized linear growth over
329d4401354Smrg# repeated appends, instead of the typical quadratic growth present in naive
330d4401354Smrg# implementations.
331d4401354Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332d4401354Smrg  eval 'as_fn_append ()
333d4401354Smrg  {
334d4401354Smrg    eval $1+=\$2
335d4401354Smrg  }'
336d4401354Smrgelse
337d4401354Smrg  as_fn_append ()
338d4401354Smrg  {
339d4401354Smrg    eval $1=\$$1\$2
340d4401354Smrg  }
341d4401354Smrgfi # as_fn_append
342d4401354Smrg
343d4401354Smrg# as_fn_arith ARG...
344d4401354Smrg# ------------------
345d4401354Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
346d4401354Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
347d4401354Smrg# must be portable across $(()) and expr.
348d4401354Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349d4401354Smrg  eval 'as_fn_arith ()
350d4401354Smrg  {
351d4401354Smrg    as_val=$(( $* ))
352d4401354Smrg  }'
353d4401354Smrgelse
354d4401354Smrg  as_fn_arith ()
355d4401354Smrg  {
356d4401354Smrg    as_val=`expr "$@" || test $? -eq 1`
357d4401354Smrg  }
358d4401354Smrgfi # as_fn_arith
359d4401354Smrg
360d4401354Smrg
361d4401354Smrg# as_fn_error ERROR [LINENO LOG_FD]
362d4401354Smrg# ---------------------------------
363d4401354Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364d4401354Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365d4401354Smrg# script with status $?, using 1 if that was 0.
366d4401354Smrgas_fn_error ()
367d4401354Smrg{
368d4401354Smrg  as_status=$?; test $as_status -eq 0 && as_status=1
369d4401354Smrg  if test "$3"; then
370d4401354Smrg    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371d4401354Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372d4401354Smrg  fi
373d4401354Smrg  $as_echo "$as_me: error: $1" >&2
374d4401354Smrg  as_fn_exit $as_status
375d4401354Smrg} # as_fn_error
376d4401354Smrg
377d4401354Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
378d4401354Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
379d4401354Smrg  as_expr=expr
380d4401354Smrgelse
381d4401354Smrg  as_expr=false
382d4401354Smrgfi
383d4401354Smrg
384d4401354Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385d4401354Smrg  as_basename=basename
386d4401354Smrgelse
387d4401354Smrg  as_basename=false
388d4401354Smrgfi
389d4401354Smrg
390d4401354Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391d4401354Smrg  as_dirname=dirname
392d4401354Smrgelse
393d4401354Smrg  as_dirname=false
394d4401354Smrgfi
395d4401354Smrg
396d4401354Smrgas_me=`$as_basename -- "$0" ||
397d4401354Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398d4401354Smrg	 X"$0" : 'X\(//\)$' \| \
399d4401354Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400d4401354Smrg$as_echo X/"$0" |
401d4401354Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
402d4401354Smrg	    s//\1/
403d4401354Smrg	    q
404d4401354Smrg	  }
405d4401354Smrg	  /^X\/\(\/\/\)$/{
406d4401354Smrg	    s//\1/
407d4401354Smrg	    q
408d4401354Smrg	  }
409d4401354Smrg	  /^X\/\(\/\).*/{
410d4401354Smrg	    s//\1/
411d4401354Smrg	    q
412d4401354Smrg	  }
413d4401354Smrg	  s/.*/./; q'`
414d4401354Smrg
415d4401354Smrg# Avoid depending upon Character Ranges.
416d4401354Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
417d4401354Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418d4401354Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
419d4401354Smrgas_cr_digits='0123456789'
420d4401354Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
421d4401354Smrg
422d4401354Smrg
423d4401354Smrg  as_lineno_1=$LINENO as_lineno_1a=$LINENO
424d4401354Smrg  as_lineno_2=$LINENO as_lineno_2a=$LINENO
425d4401354Smrg  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426d4401354Smrg  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427d4401354Smrg  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
428d4401354Smrg  sed -n '
429d4401354Smrg    p
430d4401354Smrg    /[$]LINENO/=
431d4401354Smrg  ' <$as_myself |
432d4401354Smrg    sed '
433d4401354Smrg      s/[$]LINENO.*/&-/
434d4401354Smrg      t lineno
435d4401354Smrg      b
436d4401354Smrg      :lineno
437d4401354Smrg      N
438d4401354Smrg      :loop
439d4401354Smrg      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440d4401354Smrg      t loop
441d4401354Smrg      s/-\n.*//
442d4401354Smrg    ' >$as_me.lineno &&
443d4401354Smrg  chmod +x "$as_me.lineno" ||
444d4401354Smrg    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445d4401354Smrg
446d4401354Smrg  # Don't try to exec as it changes $[0], causing all sort of problems
447d4401354Smrg  # (the dirname of $[0] is not the place where we might find the
448d4401354Smrg  # original and so on.  Autoconf is especially sensitive to this).
449d4401354Smrg  . "./$as_me.lineno"
450d4401354Smrg  # Exit status is that of the last command.
451d4401354Smrg  exit
452d4401354Smrg}
453d4401354Smrg
454d4401354SmrgECHO_C= ECHO_N= ECHO_T=
455d4401354Smrgcase `echo -n x` in #(((((
456d4401354Smrg-n*)
457d4401354Smrg  case `echo 'xy\c'` in
458d4401354Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
459d4401354Smrg  xy)  ECHO_C='\c';;
460d4401354Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
461d4401354Smrg       ECHO_T='	';;
462d4401354Smrg  esac;;
463d4401354Smrg*)
464d4401354Smrg  ECHO_N='-n';;
465d4401354Smrgesac
466d4401354Smrg
467d4401354Smrgrm -f conf$$ conf$$.exe conf$$.file
468d4401354Smrgif test -d conf$$.dir; then
469d4401354Smrg  rm -f conf$$.dir/conf$$.file
470d4401354Smrgelse
471d4401354Smrg  rm -f conf$$.dir
472d4401354Smrg  mkdir conf$$.dir 2>/dev/null
473d4401354Smrgfi
474d4401354Smrgif (echo >conf$$.file) 2>/dev/null; then
475d4401354Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
476d4401354Smrg    as_ln_s='ln -s'
477d4401354Smrg    # ... but there are two gotchas:
478d4401354Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479d4401354Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480d4401354Smrg    # In both cases, we have to default to `cp -p'.
481d4401354Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482d4401354Smrg      as_ln_s='cp -p'
483d4401354Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
484d4401354Smrg    as_ln_s=ln
485d4401354Smrg  else
486d4401354Smrg    as_ln_s='cp -p'
487d4401354Smrg  fi
488d4401354Smrgelse
489d4401354Smrg  as_ln_s='cp -p'
490d4401354Smrgfi
491d4401354Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492d4401354Smrgrmdir conf$$.dir 2>/dev/null
493d4401354Smrg
494d4401354Smrgif mkdir -p . 2>/dev/null; then
495d4401354Smrg  as_mkdir_p='mkdir -p "$as_dir"'
496d4401354Smrgelse
497d4401354Smrg  test -d ./-p && rmdir ./-p
498d4401354Smrg  as_mkdir_p=false
499d4401354Smrgfi
500d4401354Smrg
501d4401354Smrgif test -x / >/dev/null 2>&1; then
502d4401354Smrg  as_test_x='test -x'
503d4401354Smrgelse
504d4401354Smrg  if ls -dL / >/dev/null 2>&1; then
505d4401354Smrg    as_ls_L_option=L
506d4401354Smrg  else
507d4401354Smrg    as_ls_L_option=
508d4401354Smrg  fi
509d4401354Smrg  as_test_x='
510d4401354Smrg    eval sh -c '\''
511d4401354Smrg      if test -d "$1"; then
512d4401354Smrg	test -d "$1/.";
513d4401354Smrg      else
514d4401354Smrg	case $1 in #(
515d4401354Smrg	-*)set "./$1";;
516d4401354Smrg	esac;
517d4401354Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518d4401354Smrg	???[sx]*):;;*)false;;esac;fi
519d4401354Smrg    '\'' sh
520d4401354Smrg  '
521d4401354Smrgfi
522d4401354Smrgas_executable_p=$as_test_x
523d4401354Smrg
524d4401354Smrg# Sed expression to map a string onto a valid CPP name.
525d4401354Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526d4401354Smrg
527d4401354Smrg# Sed expression to map a string onto a valid variable name.
528d4401354Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529d4401354Smrg
530d4401354Smrg
531d4401354Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null
532d4401354Smrgexec 6>&1
533d4401354Smrg
534d4401354Smrg# Name of the host.
535d4401354Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
536d4401354Smrg# so uname gets run too.
537d4401354Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538d4401354Smrg
539d4401354Smrg#
540d4401354Smrg# Initializations.
541d4401354Smrg#
542d4401354Smrgac_default_prefix=/usr/local
543d4401354Smrgac_clean_files=
544d4401354Smrgac_config_libobj_dir=.
545d4401354SmrgLIBOBJS=
546d4401354Smrgcross_compiling=no
547d4401354Smrgsubdirs=
548d4401354SmrgMFLAGS=
549d4401354SmrgMAKEFLAGS=
550d4401354Smrg
551d4401354Smrg# Identity of this package.
552d4401354SmrgPACKAGE_NAME='XCB Proto'
553d4401354SmrgPACKAGE_TARNAME='xcb-proto'
554d4401354SmrgPACKAGE_VERSION='1.6'
555d4401354SmrgPACKAGE_STRING='XCB Proto 1.6'
556d4401354SmrgPACKAGE_BUGREPORT='xcb@lists.freedesktop.org'
557d4401354SmrgPACKAGE_URL=''
558d4401354Smrg
559d4401354Smrgac_unique_file="xcb-proto.pc.in"
560d4401354Smrgac_subst_vars='LTLIBOBJS
561d4401354SmrgLIBOBJS
562d4401354Smrgxcbincludedir
563d4401354Smrgpkgpyexecdir
564d4401354Smrgpyexecdir
565d4401354Smrgpkgpythondir
566d4401354Smrgpythondir
567d4401354SmrgPYTHON_PLATFORM
568d4401354SmrgPYTHON_EXEC_PREFIX
569d4401354SmrgPYTHON_PREFIX
570d4401354SmrgPYTHON_VERSION
571d4401354SmrgPYTHON
572d4401354SmrgHAVE_XMLLINT_FALSE
573d4401354SmrgHAVE_XMLLINT_TRUE
574d4401354SmrgXMLLINT
575d4401354Smrgam__untar
576d4401354Smrgam__tar
577d4401354SmrgAMTAR
578d4401354Smrgam__leading_dot
579d4401354SmrgSET_MAKE
580d4401354SmrgAWK
581d4401354Smrgmkdir_p
582d4401354SmrgMKDIR_P
583d4401354SmrgINSTALL_STRIP_PROGRAM
584d4401354SmrgSTRIP
585d4401354Smrginstall_sh
586d4401354SmrgMAKEINFO
587d4401354SmrgAUTOHEADER
588d4401354SmrgAUTOMAKE
589d4401354SmrgAUTOCONF
590d4401354SmrgACLOCAL
591d4401354SmrgVERSION
592d4401354SmrgPACKAGE
593d4401354SmrgCYGPATH_W
594d4401354Smrgam__isrc
595d4401354SmrgINSTALL_DATA
596d4401354SmrgINSTALL_SCRIPT
597d4401354SmrgINSTALL_PROGRAM
598d4401354Smrgtarget_alias
599d4401354Smrghost_alias
600d4401354Smrgbuild_alias
601d4401354SmrgLIBS
602d4401354SmrgECHO_T
603d4401354SmrgECHO_N
604d4401354SmrgECHO_C
605d4401354SmrgDEFS
606d4401354Smrgmandir
607d4401354Smrglocaledir
608d4401354Smrglibdir
609d4401354Smrgpsdir
610d4401354Smrgpdfdir
611d4401354Smrgdvidir
612d4401354Smrghtmldir
613d4401354Smrginfodir
614d4401354Smrgdocdir
615d4401354Smrgoldincludedir
616d4401354Smrgincludedir
617d4401354Smrglocalstatedir
618d4401354Smrgsharedstatedir
619d4401354Smrgsysconfdir
620d4401354Smrgdatadir
621d4401354Smrgdatarootdir
622d4401354Smrglibexecdir
623d4401354Smrgsbindir
624d4401354Smrgbindir
625d4401354Smrgprogram_transform_name
626d4401354Smrgprefix
627d4401354Smrgexec_prefix
628d4401354SmrgPACKAGE_URL
629d4401354SmrgPACKAGE_BUGREPORT
630d4401354SmrgPACKAGE_STRING
631d4401354SmrgPACKAGE_VERSION
632d4401354SmrgPACKAGE_TARNAME
633d4401354SmrgPACKAGE_NAME
634d4401354SmrgPATH_SEPARATOR
635d4401354SmrgSHELL'
636d4401354Smrgac_subst_files=''
637d4401354Smrgac_user_opts='
638d4401354Smrgenable_option_checking
639d4401354Smrg'
640d4401354Smrg      ac_precious_vars='build_alias
641d4401354Smrghost_alias
642d4401354Smrgtarget_alias'
643d4401354Smrg
644d4401354Smrg
645d4401354Smrg# Initialize some variables set by options.
646d4401354Smrgac_init_help=
647d4401354Smrgac_init_version=false
648d4401354Smrgac_unrecognized_opts=
649d4401354Smrgac_unrecognized_sep=
650d4401354Smrg# The variables have the same names as the options, with
651d4401354Smrg# dashes changed to underlines.
652d4401354Smrgcache_file=/dev/null
653d4401354Smrgexec_prefix=NONE
654d4401354Smrgno_create=
655d4401354Smrgno_recursion=
656d4401354Smrgprefix=NONE
657d4401354Smrgprogram_prefix=NONE
658d4401354Smrgprogram_suffix=NONE
659d4401354Smrgprogram_transform_name=s,x,x,
660d4401354Smrgsilent=
661d4401354Smrgsite=
662d4401354Smrgsrcdir=
663d4401354Smrgverbose=
664d4401354Smrgx_includes=NONE
665d4401354Smrgx_libraries=NONE
666d4401354Smrg
667d4401354Smrg# Installation directory options.
668d4401354Smrg# These are left unexpanded so users can "make install exec_prefix=/foo"
669d4401354Smrg# and all the variables that are supposed to be based on exec_prefix
670d4401354Smrg# by default will actually change.
671d4401354Smrg# Use braces instead of parens because sh, perl, etc. also accept them.
672d4401354Smrg# (The list follows the same order as the GNU Coding Standards.)
673d4401354Smrgbindir='${exec_prefix}/bin'
674d4401354Smrgsbindir='${exec_prefix}/sbin'
675d4401354Smrglibexecdir='${exec_prefix}/libexec'
676d4401354Smrgdatarootdir='${prefix}/share'
677d4401354Smrgdatadir='${datarootdir}'
678d4401354Smrgsysconfdir='${prefix}/etc'
679d4401354Smrgsharedstatedir='${prefix}/com'
680d4401354Smrglocalstatedir='${prefix}/var'
681d4401354Smrgincludedir='${prefix}/include'
682d4401354Smrgoldincludedir='/usr/include'
683d4401354Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
684d4401354Smrginfodir='${datarootdir}/info'
685d4401354Smrghtmldir='${docdir}'
686d4401354Smrgdvidir='${docdir}'
687d4401354Smrgpdfdir='${docdir}'
688d4401354Smrgpsdir='${docdir}'
689d4401354Smrglibdir='${exec_prefix}/lib'
690d4401354Smrglocaledir='${datarootdir}/locale'
691d4401354Smrgmandir='${datarootdir}/man'
692d4401354Smrg
693d4401354Smrgac_prev=
694d4401354Smrgac_dashdash=
695d4401354Smrgfor ac_option
696d4401354Smrgdo
697d4401354Smrg  # If the previous option needs an argument, assign it.
698d4401354Smrg  if test -n "$ac_prev"; then
699d4401354Smrg    eval $ac_prev=\$ac_option
700d4401354Smrg    ac_prev=
701d4401354Smrg    continue
702d4401354Smrg  fi
703d4401354Smrg
704d4401354Smrg  case $ac_option in
705d4401354Smrg  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
706d4401354Smrg  *)	ac_optarg=yes ;;
707d4401354Smrg  esac
708d4401354Smrg
709d4401354Smrg  # Accept the important Cygnus configure options, so we can diagnose typos.
710d4401354Smrg
711d4401354Smrg  case $ac_dashdash$ac_option in
712d4401354Smrg  --)
713d4401354Smrg    ac_dashdash=yes ;;
714d4401354Smrg
715d4401354Smrg  -bindir | --bindir | --bindi | --bind | --bin | --bi)
716d4401354Smrg    ac_prev=bindir ;;
717d4401354Smrg  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
718d4401354Smrg    bindir=$ac_optarg ;;
719d4401354Smrg
720d4401354Smrg  -build | --build | --buil | --bui | --bu)
721d4401354Smrg    ac_prev=build_alias ;;
722d4401354Smrg  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
723d4401354Smrg    build_alias=$ac_optarg ;;
724d4401354Smrg
725d4401354Smrg  -cache-file | --cache-file | --cache-fil | --cache-fi \
726d4401354Smrg  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
727d4401354Smrg    ac_prev=cache_file ;;
728d4401354Smrg  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
729d4401354Smrg  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
730d4401354Smrg    cache_file=$ac_optarg ;;
731d4401354Smrg
732d4401354Smrg  --config-cache | -C)
733d4401354Smrg    cache_file=config.cache ;;
734d4401354Smrg
735d4401354Smrg  -datadir | --datadir | --datadi | --datad)
736d4401354Smrg    ac_prev=datadir ;;
737d4401354Smrg  -datadir=* | --datadir=* | --datadi=* | --datad=*)
738d4401354Smrg    datadir=$ac_optarg ;;
739d4401354Smrg
740d4401354Smrg  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
741d4401354Smrg  | --dataroo | --dataro | --datar)
742d4401354Smrg    ac_prev=datarootdir ;;
743d4401354Smrg  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
744d4401354Smrg  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
745d4401354Smrg    datarootdir=$ac_optarg ;;
746d4401354Smrg
747d4401354Smrg  -disable-* | --disable-*)
748d4401354Smrg    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
749d4401354Smrg    # Reject names that are not valid shell variable names.
750d4401354Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
751d4401354Smrg      as_fn_error "invalid feature name: $ac_useropt"
752d4401354Smrg    ac_useropt_orig=$ac_useropt
753d4401354Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
754d4401354Smrg    case $ac_user_opts in
755d4401354Smrg      *"
756d4401354Smrg"enable_$ac_useropt"
757d4401354Smrg"*) ;;
758d4401354Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
759d4401354Smrg	 ac_unrecognized_sep=', ';;
760d4401354Smrg    esac
761d4401354Smrg    eval enable_$ac_useropt=no ;;
762d4401354Smrg
763d4401354Smrg  -docdir | --docdir | --docdi | --doc | --do)
764d4401354Smrg    ac_prev=docdir ;;
765d4401354Smrg  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
766d4401354Smrg    docdir=$ac_optarg ;;
767d4401354Smrg
768d4401354Smrg  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
769d4401354Smrg    ac_prev=dvidir ;;
770d4401354Smrg  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
771d4401354Smrg    dvidir=$ac_optarg ;;
772d4401354Smrg
773d4401354Smrg  -enable-* | --enable-*)
774d4401354Smrg    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
775d4401354Smrg    # Reject names that are not valid shell variable names.
776d4401354Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
777d4401354Smrg      as_fn_error "invalid feature name: $ac_useropt"
778d4401354Smrg    ac_useropt_orig=$ac_useropt
779d4401354Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
780d4401354Smrg    case $ac_user_opts in
781d4401354Smrg      *"
782d4401354Smrg"enable_$ac_useropt"
783d4401354Smrg"*) ;;
784d4401354Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
785d4401354Smrg	 ac_unrecognized_sep=', ';;
786d4401354Smrg    esac
787d4401354Smrg    eval enable_$ac_useropt=\$ac_optarg ;;
788d4401354Smrg
789d4401354Smrg  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
790d4401354Smrg  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
791d4401354Smrg  | --exec | --exe | --ex)
792d4401354Smrg    ac_prev=exec_prefix ;;
793d4401354Smrg  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
794d4401354Smrg  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
795d4401354Smrg  | --exec=* | --exe=* | --ex=*)
796d4401354Smrg    exec_prefix=$ac_optarg ;;
797d4401354Smrg
798d4401354Smrg  -gas | --gas | --ga | --g)
799d4401354Smrg    # Obsolete; use --with-gas.
800d4401354Smrg    with_gas=yes ;;
801d4401354Smrg
802d4401354Smrg  -help | --help | --hel | --he | -h)
803d4401354Smrg    ac_init_help=long ;;
804d4401354Smrg  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
805d4401354Smrg    ac_init_help=recursive ;;
806d4401354Smrg  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
807d4401354Smrg    ac_init_help=short ;;
808d4401354Smrg
809d4401354Smrg  -host | --host | --hos | --ho)
810d4401354Smrg    ac_prev=host_alias ;;
811d4401354Smrg  -host=* | --host=* | --hos=* | --ho=*)
812d4401354Smrg    host_alias=$ac_optarg ;;
813d4401354Smrg
814d4401354Smrg  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
815d4401354Smrg    ac_prev=htmldir ;;
816d4401354Smrg  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
817d4401354Smrg  | --ht=*)
818d4401354Smrg    htmldir=$ac_optarg ;;
819d4401354Smrg
820d4401354Smrg  -includedir | --includedir | --includedi | --included | --include \
821d4401354Smrg  | --includ | --inclu | --incl | --inc)
822d4401354Smrg    ac_prev=includedir ;;
823d4401354Smrg  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
824d4401354Smrg  | --includ=* | --inclu=* | --incl=* | --inc=*)
825d4401354Smrg    includedir=$ac_optarg ;;
826d4401354Smrg
827d4401354Smrg  -infodir | --infodir | --infodi | --infod | --info | --inf)
828d4401354Smrg    ac_prev=infodir ;;
829d4401354Smrg  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
830d4401354Smrg    infodir=$ac_optarg ;;
831d4401354Smrg
832d4401354Smrg  -libdir | --libdir | --libdi | --libd)
833d4401354Smrg    ac_prev=libdir ;;
834d4401354Smrg  -libdir=* | --libdir=* | --libdi=* | --libd=*)
835d4401354Smrg    libdir=$ac_optarg ;;
836d4401354Smrg
837d4401354Smrg  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
838d4401354Smrg  | --libexe | --libex | --libe)
839d4401354Smrg    ac_prev=libexecdir ;;
840d4401354Smrg  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
841d4401354Smrg  | --libexe=* | --libex=* | --libe=*)
842d4401354Smrg    libexecdir=$ac_optarg ;;
843d4401354Smrg
844d4401354Smrg  -localedir | --localedir | --localedi | --localed | --locale)
845d4401354Smrg    ac_prev=localedir ;;
846d4401354Smrg  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
847d4401354Smrg    localedir=$ac_optarg ;;
848d4401354Smrg
849d4401354Smrg  -localstatedir | --localstatedir | --localstatedi | --localstated \
850d4401354Smrg  | --localstate | --localstat | --localsta | --localst | --locals)
851d4401354Smrg    ac_prev=localstatedir ;;
852d4401354Smrg  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
853d4401354Smrg  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
854d4401354Smrg    localstatedir=$ac_optarg ;;
855d4401354Smrg
856d4401354Smrg  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
857d4401354Smrg    ac_prev=mandir ;;
858d4401354Smrg  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
859d4401354Smrg    mandir=$ac_optarg ;;
860d4401354Smrg
861d4401354Smrg  -nfp | --nfp | --nf)
862d4401354Smrg    # Obsolete; use --without-fp.
863d4401354Smrg    with_fp=no ;;
864d4401354Smrg
865d4401354Smrg  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
866d4401354Smrg  | --no-cr | --no-c | -n)
867d4401354Smrg    no_create=yes ;;
868d4401354Smrg
869d4401354Smrg  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
870d4401354Smrg  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
871d4401354Smrg    no_recursion=yes ;;
872d4401354Smrg
873d4401354Smrg  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
874d4401354Smrg  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
875d4401354Smrg  | --oldin | --oldi | --old | --ol | --o)
876d4401354Smrg    ac_prev=oldincludedir ;;
877d4401354Smrg  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
878d4401354Smrg  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
879d4401354Smrg  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
880d4401354Smrg    oldincludedir=$ac_optarg ;;
881d4401354Smrg
882d4401354Smrg  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
883d4401354Smrg    ac_prev=prefix ;;
884d4401354Smrg  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
885d4401354Smrg    prefix=$ac_optarg ;;
886d4401354Smrg
887d4401354Smrg  -program-prefix | --program-prefix | --program-prefi | --program-pref \
888d4401354Smrg  | --program-pre | --program-pr | --program-p)
889d4401354Smrg    ac_prev=program_prefix ;;
890d4401354Smrg  -program-prefix=* | --program-prefix=* | --program-prefi=* \
891d4401354Smrg  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
892d4401354Smrg    program_prefix=$ac_optarg ;;
893d4401354Smrg
894d4401354Smrg  -program-suffix | --program-suffix | --program-suffi | --program-suff \
895d4401354Smrg  | --program-suf | --program-su | --program-s)
896d4401354Smrg    ac_prev=program_suffix ;;
897d4401354Smrg  -program-suffix=* | --program-suffix=* | --program-suffi=* \
898d4401354Smrg  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
899d4401354Smrg    program_suffix=$ac_optarg ;;
900d4401354Smrg
901d4401354Smrg  -program-transform-name | --program-transform-name \
902d4401354Smrg  | --program-transform-nam | --program-transform-na \
903d4401354Smrg  | --program-transform-n | --program-transform- \
904d4401354Smrg  | --program-transform | --program-transfor \
905d4401354Smrg  | --program-transfo | --program-transf \
906d4401354Smrg  | --program-trans | --program-tran \
907d4401354Smrg  | --progr-tra | --program-tr | --program-t)
908d4401354Smrg    ac_prev=program_transform_name ;;
909d4401354Smrg  -program-transform-name=* | --program-transform-name=* \
910d4401354Smrg  | --program-transform-nam=* | --program-transform-na=* \
911d4401354Smrg  | --program-transform-n=* | --program-transform-=* \
912d4401354Smrg  | --program-transform=* | --program-transfor=* \
913d4401354Smrg  | --program-transfo=* | --program-transf=* \
914d4401354Smrg  | --program-trans=* | --program-tran=* \
915d4401354Smrg  | --progr-tra=* | --program-tr=* | --program-t=*)
916d4401354Smrg    program_transform_name=$ac_optarg ;;
917d4401354Smrg
918d4401354Smrg  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
919d4401354Smrg    ac_prev=pdfdir ;;
920d4401354Smrg  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
921d4401354Smrg    pdfdir=$ac_optarg ;;
922d4401354Smrg
923d4401354Smrg  -psdir | --psdir | --psdi | --psd | --ps)
924d4401354Smrg    ac_prev=psdir ;;
925d4401354Smrg  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
926d4401354Smrg    psdir=$ac_optarg ;;
927d4401354Smrg
928d4401354Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
929d4401354Smrg  | -silent | --silent | --silen | --sile | --sil)
930d4401354Smrg    silent=yes ;;
931d4401354Smrg
932d4401354Smrg  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
933d4401354Smrg    ac_prev=sbindir ;;
934d4401354Smrg  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
935d4401354Smrg  | --sbi=* | --sb=*)
936d4401354Smrg    sbindir=$ac_optarg ;;
937d4401354Smrg
938d4401354Smrg  -sharedstatedir | --sharedstatedir | --sharedstatedi \
939d4401354Smrg  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
940d4401354Smrg  | --sharedst | --shareds | --shared | --share | --shar \
941d4401354Smrg  | --sha | --sh)
942d4401354Smrg    ac_prev=sharedstatedir ;;
943d4401354Smrg  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
944d4401354Smrg  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
945d4401354Smrg  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
946d4401354Smrg  | --sha=* | --sh=*)
947d4401354Smrg    sharedstatedir=$ac_optarg ;;
948d4401354Smrg
949d4401354Smrg  -site | --site | --sit)
950d4401354Smrg    ac_prev=site ;;
951d4401354Smrg  -site=* | --site=* | --sit=*)
952d4401354Smrg    site=$ac_optarg ;;
953d4401354Smrg
954d4401354Smrg  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
955d4401354Smrg    ac_prev=srcdir ;;
956d4401354Smrg  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
957d4401354Smrg    srcdir=$ac_optarg ;;
958d4401354Smrg
959d4401354Smrg  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
960d4401354Smrg  | --syscon | --sysco | --sysc | --sys | --sy)
961d4401354Smrg    ac_prev=sysconfdir ;;
962d4401354Smrg  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
963d4401354Smrg  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
964d4401354Smrg    sysconfdir=$ac_optarg ;;
965d4401354Smrg
966d4401354Smrg  -target | --target | --targe | --targ | --tar | --ta | --t)
967d4401354Smrg    ac_prev=target_alias ;;
968d4401354Smrg  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
969d4401354Smrg    target_alias=$ac_optarg ;;
970d4401354Smrg
971d4401354Smrg  -v | -verbose | --verbose | --verbos | --verbo | --verb)
972d4401354Smrg    verbose=yes ;;
973d4401354Smrg
974d4401354Smrg  -version | --version | --versio | --versi | --vers | -V)
975d4401354Smrg    ac_init_version=: ;;
976d4401354Smrg
977d4401354Smrg  -with-* | --with-*)
978d4401354Smrg    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
979d4401354Smrg    # Reject names that are not valid shell variable names.
980d4401354Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981d4401354Smrg      as_fn_error "invalid package name: $ac_useropt"
982d4401354Smrg    ac_useropt_orig=$ac_useropt
983d4401354Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984d4401354Smrg    case $ac_user_opts in
985d4401354Smrg      *"
986d4401354Smrg"with_$ac_useropt"
987d4401354Smrg"*) ;;
988d4401354Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
989d4401354Smrg	 ac_unrecognized_sep=', ';;
990d4401354Smrg    esac
991d4401354Smrg    eval with_$ac_useropt=\$ac_optarg ;;
992d4401354Smrg
993d4401354Smrg  -without-* | --without-*)
994d4401354Smrg    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
995d4401354Smrg    # Reject names that are not valid shell variable names.
996d4401354Smrg    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
997d4401354Smrg      as_fn_error "invalid package name: $ac_useropt"
998d4401354Smrg    ac_useropt_orig=$ac_useropt
999d4401354Smrg    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000d4401354Smrg    case $ac_user_opts in
1001d4401354Smrg      *"
1002d4401354Smrg"with_$ac_useropt"
1003d4401354Smrg"*) ;;
1004d4401354Smrg      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1005d4401354Smrg	 ac_unrecognized_sep=', ';;
1006d4401354Smrg    esac
1007d4401354Smrg    eval with_$ac_useropt=no ;;
1008d4401354Smrg
1009d4401354Smrg  --x)
1010d4401354Smrg    # Obsolete; use --with-x.
1011d4401354Smrg    with_x=yes ;;
1012d4401354Smrg
1013d4401354Smrg  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1014d4401354Smrg  | --x-incl | --x-inc | --x-in | --x-i)
1015d4401354Smrg    ac_prev=x_includes ;;
1016d4401354Smrg  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1017d4401354Smrg  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1018d4401354Smrg    x_includes=$ac_optarg ;;
1019d4401354Smrg
1020d4401354Smrg  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1021d4401354Smrg  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1022d4401354Smrg    ac_prev=x_libraries ;;
1023d4401354Smrg  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1024d4401354Smrg  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1025d4401354Smrg    x_libraries=$ac_optarg ;;
1026d4401354Smrg
1027d4401354Smrg  -*) as_fn_error "unrecognized option: \`$ac_option'
1028d4401354SmrgTry \`$0 --help' for more information."
1029d4401354Smrg    ;;
1030d4401354Smrg
1031d4401354Smrg  *=*)
1032d4401354Smrg    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1033d4401354Smrg    # Reject names that are not valid shell variable names.
1034d4401354Smrg    case $ac_envvar in #(
1035d4401354Smrg      '' | [0-9]* | *[!_$as_cr_alnum]* )
1036d4401354Smrg      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1037d4401354Smrg    esac
1038d4401354Smrg    eval $ac_envvar=\$ac_optarg
1039d4401354Smrg    export $ac_envvar ;;
1040d4401354Smrg
1041d4401354Smrg  *)
1042d4401354Smrg    # FIXME: should be removed in autoconf 3.0.
1043d4401354Smrg    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1044d4401354Smrg    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1045d4401354Smrg      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1046d4401354Smrg    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1047d4401354Smrg    ;;
1048d4401354Smrg
1049d4401354Smrg  esac
1050d4401354Smrgdone
1051d4401354Smrg
1052d4401354Smrgif test -n "$ac_prev"; then
1053d4401354Smrg  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1054d4401354Smrg  as_fn_error "missing argument to $ac_option"
1055d4401354Smrgfi
1056d4401354Smrg
1057d4401354Smrgif test -n "$ac_unrecognized_opts"; then
1058d4401354Smrg  case $enable_option_checking in
1059d4401354Smrg    no) ;;
1060d4401354Smrg    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1061d4401354Smrg    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1062d4401354Smrg  esac
1063d4401354Smrgfi
1064d4401354Smrg
1065d4401354Smrg# Check all directory arguments for consistency.
1066d4401354Smrgfor ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1067d4401354Smrg		datadir sysconfdir sharedstatedir localstatedir includedir \
1068d4401354Smrg		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1069d4401354Smrg		libdir localedir mandir
1070d4401354Smrgdo
1071d4401354Smrg  eval ac_val=\$$ac_var
1072d4401354Smrg  # Remove trailing slashes.
1073d4401354Smrg  case $ac_val in
1074d4401354Smrg    */ )
1075d4401354Smrg      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1076d4401354Smrg      eval $ac_var=\$ac_val;;
1077d4401354Smrg  esac
1078d4401354Smrg  # Be sure to have absolute directory names.
1079d4401354Smrg  case $ac_val in
1080d4401354Smrg    [\\/$]* | ?:[\\/]* )  continue;;
1081d4401354Smrg    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1082d4401354Smrg  esac
1083d4401354Smrg  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1084d4401354Smrgdone
1085d4401354Smrg
1086d4401354Smrg# There might be people who depend on the old broken behavior: `$host'
1087d4401354Smrg# used to hold the argument of --host etc.
1088d4401354Smrg# FIXME: To remove some day.
1089d4401354Smrgbuild=$build_alias
1090d4401354Smrghost=$host_alias
1091d4401354Smrgtarget=$target_alias
1092d4401354Smrg
1093d4401354Smrg# FIXME: To remove some day.
1094d4401354Smrgif test "x$host_alias" != x; then
1095d4401354Smrg  if test "x$build_alias" = x; then
1096d4401354Smrg    cross_compiling=maybe
1097d4401354Smrg    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1098d4401354Smrg    If a cross compiler is detected then cross compile mode will be used." >&2
1099d4401354Smrg  elif test "x$build_alias" != "x$host_alias"; then
1100d4401354Smrg    cross_compiling=yes
1101d4401354Smrg  fi
1102d4401354Smrgfi
1103d4401354Smrg
1104d4401354Smrgac_tool_prefix=
1105d4401354Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias-
1106d4401354Smrg
1107d4401354Smrgtest "$silent" = yes && exec 6>/dev/null
1108d4401354Smrg
1109d4401354Smrg
1110d4401354Smrgac_pwd=`pwd` && test -n "$ac_pwd" &&
1111d4401354Smrgac_ls_di=`ls -di .` &&
1112d4401354Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1113d4401354Smrg  as_fn_error "working directory cannot be determined"
1114d4401354Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1115d4401354Smrg  as_fn_error "pwd does not report name of working directory"
1116d4401354Smrg
1117d4401354Smrg
1118d4401354Smrg# Find the source files, if location was not specified.
1119d4401354Smrgif test -z "$srcdir"; then
1120d4401354Smrg  ac_srcdir_defaulted=yes
1121d4401354Smrg  # Try the directory containing this script, then the parent directory.
1122d4401354Smrg  ac_confdir=`$as_dirname -- "$as_myself" ||
1123d4401354Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1124d4401354Smrg	 X"$as_myself" : 'X\(//\)[^/]' \| \
1125d4401354Smrg	 X"$as_myself" : 'X\(//\)$' \| \
1126d4401354Smrg	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1127d4401354Smrg$as_echo X"$as_myself" |
1128d4401354Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1129d4401354Smrg	    s//\1/
1130d4401354Smrg	    q
1131d4401354Smrg	  }
1132d4401354Smrg	  /^X\(\/\/\)[^/].*/{
1133d4401354Smrg	    s//\1/
1134d4401354Smrg	    q
1135d4401354Smrg	  }
1136d4401354Smrg	  /^X\(\/\/\)$/{
1137d4401354Smrg	    s//\1/
1138d4401354Smrg	    q
1139d4401354Smrg	  }
1140d4401354Smrg	  /^X\(\/\).*/{
1141d4401354Smrg	    s//\1/
1142d4401354Smrg	    q
1143d4401354Smrg	  }
1144d4401354Smrg	  s/.*/./; q'`
1145d4401354Smrg  srcdir=$ac_confdir
1146d4401354Smrg  if test ! -r "$srcdir/$ac_unique_file"; then
1147d4401354Smrg    srcdir=..
1148d4401354Smrg  fi
1149d4401354Smrgelse
1150d4401354Smrg  ac_srcdir_defaulted=no
1151d4401354Smrgfi
1152d4401354Smrgif test ! -r "$srcdir/$ac_unique_file"; then
1153d4401354Smrg  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1154d4401354Smrg  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1155d4401354Smrgfi
1156d4401354Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1157d4401354Smrgac_abs_confdir=`(
1158d4401354Smrg	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1159d4401354Smrg	pwd)`
1160d4401354Smrg# When building in place, set srcdir=.
1161d4401354Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then
1162d4401354Smrg  srcdir=.
1163d4401354Smrgfi
1164d4401354Smrg# Remove unnecessary trailing slashes from srcdir.
1165d4401354Smrg# Double slashes in file names in object file debugging info
1166d4401354Smrg# mess up M-x gdb in Emacs.
1167d4401354Smrgcase $srcdir in
1168d4401354Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1169d4401354Smrgesac
1170d4401354Smrgfor ac_var in $ac_precious_vars; do
1171d4401354Smrg  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1172d4401354Smrg  eval ac_env_${ac_var}_value=\$${ac_var}
1173d4401354Smrg  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1174d4401354Smrg  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1175d4401354Smrgdone
1176d4401354Smrg
1177d4401354Smrg#
1178d4401354Smrg# Report the --help message.
1179d4401354Smrg#
1180d4401354Smrgif test "$ac_init_help" = "long"; then
1181d4401354Smrg  # Omit some internal or obsolete options to make the list less imposing.
1182d4401354Smrg  # This message is too long to be a string in the A/UX 3.1 sh.
1183d4401354Smrg  cat <<_ACEOF
1184d4401354Smrg\`configure' configures XCB Proto 1.6 to adapt to many kinds of systems.
1185d4401354Smrg
1186d4401354SmrgUsage: $0 [OPTION]... [VAR=VALUE]...
1187d4401354Smrg
1188d4401354SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as
1189d4401354SmrgVAR=VALUE.  See below for descriptions of some of the useful variables.
1190d4401354Smrg
1191d4401354SmrgDefaults for the options are specified in brackets.
1192d4401354Smrg
1193d4401354SmrgConfiguration:
1194d4401354Smrg  -h, --help              display this help and exit
1195d4401354Smrg      --help=short        display options specific to this package
1196d4401354Smrg      --help=recursive    display the short help of all the included packages
1197d4401354Smrg  -V, --version           display version information and exit
1198d4401354Smrg  -q, --quiet, --silent   do not print \`checking...' messages
1199d4401354Smrg      --cache-file=FILE   cache test results in FILE [disabled]
1200d4401354Smrg  -C, --config-cache      alias for \`--cache-file=config.cache'
1201d4401354Smrg  -n, --no-create         do not create output files
1202d4401354Smrg      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1203d4401354Smrg
1204d4401354SmrgInstallation directories:
1205d4401354Smrg  --prefix=PREFIX         install architecture-independent files in PREFIX
1206d4401354Smrg                          [$ac_default_prefix]
1207d4401354Smrg  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1208d4401354Smrg                          [PREFIX]
1209d4401354Smrg
1210d4401354SmrgBy default, \`make install' will install all the files in
1211d4401354Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1212d4401354Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix',
1213d4401354Smrgfor instance \`--prefix=\$HOME'.
1214d4401354Smrg
1215d4401354SmrgFor better control, use the options below.
1216d4401354Smrg
1217d4401354SmrgFine tuning of the installation directories:
1218d4401354Smrg  --bindir=DIR            user executables [EPREFIX/bin]
1219d4401354Smrg  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1220d4401354Smrg  --libexecdir=DIR        program executables [EPREFIX/libexec]
1221d4401354Smrg  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1222d4401354Smrg  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1223d4401354Smrg  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1224d4401354Smrg  --libdir=DIR            object code libraries [EPREFIX/lib]
1225d4401354Smrg  --includedir=DIR        C header files [PREFIX/include]
1226d4401354Smrg  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1227d4401354Smrg  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1228d4401354Smrg  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1229d4401354Smrg  --infodir=DIR           info documentation [DATAROOTDIR/info]
1230d4401354Smrg  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1231d4401354Smrg  --mandir=DIR            man documentation [DATAROOTDIR/man]
1232d4401354Smrg  --docdir=DIR            documentation root [DATAROOTDIR/doc/xcb-proto]
1233d4401354Smrg  --htmldir=DIR           html documentation [DOCDIR]
1234d4401354Smrg  --dvidir=DIR            dvi documentation [DOCDIR]
1235d4401354Smrg  --pdfdir=DIR            pdf documentation [DOCDIR]
1236d4401354Smrg  --psdir=DIR             ps documentation [DOCDIR]
1237d4401354Smrg_ACEOF
1238d4401354Smrg
1239d4401354Smrg  cat <<\_ACEOF
1240d4401354Smrg
1241d4401354SmrgProgram names:
1242d4401354Smrg  --program-prefix=PREFIX            prepend PREFIX to installed program names
1243d4401354Smrg  --program-suffix=SUFFIX            append SUFFIX to installed program names
1244d4401354Smrg  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1245d4401354Smrg_ACEOF
1246d4401354Smrgfi
1247d4401354Smrg
1248d4401354Smrgif test -n "$ac_init_help"; then
1249d4401354Smrg  case $ac_init_help in
1250d4401354Smrg     short | recursive ) echo "Configuration of XCB Proto 1.6:";;
1251d4401354Smrg   esac
1252d4401354Smrg  cat <<\_ACEOF
1253d4401354Smrg
1254d4401354SmrgReport bugs to <xcb@lists.freedesktop.org>.
1255d4401354Smrg_ACEOF
1256d4401354Smrgac_status=$?
1257d4401354Smrgfi
1258d4401354Smrg
1259d4401354Smrgif test "$ac_init_help" = "recursive"; then
1260d4401354Smrg  # If there are subdirs, report their specific --help.
1261d4401354Smrg  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1262d4401354Smrg    test -d "$ac_dir" ||
1263d4401354Smrg      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1264d4401354Smrg      continue
1265d4401354Smrg    ac_builddir=.
1266d4401354Smrg
1267d4401354Smrgcase "$ac_dir" in
1268d4401354Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1269d4401354Smrg*)
1270d4401354Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1271d4401354Smrg  # A ".." for each directory in $ac_dir_suffix.
1272d4401354Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1273d4401354Smrg  case $ac_top_builddir_sub in
1274d4401354Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1275d4401354Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1276d4401354Smrg  esac ;;
1277d4401354Smrgesac
1278d4401354Smrgac_abs_top_builddir=$ac_pwd
1279d4401354Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
1280d4401354Smrg# for backward compatibility:
1281d4401354Smrgac_top_builddir=$ac_top_build_prefix
1282d4401354Smrg
1283d4401354Smrgcase $srcdir in
1284d4401354Smrg  .)  # We are building in place.
1285d4401354Smrg    ac_srcdir=.
1286d4401354Smrg    ac_top_srcdir=$ac_top_builddir_sub
1287d4401354Smrg    ac_abs_top_srcdir=$ac_pwd ;;
1288d4401354Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
1289d4401354Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
1290d4401354Smrg    ac_top_srcdir=$srcdir
1291d4401354Smrg    ac_abs_top_srcdir=$srcdir ;;
1292d4401354Smrg  *) # Relative name.
1293d4401354Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1294d4401354Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
1295d4401354Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1296d4401354Smrgesac
1297d4401354Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1298d4401354Smrg
1299d4401354Smrg    cd "$ac_dir" || { ac_status=$?; continue; }
1300d4401354Smrg    # Check for guested configure.
1301d4401354Smrg    if test -f "$ac_srcdir/configure.gnu"; then
1302d4401354Smrg      echo &&
1303d4401354Smrg      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1304d4401354Smrg    elif test -f "$ac_srcdir/configure"; then
1305d4401354Smrg      echo &&
1306d4401354Smrg      $SHELL "$ac_srcdir/configure" --help=recursive
1307d4401354Smrg    else
1308d4401354Smrg      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1309d4401354Smrg    fi || ac_status=$?
1310d4401354Smrg    cd "$ac_pwd" || { ac_status=$?; break; }
1311d4401354Smrg  done
1312d4401354Smrgfi
1313d4401354Smrg
1314d4401354Smrgtest -n "$ac_init_help" && exit $ac_status
1315d4401354Smrgif $ac_init_version; then
1316d4401354Smrg  cat <<\_ACEOF
1317d4401354SmrgXCB Proto configure 1.6
1318d4401354Smrggenerated by GNU Autoconf 2.65
1319d4401354Smrg
1320d4401354SmrgCopyright (C) 2009 Free Software Foundation, Inc.
1321d4401354SmrgThis configure script is free software; the Free Software Foundation
1322d4401354Smrggives unlimited permission to copy, distribute and modify it.
1323d4401354Smrg_ACEOF
1324d4401354Smrg  exit
1325d4401354Smrgfi
1326d4401354Smrg
1327d4401354Smrg## ------------------------ ##
1328d4401354Smrg## Autoconf initialization. ##
1329d4401354Smrg## ------------------------ ##
1330d4401354Smrgcat >config.log <<_ACEOF
1331d4401354SmrgThis file contains any messages produced by compilers while
1332d4401354Smrgrunning configure, to aid debugging if configure makes a mistake.
1333d4401354Smrg
1334d4401354SmrgIt was created by XCB Proto $as_me 1.6, which was
1335d4401354Smrggenerated by GNU Autoconf 2.65.  Invocation command line was
1336d4401354Smrg
1337d4401354Smrg  $ $0 $@
1338d4401354Smrg
1339d4401354Smrg_ACEOF
1340d4401354Smrgexec 5>>config.log
1341d4401354Smrg{
1342d4401354Smrgcat <<_ASUNAME
1343d4401354Smrg## --------- ##
1344d4401354Smrg## Platform. ##
1345d4401354Smrg## --------- ##
1346d4401354Smrg
1347d4401354Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1348d4401354Smrguname -m = `(uname -m) 2>/dev/null || echo unknown`
1349d4401354Smrguname -r = `(uname -r) 2>/dev/null || echo unknown`
1350d4401354Smrguname -s = `(uname -s) 2>/dev/null || echo unknown`
1351d4401354Smrguname -v = `(uname -v) 2>/dev/null || echo unknown`
1352d4401354Smrg
1353d4401354Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1354d4401354Smrg/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1355d4401354Smrg
1356d4401354Smrg/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1357d4401354Smrg/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1358d4401354Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1359d4401354Smrg/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1360d4401354Smrg/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1361d4401354Smrg/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1362d4401354Smrg/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1363d4401354Smrg
1364d4401354Smrg_ASUNAME
1365d4401354Smrg
1366d4401354Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367d4401354Smrgfor as_dir in $PATH
1368d4401354Smrgdo
1369d4401354Smrg  IFS=$as_save_IFS
1370d4401354Smrg  test -z "$as_dir" && as_dir=.
1371d4401354Smrg    $as_echo "PATH: $as_dir"
1372d4401354Smrg  done
1373d4401354SmrgIFS=$as_save_IFS
1374d4401354Smrg
1375d4401354Smrg} >&5
1376d4401354Smrg
1377d4401354Smrgcat >&5 <<_ACEOF
1378d4401354Smrg
1379d4401354Smrg
1380d4401354Smrg## ----------- ##
1381d4401354Smrg## Core tests. ##
1382d4401354Smrg## ----------- ##
1383d4401354Smrg
1384d4401354Smrg_ACEOF
1385d4401354Smrg
1386d4401354Smrg
1387d4401354Smrg# Keep a trace of the command line.
1388d4401354Smrg# Strip out --no-create and --no-recursion so they do not pile up.
1389d4401354Smrg# Strip out --silent because we don't want to record it for future runs.
1390d4401354Smrg# Also quote any args containing shell meta-characters.
1391d4401354Smrg# Make two passes to allow for proper duplicate-argument suppression.
1392d4401354Smrgac_configure_args=
1393d4401354Smrgac_configure_args0=
1394d4401354Smrgac_configure_args1=
1395d4401354Smrgac_must_keep_next=false
1396d4401354Smrgfor ac_pass in 1 2
1397d4401354Smrgdo
1398d4401354Smrg  for ac_arg
1399d4401354Smrg  do
1400d4401354Smrg    case $ac_arg in
1401d4401354Smrg    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1402d4401354Smrg    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1403d4401354Smrg    | -silent | --silent | --silen | --sile | --sil)
1404d4401354Smrg      continue ;;
1405d4401354Smrg    *\'*)
1406d4401354Smrg      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1407d4401354Smrg    esac
1408d4401354Smrg    case $ac_pass in
1409d4401354Smrg    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1410d4401354Smrg    2)
1411d4401354Smrg      as_fn_append ac_configure_args1 " '$ac_arg'"
1412d4401354Smrg      if test $ac_must_keep_next = true; then
1413d4401354Smrg	ac_must_keep_next=false # Got value, back to normal.
1414d4401354Smrg      else
1415d4401354Smrg	case $ac_arg in
1416d4401354Smrg	  *=* | --config-cache | -C | -disable-* | --disable-* \
1417d4401354Smrg	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1418d4401354Smrg	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1419d4401354Smrg	  | -with-* | --with-* | -without-* | --without-* | --x)
1420d4401354Smrg	    case "$ac_configure_args0 " in
1421d4401354Smrg	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1422d4401354Smrg	    esac
1423d4401354Smrg	    ;;
1424d4401354Smrg	  -* ) ac_must_keep_next=true ;;
1425d4401354Smrg	esac
1426d4401354Smrg      fi
1427d4401354Smrg      as_fn_append ac_configure_args " '$ac_arg'"
1428d4401354Smrg      ;;
1429d4401354Smrg    esac
1430d4401354Smrg  done
1431d4401354Smrgdone
1432d4401354Smrg{ ac_configure_args0=; unset ac_configure_args0;}
1433d4401354Smrg{ ac_configure_args1=; unset ac_configure_args1;}
1434d4401354Smrg
1435d4401354Smrg# When interrupted or exit'd, cleanup temporary files, and complete
1436d4401354Smrg# config.log.  We remove comments because anyway the quotes in there
1437d4401354Smrg# would cause problems or look ugly.
1438d4401354Smrg# WARNING: Use '\'' to represent an apostrophe within the trap.
1439d4401354Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1440d4401354Smrgtrap 'exit_status=$?
1441d4401354Smrg  # Save into config.log some information that might help in debugging.
1442d4401354Smrg  {
1443d4401354Smrg    echo
1444d4401354Smrg
1445d4401354Smrg    cat <<\_ASBOX
1446d4401354Smrg## ---------------- ##
1447d4401354Smrg## Cache variables. ##
1448d4401354Smrg## ---------------- ##
1449d4401354Smrg_ASBOX
1450d4401354Smrg    echo
1451d4401354Smrg    # The following way of writing the cache mishandles newlines in values,
1452d4401354Smrg(
1453d4401354Smrg  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1454d4401354Smrg    eval ac_val=\$$ac_var
1455d4401354Smrg    case $ac_val in #(
1456d4401354Smrg    *${as_nl}*)
1457d4401354Smrg      case $ac_var in #(
1458d4401354Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1459d4401354Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1460d4401354Smrg      esac
1461d4401354Smrg      case $ac_var in #(
1462d4401354Smrg      _ | IFS | as_nl) ;; #(
1463d4401354Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1464d4401354Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
1465d4401354Smrg      esac ;;
1466d4401354Smrg    esac
1467d4401354Smrg  done
1468d4401354Smrg  (set) 2>&1 |
1469d4401354Smrg    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1470d4401354Smrg    *${as_nl}ac_space=\ *)
1471d4401354Smrg      sed -n \
1472d4401354Smrg	"s/'\''/'\''\\\\'\'''\''/g;
1473d4401354Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1474d4401354Smrg      ;; #(
1475d4401354Smrg    *)
1476d4401354Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1477d4401354Smrg      ;;
1478d4401354Smrg    esac |
1479d4401354Smrg    sort
1480d4401354Smrg)
1481d4401354Smrg    echo
1482d4401354Smrg
1483d4401354Smrg    cat <<\_ASBOX
1484d4401354Smrg## ----------------- ##
1485d4401354Smrg## Output variables. ##
1486d4401354Smrg## ----------------- ##
1487d4401354Smrg_ASBOX
1488d4401354Smrg    echo
1489d4401354Smrg    for ac_var in $ac_subst_vars
1490d4401354Smrg    do
1491d4401354Smrg      eval ac_val=\$$ac_var
1492d4401354Smrg      case $ac_val in
1493d4401354Smrg      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1494d4401354Smrg      esac
1495d4401354Smrg      $as_echo "$ac_var='\''$ac_val'\''"
1496d4401354Smrg    done | sort
1497d4401354Smrg    echo
1498d4401354Smrg
1499d4401354Smrg    if test -n "$ac_subst_files"; then
1500d4401354Smrg      cat <<\_ASBOX
1501d4401354Smrg## ------------------- ##
1502d4401354Smrg## File substitutions. ##
1503d4401354Smrg## ------------------- ##
1504d4401354Smrg_ASBOX
1505d4401354Smrg      echo
1506d4401354Smrg      for ac_var in $ac_subst_files
1507d4401354Smrg      do
1508d4401354Smrg	eval ac_val=\$$ac_var
1509d4401354Smrg	case $ac_val in
1510d4401354Smrg	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1511d4401354Smrg	esac
1512d4401354Smrg	$as_echo "$ac_var='\''$ac_val'\''"
1513d4401354Smrg      done | sort
1514d4401354Smrg      echo
1515d4401354Smrg    fi
1516d4401354Smrg
1517d4401354Smrg    if test -s confdefs.h; then
1518d4401354Smrg      cat <<\_ASBOX
1519d4401354Smrg## ----------- ##
1520d4401354Smrg## confdefs.h. ##
1521d4401354Smrg## ----------- ##
1522d4401354Smrg_ASBOX
1523d4401354Smrg      echo
1524d4401354Smrg      cat confdefs.h
1525d4401354Smrg      echo
1526d4401354Smrg    fi
1527d4401354Smrg    test "$ac_signal" != 0 &&
1528d4401354Smrg      $as_echo "$as_me: caught signal $ac_signal"
1529d4401354Smrg    $as_echo "$as_me: exit $exit_status"
1530d4401354Smrg  } >&5
1531d4401354Smrg  rm -f core *.core core.conftest.* &&
1532d4401354Smrg    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1533d4401354Smrg    exit $exit_status
1534d4401354Smrg' 0
1535d4401354Smrgfor ac_signal in 1 2 13 15; do
1536d4401354Smrg  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1537d4401354Smrgdone
1538d4401354Smrgac_signal=0
1539d4401354Smrg
1540d4401354Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed.
1541d4401354Smrgrm -f -r conftest* confdefs.h
1542d4401354Smrg
1543d4401354Smrg$as_echo "/* confdefs.h */" > confdefs.h
1544d4401354Smrg
1545d4401354Smrg# Predefined preprocessor variables.
1546d4401354Smrg
1547d4401354Smrgcat >>confdefs.h <<_ACEOF
1548d4401354Smrg#define PACKAGE_NAME "$PACKAGE_NAME"
1549d4401354Smrg_ACEOF
1550d4401354Smrg
1551d4401354Smrgcat >>confdefs.h <<_ACEOF
1552d4401354Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553d4401354Smrg_ACEOF
1554d4401354Smrg
1555d4401354Smrgcat >>confdefs.h <<_ACEOF
1556d4401354Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION"
1557d4401354Smrg_ACEOF
1558d4401354Smrg
1559d4401354Smrgcat >>confdefs.h <<_ACEOF
1560d4401354Smrg#define PACKAGE_STRING "$PACKAGE_STRING"
1561d4401354Smrg_ACEOF
1562d4401354Smrg
1563d4401354Smrgcat >>confdefs.h <<_ACEOF
1564d4401354Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1565d4401354Smrg_ACEOF
1566d4401354Smrg
1567d4401354Smrgcat >>confdefs.h <<_ACEOF
1568d4401354Smrg#define PACKAGE_URL "$PACKAGE_URL"
1569d4401354Smrg_ACEOF
1570d4401354Smrg
1571d4401354Smrg
1572d4401354Smrg# Let the site file select an alternate cache file if it wants to.
1573d4401354Smrg# Prefer an explicitly selected file to automatically selected ones.
1574d4401354Smrgac_site_file1=NONE
1575d4401354Smrgac_site_file2=NONE
1576d4401354Smrgif test -n "$CONFIG_SITE"; then
1577d4401354Smrg  ac_site_file1=$CONFIG_SITE
1578d4401354Smrgelif test "x$prefix" != xNONE; then
1579d4401354Smrg  ac_site_file1=$prefix/share/config.site
1580d4401354Smrg  ac_site_file2=$prefix/etc/config.site
1581d4401354Smrgelse
1582d4401354Smrg  ac_site_file1=$ac_default_prefix/share/config.site
1583d4401354Smrg  ac_site_file2=$ac_default_prefix/etc/config.site
1584d4401354Smrgfi
1585d4401354Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2"
1586d4401354Smrgdo
1587d4401354Smrg  test "x$ac_site_file" = xNONE && continue
1588d4401354Smrg  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1589d4401354Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1590d4401354Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1591d4401354Smrg    sed 's/^/| /' "$ac_site_file" >&5
1592d4401354Smrg    . "$ac_site_file"
1593d4401354Smrg  fi
1594d4401354Smrgdone
1595d4401354Smrg
1596d4401354Smrgif test -r "$cache_file"; then
1597d4401354Smrg  # Some versions of bash will fail to source /dev/null (special files
1598d4401354Smrg  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1599d4401354Smrg  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1600d4401354Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1601d4401354Smrg$as_echo "$as_me: loading cache $cache_file" >&6;}
1602d4401354Smrg    case $cache_file in
1603d4401354Smrg      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1604d4401354Smrg      *)                      . "./$cache_file";;
1605d4401354Smrg    esac
1606d4401354Smrg  fi
1607d4401354Smrgelse
1608d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1609d4401354Smrg$as_echo "$as_me: creating cache $cache_file" >&6;}
1610d4401354Smrg  >$cache_file
1611d4401354Smrgfi
1612d4401354Smrg
1613d4401354Smrg# Check that the precious variables saved in the cache have kept the same
1614d4401354Smrg# value.
1615d4401354Smrgac_cache_corrupted=false
1616d4401354Smrgfor ac_var in $ac_precious_vars; do
1617d4401354Smrg  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1618d4401354Smrg  eval ac_new_set=\$ac_env_${ac_var}_set
1619d4401354Smrg  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1620d4401354Smrg  eval ac_new_val=\$ac_env_${ac_var}_value
1621d4401354Smrg  case $ac_old_set,$ac_new_set in
1622d4401354Smrg    set,)
1623d4401354Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1624d4401354Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1625d4401354Smrg      ac_cache_corrupted=: ;;
1626d4401354Smrg    ,set)
1627d4401354Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1628d4401354Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1629d4401354Smrg      ac_cache_corrupted=: ;;
1630d4401354Smrg    ,);;
1631d4401354Smrg    *)
1632d4401354Smrg      if test "x$ac_old_val" != "x$ac_new_val"; then
1633d4401354Smrg	# differences in whitespace do not lead to failure.
1634d4401354Smrg	ac_old_val_w=`echo x $ac_old_val`
1635d4401354Smrg	ac_new_val_w=`echo x $ac_new_val`
1636d4401354Smrg	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1637d4401354Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1638d4401354Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1639d4401354Smrg	  ac_cache_corrupted=:
1640d4401354Smrg	else
1641d4401354Smrg	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1642d4401354Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1643d4401354Smrg	  eval $ac_var=\$ac_old_val
1644d4401354Smrg	fi
1645d4401354Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1646d4401354Smrg$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1647d4401354Smrg	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1648d4401354Smrg$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1649d4401354Smrg      fi;;
1650d4401354Smrg  esac
1651d4401354Smrg  # Pass precious variables to config.status.
1652d4401354Smrg  if test "$ac_new_set" = set; then
1653d4401354Smrg    case $ac_new_val in
1654d4401354Smrg    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1655d4401354Smrg    *) ac_arg=$ac_var=$ac_new_val ;;
1656d4401354Smrg    esac
1657d4401354Smrg    case " $ac_configure_args " in
1658d4401354Smrg      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1659d4401354Smrg      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1660d4401354Smrg    esac
1661d4401354Smrg  fi
1662d4401354Smrgdone
1663d4401354Smrgif $ac_cache_corrupted; then
1664d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1665d4401354Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1666d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1667d4401354Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1668d4401354Smrg  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1669d4401354Smrgfi
1670d4401354Smrg## -------------------- ##
1671d4401354Smrg## Main body of script. ##
1672d4401354Smrg## -------------------- ##
1673d4401354Smrg
1674d4401354Smrgac_ext=c
1675d4401354Smrgac_cpp='$CPP $CPPFLAGS'
1676d4401354Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1677d4401354Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1678d4401354Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu
1679d4401354Smrg
1680d4401354Smrg
1681d4401354Smrg
1682d4401354Smrgam__api_version='1.11'
1683d4401354Smrg
1684d4401354Smrgac_aux_dir=
1685d4401354Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1686d4401354Smrg  for ac_t in install-sh install.sh shtool; do
1687d4401354Smrg    if test -f "$ac_dir/$ac_t"; then
1688d4401354Smrg      ac_aux_dir=$ac_dir
1689d4401354Smrg      ac_install_sh="$ac_aux_dir/$ac_t -c"
1690d4401354Smrg      break 2
1691d4401354Smrg    fi
1692d4401354Smrg  done
1693d4401354Smrgdone
1694d4401354Smrgif test -z "$ac_aux_dir"; then
1695d4401354Smrg  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1696d4401354Smrgfi
1697d4401354Smrg
1698d4401354Smrg# These three variables are undocumented and unsupported,
1699d4401354Smrg# and are intended to be withdrawn in a future Autoconf release.
1700d4401354Smrg# They can cause serious problems if a builder's source tree is in a directory
1701d4401354Smrg# whose full name contains unusual characters.
1702d4401354Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1703d4401354Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1704d4401354Smrgac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1705d4401354Smrg
1706d4401354Smrg
1707d4401354Smrg# Find a good install program.  We prefer a C program (faster),
1708d4401354Smrg# so one script is as good as another.  But avoid the broken or
1709d4401354Smrg# incompatible versions:
1710d4401354Smrg# SysV /etc/install, /usr/sbin/install
1711d4401354Smrg# SunOS /usr/etc/install
1712d4401354Smrg# IRIX /sbin/install
1713d4401354Smrg# AIX /bin/install
1714d4401354Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs
1715d4401354Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1716d4401354Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1717d4401354Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1718d4401354Smrg# OS/2's system install, which has a completely different semantic
1719d4401354Smrg# ./install, which can be erroneously created by make from ./install.sh.
1720d4401354Smrg# Reject install programs that cannot install multiple files.
1721d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1722d4401354Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; }
1723d4401354Smrgif test -z "$INSTALL"; then
1724d4401354Smrgif test "${ac_cv_path_install+set}" = set; then :
1725d4401354Smrg  $as_echo_n "(cached) " >&6
1726d4401354Smrgelse
1727d4401354Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728d4401354Smrgfor as_dir in $PATH
1729d4401354Smrgdo
1730d4401354Smrg  IFS=$as_save_IFS
1731d4401354Smrg  test -z "$as_dir" && as_dir=.
1732d4401354Smrg    # Account for people who put trailing slashes in PATH elements.
1733d4401354Smrgcase $as_dir/ in #((
1734d4401354Smrg  ./ | .// | /[cC]/* | \
1735d4401354Smrg  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1736d4401354Smrg  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1737d4401354Smrg  /usr/ucb/* ) ;;
1738d4401354Smrg  *)
1739d4401354Smrg    # OSF1 and SCO ODT 3.0 have their own names for install.
1740d4401354Smrg    # Don't use installbsd from OSF since it installs stuff as root
1741d4401354Smrg    # by default.
1742d4401354Smrg    for ac_prog in ginstall scoinst install; do
1743d4401354Smrg      for ac_exec_ext in '' $ac_executable_extensions; do
1744d4401354Smrg	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1745d4401354Smrg	  if test $ac_prog = install &&
1746d4401354Smrg	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1747d4401354Smrg	    # AIX install.  It has an incompatible calling convention.
1748d4401354Smrg	    :
1749d4401354Smrg	  elif test $ac_prog = install &&
1750d4401354Smrg	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1751d4401354Smrg	    # program-specific install script used by HP pwplus--don't use.
1752d4401354Smrg	    :
1753d4401354Smrg	  else
1754d4401354Smrg	    rm -rf conftest.one conftest.two conftest.dir
1755d4401354Smrg	    echo one > conftest.one
1756d4401354Smrg	    echo two > conftest.two
1757d4401354Smrg	    mkdir conftest.dir
1758d4401354Smrg	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1759d4401354Smrg	      test -s conftest.one && test -s conftest.two &&
1760d4401354Smrg	      test -s conftest.dir/conftest.one &&
1761d4401354Smrg	      test -s conftest.dir/conftest.two
1762d4401354Smrg	    then
1763d4401354Smrg	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1764d4401354Smrg	      break 3
1765d4401354Smrg	    fi
1766d4401354Smrg	  fi
1767d4401354Smrg	fi
1768d4401354Smrg      done
1769d4401354Smrg    done
1770d4401354Smrg    ;;
1771d4401354Smrgesac
1772d4401354Smrg
1773d4401354Smrg  done
1774d4401354SmrgIFS=$as_save_IFS
1775d4401354Smrg
1776d4401354Smrgrm -rf conftest.one conftest.two conftest.dir
1777d4401354Smrg
1778d4401354Smrgfi
1779d4401354Smrg  if test "${ac_cv_path_install+set}" = set; then
1780d4401354Smrg    INSTALL=$ac_cv_path_install
1781d4401354Smrg  else
1782d4401354Smrg    # As a last resort, use the slow shell script.  Don't cache a
1783d4401354Smrg    # value for INSTALL within a source directory, because that will
1784d4401354Smrg    # break other packages using the cache if that directory is
1785d4401354Smrg    # removed, or if the value is a relative name.
1786d4401354Smrg    INSTALL=$ac_install_sh
1787d4401354Smrg  fi
1788d4401354Smrgfi
1789d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1790d4401354Smrg$as_echo "$INSTALL" >&6; }
1791d4401354Smrg
1792d4401354Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1793d4401354Smrg# It thinks the first close brace ends the variable substitution.
1794d4401354Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1795d4401354Smrg
1796d4401354Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1797d4401354Smrg
1798d4401354Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1799d4401354Smrg
1800d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1801d4401354Smrg$as_echo_n "checking whether build environment is sane... " >&6; }
1802d4401354Smrg# Just in case
1803d4401354Smrgsleep 1
1804d4401354Smrgecho timestamp > conftest.file
1805d4401354Smrg# Reject unsafe characters in $srcdir or the absolute working directory
1806d4401354Smrg# name.  Accept space and tab only in the latter.
1807d4401354Smrgam_lf='
1808d4401354Smrg'
1809d4401354Smrgcase `pwd` in
1810d4401354Smrg  *[\\\"\#\$\&\'\`$am_lf]*)
1811d4401354Smrg    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1812d4401354Smrgesac
1813d4401354Smrgcase $srcdir in
1814d4401354Smrg  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1815d4401354Smrg    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1816d4401354Smrgesac
1817d4401354Smrg
1818d4401354Smrg# Do `set' in a subshell so we don't clobber the current shell's
1819d4401354Smrg# arguments.  Must try -L first in case configure is actually a
1820d4401354Smrg# symlink; some systems play weird games with the mod time of symlinks
1821d4401354Smrg# (eg FreeBSD returns the mod time of the symlink's containing
1822d4401354Smrg# directory).
1823d4401354Smrgif (
1824d4401354Smrg   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1825d4401354Smrg   if test "$*" = "X"; then
1826d4401354Smrg      # -L didn't work.
1827d4401354Smrg      set X `ls -t "$srcdir/configure" conftest.file`
1828d4401354Smrg   fi
1829d4401354Smrg   rm -f conftest.file
1830d4401354Smrg   if test "$*" != "X $srcdir/configure conftest.file" \
1831d4401354Smrg      && test "$*" != "X conftest.file $srcdir/configure"; then
1832d4401354Smrg
1833d4401354Smrg      # If neither matched, then we have a broken ls.  This can happen
1834d4401354Smrg      # if, for instance, CONFIG_SHELL is bash and it inherits a
1835d4401354Smrg      # broken ls alias from the environment.  This has actually
1836d4401354Smrg      # happened.  Such a system could not be considered "sane".
1837d4401354Smrg      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
1838d4401354Smrgalias in your environment" "$LINENO" 5
1839d4401354Smrg   fi
1840d4401354Smrg
1841d4401354Smrg   test "$2" = conftest.file
1842d4401354Smrg   )
1843d4401354Smrgthen
1844d4401354Smrg   # Ok.
1845d4401354Smrg   :
1846d4401354Smrgelse
1847d4401354Smrg   as_fn_error "newly created file is older than distributed files!
1848d4401354SmrgCheck your system clock" "$LINENO" 5
1849d4401354Smrgfi
1850d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1851d4401354Smrg$as_echo "yes" >&6; }
1852d4401354Smrgtest "$program_prefix" != NONE &&
1853d4401354Smrg  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1854d4401354Smrg# Use a double $ so make ignores it.
1855d4401354Smrgtest "$program_suffix" != NONE &&
1856d4401354Smrg  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1857d4401354Smrg# Double any \ or $.
1858d4401354Smrg# By default was `s,x,x', remove it if useless.
1859d4401354Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1860d4401354Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1861d4401354Smrg
1862d4401354Smrg# expand $ac_aux_dir to an absolute path
1863d4401354Smrgam_aux_dir=`cd $ac_aux_dir && pwd`
1864d4401354Smrg
1865d4401354Smrgif test x"${MISSING+set}" != xset; then
1866d4401354Smrg  case $am_aux_dir in
1867d4401354Smrg  *\ * | *\	*)
1868d4401354Smrg    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1869d4401354Smrg  *)
1870d4401354Smrg    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1871d4401354Smrg  esac
1872d4401354Smrgfi
1873d4401354Smrg# Use eval to expand $SHELL
1874d4401354Smrgif eval "$MISSING --run true"; then
1875d4401354Smrg  am_missing_run="$MISSING --run "
1876d4401354Smrgelse
1877d4401354Smrg  am_missing_run=
1878d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1879d4401354Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1880d4401354Smrgfi
1881d4401354Smrg
1882d4401354Smrgif test x"${install_sh}" != xset; then
1883d4401354Smrg  case $am_aux_dir in
1884d4401354Smrg  *\ * | *\	*)
1885d4401354Smrg    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1886d4401354Smrg  *)
1887d4401354Smrg    install_sh="\${SHELL} $am_aux_dir/install-sh"
1888d4401354Smrg  esac
1889d4401354Smrgfi
1890d4401354Smrg
1891d4401354Smrg# Installed binaries are usually stripped using `strip' when the user
1892d4401354Smrg# run `make install-strip'.  However `strip' might not be the right
1893d4401354Smrg# tool to use in cross-compilation environments, therefore Automake
1894d4401354Smrg# will honor the `STRIP' environment variable to overrule this program.
1895d4401354Smrgif test "$cross_compiling" != no; then
1896d4401354Smrg  if test -n "$ac_tool_prefix"; then
1897d4401354Smrg  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1898d4401354Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2
1899d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1900d4401354Smrg$as_echo_n "checking for $ac_word... " >&6; }
1901d4401354Smrgif test "${ac_cv_prog_STRIP+set}" = set; then :
1902d4401354Smrg  $as_echo_n "(cached) " >&6
1903d4401354Smrgelse
1904d4401354Smrg  if test -n "$STRIP"; then
1905d4401354Smrg  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1906d4401354Smrgelse
1907d4401354Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908d4401354Smrgfor as_dir in $PATH
1909d4401354Smrgdo
1910d4401354Smrg  IFS=$as_save_IFS
1911d4401354Smrg  test -z "$as_dir" && as_dir=.
1912d4401354Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
1913d4401354Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1914d4401354Smrg    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1915d4401354Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1916d4401354Smrg    break 2
1917d4401354Smrg  fi
1918d4401354Smrgdone
1919d4401354Smrg  done
1920d4401354SmrgIFS=$as_save_IFS
1921d4401354Smrg
1922d4401354Smrgfi
1923d4401354Smrgfi
1924d4401354SmrgSTRIP=$ac_cv_prog_STRIP
1925d4401354Smrgif test -n "$STRIP"; then
1926d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1927d4401354Smrg$as_echo "$STRIP" >&6; }
1928d4401354Smrgelse
1929d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1930d4401354Smrg$as_echo "no" >&6; }
1931d4401354Smrgfi
1932d4401354Smrg
1933d4401354Smrg
1934d4401354Smrgfi
1935d4401354Smrgif test -z "$ac_cv_prog_STRIP"; then
1936d4401354Smrg  ac_ct_STRIP=$STRIP
1937d4401354Smrg  # Extract the first word of "strip", so it can be a program name with args.
1938d4401354Smrgset dummy strip; ac_word=$2
1939d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1940d4401354Smrg$as_echo_n "checking for $ac_word... " >&6; }
1941d4401354Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1942d4401354Smrg  $as_echo_n "(cached) " >&6
1943d4401354Smrgelse
1944d4401354Smrg  if test -n "$ac_ct_STRIP"; then
1945d4401354Smrg  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1946d4401354Smrgelse
1947d4401354Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948d4401354Smrgfor as_dir in $PATH
1949d4401354Smrgdo
1950d4401354Smrg  IFS=$as_save_IFS
1951d4401354Smrg  test -z "$as_dir" && as_dir=.
1952d4401354Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
1953d4401354Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1954d4401354Smrg    ac_cv_prog_ac_ct_STRIP="strip"
1955d4401354Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1956d4401354Smrg    break 2
1957d4401354Smrg  fi
1958d4401354Smrgdone
1959d4401354Smrg  done
1960d4401354SmrgIFS=$as_save_IFS
1961d4401354Smrg
1962d4401354Smrgfi
1963d4401354Smrgfi
1964d4401354Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1965d4401354Smrgif test -n "$ac_ct_STRIP"; then
1966d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1967d4401354Smrg$as_echo "$ac_ct_STRIP" >&6; }
1968d4401354Smrgelse
1969d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1970d4401354Smrg$as_echo "no" >&6; }
1971d4401354Smrgfi
1972d4401354Smrg
1973d4401354Smrg  if test "x$ac_ct_STRIP" = x; then
1974d4401354Smrg    STRIP=":"
1975d4401354Smrg  else
1976d4401354Smrg    case $cross_compiling:$ac_tool_warned in
1977d4401354Smrgyes:)
1978d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1979d4401354Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1980d4401354Smrgac_tool_warned=yes ;;
1981d4401354Smrgesac
1982d4401354Smrg    STRIP=$ac_ct_STRIP
1983d4401354Smrg  fi
1984d4401354Smrgelse
1985d4401354Smrg  STRIP="$ac_cv_prog_STRIP"
1986d4401354Smrgfi
1987d4401354Smrg
1988d4401354Smrgfi
1989d4401354SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1990d4401354Smrg
1991d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1992d4401354Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1993d4401354Smrgif test -z "$MKDIR_P"; then
1994d4401354Smrg  if test "${ac_cv_path_mkdir+set}" = set; then :
1995d4401354Smrg  $as_echo_n "(cached) " >&6
1996d4401354Smrgelse
1997d4401354Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998d4401354Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1999d4401354Smrgdo
2000d4401354Smrg  IFS=$as_save_IFS
2001d4401354Smrg  test -z "$as_dir" && as_dir=.
2002d4401354Smrg    for ac_prog in mkdir gmkdir; do
2003d4401354Smrg	 for ac_exec_ext in '' $ac_executable_extensions; do
2004d4401354Smrg	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2005d4401354Smrg	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2006d4401354Smrg	     'mkdir (GNU coreutils) '* | \
2007d4401354Smrg	     'mkdir (coreutils) '* | \
2008d4401354Smrg	     'mkdir (fileutils) '4.1*)
2009d4401354Smrg	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2010d4401354Smrg	       break 3;;
2011d4401354Smrg	   esac
2012d4401354Smrg	 done
2013d4401354Smrg       done
2014d4401354Smrg  done
2015d4401354SmrgIFS=$as_save_IFS
2016d4401354Smrg
2017d4401354Smrgfi
2018d4401354Smrg
2019d4401354Smrg  test -d ./--version && rmdir ./--version
2020d4401354Smrg  if test "${ac_cv_path_mkdir+set}" = set; then
2021d4401354Smrg    MKDIR_P="$ac_cv_path_mkdir -p"
2022d4401354Smrg  else
2023d4401354Smrg    # As a last resort, use the slow shell script.  Don't cache a
2024d4401354Smrg    # value for MKDIR_P within a source directory, because that will
2025d4401354Smrg    # break other packages using the cache if that directory is
2026d4401354Smrg    # removed, or if the value is a relative name.
2027d4401354Smrg    MKDIR_P="$ac_install_sh -d"
2028d4401354Smrg  fi
2029d4401354Smrgfi
2030d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2031d4401354Smrg$as_echo "$MKDIR_P" >&6; }
2032d4401354Smrg
2033d4401354Smrgmkdir_p="$MKDIR_P"
2034d4401354Smrgcase $mkdir_p in
2035d4401354Smrg  [\\/$]* | ?:[\\/]*) ;;
2036d4401354Smrg  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2037d4401354Smrgesac
2038d4401354Smrg
2039d4401354Smrgfor ac_prog in gawk mawk nawk awk
2040d4401354Smrgdo
2041d4401354Smrg  # Extract the first word of "$ac_prog", so it can be a program name with args.
2042d4401354Smrgset dummy $ac_prog; ac_word=$2
2043d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2044d4401354Smrg$as_echo_n "checking for $ac_word... " >&6; }
2045d4401354Smrgif test "${ac_cv_prog_AWK+set}" = set; then :
2046d4401354Smrg  $as_echo_n "(cached) " >&6
2047d4401354Smrgelse
2048d4401354Smrg  if test -n "$AWK"; then
2049d4401354Smrg  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2050d4401354Smrgelse
2051d4401354Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052d4401354Smrgfor as_dir in $PATH
2053d4401354Smrgdo
2054d4401354Smrg  IFS=$as_save_IFS
2055d4401354Smrg  test -z "$as_dir" && as_dir=.
2056d4401354Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2057d4401354Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2058d4401354Smrg    ac_cv_prog_AWK="$ac_prog"
2059d4401354Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2060d4401354Smrg    break 2
2061d4401354Smrg  fi
2062d4401354Smrgdone
2063d4401354Smrg  done
2064d4401354SmrgIFS=$as_save_IFS
2065d4401354Smrg
2066d4401354Smrgfi
2067d4401354Smrgfi
2068d4401354SmrgAWK=$ac_cv_prog_AWK
2069d4401354Smrgif test -n "$AWK"; then
2070d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2071d4401354Smrg$as_echo "$AWK" >&6; }
2072d4401354Smrgelse
2073d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2074d4401354Smrg$as_echo "no" >&6; }
2075d4401354Smrgfi
2076d4401354Smrg
2077d4401354Smrg
2078d4401354Smrg  test -n "$AWK" && break
2079d4401354Smrgdone
2080d4401354Smrg
2081d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2082d4401354Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2083d4401354Smrgset x ${MAKE-make}
2084d4401354Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2085d4401354Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2086d4401354Smrg  $as_echo_n "(cached) " >&6
2087d4401354Smrgelse
2088d4401354Smrg  cat >conftest.make <<\_ACEOF
2089d4401354SmrgSHELL = /bin/sh
2090d4401354Smrgall:
2091d4401354Smrg	@echo '@@@%%%=$(MAKE)=@@@%%%'
2092d4401354Smrg_ACEOF
2093d4401354Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2094d4401354Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in
2095d4401354Smrg  *@@@%%%=?*=@@@%%%*)
2096d4401354Smrg    eval ac_cv_prog_make_${ac_make}_set=yes;;
2097d4401354Smrg  *)
2098d4401354Smrg    eval ac_cv_prog_make_${ac_make}_set=no;;
2099d4401354Smrgesac
2100d4401354Smrgrm -f conftest.make
2101d4401354Smrgfi
2102d4401354Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2103d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2104d4401354Smrg$as_echo "yes" >&6; }
2105d4401354Smrg  SET_MAKE=
2106d4401354Smrgelse
2107d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108d4401354Smrg$as_echo "no" >&6; }
2109d4401354Smrg  SET_MAKE="MAKE=${MAKE-make}"
2110d4401354Smrgfi
2111d4401354Smrg
2112d4401354Smrgrm -rf .tst 2>/dev/null
2113d4401354Smrgmkdir .tst 2>/dev/null
2114d4401354Smrgif test -d .tst; then
2115d4401354Smrg  am__leading_dot=.
2116d4401354Smrgelse
2117d4401354Smrg  am__leading_dot=_
2118d4401354Smrgfi
2119d4401354Smrgrmdir .tst 2>/dev/null
2120d4401354Smrg
2121d4401354Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then
2122d4401354Smrg  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2123d4401354Smrg  # is not polluted with repeated "-I."
2124d4401354Smrg  am__isrc=' -I$(srcdir)'
2125d4401354Smrg  # test to see if srcdir already configured
2126d4401354Smrg  if test -f $srcdir/config.status; then
2127d4401354Smrg    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2128d4401354Smrg  fi
2129d4401354Smrgfi
2130d4401354Smrg
2131d4401354Smrg# test whether we have cygpath
2132d4401354Smrgif test -z "$CYGPATH_W"; then
2133d4401354Smrg  if (cygpath --version) >/dev/null 2>/dev/null; then
2134d4401354Smrg    CYGPATH_W='cygpath -w'
2135d4401354Smrg  else
2136d4401354Smrg    CYGPATH_W=echo
2137d4401354Smrg  fi
2138d4401354Smrgfi
2139d4401354Smrg
2140d4401354Smrg
2141d4401354Smrg# Define the identity of the package.
2142d4401354Smrg PACKAGE='xcb-proto'
2143d4401354Smrg VERSION='1.6'
2144d4401354Smrg
2145d4401354Smrg
2146d4401354Smrgcat >>confdefs.h <<_ACEOF
2147d4401354Smrg#define PACKAGE "$PACKAGE"
2148d4401354Smrg_ACEOF
2149d4401354Smrg
2150d4401354Smrg
2151d4401354Smrgcat >>confdefs.h <<_ACEOF
2152d4401354Smrg#define VERSION "$VERSION"
2153d4401354Smrg_ACEOF
2154d4401354Smrg
2155d4401354Smrg# Some tools Automake needs.
2156d4401354Smrg
2157d4401354SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2158d4401354Smrg
2159d4401354Smrg
2160d4401354SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2161d4401354Smrg
2162d4401354Smrg
2163d4401354SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2164d4401354Smrg
2165d4401354Smrg
2166d4401354SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2167d4401354Smrg
2168d4401354Smrg
2169d4401354SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2170d4401354Smrg
2171d4401354Smrg# We need awk for the "check" target.  The system "awk" is bad on
2172d4401354Smrg# some platforms.
2173d4401354Smrg# Always define AMTAR for backward compatibility.
2174d4401354Smrg
2175d4401354SmrgAMTAR=${AMTAR-"${am_missing_run}tar"}
2176d4401354Smrg
2177d4401354Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2178d4401354Smrg
2179d4401354Smrg
2180d4401354Smrg
2181d4401354Smrg
2182d4401354Smrg
2183d4401354Smrg
2184d4401354Smrg# Extract the first word of "xmllint", so it can be a program name with args.
2185d4401354Smrgset dummy xmllint; ac_word=$2
2186d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187d4401354Smrg$as_echo_n "checking for $ac_word... " >&6; }
2188d4401354Smrgif test "${ac_cv_path_XMLLINT+set}" = set; then :
2189d4401354Smrg  $as_echo_n "(cached) " >&6
2190d4401354Smrgelse
2191d4401354Smrg  case $XMLLINT in
2192d4401354Smrg  [\\/]* | ?:[\\/]*)
2193d4401354Smrg  ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
2194d4401354Smrg  ;;
2195d4401354Smrg  *)
2196d4401354Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197d4401354Smrgfor as_dir in $PATH
2198d4401354Smrgdo
2199d4401354Smrg  IFS=$as_save_IFS
2200d4401354Smrg  test -z "$as_dir" && as_dir=.
2201d4401354Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2202d4401354Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203d4401354Smrg    ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
2204d4401354Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2205d4401354Smrg    break 2
2206d4401354Smrg  fi
2207d4401354Smrgdone
2208d4401354Smrg  done
2209d4401354SmrgIFS=$as_save_IFS
2210d4401354Smrg
2211d4401354Smrg  test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="no"
2212d4401354Smrg  ;;
2213d4401354Smrgesac
2214d4401354Smrgfi
2215d4401354SmrgXMLLINT=$ac_cv_path_XMLLINT
2216d4401354Smrgif test -n "$XMLLINT"; then
2217d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
2218d4401354Smrg$as_echo "$XMLLINT" >&6; }
2219d4401354Smrgelse
2220d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221d4401354Smrg$as_echo "no" >&6; }
2222d4401354Smrgfi
2223d4401354Smrg
2224d4401354Smrg
2225d4401354Smrg if test "x$XMLLINT" != "xno"; then
2226d4401354Smrg  HAVE_XMLLINT_TRUE=
2227d4401354Smrg  HAVE_XMLLINT_FALSE='#'
2228d4401354Smrgelse
2229d4401354Smrg  HAVE_XMLLINT_TRUE='#'
2230d4401354Smrg  HAVE_XMLLINT_FALSE=
2231d4401354Smrgfi
2232d4401354Smrg
2233d4401354Smrgif test "$XMLLINT" = "no"; then
2234d4401354Smrg   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmllint not found; unable to validate against schema." >&5
2235d4401354Smrg$as_echo "$as_me: WARNING: xmllint not found; unable to validate against schema." >&2;}
2236d4401354Smrgfi
2237d4401354Smrg
2238d4401354Smrg
2239d4401354Smrg
2240d4401354Smrg
2241d4401354Smrg
2242d4401354Smrg        if test -n "$PYTHON"; then
2243d4401354Smrg      # If the user set $PYTHON, use it and don't search something else.
2244d4401354Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
2245d4401354Smrg$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
2246d4401354Smrg      prog="import sys
2247d4401354Smrg# split strings by '.' and convert to numeric.  Append some zeros
2248d4401354Smrg# because we need at least 4 digits for the hex conversion.
2249d4401354Smrg# map returns an iterator in Python 3.0 and a list in 2.x
2250d4401354Smrgminver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
2251d4401354Smrgminverhex = 0
2252d4401354Smrg# xrange is not present in Python 3.0 and range returns an iterator
2253d4401354Smrgfor i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
2254d4401354Smrgsys.exit(sys.hexversion < minverhex)"
2255d4401354Smrg  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
2256d4401354Smrg   ($PYTHON -c "$prog") >&5 2>&5
2257d4401354Smrg   ac_status=$?
2258d4401354Smrg   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259d4401354Smrg   (exit $ac_status); }; then :
2260d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2261d4401354Smrg$as_echo "yes" >&6; }
2262d4401354Smrgelse
2263d4401354Smrg  as_fn_error "too old" "$LINENO" 5
2264d4401354Smrgfi
2265d4401354Smrg      am_display_PYTHON=$PYTHON
2266d4401354Smrg    else
2267d4401354Smrg      # Otherwise, try each interpreter until we find one that satisfies
2268d4401354Smrg      # VERSION.
2269d4401354Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
2270d4401354Smrg$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
2271d4401354Smrgif test "${am_cv_pathless_PYTHON+set}" = set; then :
2272d4401354Smrg  $as_echo_n "(cached) " >&6
2273d4401354Smrgelse
2274d4401354Smrg
2275d4401354Smrg	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
2276d4401354Smrg	  test "$am_cv_pathless_PYTHON" = none && break
2277d4401354Smrg	  prog="import sys
2278d4401354Smrg# split strings by '.' and convert to numeric.  Append some zeros
2279d4401354Smrg# because we need at least 4 digits for the hex conversion.
2280d4401354Smrg# map returns an iterator in Python 3.0 and a list in 2.x
2281d4401354Smrgminver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
2282d4401354Smrgminverhex = 0
2283d4401354Smrg# xrange is not present in Python 3.0 and range returns an iterator
2284d4401354Smrgfor i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
2285d4401354Smrgsys.exit(sys.hexversion < minverhex)"
2286d4401354Smrg  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
2287d4401354Smrg   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
2288d4401354Smrg   ac_status=$?
2289d4401354Smrg   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290d4401354Smrg   (exit $ac_status); }; then :
2291d4401354Smrg  break
2292d4401354Smrgfi
2293d4401354Smrg	done
2294d4401354Smrgfi
2295d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
2296d4401354Smrg$as_echo "$am_cv_pathless_PYTHON" >&6; }
2297d4401354Smrg      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
2298d4401354Smrg      if test "$am_cv_pathless_PYTHON" = none; then
2299d4401354Smrg	PYTHON=:
2300d4401354Smrg      else
2301d4401354Smrg        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
2302d4401354Smrgset dummy $am_cv_pathless_PYTHON; ac_word=$2
2303d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304d4401354Smrg$as_echo_n "checking for $ac_word... " >&6; }
2305d4401354Smrgif test "${ac_cv_path_PYTHON+set}" = set; then :
2306d4401354Smrg  $as_echo_n "(cached) " >&6
2307d4401354Smrgelse
2308d4401354Smrg  case $PYTHON in
2309d4401354Smrg  [\\/]* | ?:[\\/]*)
2310d4401354Smrg  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2311d4401354Smrg  ;;
2312d4401354Smrg  *)
2313d4401354Smrg  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314d4401354Smrgfor as_dir in $PATH
2315d4401354Smrgdo
2316d4401354Smrg  IFS=$as_save_IFS
2317d4401354Smrg  test -z "$as_dir" && as_dir=.
2318d4401354Smrg    for ac_exec_ext in '' $ac_executable_extensions; do
2319d4401354Smrg  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2320d4401354Smrg    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2321d4401354Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2322d4401354Smrg    break 2
2323d4401354Smrg  fi
2324d4401354Smrgdone
2325d4401354Smrg  done
2326d4401354SmrgIFS=$as_save_IFS
2327d4401354Smrg
2328d4401354Smrg  ;;
2329d4401354Smrgesac
2330d4401354Smrgfi
2331d4401354SmrgPYTHON=$ac_cv_path_PYTHON
2332d4401354Smrgif test -n "$PYTHON"; then
2333d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
2334d4401354Smrg$as_echo "$PYTHON" >&6; }
2335d4401354Smrgelse
2336d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337d4401354Smrg$as_echo "no" >&6; }
2338d4401354Smrgfi
2339d4401354Smrg
2340d4401354Smrg
2341d4401354Smrg      fi
2342d4401354Smrg      am_display_PYTHON=$am_cv_pathless_PYTHON
2343d4401354Smrg    fi
2344d4401354Smrg
2345d4401354Smrg
2346d4401354Smrg  if test "$PYTHON" = :; then
2347d4401354Smrg      as_fn_error "no suitable Python interpreter found" "$LINENO" 5
2348d4401354Smrg  else
2349d4401354Smrg
2350d4401354Smrg
2351d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
2352d4401354Smrg$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
2353d4401354Smrgif test "${am_cv_python_version+set}" = set; then :
2354d4401354Smrg  $as_echo_n "(cached) " >&6
2355d4401354Smrgelse
2356d4401354Smrg  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
2357d4401354Smrgfi
2358d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
2359d4401354Smrg$as_echo "$am_cv_python_version" >&6; }
2360d4401354Smrg  PYTHON_VERSION=$am_cv_python_version
2361d4401354Smrg
2362d4401354Smrg
2363d4401354Smrg
2364d4401354Smrg  PYTHON_PREFIX='${prefix}'
2365d4401354Smrg
2366d4401354Smrg  PYTHON_EXEC_PREFIX='${exec_prefix}'
2367d4401354Smrg
2368d4401354Smrg
2369d4401354Smrg
2370d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
2371d4401354Smrg$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
2372d4401354Smrgif test "${am_cv_python_platform+set}" = set; then :
2373d4401354Smrg  $as_echo_n "(cached) " >&6
2374d4401354Smrgelse
2375d4401354Smrg  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
2376d4401354Smrgfi
2377d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
2378d4401354Smrg$as_echo "$am_cv_python_platform" >&6; }
2379d4401354Smrg  PYTHON_PLATFORM=$am_cv_python_platform
2380d4401354Smrg
2381d4401354Smrg
2382d4401354Smrg
2383d4401354Smrg
2384d4401354Smrg                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
2385d4401354Smrg$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
2386d4401354Smrgif test "${am_cv_python_pythondir+set}" = set; then :
2387d4401354Smrg  $as_echo_n "(cached) " >&6
2388d4401354Smrgelse
2389d4401354Smrg  if test "x$prefix" = xNONE
2390d4401354Smrg     then
2391d4401354Smrg       am_py_prefix=$ac_default_prefix
2392d4401354Smrg     else
2393d4401354Smrg       am_py_prefix=$prefix
2394d4401354Smrg     fi
2395d4401354Smrg     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
2396d4401354Smrg     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2397d4401354Smrg     case $am_cv_python_pythondir in
2398d4401354Smrg     $am_py_prefix*)
2399d4401354Smrg       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
2400d4401354Smrg       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
2401d4401354Smrg       ;;
2402d4401354Smrg     esac
2403d4401354Smrg
2404d4401354Smrgfi
2405d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
2406d4401354Smrg$as_echo "$am_cv_python_pythondir" >&6; }
2407d4401354Smrg  pythondir=$am_cv_python_pythondir
2408d4401354Smrg
2409d4401354Smrg
2410d4401354Smrg
2411d4401354Smrg  pkgpythondir=\${pythondir}/$PACKAGE
2412d4401354Smrg
2413d4401354Smrg
2414d4401354Smrg            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
2415d4401354Smrg$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
2416d4401354Smrgif test "${am_cv_python_pyexecdir+set}" = set; then :
2417d4401354Smrg  $as_echo_n "(cached) " >&6
2418d4401354Smrgelse
2419d4401354Smrg  if test "x$exec_prefix" = xNONE
2420d4401354Smrg     then
2421d4401354Smrg       am_py_exec_prefix=$am_py_prefix
2422d4401354Smrg     else
2423d4401354Smrg       am_py_exec_prefix=$exec_prefix
2424d4401354Smrg     fi
2425d4401354Smrg     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
2426d4401354Smrg     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2427d4401354Smrg     case $am_cv_python_pyexecdir in
2428d4401354Smrg     $am_py_exec_prefix*)
2429d4401354Smrg       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
2430d4401354Smrg       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
2431d4401354Smrg       ;;
2432d4401354Smrg     esac
2433d4401354Smrg
2434d4401354Smrgfi
2435d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
2436d4401354Smrg$as_echo "$am_cv_python_pyexecdir" >&6; }
2437d4401354Smrg  pyexecdir=$am_cv_python_pyexecdir
2438d4401354Smrg
2439d4401354Smrg
2440d4401354Smrg
2441d4401354Smrg  pkgpyexecdir=\${pyexecdir}/$PACKAGE
2442d4401354Smrg
2443d4401354Smrg
2444d4401354Smrg
2445d4401354Smrg  fi
2446d4401354Smrg
2447d4401354Smrg
2448d4401354Smrg
2449d4401354Smrgxcbincludedir='${datadir}/xcb'
2450d4401354Smrg
2451d4401354Smrg
2452d4401354Smrgac_config_files="$ac_config_files Makefile src/Makefile xcbgen/Makefile xcb-proto.pc"
2453d4401354Smrg
2454d4401354Smrgcat >confcache <<\_ACEOF
2455d4401354Smrg# This file is a shell script that caches the results of configure
2456d4401354Smrg# tests run on this system so they can be shared between configure
2457d4401354Smrg# scripts and configure runs, see configure's option --config-cache.
2458d4401354Smrg# It is not useful on other systems.  If it contains results you don't
2459d4401354Smrg# want to keep, you may remove or edit it.
2460d4401354Smrg#
2461d4401354Smrg# config.status only pays attention to the cache file if you give it
2462d4401354Smrg# the --recheck option to rerun configure.
2463d4401354Smrg#
2464d4401354Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when
2465d4401354Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the
2466d4401354Smrg# following values.
2467d4401354Smrg
2468d4401354Smrg_ACEOF
2469d4401354Smrg
2470d4401354Smrg# The following way of writing the cache mishandles newlines in values,
2471d4401354Smrg# but we know of no workaround that is simple, portable, and efficient.
2472d4401354Smrg# So, we kill variables containing newlines.
2473d4401354Smrg# Ultrix sh set writes to stderr and can't be redirected directly,
2474d4401354Smrg# and sets the high bit in the cache file unless we assign to the vars.
2475d4401354Smrg(
2476d4401354Smrg  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2477d4401354Smrg    eval ac_val=\$$ac_var
2478d4401354Smrg    case $ac_val in #(
2479d4401354Smrg    *${as_nl}*)
2480d4401354Smrg      case $ac_var in #(
2481d4401354Smrg      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2482d4401354Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2483d4401354Smrg      esac
2484d4401354Smrg      case $ac_var in #(
2485d4401354Smrg      _ | IFS | as_nl) ;; #(
2486d4401354Smrg      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2487d4401354Smrg      *) { eval $ac_var=; unset $ac_var;} ;;
2488d4401354Smrg      esac ;;
2489d4401354Smrg    esac
2490d4401354Smrg  done
2491d4401354Smrg
2492d4401354Smrg  (set) 2>&1 |
2493d4401354Smrg    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2494d4401354Smrg    *${as_nl}ac_space=\ *)
2495d4401354Smrg      # `set' does not quote correctly, so add quotes: double-quote
2496d4401354Smrg      # substitution turns \\\\ into \\, and sed turns \\ into \.
2497d4401354Smrg      sed -n \
2498d4401354Smrg	"s/'/'\\\\''/g;
2499d4401354Smrg	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2500d4401354Smrg      ;; #(
2501d4401354Smrg    *)
2502d4401354Smrg      # `set' quotes correctly as required by POSIX, so do not add quotes.
2503d4401354Smrg      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2504d4401354Smrg      ;;
2505d4401354Smrg    esac |
2506d4401354Smrg    sort
2507d4401354Smrg) |
2508d4401354Smrg  sed '
2509d4401354Smrg     /^ac_cv_env_/b end
2510d4401354Smrg     t clear
2511d4401354Smrg     :clear
2512d4401354Smrg     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2513d4401354Smrg     t end
2514d4401354Smrg     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2515d4401354Smrg     :end' >>confcache
2516d4401354Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2517d4401354Smrg  if test -w "$cache_file"; then
2518d4401354Smrg    test "x$cache_file" != "x/dev/null" &&
2519d4401354Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2520d4401354Smrg$as_echo "$as_me: updating cache $cache_file" >&6;}
2521d4401354Smrg    cat confcache >$cache_file
2522d4401354Smrg  else
2523d4401354Smrg    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2524d4401354Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2525d4401354Smrg  fi
2526d4401354Smrgfi
2527d4401354Smrgrm -f confcache
2528d4401354Smrg
2529d4401354Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix
2530d4401354Smrg# Let make expand exec_prefix.
2531d4401354Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2532d4401354Smrg
2533d4401354Smrg# Transform confdefs.h into DEFS.
2534d4401354Smrg# Protect against shell expansion while executing Makefile rules.
2535d4401354Smrg# Protect against Makefile macro expansion.
2536d4401354Smrg#
2537d4401354Smrg# If the first sed substitution is executed (which looks for macros that
2538d4401354Smrg# take arguments), then branch to the quote section.  Otherwise,
2539d4401354Smrg# look for a macro that doesn't take arguments.
2540d4401354Smrgac_script='
2541d4401354Smrg:mline
2542d4401354Smrg/\\$/{
2543d4401354Smrg N
2544d4401354Smrg s,\\\n,,
2545d4401354Smrg b mline
2546d4401354Smrg}
2547d4401354Smrgt clear
2548d4401354Smrg:clear
2549d4401354Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2550d4401354Smrgt quote
2551d4401354Smrgs/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2552d4401354Smrgt quote
2553d4401354Smrgb any
2554d4401354Smrg:quote
2555d4401354Smrgs/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2556d4401354Smrgs/\[/\\&/g
2557d4401354Smrgs/\]/\\&/g
2558d4401354Smrgs/\$/$$/g
2559d4401354SmrgH
2560d4401354Smrg:any
2561d4401354Smrg${
2562d4401354Smrg	g
2563d4401354Smrg	s/^\n//
2564d4401354Smrg	s/\n/ /g
2565d4401354Smrg	p
2566d4401354Smrg}
2567d4401354Smrg'
2568d4401354SmrgDEFS=`sed -n "$ac_script" confdefs.h`
2569d4401354Smrg
2570d4401354Smrg
2571d4401354Smrgac_libobjs=
2572d4401354Smrgac_ltlibobjs=
2573d4401354Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2574d4401354Smrg  # 1. Remove the extension, and $U if already installed.
2575d4401354Smrg  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2576d4401354Smrg  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2577d4401354Smrg  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2578d4401354Smrg  #    will be set to the directory where LIBOBJS objects are built.
2579d4401354Smrg  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2580d4401354Smrg  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2581d4401354Smrgdone
2582d4401354SmrgLIBOBJS=$ac_libobjs
2583d4401354Smrg
2584d4401354SmrgLTLIBOBJS=$ac_ltlibobjs
2585d4401354Smrg
2586d4401354Smrg
2587d4401354Smrg
2588d4401354Smrgif test -z "${HAVE_XMLLINT_TRUE}" && test -z "${HAVE_XMLLINT_FALSE}"; then
2589d4401354Smrg  as_fn_error "conditional \"HAVE_XMLLINT\" was never defined.
2590d4401354SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5
2591d4401354Smrgfi
2592d4401354Smrg
2593d4401354Smrg: ${CONFIG_STATUS=./config.status}
2594d4401354Smrgac_write_fail=0
2595d4401354Smrgac_clean_files_save=$ac_clean_files
2596d4401354Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS"
2597d4401354Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2598d4401354Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2599d4401354Smrgas_write_fail=0
2600d4401354Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2601d4401354Smrg#! $SHELL
2602d4401354Smrg# Generated by $as_me.
2603d4401354Smrg# Run this file to recreate the current configuration.
2604d4401354Smrg# Compiler output produced by configure, useful for debugging
2605d4401354Smrg# configure, is in config.log if it exists.
2606d4401354Smrg
2607d4401354Smrgdebug=false
2608d4401354Smrgac_cs_recheck=false
2609d4401354Smrgac_cs_silent=false
2610d4401354Smrg
2611d4401354SmrgSHELL=\${CONFIG_SHELL-$SHELL}
2612d4401354Smrgexport SHELL
2613d4401354Smrg_ASEOF
2614d4401354Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2615d4401354Smrg## -------------------- ##
2616d4401354Smrg## M4sh Initialization. ##
2617d4401354Smrg## -------------------- ##
2618d4401354Smrg
2619d4401354Smrg# Be more Bourne compatible
2620d4401354SmrgDUALCASE=1; export DUALCASE # for MKS sh
2621d4401354Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2622d4401354Smrg  emulate sh
2623d4401354Smrg  NULLCMD=:
2624d4401354Smrg  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2625d4401354Smrg  # is contrary to our usage.  Disable this feature.
2626d4401354Smrg  alias -g '${1+"$@"}'='"$@"'
2627d4401354Smrg  setopt NO_GLOB_SUBST
2628d4401354Smrgelse
2629d4401354Smrg  case `(set -o) 2>/dev/null` in #(
2630d4401354Smrg  *posix*) :
2631d4401354Smrg    set -o posix ;; #(
2632d4401354Smrg  *) :
2633d4401354Smrg     ;;
2634d4401354Smrgesac
2635d4401354Smrgfi
2636d4401354Smrg
2637d4401354Smrg
2638d4401354Smrgas_nl='
2639d4401354Smrg'
2640d4401354Smrgexport as_nl
2641d4401354Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf.
2642d4401354Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2643d4401354Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2644d4401354Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2645d4401354Smrg# Prefer a ksh shell builtin over an external printf program on Solaris,
2646d4401354Smrg# but without wasting forks for bash or zsh.
2647d4401354Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \
2648d4401354Smrg    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2649d4401354Smrg  as_echo='print -r --'
2650d4401354Smrg  as_echo_n='print -rn --'
2651d4401354Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2652d4401354Smrg  as_echo='printf %s\n'
2653d4401354Smrg  as_echo_n='printf %s'
2654d4401354Smrgelse
2655d4401354Smrg  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2656d4401354Smrg    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2657d4401354Smrg    as_echo_n='/usr/ucb/echo -n'
2658d4401354Smrg  else
2659d4401354Smrg    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2660d4401354Smrg    as_echo_n_body='eval
2661d4401354Smrg      arg=$1;
2662d4401354Smrg      case $arg in #(
2663d4401354Smrg      *"$as_nl"*)
2664d4401354Smrg	expr "X$arg" : "X\\(.*\\)$as_nl";
2665d4401354Smrg	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2666d4401354Smrg      esac;
2667d4401354Smrg      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2668d4401354Smrg    '
2669d4401354Smrg    export as_echo_n_body
2670d4401354Smrg    as_echo_n='sh -c $as_echo_n_body as_echo'
2671d4401354Smrg  fi
2672d4401354Smrg  export as_echo_body
2673d4401354Smrg  as_echo='sh -c $as_echo_body as_echo'
2674d4401354Smrgfi
2675d4401354Smrg
2676d4401354Smrg# The user is always right.
2677d4401354Smrgif test "${PATH_SEPARATOR+set}" != set; then
2678d4401354Smrg  PATH_SEPARATOR=:
2679d4401354Smrg  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2680d4401354Smrg    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2681d4401354Smrg      PATH_SEPARATOR=';'
2682d4401354Smrg  }
2683d4401354Smrgfi
2684d4401354Smrg
2685d4401354Smrg
2686d4401354Smrg# IFS
2687d4401354Smrg# We need space, tab and new line, in precisely that order.  Quoting is
2688d4401354Smrg# there to prevent editors from complaining about space-tab.
2689d4401354Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2690d4401354Smrg# splitting by setting IFS to empty value.)
2691d4401354SmrgIFS=" ""	$as_nl"
2692d4401354Smrg
2693d4401354Smrg# Find who we are.  Look in the path if we contain no directory separator.
2694d4401354Smrgcase $0 in #((
2695d4401354Smrg  *[\\/]* ) as_myself=$0 ;;
2696d4401354Smrg  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697d4401354Smrgfor as_dir in $PATH
2698d4401354Smrgdo
2699d4401354Smrg  IFS=$as_save_IFS
2700d4401354Smrg  test -z "$as_dir" && as_dir=.
2701d4401354Smrg    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2702d4401354Smrg  done
2703d4401354SmrgIFS=$as_save_IFS
2704d4401354Smrg
2705d4401354Smrg     ;;
2706d4401354Smrgesac
2707d4401354Smrg# We did not find ourselves, most probably we were run as `sh COMMAND'
2708d4401354Smrg# in which case we are not to be found in the path.
2709d4401354Smrgif test "x$as_myself" = x; then
2710d4401354Smrg  as_myself=$0
2711d4401354Smrgfi
2712d4401354Smrgif test ! -f "$as_myself"; then
2713d4401354Smrg  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2714d4401354Smrg  exit 1
2715d4401354Smrgfi
2716d4401354Smrg
2717d4401354Smrg# Unset variables that we do not need and which cause bugs (e.g. in
2718d4401354Smrg# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2719d4401354Smrg# suppresses any "Segmentation fault" message there.  '((' could
2720d4401354Smrg# trigger a bug in pdksh 5.2.14.
2721d4401354Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH
2722d4401354Smrgdo eval test x\${$as_var+set} = xset \
2723d4401354Smrg  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2724d4401354Smrgdone
2725d4401354SmrgPS1='$ '
2726d4401354SmrgPS2='> '
2727d4401354SmrgPS4='+ '
2728d4401354Smrg
2729d4401354Smrg# NLS nuisances.
2730d4401354SmrgLC_ALL=C
2731d4401354Smrgexport LC_ALL
2732d4401354SmrgLANGUAGE=C
2733d4401354Smrgexport LANGUAGE
2734d4401354Smrg
2735d4401354Smrg# CDPATH.
2736d4401354Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2737d4401354Smrg
2738d4401354Smrg
2739d4401354Smrg# as_fn_error ERROR [LINENO LOG_FD]
2740d4401354Smrg# ---------------------------------
2741d4401354Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2742d4401354Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2743d4401354Smrg# script with status $?, using 1 if that was 0.
2744d4401354Smrgas_fn_error ()
2745d4401354Smrg{
2746d4401354Smrg  as_status=$?; test $as_status -eq 0 && as_status=1
2747d4401354Smrg  if test "$3"; then
2748d4401354Smrg    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2749d4401354Smrg    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2750d4401354Smrg  fi
2751d4401354Smrg  $as_echo "$as_me: error: $1" >&2
2752d4401354Smrg  as_fn_exit $as_status
2753d4401354Smrg} # as_fn_error
2754d4401354Smrg
2755d4401354Smrg
2756d4401354Smrg# as_fn_set_status STATUS
2757d4401354Smrg# -----------------------
2758d4401354Smrg# Set $? to STATUS, without forking.
2759d4401354Smrgas_fn_set_status ()
2760d4401354Smrg{
2761d4401354Smrg  return $1
2762d4401354Smrg} # as_fn_set_status
2763d4401354Smrg
2764d4401354Smrg# as_fn_exit STATUS
2765d4401354Smrg# -----------------
2766d4401354Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2767d4401354Smrgas_fn_exit ()
2768d4401354Smrg{
2769d4401354Smrg  set +e
2770d4401354Smrg  as_fn_set_status $1
2771d4401354Smrg  exit $1
2772d4401354Smrg} # as_fn_exit
2773d4401354Smrg
2774d4401354Smrg# as_fn_unset VAR
2775d4401354Smrg# ---------------
2776d4401354Smrg# Portably unset VAR.
2777d4401354Smrgas_fn_unset ()
2778d4401354Smrg{
2779d4401354Smrg  { eval $1=; unset $1;}
2780d4401354Smrg}
2781d4401354Smrgas_unset=as_fn_unset
2782d4401354Smrg# as_fn_append VAR VALUE
2783d4401354Smrg# ----------------------
2784d4401354Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take
2785d4401354Smrg# advantage of any shell optimizations that allow amortized linear growth over
2786d4401354Smrg# repeated appends, instead of the typical quadratic growth present in naive
2787d4401354Smrg# implementations.
2788d4401354Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2789d4401354Smrg  eval 'as_fn_append ()
2790d4401354Smrg  {
2791d4401354Smrg    eval $1+=\$2
2792d4401354Smrg  }'
2793d4401354Smrgelse
2794d4401354Smrg  as_fn_append ()
2795d4401354Smrg  {
2796d4401354Smrg    eval $1=\$$1\$2
2797d4401354Smrg  }
2798d4401354Smrgfi # as_fn_append
2799d4401354Smrg
2800d4401354Smrg# as_fn_arith ARG...
2801d4401354Smrg# ------------------
2802d4401354Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the
2803d4401354Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments
2804d4401354Smrg# must be portable across $(()) and expr.
2805d4401354Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2806d4401354Smrg  eval 'as_fn_arith ()
2807d4401354Smrg  {
2808d4401354Smrg    as_val=$(( $* ))
2809d4401354Smrg  }'
2810d4401354Smrgelse
2811d4401354Smrg  as_fn_arith ()
2812d4401354Smrg  {
2813d4401354Smrg    as_val=`expr "$@" || test $? -eq 1`
2814d4401354Smrg  }
2815d4401354Smrgfi # as_fn_arith
2816d4401354Smrg
2817d4401354Smrg
2818d4401354Smrgif expr a : '\(a\)' >/dev/null 2>&1 &&
2819d4401354Smrg   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2820d4401354Smrg  as_expr=expr
2821d4401354Smrgelse
2822d4401354Smrg  as_expr=false
2823d4401354Smrgfi
2824d4401354Smrg
2825d4401354Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2826d4401354Smrg  as_basename=basename
2827d4401354Smrgelse
2828d4401354Smrg  as_basename=false
2829d4401354Smrgfi
2830d4401354Smrg
2831d4401354Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2832d4401354Smrg  as_dirname=dirname
2833d4401354Smrgelse
2834d4401354Smrg  as_dirname=false
2835d4401354Smrgfi
2836d4401354Smrg
2837d4401354Smrgas_me=`$as_basename -- "$0" ||
2838d4401354Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2839d4401354Smrg	 X"$0" : 'X\(//\)$' \| \
2840d4401354Smrg	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2841d4401354Smrg$as_echo X/"$0" |
2842d4401354Smrg    sed '/^.*\/\([^/][^/]*\)\/*$/{
2843d4401354Smrg	    s//\1/
2844d4401354Smrg	    q
2845d4401354Smrg	  }
2846d4401354Smrg	  /^X\/\(\/\/\)$/{
2847d4401354Smrg	    s//\1/
2848d4401354Smrg	    q
2849d4401354Smrg	  }
2850d4401354Smrg	  /^X\/\(\/\).*/{
2851d4401354Smrg	    s//\1/
2852d4401354Smrg	    q
2853d4401354Smrg	  }
2854d4401354Smrg	  s/.*/./; q'`
2855d4401354Smrg
2856d4401354Smrg# Avoid depending upon Character Ranges.
2857d4401354Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz'
2858d4401354Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2859d4401354Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS
2860d4401354Smrgas_cr_digits='0123456789'
2861d4401354Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits
2862d4401354Smrg
2863d4401354SmrgECHO_C= ECHO_N= ECHO_T=
2864d4401354Smrgcase `echo -n x` in #(((((
2865d4401354Smrg-n*)
2866d4401354Smrg  case `echo 'xy\c'` in
2867d4401354Smrg  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2868d4401354Smrg  xy)  ECHO_C='\c';;
2869d4401354Smrg  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2870d4401354Smrg       ECHO_T='	';;
2871d4401354Smrg  esac;;
2872d4401354Smrg*)
2873d4401354Smrg  ECHO_N='-n';;
2874d4401354Smrgesac
2875d4401354Smrg
2876d4401354Smrgrm -f conf$$ conf$$.exe conf$$.file
2877d4401354Smrgif test -d conf$$.dir; then
2878d4401354Smrg  rm -f conf$$.dir/conf$$.file
2879d4401354Smrgelse
2880d4401354Smrg  rm -f conf$$.dir
2881d4401354Smrg  mkdir conf$$.dir 2>/dev/null
2882d4401354Smrgfi
2883d4401354Smrgif (echo >conf$$.file) 2>/dev/null; then
2884d4401354Smrg  if ln -s conf$$.file conf$$ 2>/dev/null; then
2885d4401354Smrg    as_ln_s='ln -s'
2886d4401354Smrg    # ... but there are two gotchas:
2887d4401354Smrg    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2888d4401354Smrg    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2889d4401354Smrg    # In both cases, we have to default to `cp -p'.
2890d4401354Smrg    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2891d4401354Smrg      as_ln_s='cp -p'
2892d4401354Smrg  elif ln conf$$.file conf$$ 2>/dev/null; then
2893d4401354Smrg    as_ln_s=ln
2894d4401354Smrg  else
2895d4401354Smrg    as_ln_s='cp -p'
2896d4401354Smrg  fi
2897d4401354Smrgelse
2898d4401354Smrg  as_ln_s='cp -p'
2899d4401354Smrgfi
2900d4401354Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2901d4401354Smrgrmdir conf$$.dir 2>/dev/null
2902d4401354Smrg
2903d4401354Smrg
2904d4401354Smrg# as_fn_mkdir_p
2905d4401354Smrg# -------------
2906d4401354Smrg# Create "$as_dir" as a directory, including parents if necessary.
2907d4401354Smrgas_fn_mkdir_p ()
2908d4401354Smrg{
2909d4401354Smrg
2910d4401354Smrg  case $as_dir in #(
2911d4401354Smrg  -*) as_dir=./$as_dir;;
2912d4401354Smrg  esac
2913d4401354Smrg  test -d "$as_dir" || eval $as_mkdir_p || {
2914d4401354Smrg    as_dirs=
2915d4401354Smrg    while :; do
2916d4401354Smrg      case $as_dir in #(
2917d4401354Smrg      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2918d4401354Smrg      *) as_qdir=$as_dir;;
2919d4401354Smrg      esac
2920d4401354Smrg      as_dirs="'$as_qdir' $as_dirs"
2921d4401354Smrg      as_dir=`$as_dirname -- "$as_dir" ||
2922d4401354Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2923d4401354Smrg	 X"$as_dir" : 'X\(//\)[^/]' \| \
2924d4401354Smrg	 X"$as_dir" : 'X\(//\)$' \| \
2925d4401354Smrg	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2926d4401354Smrg$as_echo X"$as_dir" |
2927d4401354Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2928d4401354Smrg	    s//\1/
2929d4401354Smrg	    q
2930d4401354Smrg	  }
2931d4401354Smrg	  /^X\(\/\/\)[^/].*/{
2932d4401354Smrg	    s//\1/
2933d4401354Smrg	    q
2934d4401354Smrg	  }
2935d4401354Smrg	  /^X\(\/\/\)$/{
2936d4401354Smrg	    s//\1/
2937d4401354Smrg	    q
2938d4401354Smrg	  }
2939d4401354Smrg	  /^X\(\/\).*/{
2940d4401354Smrg	    s//\1/
2941d4401354Smrg	    q
2942d4401354Smrg	  }
2943d4401354Smrg	  s/.*/./; q'`
2944d4401354Smrg      test -d "$as_dir" && break
2945d4401354Smrg    done
2946d4401354Smrg    test -z "$as_dirs" || eval "mkdir $as_dirs"
2947d4401354Smrg  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2948d4401354Smrg
2949d4401354Smrg
2950d4401354Smrg} # as_fn_mkdir_p
2951d4401354Smrgif mkdir -p . 2>/dev/null; then
2952d4401354Smrg  as_mkdir_p='mkdir -p "$as_dir"'
2953d4401354Smrgelse
2954d4401354Smrg  test -d ./-p && rmdir ./-p
2955d4401354Smrg  as_mkdir_p=false
2956d4401354Smrgfi
2957d4401354Smrg
2958d4401354Smrgif test -x / >/dev/null 2>&1; then
2959d4401354Smrg  as_test_x='test -x'
2960d4401354Smrgelse
2961d4401354Smrg  if ls -dL / >/dev/null 2>&1; then
2962d4401354Smrg    as_ls_L_option=L
2963d4401354Smrg  else
2964d4401354Smrg    as_ls_L_option=
2965d4401354Smrg  fi
2966d4401354Smrg  as_test_x='
2967d4401354Smrg    eval sh -c '\''
2968d4401354Smrg      if test -d "$1"; then
2969d4401354Smrg	test -d "$1/.";
2970d4401354Smrg      else
2971d4401354Smrg	case $1 in #(
2972d4401354Smrg	-*)set "./$1";;
2973d4401354Smrg	esac;
2974d4401354Smrg	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2975d4401354Smrg	???[sx]*):;;*)false;;esac;fi
2976d4401354Smrg    '\'' sh
2977d4401354Smrg  '
2978d4401354Smrgfi
2979d4401354Smrgas_executable_p=$as_test_x
2980d4401354Smrg
2981d4401354Smrg# Sed expression to map a string onto a valid CPP name.
2982d4401354Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2983d4401354Smrg
2984d4401354Smrg# Sed expression to map a string onto a valid variable name.
2985d4401354Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2986d4401354Smrg
2987d4401354Smrg
2988d4401354Smrgexec 6>&1
2989d4401354Smrg## ----------------------------------- ##
2990d4401354Smrg## Main body of $CONFIG_STATUS script. ##
2991d4401354Smrg## ----------------------------------- ##
2992d4401354Smrg_ASEOF
2993d4401354Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2994d4401354Smrg
2995d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2996d4401354Smrg# Save the log message, to keep $0 and so on meaningful, and to
2997d4401354Smrg# report actual input values of CONFIG_FILES etc. instead of their
2998d4401354Smrg# values after options handling.
2999d4401354Smrgac_log="
3000d4401354SmrgThis file was extended by XCB Proto $as_me 1.6, which was
3001d4401354Smrggenerated by GNU Autoconf 2.65.  Invocation command line was
3002d4401354Smrg
3003d4401354Smrg  CONFIG_FILES    = $CONFIG_FILES
3004d4401354Smrg  CONFIG_HEADERS  = $CONFIG_HEADERS
3005d4401354Smrg  CONFIG_LINKS    = $CONFIG_LINKS
3006d4401354Smrg  CONFIG_COMMANDS = $CONFIG_COMMANDS
3007d4401354Smrg  $ $0 $@
3008d4401354Smrg
3009d4401354Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q`
3010d4401354Smrg"
3011d4401354Smrg
3012d4401354Smrg_ACEOF
3013d4401354Smrg
3014d4401354Smrgcase $ac_config_files in *"
3015d4401354Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;;
3016d4401354Smrgesac
3017d4401354Smrg
3018d4401354Smrg
3019d4401354Smrg
3020d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3021d4401354Smrg# Files that config.status was made for.
3022d4401354Smrgconfig_files="$ac_config_files"
3023d4401354Smrg
3024d4401354Smrg_ACEOF
3025d4401354Smrg
3026d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3027d4401354Smrgac_cs_usage="\
3028d4401354Smrg\`$as_me' instantiates files and other configuration actions
3029d4401354Smrgfrom templates according to the current configuration.  Unless the files
3030d4401354Smrgand actions are specified as TAGs, all are instantiated by default.
3031d4401354Smrg
3032d4401354SmrgUsage: $0 [OPTION]... [TAG]...
3033d4401354Smrg
3034d4401354Smrg  -h, --help       print this help, then exit
3035d4401354Smrg  -V, --version    print version number and configuration settings, then exit
3036d4401354Smrg      --config     print configuration, then exit
3037d4401354Smrg  -q, --quiet, --silent
3038d4401354Smrg                   do not print progress messages
3039d4401354Smrg  -d, --debug      don't remove temporary files
3040d4401354Smrg      --recheck    update $as_me by reconfiguring in the same conditions
3041d4401354Smrg      --file=FILE[:TEMPLATE]
3042d4401354Smrg                   instantiate the configuration file FILE
3043d4401354Smrg
3044d4401354SmrgConfiguration files:
3045d4401354Smrg$config_files
3046d4401354Smrg
3047d4401354SmrgReport bugs to <xcb@lists.freedesktop.org>."
3048d4401354Smrg
3049d4401354Smrg_ACEOF
3050d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3051d4401354Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3052d4401354Smrgac_cs_version="\\
3053d4401354SmrgXCB Proto config.status 1.6
3054d4401354Smrgconfigured by $0, generated by GNU Autoconf 2.65,
3055d4401354Smrg  with options \\"\$ac_cs_config\\"
3056d4401354Smrg
3057d4401354SmrgCopyright (C) 2009 Free Software Foundation, Inc.
3058d4401354SmrgThis config.status script is free software; the Free Software Foundation
3059d4401354Smrggives unlimited permission to copy, distribute and modify it."
3060d4401354Smrg
3061d4401354Smrgac_pwd='$ac_pwd'
3062d4401354Smrgsrcdir='$srcdir'
3063d4401354SmrgINSTALL='$INSTALL'
3064d4401354SmrgMKDIR_P='$MKDIR_P'
3065d4401354SmrgAWK='$AWK'
3066d4401354Smrgtest -n "\$AWK" || AWK=awk
3067d4401354Smrg_ACEOF
3068d4401354Smrg
3069d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3070d4401354Smrg# The default lists apply if the user does not specify any file.
3071d4401354Smrgac_need_defaults=:
3072d4401354Smrgwhile test $# != 0
3073d4401354Smrgdo
3074d4401354Smrg  case $1 in
3075d4401354Smrg  --*=*)
3076d4401354Smrg    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3077d4401354Smrg    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3078d4401354Smrg    ac_shift=:
3079d4401354Smrg    ;;
3080d4401354Smrg  *)
3081d4401354Smrg    ac_option=$1
3082d4401354Smrg    ac_optarg=$2
3083d4401354Smrg    ac_shift=shift
3084d4401354Smrg    ;;
3085d4401354Smrg  esac
3086d4401354Smrg
3087d4401354Smrg  case $ac_option in
3088d4401354Smrg  # Handling of the options.
3089d4401354Smrg  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3090d4401354Smrg    ac_cs_recheck=: ;;
3091d4401354Smrg  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3092d4401354Smrg    $as_echo "$ac_cs_version"; exit ;;
3093d4401354Smrg  --config | --confi | --conf | --con | --co | --c )
3094d4401354Smrg    $as_echo "$ac_cs_config"; exit ;;
3095d4401354Smrg  --debug | --debu | --deb | --de | --d | -d )
3096d4401354Smrg    debug=: ;;
3097d4401354Smrg  --file | --fil | --fi | --f )
3098d4401354Smrg    $ac_shift
3099d4401354Smrg    case $ac_optarg in
3100d4401354Smrg    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3101d4401354Smrg    esac
3102d4401354Smrg    as_fn_append CONFIG_FILES " '$ac_optarg'"
3103d4401354Smrg    ac_need_defaults=false;;
3104d4401354Smrg  --he | --h |  --help | --hel | -h )
3105d4401354Smrg    $as_echo "$ac_cs_usage"; exit ;;
3106d4401354Smrg  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3107d4401354Smrg  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3108d4401354Smrg    ac_cs_silent=: ;;
3109d4401354Smrg
3110d4401354Smrg  # This is an error.
3111d4401354Smrg  -*) as_fn_error "unrecognized option: \`$1'
3112d4401354SmrgTry \`$0 --help' for more information." ;;
3113d4401354Smrg
3114d4401354Smrg  *) as_fn_append ac_config_targets " $1"
3115d4401354Smrg     ac_need_defaults=false ;;
3116d4401354Smrg
3117d4401354Smrg  esac
3118d4401354Smrg  shift
3119d4401354Smrgdone
3120d4401354Smrg
3121d4401354Smrgac_configure_extra_args=
3122d4401354Smrg
3123d4401354Smrgif $ac_cs_silent; then
3124d4401354Smrg  exec 6>/dev/null
3125d4401354Smrg  ac_configure_extra_args="$ac_configure_extra_args --silent"
3126d4401354Smrgfi
3127d4401354Smrg
3128d4401354Smrg_ACEOF
3129d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3130d4401354Smrgif \$ac_cs_recheck; then
3131d4401354Smrg  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3132d4401354Smrg  shift
3133d4401354Smrg  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3134d4401354Smrg  CONFIG_SHELL='$SHELL'
3135d4401354Smrg  export CONFIG_SHELL
3136d4401354Smrg  exec "\$@"
3137d4401354Smrgfi
3138d4401354Smrg
3139d4401354Smrg_ACEOF
3140d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3141d4401354Smrgexec 5>>config.log
3142d4401354Smrg{
3143d4401354Smrg  echo
3144d4401354Smrg  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3145d4401354Smrg## Running $as_me. ##
3146d4401354Smrg_ASBOX
3147d4401354Smrg  $as_echo "$ac_log"
3148d4401354Smrg} >&5
3149d4401354Smrg
3150d4401354Smrg_ACEOF
3151d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3152d4401354Smrg_ACEOF
3153d4401354Smrg
3154d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3155d4401354Smrg
3156d4401354Smrg# Handling of arguments.
3157d4401354Smrgfor ac_config_target in $ac_config_targets
3158d4401354Smrgdo
3159d4401354Smrg  case $ac_config_target in
3160d4401354Smrg    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3161d4401354Smrg    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3162d4401354Smrg    "xcbgen/Makefile") CONFIG_FILES="$CONFIG_FILES xcbgen/Makefile" ;;
3163d4401354Smrg    "xcb-proto.pc") CONFIG_FILES="$CONFIG_FILES xcb-proto.pc" ;;
3164d4401354Smrg
3165d4401354Smrg  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3166d4401354Smrg  esac
3167d4401354Smrgdone
3168d4401354Smrg
3169d4401354Smrg
3170d4401354Smrg# If the user did not use the arguments to specify the items to instantiate,
3171d4401354Smrg# then the envvar interface is used.  Set only those that are not.
3172d4401354Smrg# We use the long form for the default assignment because of an extremely
3173d4401354Smrg# bizarre bug on SunOS 4.1.3.
3174d4401354Smrgif $ac_need_defaults; then
3175d4401354Smrg  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3176d4401354Smrgfi
3177d4401354Smrg
3178d4401354Smrg# Have a temporary directory for convenience.  Make it in the build tree
3179d4401354Smrg# simply because there is no reason against having it here, and in addition,
3180d4401354Smrg# creating and moving files from /tmp can sometimes cause problems.
3181d4401354Smrg# Hook for its removal unless debugging.
3182d4401354Smrg# Note that there is a small window in which the directory will not be cleaned:
3183d4401354Smrg# after its creation but before its name has been assigned to `$tmp'.
3184d4401354Smrg$debug ||
3185d4401354Smrg{
3186d4401354Smrg  tmp=
3187d4401354Smrg  trap 'exit_status=$?
3188d4401354Smrg  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3189d4401354Smrg' 0
3190d4401354Smrg  trap 'as_fn_exit 1' 1 2 13 15
3191d4401354Smrg}
3192d4401354Smrg# Create a (secure) tmp directory for tmp files.
3193d4401354Smrg
3194d4401354Smrg{
3195d4401354Smrg  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3196d4401354Smrg  test -n "$tmp" && test -d "$tmp"
3197d4401354Smrg}  ||
3198d4401354Smrg{
3199d4401354Smrg  tmp=./conf$$-$RANDOM
3200d4401354Smrg  (umask 077 && mkdir "$tmp")
3201d4401354Smrg} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3202d4401354Smrg
3203d4401354Smrg# Set up the scripts for CONFIG_FILES section.
3204d4401354Smrg# No need to generate them if there are no CONFIG_FILES.
3205d4401354Smrg# This happens for instance with `./config.status config.h'.
3206d4401354Smrgif test -n "$CONFIG_FILES"; then
3207d4401354Smrg
3208d4401354Smrg
3209d4401354Smrgac_cr=`echo X | tr X '\015'`
3210d4401354Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr.
3211d4401354Smrg# But we know of no other shell where ac_cr would be empty at this
3212d4401354Smrg# point, so we can use a bashism as a fallback.
3213d4401354Smrgif test "x$ac_cr" = x; then
3214d4401354Smrg  eval ac_cr=\$\'\\r\'
3215d4401354Smrgfi
3216d4401354Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3217d4401354Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3218d4401354Smrg  ac_cs_awk_cr='\r'
3219d4401354Smrgelse
3220d4401354Smrg  ac_cs_awk_cr=$ac_cr
3221d4401354Smrgfi
3222d4401354Smrg
3223d4401354Smrgecho 'BEGIN {' >"$tmp/subs1.awk" &&
3224d4401354Smrg_ACEOF
3225d4401354Smrg
3226d4401354Smrg
3227d4401354Smrg{
3228d4401354Smrg  echo "cat >conf$$subs.awk <<_ACEOF" &&
3229d4401354Smrg  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3230d4401354Smrg  echo "_ACEOF"
3231d4401354Smrg} >conf$$subs.sh ||
3232d4401354Smrg  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3233d4401354Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3234d4401354Smrgac_delim='%!_!# '
3235d4401354Smrgfor ac_last_try in false false false false false :; do
3236d4401354Smrg  . ./conf$$subs.sh ||
3237d4401354Smrg    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3238d4401354Smrg
3239d4401354Smrg  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3240d4401354Smrg  if test $ac_delim_n = $ac_delim_num; then
3241d4401354Smrg    break
3242d4401354Smrg  elif $ac_last_try; then
3243d4401354Smrg    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3244d4401354Smrg  else
3245d4401354Smrg    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3246d4401354Smrg  fi
3247d4401354Smrgdone
3248d4401354Smrgrm -f conf$$subs.sh
3249d4401354Smrg
3250d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3251d4401354Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3252d4401354Smrg_ACEOF
3253d4401354Smrgsed -n '
3254d4401354Smrgh
3255d4401354Smrgs/^/S["/; s/!.*/"]=/
3256d4401354Smrgp
3257d4401354Smrgg
3258d4401354Smrgs/^[^!]*!//
3259d4401354Smrg:repl
3260d4401354Smrgt repl
3261d4401354Smrgs/'"$ac_delim"'$//
3262d4401354Smrgt delim
3263d4401354Smrg:nl
3264d4401354Smrgh
3265d4401354Smrgs/\(.\{148\}\)..*/\1/
3266d4401354Smrgt more1
3267d4401354Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3268d4401354Smrgp
3269d4401354Smrgn
3270d4401354Smrgb repl
3271d4401354Smrg:more1
3272d4401354Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3273d4401354Smrgp
3274d4401354Smrgg
3275d4401354Smrgs/.\{148\}//
3276d4401354Smrgt nl
3277d4401354Smrg:delim
3278d4401354Smrgh
3279d4401354Smrgs/\(.\{148\}\)..*/\1/
3280d4401354Smrgt more2
3281d4401354Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/
3282d4401354Smrgp
3283d4401354Smrgb
3284d4401354Smrg:more2
3285d4401354Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/
3286d4401354Smrgp
3287d4401354Smrgg
3288d4401354Smrgs/.\{148\}//
3289d4401354Smrgt delim
3290d4401354Smrg' <conf$$subs.awk | sed '
3291d4401354Smrg/^[^""]/{
3292d4401354Smrg  N
3293d4401354Smrg  s/\n//
3294d4401354Smrg}
3295d4401354Smrg' >>$CONFIG_STATUS || ac_write_fail=1
3296d4401354Smrgrm -f conf$$subs.awk
3297d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3298d4401354Smrg_ACAWK
3299d4401354Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK &&
3300d4401354Smrg  for (key in S) S_is_set[key] = 1
3301d4401354Smrg  FS = ""
3302d4401354Smrg
3303d4401354Smrg}
3304d4401354Smrg{
3305d4401354Smrg  line = $ 0
3306d4401354Smrg  nfields = split(line, field, "@")
3307d4401354Smrg  substed = 0
3308d4401354Smrg  len = length(field[1])
3309d4401354Smrg  for (i = 2; i < nfields; i++) {
3310d4401354Smrg    key = field[i]
3311d4401354Smrg    keylen = length(key)
3312d4401354Smrg    if (S_is_set[key]) {
3313d4401354Smrg      value = S[key]
3314d4401354Smrg      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3315d4401354Smrg      len += length(value) + length(field[++i])
3316d4401354Smrg      substed = 1
3317d4401354Smrg    } else
3318d4401354Smrg      len += 1 + keylen
3319d4401354Smrg  }
3320d4401354Smrg
3321d4401354Smrg  print line
3322d4401354Smrg}
3323d4401354Smrg
3324d4401354Smrg_ACAWK
3325d4401354Smrg_ACEOF
3326d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3327d4401354Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3328d4401354Smrg  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3329d4401354Smrgelse
3330d4401354Smrg  cat
3331d4401354Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3332d4401354Smrg  || as_fn_error "could not setup config files machinery" "$LINENO" 5
3333d4401354Smrg_ACEOF
3334d4401354Smrg
3335d4401354Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir),
3336d4401354Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3337d4401354Smrg# trailing colons and then remove the whole line if VPATH becomes empty
3338d4401354Smrg# (actually we leave an empty line to preserve line numbers).
3339d4401354Smrgif test "x$srcdir" = x.; then
3340d4401354Smrg  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3341d4401354Smrgs/:*\$(srcdir):*/:/
3342d4401354Smrgs/:*\${srcdir}:*/:/
3343d4401354Smrgs/:*@srcdir@:*/:/
3344d4401354Smrgs/^\([^=]*=[	 ]*\):*/\1/
3345d4401354Smrgs/:*$//
3346d4401354Smrgs/^[^=]*=[	 ]*$//
3347d4401354Smrg}'
3348d4401354Smrgfi
3349d4401354Smrg
3350d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3351d4401354Smrgfi # test -n "$CONFIG_FILES"
3352d4401354Smrg
3353d4401354Smrg
3354d4401354Smrgeval set X "  :F $CONFIG_FILES      "
3355d4401354Smrgshift
3356d4401354Smrgfor ac_tag
3357d4401354Smrgdo
3358d4401354Smrg  case $ac_tag in
3359d4401354Smrg  :[FHLC]) ac_mode=$ac_tag; continue;;
3360d4401354Smrg  esac
3361d4401354Smrg  case $ac_mode$ac_tag in
3362d4401354Smrg  :[FHL]*:*);;
3363d4401354Smrg  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3364d4401354Smrg  :[FH]-) ac_tag=-:-;;
3365d4401354Smrg  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3366d4401354Smrg  esac
3367d4401354Smrg  ac_save_IFS=$IFS
3368d4401354Smrg  IFS=:
3369d4401354Smrg  set x $ac_tag
3370d4401354Smrg  IFS=$ac_save_IFS
3371d4401354Smrg  shift
3372d4401354Smrg  ac_file=$1
3373d4401354Smrg  shift
3374d4401354Smrg
3375d4401354Smrg  case $ac_mode in
3376d4401354Smrg  :L) ac_source=$1;;
3377d4401354Smrg  :[FH])
3378d4401354Smrg    ac_file_inputs=
3379d4401354Smrg    for ac_f
3380d4401354Smrg    do
3381d4401354Smrg      case $ac_f in
3382d4401354Smrg      -) ac_f="$tmp/stdin";;
3383d4401354Smrg      *) # Look for the file first in the build tree, then in the source tree
3384d4401354Smrg	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3385d4401354Smrg	 # because $ac_f cannot contain `:'.
3386d4401354Smrg	 test -f "$ac_f" ||
3387d4401354Smrg	   case $ac_f in
3388d4401354Smrg	   [\\/$]*) false;;
3389d4401354Smrg	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3390d4401354Smrg	   esac ||
3391d4401354Smrg	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3392d4401354Smrg      esac
3393d4401354Smrg      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3394d4401354Smrg      as_fn_append ac_file_inputs " '$ac_f'"
3395d4401354Smrg    done
3396d4401354Smrg
3397d4401354Smrg    # Let's still pretend it is `configure' which instantiates (i.e., don't
3398d4401354Smrg    # use $as_me), people would be surprised to read:
3399d4401354Smrg    #    /* config.h.  Generated by config.status.  */
3400d4401354Smrg    configure_input='Generated from '`
3401d4401354Smrg	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3402d4401354Smrg	`' by configure.'
3403d4401354Smrg    if test x"$ac_file" != x-; then
3404d4401354Smrg      configure_input="$ac_file.  $configure_input"
3405d4401354Smrg      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3406d4401354Smrg$as_echo "$as_me: creating $ac_file" >&6;}
3407d4401354Smrg    fi
3408d4401354Smrg    # Neutralize special characters interpreted by sed in replacement strings.
3409d4401354Smrg    case $configure_input in #(
3410d4401354Smrg    *\&* | *\|* | *\\* )
3411d4401354Smrg       ac_sed_conf_input=`$as_echo "$configure_input" |
3412d4401354Smrg       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3413d4401354Smrg    *) ac_sed_conf_input=$configure_input;;
3414d4401354Smrg    esac
3415d4401354Smrg
3416d4401354Smrg    case $ac_tag in
3417d4401354Smrg    *:-:* | *:-) cat >"$tmp/stdin" \
3418d4401354Smrg      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3419d4401354Smrg    esac
3420d4401354Smrg    ;;
3421d4401354Smrg  esac
3422d4401354Smrg
3423d4401354Smrg  ac_dir=`$as_dirname -- "$ac_file" ||
3424d4401354Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3425d4401354Smrg	 X"$ac_file" : 'X\(//\)[^/]' \| \
3426d4401354Smrg	 X"$ac_file" : 'X\(//\)$' \| \
3427d4401354Smrg	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3428d4401354Smrg$as_echo X"$ac_file" |
3429d4401354Smrg    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3430d4401354Smrg	    s//\1/
3431d4401354Smrg	    q
3432d4401354Smrg	  }
3433d4401354Smrg	  /^X\(\/\/\)[^/].*/{
3434d4401354Smrg	    s//\1/
3435d4401354Smrg	    q
3436d4401354Smrg	  }
3437d4401354Smrg	  /^X\(\/\/\)$/{
3438d4401354Smrg	    s//\1/
3439d4401354Smrg	    q
3440d4401354Smrg	  }
3441d4401354Smrg	  /^X\(\/\).*/{
3442d4401354Smrg	    s//\1/
3443d4401354Smrg	    q
3444d4401354Smrg	  }
3445d4401354Smrg	  s/.*/./; q'`
3446d4401354Smrg  as_dir="$ac_dir"; as_fn_mkdir_p
3447d4401354Smrg  ac_builddir=.
3448d4401354Smrg
3449d4401354Smrgcase "$ac_dir" in
3450d4401354Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3451d4401354Smrg*)
3452d4401354Smrg  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3453d4401354Smrg  # A ".." for each directory in $ac_dir_suffix.
3454d4401354Smrg  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3455d4401354Smrg  case $ac_top_builddir_sub in
3456d4401354Smrg  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3457d4401354Smrg  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3458d4401354Smrg  esac ;;
3459d4401354Smrgesac
3460d4401354Smrgac_abs_top_builddir=$ac_pwd
3461d4401354Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix
3462d4401354Smrg# for backward compatibility:
3463d4401354Smrgac_top_builddir=$ac_top_build_prefix
3464d4401354Smrg
3465d4401354Smrgcase $srcdir in
3466d4401354Smrg  .)  # We are building in place.
3467d4401354Smrg    ac_srcdir=.
3468d4401354Smrg    ac_top_srcdir=$ac_top_builddir_sub
3469d4401354Smrg    ac_abs_top_srcdir=$ac_pwd ;;
3470d4401354Smrg  [\\/]* | ?:[\\/]* )  # Absolute name.
3471d4401354Smrg    ac_srcdir=$srcdir$ac_dir_suffix;
3472d4401354Smrg    ac_top_srcdir=$srcdir
3473d4401354Smrg    ac_abs_top_srcdir=$srcdir ;;
3474d4401354Smrg  *) # Relative name.
3475d4401354Smrg    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3476d4401354Smrg    ac_top_srcdir=$ac_top_build_prefix$srcdir
3477d4401354Smrg    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3478d4401354Smrgesac
3479d4401354Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3480d4401354Smrg
3481d4401354Smrg
3482d4401354Smrg  case $ac_mode in
3483d4401354Smrg  :F)
3484d4401354Smrg  #
3485d4401354Smrg  # CONFIG_FILE
3486d4401354Smrg  #
3487d4401354Smrg
3488d4401354Smrg  case $INSTALL in
3489d4401354Smrg  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3490d4401354Smrg  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3491d4401354Smrg  esac
3492d4401354Smrg  ac_MKDIR_P=$MKDIR_P
3493d4401354Smrg  case $MKDIR_P in
3494d4401354Smrg  [\\/$]* | ?:[\\/]* ) ;;
3495d4401354Smrg  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3496d4401354Smrg  esac
3497d4401354Smrg_ACEOF
3498d4401354Smrg
3499d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3500d4401354Smrg# If the template does not know about datarootdir, expand it.
3501d4401354Smrg# FIXME: This hack should be removed a few years after 2.60.
3502d4401354Smrgac_datarootdir_hack=; ac_datarootdir_seen=
3503d4401354Smrgac_sed_dataroot='
3504d4401354Smrg/datarootdir/ {
3505d4401354Smrg  p
3506d4401354Smrg  q
3507d4401354Smrg}
3508d4401354Smrg/@datadir@/p
3509d4401354Smrg/@docdir@/p
3510d4401354Smrg/@infodir@/p
3511d4401354Smrg/@localedir@/p
3512d4401354Smrg/@mandir@/p'
3513d4401354Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3514d4401354Smrg*datarootdir*) ac_datarootdir_seen=yes;;
3515d4401354Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3516d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3517d4401354Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3518d4401354Smrg_ACEOF
3519d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3520d4401354Smrg  ac_datarootdir_hack='
3521d4401354Smrg  s&@datadir@&$datadir&g
3522d4401354Smrg  s&@docdir@&$docdir&g
3523d4401354Smrg  s&@infodir@&$infodir&g
3524d4401354Smrg  s&@localedir@&$localedir&g
3525d4401354Smrg  s&@mandir@&$mandir&g
3526d4401354Smrg  s&\\\${datarootdir}&$datarootdir&g' ;;
3527d4401354Smrgesac
3528d4401354Smrg_ACEOF
3529d4401354Smrg
3530d4401354Smrg# Neutralize VPATH when `$srcdir' = `.'.
3531d4401354Smrg# Shell code in configure.ac might set extrasub.
3532d4401354Smrg# FIXME: do we really want to maintain this feature?
3533d4401354Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3534d4401354Smrgac_sed_extra="$ac_vpsub
3535d4401354Smrg$extrasub
3536d4401354Smrg_ACEOF
3537d4401354Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3538d4401354Smrg:t
3539d4401354Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3540d4401354Smrgs|@configure_input@|$ac_sed_conf_input|;t t
3541d4401354Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t
3542d4401354Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t
3543d4401354Smrgs&@srcdir@&$ac_srcdir&;t t
3544d4401354Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t
3545d4401354Smrgs&@top_srcdir@&$ac_top_srcdir&;t t
3546d4401354Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3547d4401354Smrgs&@builddir@&$ac_builddir&;t t
3548d4401354Smrgs&@abs_builddir@&$ac_abs_builddir&;t t
3549d4401354Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3550d4401354Smrgs&@INSTALL@&$ac_INSTALL&;t t
3551d4401354Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t
3552d4401354Smrg$ac_datarootdir_hack
3553d4401354Smrg"
3554d4401354Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3555d4401354Smrg  || as_fn_error "could not create $ac_file" "$LINENO" 5
3556d4401354Smrg
3557d4401354Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3558d4401354Smrg  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3559d4401354Smrg  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3560d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3561d4401354Smrgwhich seems to be undefined.  Please make sure it is defined." >&5
3562d4401354Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3563d4401354Smrgwhich seems to be undefined.  Please make sure it is defined." >&2;}
3564d4401354Smrg
3565d4401354Smrg  rm -f "$tmp/stdin"
3566d4401354Smrg  case $ac_file in
3567d4401354Smrg  -) cat "$tmp/out" && rm -f "$tmp/out";;
3568d4401354Smrg  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3569d4401354Smrg  esac \
3570d4401354Smrg  || as_fn_error "could not create $ac_file" "$LINENO" 5
3571d4401354Smrg ;;
3572d4401354Smrg
3573d4401354Smrg
3574d4401354Smrg
3575d4401354Smrg  esac
3576d4401354Smrg
3577d4401354Smrgdone # for ac_tag
3578d4401354Smrg
3579d4401354Smrg
3580d4401354Smrgas_fn_exit 0
3581d4401354Smrg_ACEOF
3582d4401354Smrgac_clean_files=$ac_clean_files_save
3583d4401354Smrg
3584d4401354Smrgtest $ac_write_fail = 0 ||
3585d4401354Smrg  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3586d4401354Smrg
3587d4401354Smrg
3588d4401354Smrg# configure is writing to config.log, and then calls config.status.
3589d4401354Smrg# config.status does its own redirection, appending to config.log.
3590d4401354Smrg# Unfortunately, on DOS this fails, as config.log is still kept open
3591d4401354Smrg# by configure, so config.status won't be able to write to it; its
3592d4401354Smrg# output is simply discarded.  So we exec the FD to /dev/null,
3593d4401354Smrg# effectively closing config.log, so it can be properly (re)opened and
3594d4401354Smrg# appended to by config.status.  When coming back to configure, we
3595d4401354Smrg# need to make the FD available again.
3596d4401354Smrgif test "$no_create" != yes; then
3597d4401354Smrg  ac_cs_success=:
3598d4401354Smrg  ac_config_status_args=
3599d4401354Smrg  test "$silent" = yes &&
3600d4401354Smrg    ac_config_status_args="$ac_config_status_args --quiet"
3601d4401354Smrg  exec 5>/dev/null
3602d4401354Smrg  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3603d4401354Smrg  exec 5>>config.log
3604d4401354Smrg  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3605d4401354Smrg  # would make configure fail if this is the last instruction.
3606d4401354Smrg  $ac_cs_success || as_fn_exit $?
3607d4401354Smrgfi
3608d4401354Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3609d4401354Smrg  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3610d4401354Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3611d4401354Smrgfi
3612d4401354Smrg
3613