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