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