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