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