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