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