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