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