configure revision 1.1.1.3 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for XCB Proto 1.10.
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.10'
583 PACKAGE_STRING='XCB Proto 1.10'
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.10 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.10:";;
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.10
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.10, 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.10'
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 # Extract the first word of "xmllint", so it can be a program name with args.
2338 set dummy xmllint; ac_word=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if ${ac_cv_path_XMLLINT+:} false; then :
2342 $as_echo_n "(cached) " >&6
2343 else
2344 case $XMLLINT in
2345 [\\/]* | ?:[\\/]*)
2346 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
2347 ;;
2348 *)
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 for as_dir in $PATH
2351 do
2352 IFS=$as_save_IFS
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2356 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
2357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 break 2
2359 fi
2360 done
2361 done
2362 IFS=$as_save_IFS
2363
2364 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="no"
2365 ;;
2366 esac
2367 fi
2368 XMLLINT=$ac_cv_path_XMLLINT
2369 if test -n "$XMLLINT"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
2371 $as_echo "$XMLLINT" >&6; }
2372 else
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2375 fi
2376
2377
2378 if test "x$XMLLINT" != "xno"; then
2379 HAVE_XMLLINT_TRUE=
2380 HAVE_XMLLINT_FALSE='#'
2381 else
2382 HAVE_XMLLINT_TRUE='#'
2383 HAVE_XMLLINT_FALSE=
2384 fi
2385
2386 if test "$XMLLINT" = "no"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmllint not found; unable to validate against schema." >&5
2388 $as_echo "$as_me: WARNING: xmllint not found; unable to validate against schema." >&2;}
2389 fi
2390
2391
2392
2393
2394
2395
2396
2397 if test -n "$PYTHON"; then
2398 # If the user set $PYTHON, use it and don't search something else.
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
2400 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
2401 prog="import sys
2402 # split strings by '.' and convert to numeric. Append some zeros
2403 # because we need at least 4 digits for the hex conversion.
2404 # map returns an iterator in Python 3.0 and a list in 2.x
2405 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
2406 minverhex = 0
2407 # xrange is not present in Python 3.0 and range returns an iterator
2408 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
2409 sys.exit(sys.hexversion < minverhex)"
2410 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
2411 ($PYTHON -c "$prog") >&5 2>&5
2412 ac_status=$?
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; then :
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2416 $as_echo "yes" >&6; }
2417 else
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419 $as_echo "no" >&6; }
2420 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
2421 fi
2422 am_display_PYTHON=$PYTHON
2423 else
2424 # Otherwise, try each interpreter until we find one that satisfies
2425 # VERSION.
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
2427 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
2428 if ${am_cv_pathless_PYTHON+:} false; then :
2429 $as_echo_n "(cached) " >&6
2430 else
2431
2432 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
2433 test "$am_cv_pathless_PYTHON" = none && break
2434 prog="import sys
2435 # split strings by '.' and convert to numeric. Append some zeros
2436 # because we need at least 4 digits for the hex conversion.
2437 # map returns an iterator in Python 3.0 and a list in 2.x
2438 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
2439 minverhex = 0
2440 # xrange is not present in Python 3.0 and range returns an iterator
2441 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
2442 sys.exit(sys.hexversion < minverhex)"
2443 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
2444 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
2445 ac_status=$?
2446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447 (exit $ac_status); }; then :
2448 break
2449 fi
2450 done
2451 fi
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
2453 $as_echo "$am_cv_pathless_PYTHON" >&6; }
2454 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
2455 if test "$am_cv_pathless_PYTHON" = none; then
2456 PYTHON=:
2457 else
2458 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
2459 set dummy $am_cv_pathless_PYTHON; ac_word=$2
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461 $as_echo_n "checking for $ac_word... " >&6; }
2462 if ${ac_cv_path_PYTHON+:} false; then :
2463 $as_echo_n "(cached) " >&6
2464 else
2465 case $PYTHON in
2466 [\\/]* | ?:[\\/]*)
2467 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
2468 ;;
2469 *)
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 for as_dir in $PATH
2472 do
2473 IFS=$as_save_IFS
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
2478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2479 break 2
2480 fi
2481 done
2482 done
2483 IFS=$as_save_IFS
2484
2485 ;;
2486 esac
2487 fi
2488 PYTHON=$ac_cv_path_PYTHON
2489 if test -n "$PYTHON"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
2491 $as_echo "$PYTHON" >&6; }
2492 else
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2495 fi
2496
2497
2498 fi
2499 am_display_PYTHON=$am_cv_pathless_PYTHON
2500 fi
2501
2502
2503 if test "$PYTHON" = :; then
2504 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
2505 else
2506
2507
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
2509 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
2510 if ${am_cv_python_version+:} false; then :
2511 $as_echo_n "(cached) " >&6
2512 else
2513 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
2514 fi
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
2516 $as_echo "$am_cv_python_version" >&6; }
2517 PYTHON_VERSION=$am_cv_python_version
2518
2519
2520
2521 PYTHON_PREFIX='${prefix}'
2522
2523 PYTHON_EXEC_PREFIX='${exec_prefix}'
2524
2525
2526
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
2528 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
2529 if ${am_cv_python_platform+:} false; then :
2530 $as_echo_n "(cached) " >&6
2531 else
2532 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
2533 fi
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
2535 $as_echo "$am_cv_python_platform" >&6; }
2536 PYTHON_PLATFORM=$am_cv_python_platform
2537
2538
2539 # Just factor out some code duplication.
2540 am_python_setup_sysconfig="\
2541 import sys
2542 # Prefer sysconfig over distutils.sysconfig, for better compatibility
2543 # with python 3.x. See automake bug#10227.
2544 try:
2545 import sysconfig
2546 except ImportError:
2547 can_use_sysconfig = 0
2548 else:
2549 can_use_sysconfig = 1
2550 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
2551 # <https://github.com/pypa/virtualenv/issues/118>
2552 try:
2553 from platform import python_implementation
2554 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
2555 can_use_sysconfig = 0
2556 except ImportError:
2557 pass"
2558
2559
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
2561 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
2562 if ${am_cv_python_pythondir+:} false; then :
2563 $as_echo_n "(cached) " >&6
2564 else
2565 if test "x$prefix" = xNONE
2566 then
2567 am_py_prefix=$ac_default_prefix
2568 else
2569 am_py_prefix=$prefix
2570 fi
2571 am_cv_python_pythondir=`$PYTHON -c "
2572 $am_python_setup_sysconfig
2573 if can_use_sysconfig:
2574 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
2575 else:
2576 from distutils import sysconfig
2577 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
2578 sys.stdout.write(sitedir)"`
2579 case $am_cv_python_pythondir in
2580 $am_py_prefix*)
2581 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
2582 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
2583 ;;
2584 *)
2585 case $am_py_prefix in
2586 /usr|/System*) ;;
2587 *)
2588 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
2589 ;;
2590 esac
2591 ;;
2592 esac
2593
2594 fi
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
2596 $as_echo "$am_cv_python_pythondir" >&6; }
2597 pythondir=$am_cv_python_pythondir
2598
2599
2600
2601 pkgpythondir=\${pythondir}/$PACKAGE
2602
2603
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
2605 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
2606 if ${am_cv_python_pyexecdir+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 if test "x$exec_prefix" = xNONE
2610 then
2611 am_py_exec_prefix=$am_py_prefix
2612 else
2613 am_py_exec_prefix=$exec_prefix
2614 fi
2615 am_cv_python_pyexecdir=`$PYTHON -c "
2616 $am_python_setup_sysconfig
2617 if can_use_sysconfig:
2618 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
2619 else:
2620 from distutils import sysconfig
2621 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
2622 sys.stdout.write(sitedir)"`
2623 case $am_cv_python_pyexecdir in
2624 $am_py_exec_prefix*)
2625 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
2626 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
2627 ;;
2628 *)
2629 case $am_py_exec_prefix in
2630 /usr|/System*) ;;
2631 *)
2632 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
2633 ;;
2634 esac
2635 ;;
2636 esac
2637
2638 fi
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
2640 $as_echo "$am_cv_python_pyexecdir" >&6; }
2641 pyexecdir=$am_cv_python_pyexecdir
2642
2643
2644
2645 pkgpyexecdir=\${pyexecdir}/$PACKAGE
2646
2647
2648
2649 fi
2650
2651
2652
2653 xcbincludedir='${datadir}/xcb'
2654
2655
2656 ac_config_files="$ac_config_files Makefile src/Makefile xcbgen/Makefile xcb-proto.pc"
2657
2658 cat >confcache <<\_ACEOF
2659 # This file is a shell script that caches the results of configure
2660 # tests run on this system so they can be shared between configure
2661 # scripts and configure runs, see configure's option --config-cache.
2662 # It is not useful on other systems. If it contains results you don't
2663 # want to keep, you may remove or edit it.
2664 #
2665 # config.status only pays attention to the cache file if you give it
2666 # the --recheck option to rerun configure.
2667 #
2668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2670 # following values.
2671
2672 _ACEOF
2673
2674 # The following way of writing the cache mishandles newlines in values,
2675 # but we know of no workaround that is simple, portable, and efficient.
2676 # So, we kill variables containing newlines.
2677 # Ultrix sh set writes to stderr and can't be redirected directly,
2678 # and sets the high bit in the cache file unless we assign to the vars.
2679 (
2680 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2681 eval ac_val=\$$ac_var
2682 case $ac_val in #(
2683 *${as_nl}*)
2684 case $ac_var in #(
2685 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2686 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2687 esac
2688 case $ac_var in #(
2689 _ | IFS | as_nl) ;; #(
2690 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2691 *) { eval $ac_var=; unset $ac_var;} ;;
2692 esac ;;
2693 esac
2694 done
2695
2696 (set) 2>&1 |
2697 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2698 *${as_nl}ac_space=\ *)
2699 # `set' does not quote correctly, so add quotes: double-quote
2700 # substitution turns \\\\ into \\, and sed turns \\ into \.
2701 sed -n \
2702 "s/'/'\\\\''/g;
2703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2704 ;; #(
2705 *)
2706 # `set' quotes correctly as required by POSIX, so do not add quotes.
2707 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2708 ;;
2709 esac |
2710 sort
2711 ) |
2712 sed '
2713 /^ac_cv_env_/b end
2714 t clear
2715 :clear
2716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2717 t end
2718 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2719 :end' >>confcache
2720 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2721 if test -w "$cache_file"; then
2722 if test "x$cache_file" != "x/dev/null"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2724 $as_echo "$as_me: updating cache $cache_file" >&6;}
2725 if test ! -f "$cache_file" || test -h "$cache_file"; then
2726 cat confcache >"$cache_file"
2727 else
2728 case $cache_file in #(
2729 */* | ?:*)
2730 mv -f confcache "$cache_file"$$ &&
2731 mv -f "$cache_file"$$ "$cache_file" ;; #(
2732 *)
2733 mv -f confcache "$cache_file" ;;
2734 esac
2735 fi
2736 fi
2737 else
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2739 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2740 fi
2741 fi
2742 rm -f confcache
2743
2744 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2745 # Let make expand exec_prefix.
2746 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2747
2748 # Transform confdefs.h into DEFS.
2749 # Protect against shell expansion while executing Makefile rules.
2750 # Protect against Makefile macro expansion.
2751 #
2752 # If the first sed substitution is executed (which looks for macros that
2753 # take arguments), then branch to the quote section. Otherwise,
2754 # look for a macro that doesn't take arguments.
2755 ac_script='
2756 :mline
2757 /\\$/{
2758 N
2759 s,\\\n,,
2760 b mline
2761 }
2762 t clear
2763 :clear
2764 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2765 t quote
2766 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2767 t quote
2768 b any
2769 :quote
2770 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2771 s/\[/\\&/g
2772 s/\]/\\&/g
2773 s/\$/$$/g
2774 H
2775 :any
2776 ${
2777 g
2778 s/^\n//
2779 s/\n/ /g
2780 p
2781 }
2782 '
2783 DEFS=`sed -n "$ac_script" confdefs.h`
2784
2785
2786 ac_libobjs=
2787 ac_ltlibobjs=
2788 U=
2789 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2790 # 1. Remove the extension, and $U if already installed.
2791 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2792 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2793 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2794 # will be set to the directory where LIBOBJS objects are built.
2795 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2796 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2797 done
2798 LIBOBJS=$ac_libobjs
2799
2800 LTLIBOBJS=$ac_ltlibobjs
2801
2802
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2804 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2805 if test -n "$am_sleep_pid"; then
2806 # Hide warnings about reused PIDs.
2807 wait $am_sleep_pid 2>/dev/null
2808 fi
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2810 $as_echo "done" >&6; }
2811
2812 if test -z "${HAVE_XMLLINT_TRUE}" && test -z "${HAVE_XMLLINT_FALSE}"; then
2813 as_fn_error $? "conditional \"HAVE_XMLLINT\" was never defined.
2814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2815 fi
2816
2817 : "${CONFIG_STATUS=./config.status}"
2818 ac_write_fail=0
2819 ac_clean_files_save=$ac_clean_files
2820 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2822 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2823 as_write_fail=0
2824 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2825 #! $SHELL
2826 # Generated by $as_me.
2827 # Run this file to recreate the current configuration.
2828 # Compiler output produced by configure, useful for debugging
2829 # configure, is in config.log if it exists.
2830
2831 debug=false
2832 ac_cs_recheck=false
2833 ac_cs_silent=false
2834
2835 SHELL=\${CONFIG_SHELL-$SHELL}
2836 export SHELL
2837 _ASEOF
2838 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2839 ## -------------------- ##
2840 ## M4sh Initialization. ##
2841 ## -------------------- ##
2842
2843 # Be more Bourne compatible
2844 DUALCASE=1; export DUALCASE # for MKS sh
2845 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2846 emulate sh
2847 NULLCMD=:
2848 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2849 # is contrary to our usage. Disable this feature.
2850 alias -g '${1+"$@"}'='"$@"'
2851 setopt NO_GLOB_SUBST
2852 else
2853 case `(set -o) 2>/dev/null` in #(
2854 *posix*) :
2855 set -o posix ;; #(
2856 *) :
2857 ;;
2858 esac
2859 fi
2860
2861
2862 as_nl='
2863 '
2864 export as_nl
2865 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2866 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2867 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2868 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2869 # Prefer a ksh shell builtin over an external printf program on Solaris,
2870 # but without wasting forks for bash or zsh.
2871 if test -z "$BASH_VERSION$ZSH_VERSION" \
2872 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2873 as_echo='print -r --'
2874 as_echo_n='print -rn --'
2875 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2876 as_echo='printf %s\n'
2877 as_echo_n='printf %s'
2878 else
2879 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2880 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2881 as_echo_n='/usr/ucb/echo -n'
2882 else
2883 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2884 as_echo_n_body='eval
2885 arg=$1;
2886 case $arg in #(
2887 *"$as_nl"*)
2888 expr "X$arg" : "X\\(.*\\)$as_nl";
2889 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2890 esac;
2891 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2892 '
2893 export as_echo_n_body
2894 as_echo_n='sh -c $as_echo_n_body as_echo'
2895 fi
2896 export as_echo_body
2897 as_echo='sh -c $as_echo_body as_echo'
2898 fi
2899
2900 # The user is always right.
2901 if test "${PATH_SEPARATOR+set}" != set; then
2902 PATH_SEPARATOR=:
2903 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2904 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2905 PATH_SEPARATOR=';'
2906 }
2907 fi
2908
2909
2910 # IFS
2911 # We need space, tab and new line, in precisely that order. Quoting is
2912 # there to prevent editors from complaining about space-tab.
2913 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2914 # splitting by setting IFS to empty value.)
2915 IFS=" "" $as_nl"
2916
2917 # Find who we are. Look in the path if we contain no directory separator.
2918 as_myself=
2919 case $0 in #((
2920 *[\\/]* ) as_myself=$0 ;;
2921 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922 for as_dir in $PATH
2923 do
2924 IFS=$as_save_IFS
2925 test -z "$as_dir" && as_dir=.
2926 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2927 done
2928 IFS=$as_save_IFS
2929
2930 ;;
2931 esac
2932 # We did not find ourselves, most probably we were run as `sh COMMAND'
2933 # in which case we are not to be found in the path.
2934 if test "x$as_myself" = x; then
2935 as_myself=$0
2936 fi
2937 if test ! -f "$as_myself"; then
2938 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2939 exit 1
2940 fi
2941
2942 # Unset variables that we do not need and which cause bugs (e.g. in
2943 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2944 # suppresses any "Segmentation fault" message there. '((' could
2945 # trigger a bug in pdksh 5.2.14.
2946 for as_var in BASH_ENV ENV MAIL MAILPATH
2947 do eval test x\${$as_var+set} = xset \
2948 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2949 done
2950 PS1='$ '
2951 PS2='> '
2952 PS4='+ '
2953
2954 # NLS nuisances.
2955 LC_ALL=C
2956 export LC_ALL
2957 LANGUAGE=C
2958 export LANGUAGE
2959
2960 # CDPATH.
2961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2962
2963
2964 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2965 # ----------------------------------------
2966 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2967 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2968 # script with STATUS, using 1 if that was 0.
2969 as_fn_error ()
2970 {
2971 as_status=$1; test $as_status -eq 0 && as_status=1
2972 if test "$4"; then
2973 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2974 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2975 fi
2976 $as_echo "$as_me: error: $2" >&2
2977 as_fn_exit $as_status
2978 } # as_fn_error
2979
2980
2981 # as_fn_set_status STATUS
2982 # -----------------------
2983 # Set $? to STATUS, without forking.
2984 as_fn_set_status ()
2985 {
2986 return $1
2987 } # as_fn_set_status
2988
2989 # as_fn_exit STATUS
2990 # -----------------
2991 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2992 as_fn_exit ()
2993 {
2994 set +e
2995 as_fn_set_status $1
2996 exit $1
2997 } # as_fn_exit
2998
2999 # as_fn_unset VAR
3000 # ---------------
3001 # Portably unset VAR.
3002 as_fn_unset ()
3003 {
3004 { eval $1=; unset $1;}
3005 }
3006 as_unset=as_fn_unset
3007 # as_fn_append VAR VALUE
3008 # ----------------------
3009 # Append the text in VALUE to the end of the definition contained in VAR. Take
3010 # advantage of any shell optimizations that allow amortized linear growth over
3011 # repeated appends, instead of the typical quadratic growth present in naive
3012 # implementations.
3013 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3014 eval 'as_fn_append ()
3015 {
3016 eval $1+=\$2
3017 }'
3018 else
3019 as_fn_append ()
3020 {
3021 eval $1=\$$1\$2
3022 }
3023 fi # as_fn_append
3024
3025 # as_fn_arith ARG...
3026 # ------------------
3027 # Perform arithmetic evaluation on the ARGs, and store the result in the
3028 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3029 # must be portable across $(()) and expr.
3030 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3031 eval 'as_fn_arith ()
3032 {
3033 as_val=$(( $* ))
3034 }'
3035 else
3036 as_fn_arith ()
3037 {
3038 as_val=`expr "$@" || test $? -eq 1`
3039 }
3040 fi # as_fn_arith
3041
3042
3043 if expr a : '\(a\)' >/dev/null 2>&1 &&
3044 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3045 as_expr=expr
3046 else
3047 as_expr=false
3048 fi
3049
3050 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3051 as_basename=basename
3052 else
3053 as_basename=false
3054 fi
3055
3056 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3057 as_dirname=dirname
3058 else
3059 as_dirname=false
3060 fi
3061
3062 as_me=`$as_basename -- "$0" ||
3063 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3064 X"$0" : 'X\(//\)$' \| \
3065 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3066 $as_echo X/"$0" |
3067 sed '/^.*\/\([^/][^/]*\)\/*$/{
3068 s//\1/
3069 q
3070 }
3071 /^X\/\(\/\/\)$/{
3072 s//\1/
3073 q
3074 }
3075 /^X\/\(\/\).*/{
3076 s//\1/
3077 q
3078 }
3079 s/.*/./; q'`
3080
3081 # Avoid depending upon Character Ranges.
3082 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3083 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3084 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3085 as_cr_digits='0123456789'
3086 as_cr_alnum=$as_cr_Letters$as_cr_digits
3087
3088 ECHO_C= ECHO_N= ECHO_T=
3089 case `echo -n x` in #(((((
3090 -n*)
3091 case `echo 'xy\c'` in
3092 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3093 xy) ECHO_C='\c';;
3094 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3095 ECHO_T=' ';;
3096 esac;;
3097 *)
3098 ECHO_N='-n';;
3099 esac
3100
3101 rm -f conf$$ conf$$.exe conf$$.file
3102 if test -d conf$$.dir; then
3103 rm -f conf$$.dir/conf$$.file
3104 else
3105 rm -f conf$$.dir
3106 mkdir conf$$.dir 2>/dev/null
3107 fi
3108 if (echo >conf$$.file) 2>/dev/null; then
3109 if ln -s conf$$.file conf$$ 2>/dev/null; then
3110 as_ln_s='ln -s'
3111 # ... but there are two gotchas:
3112 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3113 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3114 # In both cases, we have to default to `cp -pR'.
3115 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3116 as_ln_s='cp -pR'
3117 elif ln conf$$.file conf$$ 2>/dev/null; then
3118 as_ln_s=ln
3119 else
3120 as_ln_s='cp -pR'
3121 fi
3122 else
3123 as_ln_s='cp -pR'
3124 fi
3125 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3126 rmdir conf$$.dir 2>/dev/null
3127
3128
3129 # as_fn_mkdir_p
3130 # -------------
3131 # Create "$as_dir" as a directory, including parents if necessary.
3132 as_fn_mkdir_p ()
3133 {
3134
3135 case $as_dir in #(
3136 -*) as_dir=./$as_dir;;
3137 esac
3138 test -d "$as_dir" || eval $as_mkdir_p || {
3139 as_dirs=
3140 while :; do
3141 case $as_dir in #(
3142 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3143 *) as_qdir=$as_dir;;
3144 esac
3145 as_dirs="'$as_qdir' $as_dirs"
3146 as_dir=`$as_dirname -- "$as_dir" ||
3147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3148 X"$as_dir" : 'X\(//\)[^/]' \| \
3149 X"$as_dir" : 'X\(//\)$' \| \
3150 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3151 $as_echo X"$as_dir" |
3152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3153 s//\1/
3154 q
3155 }
3156 /^X\(\/\/\)[^/].*/{
3157 s//\1/
3158 q
3159 }
3160 /^X\(\/\/\)$/{
3161 s//\1/
3162 q
3163 }
3164 /^X\(\/\).*/{
3165 s//\1/
3166 q
3167 }
3168 s/.*/./; q'`
3169 test -d "$as_dir" && break
3170 done
3171 test -z "$as_dirs" || eval "mkdir $as_dirs"
3172 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3173
3174
3175 } # as_fn_mkdir_p
3176 if mkdir -p . 2>/dev/null; then
3177 as_mkdir_p='mkdir -p "$as_dir"'
3178 else
3179 test -d ./-p && rmdir ./-p
3180 as_mkdir_p=false
3181 fi
3182
3183
3184 # as_fn_executable_p FILE
3185 # -----------------------
3186 # Test if FILE is an executable regular file.
3187 as_fn_executable_p ()
3188 {
3189 test -f "$1" && test -x "$1"
3190 } # as_fn_executable_p
3191 as_test_x='test -x'
3192 as_executable_p=as_fn_executable_p
3193
3194 # Sed expression to map a string onto a valid CPP name.
3195 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3196
3197 # Sed expression to map a string onto a valid variable name.
3198 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3199
3200
3201 exec 6>&1
3202 ## ----------------------------------- ##
3203 ## Main body of $CONFIG_STATUS script. ##
3204 ## ----------------------------------- ##
3205 _ASEOF
3206 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3207
3208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3209 # Save the log message, to keep $0 and so on meaningful, and to
3210 # report actual input values of CONFIG_FILES etc. instead of their
3211 # values after options handling.
3212 ac_log="
3213 This file was extended by XCB Proto $as_me 1.10, which was
3214 generated by GNU Autoconf 2.69. Invocation command line was
3215
3216 CONFIG_FILES = $CONFIG_FILES
3217 CONFIG_HEADERS = $CONFIG_HEADERS
3218 CONFIG_LINKS = $CONFIG_LINKS
3219 CONFIG_COMMANDS = $CONFIG_COMMANDS
3220 $ $0 $@
3221
3222 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3223 "
3224
3225 _ACEOF
3226
3227 case $ac_config_files in *"
3228 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3229 esac
3230
3231
3232
3233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3234 # Files that config.status was made for.
3235 config_files="$ac_config_files"
3236
3237 _ACEOF
3238
3239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3240 ac_cs_usage="\
3241 \`$as_me' instantiates files and other configuration actions
3242 from templates according to the current configuration. Unless the files
3243 and actions are specified as TAGs, all are instantiated by default.
3244
3245 Usage: $0 [OPTION]... [TAG]...
3246
3247 -h, --help print this help, then exit
3248 -V, --version print version number and configuration settings, then exit
3249 --config print configuration, then exit
3250 -q, --quiet, --silent
3251 do not print progress messages
3252 -d, --debug don't remove temporary files
3253 --recheck update $as_me by reconfiguring in the same conditions
3254 --file=FILE[:TEMPLATE]
3255 instantiate the configuration file FILE
3256
3257 Configuration files:
3258 $config_files
3259
3260 Report bugs to <xcb@lists.freedesktop.org>."
3261
3262 _ACEOF
3263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3264 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3265 ac_cs_version="\\
3266 XCB Proto config.status 1.10
3267 configured by $0, generated by GNU Autoconf 2.69,
3268 with options \\"\$ac_cs_config\\"
3269
3270 Copyright (C) 2012 Free Software Foundation, Inc.
3271 This config.status script is free software; the Free Software Foundation
3272 gives unlimited permission to copy, distribute and modify it."
3273
3274 ac_pwd='$ac_pwd'
3275 srcdir='$srcdir'
3276 INSTALL='$INSTALL'
3277 MKDIR_P='$MKDIR_P'
3278 AWK='$AWK'
3279 test -n "\$AWK" || AWK=awk
3280 _ACEOF
3281
3282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3283 # The default lists apply if the user does not specify any file.
3284 ac_need_defaults=:
3285 while test $# != 0
3286 do
3287 case $1 in
3288 --*=?*)
3289 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3290 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3291 ac_shift=:
3292 ;;
3293 --*=)
3294 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3295 ac_optarg=
3296 ac_shift=:
3297 ;;
3298 *)
3299 ac_option=$1
3300 ac_optarg=$2
3301 ac_shift=shift
3302 ;;
3303 esac
3304
3305 case $ac_option in
3306 # Handling of the options.
3307 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3308 ac_cs_recheck=: ;;
3309 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3310 $as_echo "$ac_cs_version"; exit ;;
3311 --config | --confi | --conf | --con | --co | --c )
3312 $as_echo "$ac_cs_config"; exit ;;
3313 --debug | --debu | --deb | --de | --d | -d )
3314 debug=: ;;
3315 --file | --fil | --fi | --f )
3316 $ac_shift
3317 case $ac_optarg in
3318 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3319 '') as_fn_error $? "missing file argument" ;;
3320 esac
3321 as_fn_append CONFIG_FILES " '$ac_optarg'"
3322 ac_need_defaults=false;;
3323 --he | --h | --help | --hel | -h )
3324 $as_echo "$ac_cs_usage"; exit ;;
3325 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3326 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3327 ac_cs_silent=: ;;
3328
3329 # This is an error.
3330 -*) as_fn_error $? "unrecognized option: \`$1'
3331 Try \`$0 --help' for more information." ;;
3332
3333 *) as_fn_append ac_config_targets " $1"
3334 ac_need_defaults=false ;;
3335
3336 esac
3337 shift
3338 done
3339
3340 ac_configure_extra_args=
3341
3342 if $ac_cs_silent; then
3343 exec 6>/dev/null
3344 ac_configure_extra_args="$ac_configure_extra_args --silent"
3345 fi
3346
3347 _ACEOF
3348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3349 if \$ac_cs_recheck; then
3350 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3351 shift
3352 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3353 CONFIG_SHELL='$SHELL'
3354 export CONFIG_SHELL
3355 exec "\$@"
3356 fi
3357
3358 _ACEOF
3359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3360 exec 5>>config.log
3361 {
3362 echo
3363 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3364 ## Running $as_me. ##
3365 _ASBOX
3366 $as_echo "$ac_log"
3367 } >&5
3368
3369 _ACEOF
3370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3371 _ACEOF
3372
3373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3374
3375 # Handling of arguments.
3376 for ac_config_target in $ac_config_targets
3377 do
3378 case $ac_config_target in
3379 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3380 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3381 "xcbgen/Makefile") CONFIG_FILES="$CONFIG_FILES xcbgen/Makefile" ;;
3382 "xcb-proto.pc") CONFIG_FILES="$CONFIG_FILES xcb-proto.pc" ;;
3383
3384 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3385 esac
3386 done
3387
3388
3389 # If the user did not use the arguments to specify the items to instantiate,
3390 # then the envvar interface is used. Set only those that are not.
3391 # We use the long form for the default assignment because of an extremely
3392 # bizarre bug on SunOS 4.1.3.
3393 if $ac_need_defaults; then
3394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3395 fi
3396
3397 # Have a temporary directory for convenience. Make it in the build tree
3398 # simply because there is no reason against having it here, and in addition,
3399 # creating and moving files from /tmp can sometimes cause problems.
3400 # Hook for its removal unless debugging.
3401 # Note that there is a small window in which the directory will not be cleaned:
3402 # after its creation but before its name has been assigned to `$tmp'.
3403 $debug ||
3404 {
3405 tmp= ac_tmp=
3406 trap 'exit_status=$?
3407 : "${ac_tmp:=$tmp}"
3408 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3409 ' 0
3410 trap 'as_fn_exit 1' 1 2 13 15
3411 }
3412 # Create a (secure) tmp directory for tmp files.
3413
3414 {
3415 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3416 test -d "$tmp"
3417 } ||
3418 {
3419 tmp=./conf$$-$RANDOM
3420 (umask 077 && mkdir "$tmp")
3421 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3422 ac_tmp=$tmp
3423
3424 # Set up the scripts for CONFIG_FILES section.
3425 # No need to generate them if there are no CONFIG_FILES.
3426 # This happens for instance with `./config.status config.h'.
3427 if test -n "$CONFIG_FILES"; then
3428
3429
3430 ac_cr=`echo X | tr X '\015'`
3431 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3432 # But we know of no other shell where ac_cr would be empty at this
3433 # point, so we can use a bashism as a fallback.
3434 if test "x$ac_cr" = x; then
3435 eval ac_cr=\$\'\\r\'
3436 fi
3437 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3438 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3439 ac_cs_awk_cr='\\r'
3440 else
3441 ac_cs_awk_cr=$ac_cr
3442 fi
3443
3444 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3445 _ACEOF
3446
3447
3448 {
3449 echo "cat >conf$$subs.awk <<_ACEOF" &&
3450 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3451 echo "_ACEOF"
3452 } >conf$$subs.sh ||
3453 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3454 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3455 ac_delim='%!_!# '
3456 for ac_last_try in false false false false false :; do
3457 . ./conf$$subs.sh ||
3458 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3459
3460 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3461 if test $ac_delim_n = $ac_delim_num; then
3462 break
3463 elif $ac_last_try; then
3464 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3465 else
3466 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3467 fi
3468 done
3469 rm -f conf$$subs.sh
3470
3471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3472 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3473 _ACEOF
3474 sed -n '
3475 h
3476 s/^/S["/; s/!.*/"]=/
3477 p
3478 g
3479 s/^[^!]*!//
3480 :repl
3481 t repl
3482 s/'"$ac_delim"'$//
3483 t delim
3484 :nl
3485 h
3486 s/\(.\{148\}\)..*/\1/
3487 t more1
3488 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3489 p
3490 n
3491 b repl
3492 :more1
3493 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3494 p
3495 g
3496 s/.\{148\}//
3497 t nl
3498 :delim
3499 h
3500 s/\(.\{148\}\)..*/\1/
3501 t more2
3502 s/["\\]/\\&/g; s/^/"/; s/$/"/
3503 p
3504 b
3505 :more2
3506 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3507 p
3508 g
3509 s/.\{148\}//
3510 t delim
3511 ' <conf$$subs.awk | sed '
3512 /^[^""]/{
3513 N
3514 s/\n//
3515 }
3516 ' >>$CONFIG_STATUS || ac_write_fail=1
3517 rm -f conf$$subs.awk
3518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3519 _ACAWK
3520 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3521 for (key in S) S_is_set[key] = 1
3522 FS = ""
3523
3524 }
3525 {
3526 line = $ 0
3527 nfields = split(line, field, "@")
3528 substed = 0
3529 len = length(field[1])
3530 for (i = 2; i < nfields; i++) {
3531 key = field[i]
3532 keylen = length(key)
3533 if (S_is_set[key]) {
3534 value = S[key]
3535 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3536 len += length(value) + length(field[++i])
3537 substed = 1
3538 } else
3539 len += 1 + keylen
3540 }
3541
3542 print line
3543 }
3544
3545 _ACAWK
3546 _ACEOF
3547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3548 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3549 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3550 else
3551 cat
3552 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3553 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3554 _ACEOF
3555
3556 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3557 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3558 # trailing colons and then remove the whole line if VPATH becomes empty
3559 # (actually we leave an empty line to preserve line numbers).
3560 if test "x$srcdir" = x.; then
3561 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3562 h
3563 s///
3564 s/^/:/
3565 s/[ ]*$/:/
3566 s/:\$(srcdir):/:/g
3567 s/:\${srcdir}:/:/g
3568 s/:@srcdir@:/:/g
3569 s/^:*//
3570 s/:*$//
3571 x
3572 s/\(=[ ]*\).*/\1/
3573 G
3574 s/\n//
3575 s/^[^=]*=[ ]*$//
3576 }'
3577 fi
3578
3579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3580 fi # test -n "$CONFIG_FILES"
3581
3582
3583 eval set X " :F $CONFIG_FILES "
3584 shift
3585 for ac_tag
3586 do
3587 case $ac_tag in
3588 :[FHLC]) ac_mode=$ac_tag; continue;;
3589 esac
3590 case $ac_mode$ac_tag in
3591 :[FHL]*:*);;
3592 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3593 :[FH]-) ac_tag=-:-;;
3594 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3595 esac
3596 ac_save_IFS=$IFS
3597 IFS=:
3598 set x $ac_tag
3599 IFS=$ac_save_IFS
3600 shift
3601 ac_file=$1
3602 shift
3603
3604 case $ac_mode in
3605 :L) ac_source=$1;;
3606 :[FH])
3607 ac_file_inputs=
3608 for ac_f
3609 do
3610 case $ac_f in
3611 -) ac_f="$ac_tmp/stdin";;
3612 *) # Look for the file first in the build tree, then in the source tree
3613 # (if the path is not absolute). The absolute path cannot be DOS-style,
3614 # because $ac_f cannot contain `:'.
3615 test -f "$ac_f" ||
3616 case $ac_f in
3617 [\\/$]*) false;;
3618 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3619 esac ||
3620 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3621 esac
3622 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3623 as_fn_append ac_file_inputs " '$ac_f'"
3624 done
3625
3626 # Let's still pretend it is `configure' which instantiates (i.e., don't
3627 # use $as_me), people would be surprised to read:
3628 # /* config.h. Generated by config.status. */
3629 configure_input='Generated from '`
3630 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3631 `' by configure.'
3632 if test x"$ac_file" != x-; then
3633 configure_input="$ac_file. $configure_input"
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3635 $as_echo "$as_me: creating $ac_file" >&6;}
3636 fi
3637 # Neutralize special characters interpreted by sed in replacement strings.
3638 case $configure_input in #(
3639 *\&* | *\|* | *\\* )
3640 ac_sed_conf_input=`$as_echo "$configure_input" |
3641 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3642 *) ac_sed_conf_input=$configure_input;;
3643 esac
3644
3645 case $ac_tag in
3646 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3648 esac
3649 ;;
3650 esac
3651
3652 ac_dir=`$as_dirname -- "$ac_file" ||
3653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3654 X"$ac_file" : 'X\(//\)[^/]' \| \
3655 X"$ac_file" : 'X\(//\)$' \| \
3656 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3657 $as_echo X"$ac_file" |
3658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3659 s//\1/
3660 q
3661 }
3662 /^X\(\/\/\)[^/].*/{
3663 s//\1/
3664 q
3665 }
3666 /^X\(\/\/\)$/{
3667 s//\1/
3668 q
3669 }
3670 /^X\(\/\).*/{
3671 s//\1/
3672 q
3673 }
3674 s/.*/./; q'`
3675 as_dir="$ac_dir"; as_fn_mkdir_p
3676 ac_builddir=.
3677
3678 case "$ac_dir" in
3679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3680 *)
3681 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3682 # A ".." for each directory in $ac_dir_suffix.
3683 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3684 case $ac_top_builddir_sub in
3685 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3686 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3687 esac ;;
3688 esac
3689 ac_abs_top_builddir=$ac_pwd
3690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3691 # for backward compatibility:
3692 ac_top_builddir=$ac_top_build_prefix
3693
3694 case $srcdir in
3695 .) # We are building in place.
3696 ac_srcdir=.
3697 ac_top_srcdir=$ac_top_builddir_sub
3698 ac_abs_top_srcdir=$ac_pwd ;;
3699 [\\/]* | ?:[\\/]* ) # Absolute name.
3700 ac_srcdir=$srcdir$ac_dir_suffix;
3701 ac_top_srcdir=$srcdir
3702 ac_abs_top_srcdir=$srcdir ;;
3703 *) # Relative name.
3704 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3705 ac_top_srcdir=$ac_top_build_prefix$srcdir
3706 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3707 esac
3708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3709
3710
3711 case $ac_mode in
3712 :F)
3713 #
3714 # CONFIG_FILE
3715 #
3716
3717 case $INSTALL in
3718 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3719 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3720 esac
3721 ac_MKDIR_P=$MKDIR_P
3722 case $MKDIR_P in
3723 [\\/$]* | ?:[\\/]* ) ;;
3724 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3725 esac
3726 _ACEOF
3727
3728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3729 # If the template does not know about datarootdir, expand it.
3730 # FIXME: This hack should be removed a few years after 2.60.
3731 ac_datarootdir_hack=; ac_datarootdir_seen=
3732 ac_sed_dataroot='
3733 /datarootdir/ {
3734 p
3735 q
3736 }
3737 /@datadir@/p
3738 /@docdir@/p
3739 /@infodir@/p
3740 /@localedir@/p
3741 /@mandir@/p'
3742 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3743 *datarootdir*) ac_datarootdir_seen=yes;;
3744 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3746 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3747 _ACEOF
3748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3749 ac_datarootdir_hack='
3750 s&@datadir@&$datadir&g
3751 s&@docdir@&$docdir&g
3752 s&@infodir@&$infodir&g
3753 s&@localedir@&$localedir&g
3754 s&@mandir@&$mandir&g
3755 s&\\\${datarootdir}&$datarootdir&g' ;;
3756 esac
3757 _ACEOF
3758
3759 # Neutralize VPATH when `$srcdir' = `.'.
3760 # Shell code in configure.ac might set extrasub.
3761 # FIXME: do we really want to maintain this feature?
3762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3763 ac_sed_extra="$ac_vpsub
3764 $extrasub
3765 _ACEOF
3766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3767 :t
3768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3769 s|@configure_input@|$ac_sed_conf_input|;t t
3770 s&@top_builddir@&$ac_top_builddir_sub&;t t
3771 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3772 s&@srcdir@&$ac_srcdir&;t t
3773 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3774 s&@top_srcdir@&$ac_top_srcdir&;t t
3775 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3776 s&@builddir@&$ac_builddir&;t t
3777 s&@abs_builddir@&$ac_abs_builddir&;t t
3778 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3779 s&@INSTALL@&$ac_INSTALL&;t t
3780 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3781 $ac_datarootdir_hack
3782 "
3783 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3784 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3785
3786 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3787 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3788 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3789 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3791 which seems to be undefined. Please make sure it is defined" >&5
3792 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3793 which seems to be undefined. Please make sure it is defined" >&2;}
3794
3795 rm -f "$ac_tmp/stdin"
3796 case $ac_file in
3797 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3798 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3799 esac \
3800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3801 ;;
3802
3803
3804
3805 esac
3806
3807 done # for ac_tag
3808
3809
3810 as_fn_exit 0
3811 _ACEOF
3812 ac_clean_files=$ac_clean_files_save
3813
3814 test $ac_write_fail = 0 ||
3815 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3816
3817
3818 # configure is writing to config.log, and then calls config.status.
3819 # config.status does its own redirection, appending to config.log.
3820 # Unfortunately, on DOS this fails, as config.log is still kept open
3821 # by configure, so config.status won't be able to write to it; its
3822 # output is simply discarded. So we exec the FD to /dev/null,
3823 # effectively closing config.log, so it can be properly (re)opened and
3824 # appended to by config.status. When coming back to configure, we
3825 # need to make the FD available again.
3826 if test "$no_create" != yes; then
3827 ac_cs_success=:
3828 ac_config_status_args=
3829 test "$silent" = yes &&
3830 ac_config_status_args="$ac_config_status_args --quiet"
3831 exec 5>/dev/null
3832 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3833 exec 5>>config.log
3834 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3835 # would make configure fail if this is the last instruction.
3836 $ac_cs_success || as_fn_exit 1
3837 fi
3838 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3840 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3841 fi
3842
3843