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