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